Kogito examples - Kogito is a cloud-native business automation technology for building cloud-ready business applications.
256
stars
383
forks
source link
Application requests return error message when using Native Images #1963
Open
LuboTerifaj opened 5 months ago
Description
Application requests return error message when using Native Images.
Details
All examples that use Native Images in serverless workflow 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 Examplecurl -X POST -H 'Content-Type:application/json' -H 'Accept:application/json' -d '{"number": 2}' http://localhost:8080/error
from Error Examplecurl -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 ExampleSteps to reproduce
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