-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Pierre-yves-monnet
committed
Nov 28, 2024
1 parent
c83efdc
commit 581a902
Showing
65 changed files
with
8,640 additions
and
7,337 deletions.
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
### POST Request | ||
POST http://localhost:8381/api/unittest/run?name=ScoreAcceptanceScn&server=Camunda8Ruby&wait=false | ||
Content-Type: application/json | ||
|
||
{ | ||
} | ||
|
||
|
||
### POST Request | ||
GET http://localhost:8381/api/unittest/get?id=1732767184446 | ||
Content-Type: application/json | ||
|
||
{ | ||
} | ||
|
||
### GET LIST | ||
GET http://localhost:8381/api/unittest/list | ||
Content-Type: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
{ | ||
"name": "ScoreAcceptance", | ||
"processId": "ScoreAcceptance", | ||
"serverType": "Camunda_8", | ||
"typeScenario": "UNIT", | ||
"executions": [ | ||
{ | ||
"name": "ScoreAccepted", | ||
"steps": [ | ||
{ | ||
"type": "STARTEVENT", | ||
"taskId": "ScoreApplication", | ||
"processId": "ScoreAcceptance", | ||
"variables": { | ||
"score": 245 | ||
} | ||
} | ||
], | ||
"verifications": { | ||
"activities": [ | ||
{ | ||
"type": "ActGetScore", | ||
"taskId": "ActGetScore" | ||
}, | ||
{ | ||
"description": "we accepted the application with this amount", | ||
"type": "TASK", | ||
"taskId": "ActSendAcceptation" | ||
}, | ||
{ | ||
"type": "ENDEVENT", | ||
"taskId": "EndAccepted" | ||
} | ||
], | ||
"variables": [ | ||
{ | ||
"description": "we accepted the application with this amount", | ||
"name": "accepted", | ||
"value": true | ||
} | ||
], | ||
"performances": [ | ||
{ | ||
"description": "From get Score to the End Event, less than 200 ms", | ||
"fromFlowNode": "ActGetScore", | ||
"fromMarker": "begin", | ||
"toFlowNode": "EndAccepted", | ||
"toMarker": "end", | ||
"duration": "PT0.2S" | ||
}, | ||
{ | ||
"description": "GetScore must be performed in less than 100 ms", | ||
"fromFlowNode": "ActGetScore", | ||
"fromMarker": "begin", | ||
"toFlowNode": "ActGetScore", | ||
"toMarker": "end", | ||
"duration": "PT0.1S" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "ScoreRejected", | ||
"steps": [ | ||
{ | ||
"type": "STARTEVENT", | ||
"taskId": "ScoreApplication", | ||
"processId": "ScoreAcceptance", | ||
"variables": { | ||
"score": 67 | ||
} | ||
} | ||
], | ||
"verifications": { | ||
"activities": [ | ||
{ | ||
"type": "TASK", | ||
"taskId": "ActSendRejection" | ||
}, | ||
{ | ||
"type": "ENDEVENT", | ||
"taskId": "EndRejected" | ||
} | ||
], | ||
"variables": [ | ||
{ | ||
"name": "accepted", | ||
"value": false | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
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
Oops, something went wrong.