wmedvede commented on PR #447:
URL: 
https://github.com/apache/incubator-kie-kogito-serverless-operator/pull/447#issuecomment-2067189962

   And on the DI we can see that the process instance was properly registred 
and also a corresponding job was executed to wake-up the service. In more 
exhaustive test we must verify that the service was properly waked up by the 
jobs service rest call when the job is executed. 
   
   ```
   [kogito@sonataflow-platform-data-index-service-7c996f6579-cfw96 ~]$ curl -H 
"Content-Type: application/json" -H "Accept: application/json" -X POST --data 
'{"query" : "{ ProcessInstances { id, processId, state, endpoint, serviceUrl, 
start, end } }"  }' 
http://sonataflow-platform-data-index-service.usecase3/graphql
   
{"data":{"ProcessInstances":[{"id":"fe275052-f69c-470f-a2c5-6ed14ee7e16c","processId":"callbackstatetimeouts","state":"COMPLETED","endpoint":"http://callbackstatetimeouts.usecase3/callbackstatetimeouts","serviceUrl":"http://callbackstatetimeouts.usecase3","start":"2024-04-19T19:35:47.264Z","end":"2024-04-19T19:36:17.301Z"}]}
   ```
   
   ```
   [kogito@sonataflow-platform-data-index-service-7c996f6579-cfw96 ~]$ curl -H 
"Content-Type: application/json" -H "Accept: application/json" -X POST --data 
'{"query" : "{ Jobs { id, processId, processInstanceId, status, expirationTime, 
retries, endpoint, callbackEndpoint } }"  }' 
http://sonataflow-platform-data-index-service/graphql
   
{"data":{"Jobs":[{"id":"4705f150-935f-4ba4-8ab7-d048d1a93f72","processId":"callbackstatetimeouts","processInstanceId":"fe275052-f69c-470f-a2c5-6ed14ee7e16c","status":"EXECUTED","expirationTime":null,"retries":0,"endpoint":"http://sonataflow-platform-jobs-service.usecase3/jobs","callbackEndpoint":"http://callbackstatetimeouts.usecase3:80/management/jobs/callbackstatetimeouts/instances/fe275052-f69c-470f-a2c5-6ed14ee7e16c/timers/-1"}]}}[kogito@sonataflow-platform-data-index-service-7c996f6579-cfw96
 ~]$
   ```
   
   


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