This repository has been archived by the owner on Sep 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from Indicio-tech/feature/notifications
Use event bus to send notifications to Admin connections
- Loading branch information
Showing
70 changed files
with
3,046 additions
and
745 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 |
---|---|---|
@@ -1,3 +1,29 @@ | ||
"""Shortcut to group all.""" | ||
"""Shortcut to group all and rexports.""" | ||
|
||
from .group.all import setup | ||
import os | ||
import logging | ||
|
||
from aries_cloudagent.protocols.problem_report.v1_0.message import ( | ||
ProblemReport | ||
) | ||
from aries_cloudagent.config.injection_context import InjectionContext | ||
|
||
from . import ( | ||
basicmessage, connections, credential_definitions, dids, invitations, | ||
issuer, mediator, routing, schemas, static_connections, taa | ||
) | ||
from .holder import v0_1 as holder | ||
|
||
MODULES = [ | ||
basicmessage, connections, credential_definitions, dids, invitations, | ||
issuer, mediator, routing, schemas, static_connections, taa, holder | ||
] | ||
|
||
|
||
async def setup(context: InjectionContext): | ||
"""Load Toolbox Plugin.""" | ||
log_level = os.environ.get("ACAPY_TOOLBOX_LOG_LEVEL", logging.WARNING) | ||
logging.getLogger("acapy_plugin_toolbox").setLevel(log_level) | ||
print("Setting logging level of acapy_plugin_toolbox to", log_level) | ||
for mod in MODULES: | ||
await mod.setup(context) |
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.