generated from ghga-de/microservice-repository-template
-
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.
* Update template files and lock files * Add mongodb provider from hexkit * Add mongodb config * Add model for storing hash sums of notification events * Add DAO for notification records * Update Notifier to use new DAO * Update the joint fixture * Update pyproject config for ruff linting * Update existing tests to use notifier in joint fixture Also removes some outdated calls to stop the event loop * Make _controller loop stop call conditional * Update model field directly before update * Add tests for new functionality * Update readme for the config * Make _ensure_not_sent func more intuitive * Don't check email str existence * Remove unnecessary imports in test * Type cast the Notifier instead of using type ignores * Rename _check_if_sent to _has_been_sent --------- Co-authored-by: TheByronHimes <[email protected]>
- Loading branch information
1 parent
03a1b85
commit 33f66ed
Showing
23 changed files
with
1,151 additions
and
658 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,5 @@ login_user: "[email protected]" | |
login_password: test | ||
from_address: "[email protected]" | ||
use_starttls: false | ||
db_connection_str: "mongodb://mongodb:27017" | ||
db_name: "dev_db" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
db_connection_str: '**********' | ||
db_name: dev_db | ||
from_address: [email protected] | ||
generate_correlation_id: true | ||
html_email_template: '<!DOCTYPE html><html><head></head><body style="color: #00393f;padding: | ||
|
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.