-
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.
Celery task for updating user data working
properly; Logging of task execution in separate celery log
- Loading branch information
1 parent
345989b
commit 379542b
Showing
7 changed files
with
196 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
21 changes: 21 additions & 0 deletions
21
site/knowledge_commons_repository/invenio_remote_user_data/signals.py
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,21 @@ | ||
# -*- coding: utf-8 -*- | ||
# | ||
# This file is part of the invenio-remote-user-data package. | ||
# Copyright (C) 2023, MESH Research. | ||
# | ||
# invenio-remote-user-data is free software; you can redistribute it | ||
# and/or modify it under the terms of the MIT License; see | ||
# LICENSE file for more details. | ||
|
||
"""Signals for invenio-remote-user-data. | ||
""" | ||
|
||
from blinker import Namespace | ||
remote_update_signals = Namespace() | ||
|
||
remote_data_updated = remote_update_signals.signal('remote-data-updated') | ||
"""Remote data updated signal. | ||
Sent when the idp_data_update webhook receives a signal about an update | ||
from a remote IDP server and publishes an event to the "user-data-updates" event queue. | ||
""" |
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