-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
Addresses #244 for the 2017 Homelessness 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
10.180.9.210 [09/Aug/2019:20:52:04 +0000] GET /homeless/ HTTP/1.1 200 23929 - ELB-HealthChecker/2.0 0.103165 - browser requests to https://service.civicpdx.org/homeless/sleeping/?year=2015 will display a Swagger-schema-prettified response with ten records in JSON format
- latest CloudWatch logs will display a recent web request to /homeless/sleeping/?year=2015 with a 200 response code