-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 1.0.0-beta.1 - Almost Stable
### Added - An interface for Fidelius gateway repos and admins to fulfil - A mock implementation of a Fidelius gateway repo and admin that use a simple singleton dict to store (and share) data during runtime - Unittests for the mock implementation - Unittests for the Parameter Store implementation using LocalStack - A Factory class to get different implementation classes - Methods to delete parameters - Config params for the `AwsParamStoreRepo` to use a custom AWS endpoint in order to hook up to stuff like LocalStack for testing and such ### Changed - The API a little bit so we're no longer backwards compatible (hence the major version bump to 1.0.0) - All config params can now be explicitly given to the `AwsParamStoreRepo` in addition to being picked up from environment variables if not supplied
- Loading branch information
1 parent
4cf941d
commit 96ba36d
Showing
21 changed files
with
829 additions
and
204 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
__version__ = '0.7.0-dev.3' | ||
__version__ = '1.0.0-beta.1' | ||
|
||
__author__ = 'Thordur Matthiasson <[email protected]>' | ||
__license__ = 'MIT License' | ||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
__all__ = [ | ||
'_SingletonDict', | ||
] | ||
|
||
from ccptools.structs import * | ||
|
||
|
||
class _SingletonDict(dict, metaclass=Singleton): | ||
"""Simple Singleton dict :) | ||
It's point is simply to act as a shared centralized store for the mock | ||
stuff, mimicking how multiple instances of Fidelius Repos and/or Admin | ||
Repos would nevertheless fetch data from the same source. | ||
This is just to "mock" the shared parameter/secret stuff. | ||
...sneaky, right? | ||
""" | ||
pass |
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.