-
Notifications
You must be signed in to change notification settings - Fork 0
EndpointFunctionalTests
There is a functional test of the endpoints included in the project to prove everything is deployed correctly and generally functional.
Location: /pop/endpoint/endpoint-functional-test
- AWS Account
- Understanding of various AWS components and how to generally navigate the AWS console.
- CloudFormation stack created (/deploy/endpoint/aws/Main-AWS-CloudFormation.json)
- IntelliJ IDEA
- In the AWS Console (or otherwise) please create a standard SQS named:
POP-Test-Queue
These test object json objects are ready to be copy and pasted into the associated DynamoDB tables.
{
"customerId": "account/2707862",
"id": "599f2241-3877-4301-b3d2-aa7e4274e42a",
"title": "POPPool-Test-Pool"
}
{
"customerId": "account/3131523765",
"id": "account/3131523765",
"resourcePoolId": "599f2241-3877-4301-b3d2-aa7e4274e42a",
"title": "TestAccount"
}
Please paste this as DynamoDB Json (checkbox).
{
"customerId": {
"S": "account/3131523765"
},
"global": {
"BOOL": false
},
"id": {
"S": "547cc659-f7a3-4fbe-b171-a2d0ad355b4d"
},
"isGlobal": {
"N": "0"
},
"mappers": {
"M": {
"operationType": {
"SS": [
"testOperation"
]
}
}
},
"queueName": {
"S": "POP-Test-Queue"
},
"queueSize": {
"N": "1"
},
"resourcePoolId": {
"S": "599f2241-3877-4301-b3d2-aa7e4274e42a"
},
"schedulingAlgorithm": {
"S": "FirstInFirstOut"
},
"title": {
"S": "POP-Test-Insight"
}
}
- Change this line:
endpoint.url=https://<your aws url here>/dev
to use the URL of the API Gateway generated by your stack creation.
- Load IDEA
- Navigate to
/endpoint/endpoint-functional-test/testng-functional.xml
- Open the context menu on the file and select Run.
- Submission
- Scheduling
-
Execution
the ResourcePool
Agenda
the workflow
Agenda Template
the workflow definition
Customer
Insight
the scheduling queue definition
Operation Progress
the state of the running Agenda operations
Progress
the state of the running Agendas
ResourcePool
the processing resources
Agenda Service
the workflow submission
Progress Service
rolled up agenda progress summary
ResourcePool Service
getting work and updating progress
AgendaReclaimer
restarting stuck Agendas
AgendaRetry
retrying failed Agendas
DataObjectReaper
reaping expired data objects
PodReaper
reaping stuck Kubernetes pods