This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 438d54a28700a96c0e5c55d4ae1dc026195df2e9 Author: Maria Arias de Reyna <ariasdere...@redhat.com> AuthorDate: Wed Jul 27 17:05:18 2022 +0200 feature(ogc-api): Allow query from body --- kamelets/ogcapi-features-action.kamelet.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/kamelets/ogcapi-features-action.kamelet.yaml b/kamelets/ogcapi-features-action.kamelet.yaml index 191ba51d..08a1df73 100644 --- a/kamelets/ogcapi-features-action.kamelet.yaml +++ b/kamelets/ogcapi-features-action.kamelet.yaml @@ -33,6 +33,8 @@ spec: Returns the items of the collection provided of an OGC API Features server. The collection must be a valid collection name on the server. + Query can be defined in the body too. + See https://www.ogc.org/standards/ogcapi-features required: - url @@ -88,14 +90,14 @@ spec: from: uri: "kamelet:source" steps: - - set-body: - simple: "" - set-header: name: "Accept" constant: "application/geo+json" - set-header: name: "CamelHttpQuery" - simple: "limit={{limit}}&bbox={{bbox}}&{{?query}}" + simple: "limit={{limit}}&bbox={{bbox}}&{{?query}}&${body}" + - set-body: + simple: "" - to: uri: "{{url}}/collections/{{collection}}/items" - remove-header: