-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In 884 refactor config loading (#88)
* IN-884 Refactor method for loading configurations Why these changes are being introduced: * Simplify method for running Carbon ECS tasks by providing environment variables through the 'secrets' and 'environment' blocks and simplify function for loading configs. How this addresses that need: * Update references to environment variables by using revised names * Replace 'Config' class with a method for loading configs * Update 'test_env' to include new set of environment variables * Simplify cli command and update tests accordingly * Configure a logger that sends logs to CloudWatch * Deprecate options in cli command * Revise test_file_is_ftped to simply check for existence of file on test FTP server * Revise test_people_returns_people and test_articles_return_articles to use test FTP server * Add test_config Side effects of this change: * Revised names for environment variables (namely, appending 'SYMPLECTIC' prefix to FTP variables * Click options are deprecated so ECS task definitions must also be updated Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/IN-884
- Loading branch information
1 parent
3e7f074
commit 32d47f4
Showing
12 changed files
with
720 additions
and
372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.