-
Notifications
You must be signed in to change notification settings - Fork 7
InstallAWSComponents
You will need your AWS account configured to allow access for installing the Priority Operation Processing (POP) components.
Follow Install AWS Roles to configure the necessary roles and permissions.
There is a parent pom in the root of the Git project.
mvn clean install
Our AWS CloudFormation looks in a configured S3 bucket for the lambda binaries. You can remove this dependency by installing the lambdas manually, but it would take more work. The s3 bucket does NOT require public access. It should exist within the same account as where you plan to deploy the CloudFormation stack.
In your AWS cosole go to the S3 configuration page.
- Create a new bucket called
popwith directorydeploy(or edit the cloudformation for your bucket name) - Upload the lambda binaries to your S3 Bucket. When you build the project the zip files should be auto-copied to the deploy/endpoint/aws/binaries directory. Here are the files:
- pop-authorizer-sample-aws-.zip
- pop-endpoint-impl-aws--lambda_deployment_package_assembly.zip
- pop-callback-progress-retry-aws--SNAPSHOT-lambda_deployment_package_assembly.zip
- pop-scheduling-master-aws--lambda_deployment_package_assembly.zip
- pop-scheduling-queue-aws--lambda_deployment_package_assembly.zip
- pop-scheduling-monitor-aws--lambda_deployment_package_assembly.zip
- pop-data-object-reaper-aws--lambda_deployment_package_assembly.zip
- pop-agenda-reclaimer-aws--lambda_deployment_package_assembly.zip
Priority Operation Processing software uses AWS Cloudformation to deploy the POP's AWS software components.
./deploy/endpoint/aws/Main-AWS-CloudFormation.json
- Change all instances of [add your accountID] in the Main-AWS-CloudFormation.json to your AWS accountID
- Access the AWS Console CloudFormation page.
- Select Stacks
- Click
Create stack(with new Resources) - This will open the
Create stackscreen - Select
Template is ready - Select
Upload a template file- Select
Main-AWS-CloudFormation.jsonwhen prompted
- Select
- Click Next to open the
Specify stack detailsscreen - Set the
Stack nameand adjust any settings as necessary. - Click Next to open the
Configure stack optionsscreen- There are no specific option adjustments needed.
- Click Next to open the
Reviewscreen - Click
Create stackto initiate the process.
- Endpoint Lambdas
- Scheduler Lambdas
- Retry Lambda
- API Gateway
- Authorizer
See How to build the code and run the Endpoint Functional Tests.
- 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
DevKubernetesSetup
RunLocalExecution
- RunWithMiniKube