forked from cds-snc/notification-api
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev: #1344 Separate read and write engine bindings & AuthenticatedSer…
…viceInfo instead of "return query.one()" (#1395) * read-db uri, engine binding, refactored service * add read-db for testing, formatting fixes, removed prints * added SQLALCHEMY_DATABASE_URI_READ to tasks def-n * adding .rate_limit and .service_sms_senders to AutheticatedServiceInfo * lintere fixes * added tasks for perf, prod and staging * improve readability of docker-compose * add message_limit * refactoring and clean up * lint fix * blank line fix * fixing unit tests init work * fixing unit tests aug2-3 part 1 * fixing unit tests aug 4 * fixed .has_permissions and service_has_permission * all unit tests are passing * cleaned up dev code and prints * additional clean up of unused code and comments * linter fixes * fixed "secret" violates not-null constraint" error * removed commented out import * add logger prints and move .close() * reverting * contextmanager and AuthenticatedServiceApiKey * clean up * clean up * added ticket number to TODO comments * docs for AuthenticatedServiceInfo and clean up * changed set to frozenset * added annotations * pr chage requests * new fixture, __eq__ for ServiceData, renamed AuthenticatedServiceInfo to ServiceData * readme update, moved context to dao utils, changed 403 test case to use sample_service_data_api_key * revert test changes * 403 fix and clean up * fix sample_service_data_api_key def and test_should_attach_the_current_api_key_to_current_app * use postgres 15
- Loading branch information
1 parent
a7f9965
commit 908faed
Showing
33 changed files
with
622 additions
and
67 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
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
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
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
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.