-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
Addresses #244 for the 2017 Transportation API. Mirrors the work in #259 and #260, and implements similar changes as hackoregon/hackoregon-aws-infrastructure#84. Uses the migration procedure documented here.
Acceptance Criteria
Tests that will confirm the container has successfully migrated:
- CloudFormation will report UPDATE_COMPLETE for the enhanced stack
- ECS will report (a) "Launch Type FARGATE" for the service, (b) 1 Task Running at the Task level, and (c) at the Task detail level a "Started at" timestamp that is at least 5 minutes into the past (which indicates that the container stayed RUNNING long enough to pass the ALB health check cycle)
- latest log in CloudWatch group for the associated service will show entries of the form
[2019-08-10 17:43:52 +0000] [45] [DEBUG] GET /transport/
[2019-08-10 17:43:52 +0000] [45] [DEBUG] Closing connection.
- browser requests to https://service.civicpdx.org/transport/-rooted APIs will error out in various ways (though the swagger page on /transport/ will look fine): /transport/conflicts will eventually throw a 504, /transport/features will throw a 502, and /transport/nearby will throw a 500.
- latest CloudWatch logs will display a recent web request to /housing/features/ the following log lines:
[2019-08-11 17:33:45 +0000] [50] [DEBUG] GET /transport/features/
featurecount 18966