This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @param event | |
*/ | |
public void beforeSLAViolated(SLAViolatedEvent event) { | |
System.out.println( | |
"Process <<"+ | |
event.getProcessInstance().getProcessName()+ | |
">>-<"+ | |
event.getProcessInstance().getId()+ | |
"> ->SLA <<"+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --location --request GET 'http://localhost:8080/kie-server/services/rest/server?Accept=application/json' \ | |
--header 'Accept: application/json' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "SUCCESS", | |
"msg": "Kie Server info", | |
"result": { | |
"kie-server-info": { | |
"id": "sample-server", | |
"version": "7.32.0.Final", | |
"name": "sample-server", | |
"location": "http://localhost:8080/kie-server/services/rest/server", | |
"capabilities": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --location --request GET 'http://localhost:8080/kie-server/services/rest/server/containers' \ | |
--header 'Accept: application/json' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "SUCCESS", | |
"msg": "List of created containers", | |
"result": { | |
"kie-containers": { | |
"kie-container": [ | |
{ | |
"container-id": "PHM-Processes_1.0.0-SNAPSHOT", | |
"release-id": { | |
"group-id": "com.health-insurance", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --user kieserver:secret \ | |
--location --request POST 'http://localhost:8080/kie-server/services/rest/server/containers/PHM-Processes/processes/PHM-Processes.Trigger/instances' \ | |
--header 'Content-Type: application/json' \ | |
--data-raw '{ | |
"pMemberId": "123", | |
"pTriggerId": "R383" | |
}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --location --request GET 'http://localhost:8080/kie-server/services/rest/server/queries/processes/instances?status=1' \ | |
--header 'Accept: application/json' \ | |
--header 'Authorization: Basic ...' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"process-instance": [ | |
{ | |
"process-instance-id": 3, | |
"process-id": "PHM-Processes.Trigger", | |
"process-name": "Trigger", | |
"process-version": "1.0", | |
"process-instance-state": 1, | |
"container-id": "PHM-Processes_1.0.0-SNAPSHOT", | |
"initiator": "kieserver", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --user Peter:secret \ | |
--location --request GET 'http://localhost:8080/kie-server/services/rest/server/queries/tasks/instances/owners' \ | |
--header 'Accept: application/json' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"task-summary": [ | |
{ | |
"task-id": 1, | |
"task-name": "Task", | |
"task-subject": "", | |
"task-description": "Getting provider info", | |
"task-status": "Reserved", | |
"task-priority": 0, | |
"task-is-skipable": false, |