apache / incubator-kie-kogito-examples

Kogito examples - Kogito is a cloud-native business automation technology for building cloud-ready business applications.
http://kogito.kie.org
256 stars 383 forks source link

Unable to execute the workflows via REST APIs in serverless-workflow-timeouts-showcase-operator-devprofile example #1957

Open LuboTerifaj opened 5 months ago

LuboTerifaj commented 5 months ago

Description

Unable to execute the workflows via REST APIs in serverless-workflow-timeouts-showcase-operator-devprofile example.

Details

If you follow the instructions in example readme file, when trying to execute any curl command, there is the message curl: (7) Failed to connect to 192.168.49.2 port 32074 after 0 ms: Couldn't connect to server printed to the console. Curl example:

 curl -X 'POST' \
   "$SWITCH_STATE_TIMEOUTS_URL" \
  -H 'accept: */*' \
  -H 'Content-Type: application/json' \
  -d '{}' 

Acceptance criteria

Example works as expected. If the specific configurations needed, it is described in the readme file.

Implementation ideas

No response