floe 0.17.0 → 0.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2b11d410b8a7518f7030bac6a5a29142167f54239e7cf1f966c6a82c2a191207
4
- data.tar.gz: 793dd3f55b6d89b22d335831ca0a8663015ad520e8cf92603884f9168a64c8f6
3
+ metadata.gz: 7631c084cea78319880f47959e5bc883a5406caaf2623b894004172c4d01ff96
4
+ data.tar.gz: 58416b08ffcd26360eeaa8e8f8056279ed57440f8a65c6650fb26e95a3564c28
5
5
  SHA512:
6
- metadata.gz: c495de319815ea25d470262472e31675d016d5aa8d6ca761e64eb94556617809e7311b4dcce2242f1ccf0910c893679e44729357dca99b6b9b5299dff2fee0db
7
- data.tar.gz: bcfdf7696caeaf80d6464dcc375747a40127c8327d1a75e486ad56e5d9618ef4f6ea73a3a5c35bb11f0f0a8c1e844b208b4a676f4555142cd7047c021d23dccf
6
+ metadata.gz: 72f82e4eafec1ea8c1317f4766424e55c821c5f360e5e9db04037032552cd76dfafcdd2c5ec842bc2fc58acb1137adeaafed8306fbbf6a18f2b3c8b6e45efafa
7
+ data.tar.gz: 976265735ea69bb1844bce7ff07b1abd28b9a40fbd01c62dd47fb40d33374333bd7147fc85bbb52760eb2b9903b2727db4c8edf7f3f38371028cf4827a9a78ee
data/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.17.1] - 2025-08-25
8
+ ### Changed
9
+ - Default Method=GET for floe://http method parameter ([#315](https://github.com/ManageIQ/floe/pull/315))
10
+ - Update list of unsupported ASL features in README ([#313](https://github.com/ManageIQ/floe/pull/313))
11
+
12
+ ### Fixed
13
+ - Fix README examples for nested has interpolation ([#312](https://github.com/ManageIQ/floe/pull/312))
14
+
7
15
  ## [0.17.0] - 2025-08-19
8
16
  ### Fixed
9
17
  - Fix credentials passed via CLI ([#307](https://github.com/ManageIQ/floe/pull/307))
data/README.md CHANGED
@@ -184,7 +184,7 @@ Example:
184
184
  "Method": "POST",
185
185
  "Url": "http://localhost:3000/api/login",
186
186
  "Headers": {"ContentType": "application/json"},
187
- "Body.$": {"username.$": "$$.Credentials.username", "password.$": "$$.Credentials.password"},
187
+ "Body": {"username.$": "$$.Credentials.username", "password.$": "$$.Credentials.password"},
188
188
  "Options": {"Encoding": "JSON"}
189
189
  },
190
190
  "ResultSelector": {"auth_token.$": "$.Body.auth_token"},
@@ -194,7 +194,7 @@ Example:
194
194
  ```
195
195
 
196
196
  HTTP Parameters:
197
- * `Method` (required) - HTTP method name. Permitted values: `GET`, `POST`, `PUT`, `DELETE`, `HEAD`, `PATCH`, `OPTIONS`, or `TRACE`
197
+ * `Method` (required) - HTTP method name. Permitted values: `GET`, `POST`, `PUT`, `DELETE`, `HEAD`, `PATCH`, `OPTIONS`, or `TRACE`. Defaults to `GET`.
198
198
  * `Url` (required) - URL to execute the HTTP call to
199
199
  * `Headers` - Hash of unencoded HTTP request header key/value pairs.
200
200
  * `QueryParameters` - URI query unencoded key/value pairs.
@@ -274,8 +274,9 @@ Options supported by the kubernetes docker runner are:
274
274
  The following are not yet supported:
275
275
  - Map State Fields:
276
276
  - ItemReader
277
- - ItemSelector/ItemBatcher
278
277
  - ResultWriter
278
+ - JSONata Expressions
279
+ - Assign field
279
280
 
280
281
  ## Development
281
282
 
@@ -2,6 +2,8 @@ module Floe
2
2
  module BuiltinRunner
3
3
  class Methods < BasicObject
4
4
  def self.http(params, _secrets, _context)
5
+ params["Method"] ||= "GET"
6
+
5
7
  error = http_verify_params(params)
6
8
  return BuiltinRunner.error!({}, :cause => error) if error
7
9
 
data/lib/floe/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Floe
4
- VERSION = "0.17.0"
4
+ VERSION = "0.17.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: floe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ManageIQ Developers