fjtirado commented on code in PR #4139:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4139#discussion_r2581328756
##########
kogito-serverless-workflow/kogito-serverless-workflow-rest-parser/src/main/java/org/kie/kogito/serverless/workflow/parser/types/RestTypeHandler.java:
##########
@@ -66,6 +66,7 @@ public class RestTypeHandler extends WorkItemTypeHandler {
.workParameter(RestWorkItemHandler.METHOD, method)
.workParameter(RestWorkItemHandler.USER,
runtimeRestApi(functionDef, USER_PROP, context.getContext()))
.workParameter(RestWorkItemHandler.PASSWORD,
runtimeRestApi(functionDef, PASSWORD_PROP, context.getContext()))
+ .workParameter(RestWorkItemHandler.PROTOCOL,
runtimeRestApi(functionDef, "protocol", context.getContext()))
Review Comment:
This is the change that was needed to support protocol property.
The rest of changes were intended to infer the protocol from port 443 if
this port is explicitly set but not protocol is set
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]