-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KOGITO-8410 Added support for GET method to Knative custom function (#…
…3172) * KOGITO-8410 Added support to GET method to Knative custom function Signed-off-by: Helber Belmiro <[email protected]> * KOGITO-8410 Added support for Number and Boolean to GetRequestKnativeParamsDecorator Signed-off-by: Helber Belmiro <[email protected]> * KOGITO-8410 Removed GetRequestKnativeParamsDecorator Signed-off-by: Helber Belmiro <[email protected]> * KOGITO-8410 Replaced PrefixParamsDecorator with CollectionParamsDecorator Signed-off-by: Helber Belmiro <[email protected]> --------- Signed-off-by: Helber Belmiro <[email protected]>
- Loading branch information
Showing
9 changed files
with
209 additions
and
35 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
...us/addons/knative/serving/integration-tests/src/main/resources/getKnativeFunction.sw.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"id": "getKnativeFunction", | ||
"version": "1.0", | ||
"name": "Test Knative function", | ||
"description": "This workflow tests a Knative function", | ||
"start": "invokeFunction", | ||
"functions": [ | ||
{ | ||
"name": "greet", | ||
"type": "custom", | ||
"operation": "knative:services.v1.serving.knative.dev/default/serverless-workflow-greeting-quarkus?path=/plainJsonFunction&method=GET" | ||
} | ||
], | ||
"states": [ | ||
{ | ||
"name": "invokeFunction", | ||
"type": "operation", | ||
"actions": [ | ||
{ | ||
"functionRef": { | ||
"refName": "greet", | ||
"arguments": { | ||
"name": ".name" | ||
} | ||
} | ||
} | ||
], | ||
"end": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.