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.
Replace notifications with user journey events (GSI-669) (#14)
* Update to uv * Bump ghga-event-schemas version * Add event publisher * Replace the notification emitter with the event publisher * Use event publisher in tests * Bump version from 1.1.1 -> 2.0.0 * Fix missed notification references * Remove data steward email from config * Rename config params for event types * Make repository docstring tweaks * Simplify event_pub test * Use a list for request status event dummy calls * Use list with mock event for test_repository * Compare events directly * Remove events_for() --------- Co-authored-by: TheByronHimes <[email protected]>
- Loading branch information
1 parent
de0e322
commit 6a8e75f
Showing
23 changed files
with
465 additions
and
740 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 |
---|---|---|
|
@@ -11,14 +11,14 @@ cors_allowed_headers: [] | |
db_connection_str: "mongodb://mongodb:27017" | ||
db_name: "access-requests" | ||
|
||
notification_event_topic: notifications | ||
notification_event_type: notification | ||
access_request_events_topic: access_request_events | ||
access_request_created_event_type: access_request_created | ||
access_request_allowed_event_type: access_request_allowed | ||
access_request_denied_event_type: access_request_denied | ||
|
||
service_instance_id: "1" | ||
kafka_servers: ["kafka:9092"] | ||
|
||
download_access_url: "http://127.0.0.1:8080/download-access" | ||
|
||
data_steward_email: "[email protected]" | ||
|
||
auth_key: "{}" |
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,5 +1,9 @@ | ||
access_grant_max_days: 730 | ||
access_grant_min_days: 7 | ||
access_request_allowed_event_type: access_request_allowed | ||
access_request_created_event_type: access_request_created | ||
access_request_denied_event_type: access_request_denied | ||
access_request_events_topic: access_request_events | ||
access_upfront_max_days: 180 | ||
api_root_path: '' | ||
auth_algs: | ||
|
@@ -16,7 +20,6 @@ cors_allow_credentials: false | |
cors_allowed_headers: [] | ||
cors_allowed_methods: [] | ||
cors_allowed_origins: [] | ||
data_steward_email: [email protected] | ||
db_connection_str: '**********' | ||
db_name: access-requests | ||
docs_url: /docs | ||
|
@@ -32,8 +35,6 @@ kafka_ssl_keyfile: '' | |
kafka_ssl_password: '' | ||
log_format: null | ||
log_level: INFO | ||
notification_event_topic: notifications | ||
notification_event_type: notification | ||
openapi_url: /openapi.json | ||
port: 8080 | ||
service_instance_id: '1' | ||
|
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.