You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "oEscal (via GitHub)" <gi...@apache.org> on 2025/05/23 17:28:38 UTC
[I] [SonataFlow] Upgrade the Knative custom functions to have visibility over the returned status code and headers [incubator-kie-kogito-runtimes]
oEscal opened a new issue, #3938:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/issues/3938
### Description
This feature is to expand feature #3936 to Knative custom functions.
### Implementation ideas
Since Knative custom functions have their specific way of defining the function properties, `fail_on_status_error`, `return_headers`, and `return_status_code` must be defined within the operation parameters. Therefore, considering the current parameters nomenclature style, they can be named as follows: `failOnStatusError`, `returnStatusCode`, and `returnHeaders`.
An example of how to use them:
```json
"functions": [
{
"name": "greet",
"type": "custom",
"operation": "knative:services.v1.serving.knative.dev/custom-function-knative-service?failOnStatusError=false&returnStatusCode=true&returnHeaders=false"
}
]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] [SonataFlow] Upgrade the Knative custom functions to have visibility over the returned status code and headers [incubator-kie-kogito-runtimes]
Posted by "ricardozanini (via GitHub)" <gi...@apache.org>.
ricardozanini commented on issue #3938:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/issues/3938#issuecomment-2910203555
@oEscal are you going to merge both issues in the same PR?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] [SonataFlow] Upgrade the Knative custom functions to have visibility over the returned status code and headers [incubator-kie-kogito-runtimes]
Posted by "tiagobento (via GitHub)" <gi...@apache.org>.
tiagobento closed issue #3938: [SonataFlow] Upgrade the Knative custom functions to have visibility over the returned status code and headers
URL: https://github.com/apache/incubator-kie-kogito-runtimes/issues/3938
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] [SonataFlow] Upgrade the Knative custom functions to have visibility over the returned status code and headers [incubator-kie-kogito-runtimes]
Posted by "oEscal (via GitHub)" <gi...@apache.org>.
oEscal commented on issue #3938:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/issues/3938#issuecomment-2910691797
@ricardozanini No, I only did it like this because this feature required the other two:
- It needed the Knative headers functionality to be able to redirect the response headers from one response to the request of the following one
- Regarding the REST custom function feature, it inherits that functionality from the code I made in that PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] [SonataFlow] Upgrade the Knative custom functions to have visibility over the returned status code and headers [incubator-kie-kogito-runtimes]
Posted by "tiagobento (via GitHub)" <gi...@apache.org>.
tiagobento commented on issue #3938:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/issues/3938#issuecomment-4920152346
Closing due to https://github.com/apache/incubator-kie-kogito-runtimes/pull/4255
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org