What does this pull request do?
This PR decreases the total number of ECS API calls by using the following methods:
It uses arn tags to map Layer0 Tasks to ECS Tasks
It optimizes List and Read calls for environment, service, and task
It changes the scaler to run every hour instead of every 5 minutes
It removes the copies param from create task
It add functions GetEnvironmentServices() and GetEnvironmentTasks() to the logic layer.
This is used by the scaler, which was calling get service/task once for each service/task in an environment.
How should this be tested?
Unit, Smoke, System, and Stress tests
What does this pull request do? This PR decreases the total number of ECS API calls by using the following methods:
arn
tags to map Layer0 Tasks to ECS Taskscopies
param from create taskGetEnvironmentServices()
andGetEnvironmentTasks()
to the logic layer. This is used by the scaler, which was calling get service/task once for each service/task in an environment.How should this be tested? Unit, Smoke, System, and Stress tests
Checklist
closes #462