-
Enhancement
-
Resolution: Done
-
Blocker
-
None
-
False
-
False
-
2022 Week 44-46 (from Oct 31), 2022 Week 47-49 (from Nov 21), 2022 Week 50-02 (from Dec 12), 2023 Week 03-05 (from Jan 16), 2023 Week 06-08 (from Feb 6), 2023 Week 09-11 (from Feb 27)
Knative/Kubernetes resources such as KN Service, Service, Ingress, Deployment, Pods, and so on (see: https://github.com/knative/specs/blob/main/specs/eventing/overview.md#addressable) can be called by a regular HTTP POST request.
This means that SW could support this feature out of the box, not needing an OpenAPI interface to do so.
Image this example:
{ "id": "myworkflow", "specVersion": "0.8", "version": "1.0", "start": "State1", "functions": [ { "name": "function1", "type": "custom", "operation": "knative:mynamespace/func1", "metadata": { "path": "/my_path" } }, { "name": "func2", "operation": "knative:func2" } ], "states": [ { "name": "State1", "type": "operation", "actions": [ { "functionRef": { "refName": "function1", "arguments": { "data": "${ .data }" } } } ], "end": true } ] }
The engine would make POST requests to these endpoints with the given payload manipulated by the workflow. For example:
1. knative:mynamespace/func1 -> the func1 Knative Service in mynamespace
2. knative:func2 -> the func2 Knative Service in the same namespace
3. kubernetes:serving.knative.dev/v1/mynamespace/myservice -> the explicitly kubernetes resource at mynamespace
This will make the integration with the platform way easier and enhance the dev experience.
This feature can leverage our custom legacy function REST already implemented in the engine.
- clones
-
KOGITO-6697 [SW] Enhance Service Discoverability
- Resolved
- is blocked by
-
KOGITO-8130 Assess the use of SmallRye Stork as a Service Discovery
- Resolved
-
KOGITO-6697 [SW] Enhance Service Discoverability
- Resolved
- is depended on by
-
KOGITO-8410 [SW] Add support for GET method to Knative custom function
- Resolved
-
KOGITO-8313 [Operator] Knative Functions discovery in the Serverless Operator
- Closed
-
KOGITO-8430 [Operator] Add support for Kubernetes Functions
- Closed
-
KOGITO-8448 [SW] Add support to GET method to Kubernetes custom function
- Closed
-
KOGITO-8414 [KSW-Guides] Create guide for Knative custom function
- Resolved
- is incorporated by
-
KOGITO-8491 Implement Serverless Workflow custom function for Knative
- Resolved
-
SRVLOGIC-7 [core] Simplified serverless knative function invocation
- Closed
- is related to
-
KOGITO-7377 [Research Spike] - Kogito Serverless Workflow CRD
- Resolved