Skip to content

Conversation

@agrare
Copy link
Member

@agrare agrare commented Aug 19, 2025

This updates the embedded_workflows docs to call out changes to Credentials handling and nested hash interpolation in floe 0.17.0
Also documents the builtin runner methods in floe and manageiq (floe://http was added in 0.17.0, we were missing any documentation on the manageiq:// ones so added those as well)

@agrare agrare force-pushed the update_workflows_docs branch from 46be44e to 7fe2243 Compare August 20, 2025 18:36
@Fryguy Fryguy changed the title Update workflows docs for changes in floe v0.17.0 [WIP] Update workflows docs for changes in floe v0.17.0 Aug 20, 2025
@agrare agrare force-pushed the update_workflows_docs branch 2 times, most recently from 2cb44f8 to af078ac Compare August 21, 2025 16:30
@agrare agrare changed the title [WIP] Update workflows docs for changes in floe v0.17.0 Update workflows docs for changes in floe v0.17.0 and document builtin method parameters Aug 21, 2025
@agrare
Copy link
Member Author

agrare commented Aug 21, 2025

Okay @Fryguy updated the parameters for http, email, embedded_ansbile, and provision_execute.
I'll keep floe://http for now but will work on wrapping that in manageiq://http shortly

* `floe://http` - Execute any HTTP action

Parameters:
* `Method` (required) - HTTP method name. Permitted values: `GET`, `POST`, `PUT`, `DELETE`, `HEAD`, `PATCH`, `OPTIONS`, or `TRACE`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not for now, but might be useful to default to GET

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ManageIQ/floe#315 but needs a floe release

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +204 to +206
* `MinVersion` - Integer - Minimum SSL Version.
* `MaxVersion` - Integer - Maximum SSL Version.
* `Ciphers` - String - Ciphers supported.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should default these to sensible defaults and doc the defaults (unless they are coming from elsewhere and that is too difficult)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +212 to +217
* `Encoding` - String
* `JSON` - JSON encodes the request and decodes the response
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a default value for when you don't pass it? Like, would it string String encoding? I know we don't literally set that under the covers, but I wonder if it should be a choice if the user wants to be more explicit.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We only set json encoding if Encoding==JSON anything else passed has no effect.

* `Encoding` - String
* `JSON` - JSON encodes the request and decodes the response
* `Proxy`
* `Uri` - String - URI of the proxy.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be Url to mirror the other Url parameter?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Faraday proxy options has uri specifically https://lostisland.github.io/faraday/#/customization/proxy-options and since that is technically more broad than a url I left it.


![Workflow Status](../images/embedworkflow_runstatus.png)

## Upgrading
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only thought is this should probably go into the blog post and not the docs. On downstream I could see it going into an Upgrade page. For now though I'm ok with merging this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah we can drop it from here once we have release notes to add it to, didn't want to completely lose it until then.

@agrare agrare force-pushed the update_workflows_docs branch 3 times, most recently from a88e407 to a272cb2 Compare August 21, 2025 17:11
@agrare agrare force-pushed the update_workflows_docs branch from a272cb2 to cf8a9e7 Compare August 21, 2025 17:13
@Fryguy
Copy link
Member

Fryguy commented Aug 22, 2025

@jaychtw please also review.

@agrare agrare force-pushed the update_workflows_docs branch from cf8a9e7 to b70c9ac Compare August 25, 2025 14:19
@agrare agrare force-pushed the update_workflows_docs branch from b70c9ac to 72545ac Compare August 25, 2025 14:39
@Fryguy
Copy link
Member

Fryguy commented Aug 25, 2025

@jaychtw I'm going to merge for now to get this in. Any comments you have we can do in a follow-up PR.

@Fryguy Fryguy merged commit 258d815 into ManageIQ:master Aug 27, 2025
2 checks passed
@Fryguy
Copy link
Member

Fryguy commented Aug 27, 2025

Backported to spassky in commit e6baa0e.

commit e6baa0e54c9b4a198a3b5f831c7e28286944b89f
Author: Jason Frey <fryguy9@gmail.com>
Date:   Wed Aug 27 15:16:52 2025 -0400

    Merge pull request #1861 from agrare/update_workflows_docs
    
    Update workflows docs for changes in floe v0.17.0 and document builtin method parameters
    
    (cherry picked from commit 258d8153738b5c58f7a4f89b8fe52119da103106)

Fryguy added a commit that referenced this pull request Aug 27, 2025
Update workflows docs for changes in floe v0.17.0 and document builtin method parameters

(cherry picked from commit 258d815)
@agrare agrare deleted the update_workflows_docs branch August 27, 2025 19:21
github-actions bot pushed a commit to ManageIQ/manageiq.github.io that referenced this pull request Aug 27, 2025
github-actions bot pushed a commit to ManageIQ/manageiq.github.io that referenced this pull request Aug 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants