View PHM-Model.plantuml
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
@startuml | |
title __PHM-MODEL's Class Diagram__\n | |
namespace com.health_insurance.phm_model { | |
class com.health_insurance.phm_model.Reminder { | |
__private attributes__ | |
long SerialVersionUID | |
String address | |
String body |
View charliestaskreminder.js
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: { | |
id: 58, | |
origId: 'B143', | |
suppressed: false, | |
suppressionPeriod: '', | |
expirationDate: '2020-12-31T12:00:00.000Z', | |
close: 'HARD', | |
reminderInitiation: 'PT60S', | |
reminderFrequency: 'R/PT60S', |
View getPeterstaskform.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
[ | |
{ | |
"id": "fdb03de1-ad38-49fb-af74-ff9f8c3daf08", | |
"name": "Task-taskform.frm", | |
"model": { | |
"taskName": "Task", | |
"processId": "PHM-Processes.Task", | |
"name": "task", | |
"properties": [ | |
{ |
View getPeterstaskform.sh
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/containers/PHM-Processes/forms/tasks/1?lang=en&type=ANY&marshallContent=true' \ | |
--header 'Accept: application/json' |
View server.log
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
│2020-02-24 11:34:17,233 INFO [stdout] (default task-16) Process <<Trigger>>-<19> ->Variable <<pMemberId>>-<pMemberId> is about to be changed from │ | |
│2020-02-24 11:34:17,234 INFO [stdout] (default task-16) <<null>> │ | |
│2020-02-24 11:34:17,234 INFO [stdout] (default task-16) to │ | |
│2020-02-24 11:34:17,234 INFO [stdout] (default task-16) <<123>> |
View phmapi.sh
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
4> git clone https://github.com/mauriziocarioli/PHM-API.git | |
Cloning into 'PHM-API'... | |
remote: Enumerating objects: 17, done. | |
remote: Counting objects: 100% (17/17), done. | |
remote: Compressing objects: 100% (13/13), done. | |
remote: Total 17 (delta 6), reused 15 (delta 4), pack-reused 0 | |
Unpacking objects: 100% (17/17), done. | |
[ec2-user@ip-172-31-33-184.ec2.internal/~/Demos] | |
5> cd PHM-API | |
[ec2-user@ip-172-31-33-184.ec2.internal/~/Demos/PHM-API] |
View definePeterstaskoutput.sh
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 PUT 'http://localhost:8080/kie-server/services/rest/server/containers/PHM-Processes/tasks/1/contents/output' \ | |
--header 'Content-Type: application/json' \ | |
--header 'Accept: application/json' \ | |
--data-raw '{ | |
"answer": "Hello." | |
}' |
View hardclosePeterstask.sh
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 externalsystem:secret \ | |
--location --request POST 'http://localhost:8080/kie-server/services/rest/server/containers/PHM-Processes/processes/instances/4/signal/hard_close' \ | |
--header 'Content-Type: application/json' \ | |
--data-raw '{}' |
View completePeterstask.sh
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 PUT 'http://localhost:8080/kie-server/services/rest/server/containers/PHM-Processes/tasks/1/states/completed' \ | |
--header 'Content-Type: application/json' \ | |
--header 'Accept: application/json' \ | |
--data-raw '' |
View startPeterstask.sh
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 PUT 'http://localhost:8080/kie-server/services/rest/server/containers/PHM-Processes/tasks/1/states/started' \ | |
--header 'Accept: application/json' \ | |
--data-raw '' |
NewerOlder