LuboTerifaj opened a new issue, #1963:
URL: https://github.com/apache/incubator-kie-kogito-examples/issues/1963

   ### Description
   
   Application requests return error message when using Native Images.
   
   #### Details
   All examples that use Native Images in [serverless 
workflow](https://github.com/apache/incubator-kie-kogito-examples/tree/stable/serverless-workflow-examples)
 directory.
   
   Example commands:
   - `curl -X POST -H 'Content-Type:application/json' -H 
'Accept:application/json' -d '{"name": "John", "language": "English"}' 
http://localhost:8080/jsongreet` from [Greeting 
Example](https://github.com/apache/incubator-kie-kogito-examples/tree/stable/serverless-workflow-examples/serverless-workflow-greeting-quarkus)
   - `curl -X POST -H 'Content-Type:application/json' -H 
'Accept:application/json' -d '{"number": 2}' http://localhost:8080/error` from 
[Error 
Example](https://github.com/apache/incubator-kie-kogito-examples/tree/stable/serverless-workflow-examples/serverless-workflow-error-quarkus)
   - `curl -X POST -H 'Content-Type:application/json' -H 
'Accept:application/json' -d '{"workflowdata":{"numbers":[{"x":2, "y": 
1},{"x":4, "y": 3}]}}' http://localhost:8080/expression` from [Expression 
Example](https://github.com/apache/incubator-kie-kogito-examples/tree/stable/serverless-workflow-examples/serverless-workflow-expression-quarkus)
   - etc.
   
   
   #### Steps to reproduce
   1. Follow the instructions in example readme file. Focus on Native Images.
   2. Execute curl commands.
   
   ##### Actual result
   The following message is returned: `{"message":"Illegal node type: class 
org.jbpm.workflow.core.node.StartNode"}`.
   
   ##### Expected result
   Correct message is returned (depends on specific example).
   
   
   
   ### Implementation ideas
   
   _No response_


-- 
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]

Reply via email to