diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/__init__.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/__init__.py index 779bfebcf..0d8784910 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/__init__.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/__init__.py @@ -1,12 +1,12 @@ import logging -from aries_cloudagent.config.injection_context import InjectionContext +from acapy_agent.config.injection_context import InjectionContext -from aries_cloudagent.core.event_bus import EventBus -from aries_cloudagent.core.plugin_registry import PluginRegistry -from aries_cloudagent.core.protocol_registry import ProtocolRegistry +from acapy_agent.core.event_bus import EventBus +from acapy_agent.core.plugin_registry import PluginRegistry +from acapy_agent.core.protocol_registry import ProtocolRegistry from . import ( schema_storage, diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/connections/__init__.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/connections/__init__.py index fd84ad0ec..f390b6e8e 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/connections/__init__.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/connections/__init__.py @@ -1,9 +1,9 @@ import logging -from aries_cloudagent.config.injection_context import InjectionContext -from aries_cloudagent.core.event_bus import EventBus -from aries_cloudagent.core.plugin_registry import PluginRegistry -from aries_cloudagent.core.protocol_registry import ProtocolRegistry +from acapy_agent.config.injection_context import InjectionContext +from acapy_agent.core.event_bus import EventBus +from acapy_agent.core.plugin_registry import PluginRegistry +from acapy_agent.core.protocol_registry import ProtocolRegistry LOGGER = logging.getLogger(__name__) diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/connections/routes.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/connections/routes.py index b7e1c434d..0b44034a0 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/connections/routes.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/connections/routes.py @@ -2,13 +2,13 @@ from aiohttp import web from aiohttp_apispec import docs, match_info_schema, response_schema -from aries_cloudagent.admin.decorators.auth import tenant_authentication -from aries_cloudagent.admin.request_context import AdminRequestContext -from aries_cloudagent.connections.models.conn_record import ConnRecord -from aries_cloudagent.messaging.models.base import BaseModelError -from aries_cloudagent.protocols.connections.v1_0.routes import ( +from acapy_agent.admin.decorators.auth import tenant_authentication +from acapy_agent.admin.request_context import AdminRequestContext +from acapy_agent.connections.models.conn_record import ConnRecord +from acapy_agent.messaging.models.base import BaseModelError +from acapy_agent.protocols.connections.v1_0.routes import ( ConnectionsConnIdMatchInfoSchema, InvitationResultSchema) -from aries_cloudagent.storage.error import StorageNotFoundError +from acapy_agent.storage.error import StorageNotFoundError LOGGER = logging.getLogger(__name__) diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/creddef_storage/__init__.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/creddef_storage/__init__.py index cdfca8b4b..6e97b3133 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/creddef_storage/__init__.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/creddef_storage/__init__.py @@ -1,10 +1,10 @@ import logging -from aries_cloudagent.config.injection_context import InjectionContext -from aries_cloudagent.core.event_bus import EventBus -from aries_cloudagent.core.plugin_registry import PluginRegistry +from acapy_agent.config.injection_context import InjectionContext +from acapy_agent.core.event_bus import EventBus +from acapy_agent.core.plugin_registry import PluginRegistry -from aries_cloudagent.core.protocol_registry import ProtocolRegistry +from acapy_agent.core.protocol_registry import ProtocolRegistry from .creddef_storage_service import CredDefStorageService, subscribe diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/creddef_storage/creddef_storage_service.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/creddef_storage/creddef_storage_service.py index bce212ca4..1c2be2516 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/creddef_storage/creddef_storage_service.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/creddef_storage/creddef_storage_service.py @@ -1,13 +1,13 @@ import logging from typing import Optional -from aries_cloudagent.core.event_bus import EventBus, Event -from aries_cloudagent.core.profile import Profile -from aries_cloudagent.storage.error import StorageNotFoundError +from acapy_agent.core.event_bus import EventBus, Event +from acapy_agent.core.profile import Profile +from acapy_agent.storage.error import StorageNotFoundError from .models import CredDefStorageRecord -from aries_cloudagent.messaging.credential_definitions.util import ( +from acapy_agent.messaging.credential_definitions.util import ( EVENT_LISTENER_PATTERN as CREDDEF_EVENT_LISTENER_PATTERN, ) diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/creddef_storage/models.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/creddef_storage/models.py index 1868efefb..e8de23de3 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/creddef_storage/models.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/creddef_storage/models.py @@ -1,7 +1,7 @@ from typing import Optional -from aries_cloudagent.messaging.models.base_record import BaseRecord, BaseRecordSchema -from aries_cloudagent.messaging.valid import ( +from acapy_agent.messaging.models.base_record import BaseRecord, BaseRecordSchema +from acapy_agent.messaging.valid import ( INDY_SCHEMA_ID_VALIDATE, INDY_SCHEMA_ID_EXAMPLE, INDY_REV_REG_SIZE_VALIDATE, diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/creddef_storage/routes.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/creddef_storage/routes.py index caf765b69..9b2c8421d 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/creddef_storage/routes.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/creddef_storage/routes.py @@ -3,13 +3,13 @@ from aiohttp import web from aiohttp_apispec import docs, response_schema, match_info_schema -from aries_cloudagent.admin.request_context import AdminRequestContext +from acapy_agent.admin.request_context import AdminRequestContext -from aries_cloudagent.messaging.models.base import BaseModelError -from aries_cloudagent.messaging.models.openapi import OpenAPISchema +from acapy_agent.messaging.models.base import BaseModelError +from acapy_agent.messaging.models.openapi import OpenAPISchema -from aries_cloudagent.storage.error import StorageNotFoundError, StorageError -from aries_cloudagent.admin.decorators.auth import tenant_authentication +from acapy_agent.storage.error import StorageNotFoundError, StorageError +from acapy_agent.admin.decorators.auth import tenant_authentication from marshmallow import fields diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/endorser/__init__.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/endorser/__init__.py index f261deb7e..fa0e8a4b2 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/endorser/__init__.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/endorser/__init__.py @@ -1,9 +1,9 @@ import logging -from aries_cloudagent.config.injection_context import InjectionContext -from aries_cloudagent.core.event_bus import EventBus -from aries_cloudagent.core.plugin_registry import PluginRegistry -from aries_cloudagent.core.protocol_registry import ProtocolRegistry +from acapy_agent.config.injection_context import InjectionContext +from acapy_agent.core.event_bus import EventBus +from acapy_agent.core.plugin_registry import PluginRegistry +from acapy_agent.core.protocol_registry import ProtocolRegistry from .endorser_connection_service import ( EndorserConnectionService, diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/endorser/endorser_connection_service.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/endorser/endorser_connection_service.py index 7fbd6b22d..48784c1a4 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/endorser/endorser_connection_service.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/endorser/endorser_connection_service.py @@ -1,12 +1,12 @@ import logging import re -from aries_cloudagent.config.injector import Injector -from aries_cloudagent.connections.models.conn_record import ConnRecord -from aries_cloudagent.core.event_bus import Event, EventBus -from aries_cloudagent.core.profile import Profile -from aries_cloudagent.protocols.didexchange.v1_0.manager import DIDXManager -from aries_cloudagent.protocols.endorse_transaction.v1_0.manager import ( +from acapy_agent.config.injector import Injector +from acapy_agent.connections.models.conn_record import ConnRecord +from acapy_agent.core.event_bus import Event, EventBus +from acapy_agent.core.profile import Profile +from acapy_agent.protocols.didexchange.v1_0.manager import DIDXManager +from acapy_agent.protocols.endorse_transaction.v1_0.manager import ( TransactionManager, ) diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/endorser/routes.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/endorser/routes.py index 9543e5166..b168f58ba 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/endorser/routes.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/endorser/routes.py @@ -3,18 +3,18 @@ from aiohttp import web from aiohttp_apispec import docs, response_schema, request_schema -from aries_cloudagent.admin.request_context import AdminRequestContext -from aries_cloudagent.connections.models.conn_record import ConnRecordSchema -from aries_cloudagent.messaging.models.base import BaseModelError -from aries_cloudagent.messaging.models.openapi import OpenAPISchema -from aries_cloudagent.protocols.didexchange.v1_0.manager import DIDXManagerError -from aries_cloudagent.protocols.endorse_transaction.v1_0.routes import ( +from acapy_agent.admin.request_context import AdminRequestContext +from acapy_agent.connections.models.conn_record import ConnRecordSchema +from acapy_agent.messaging.models.base import BaseModelError +from acapy_agent.messaging.models.openapi import OpenAPISchema +from acapy_agent.protocols.didexchange.v1_0.manager import DIDXManagerError +from acapy_agent.protocols.endorse_transaction.v1_0.routes import ( EndorserInfoSchema, ) -from aries_cloudagent.storage.error import StorageNotFoundError, StorageError -from aries_cloudagent.wallet.error import WalletError -from aries_cloudagent.admin.decorators.auth import tenant_authentication +from acapy_agent.storage.error import StorageNotFoundError, StorageError +from acapy_agent.wallet.error import WalletError +from acapy_agent.admin.decorators.auth import tenant_authentication from marshmallow import fields from .endorser_connection_service import EndorserConnectionService diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/innkeeper/__init__.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/innkeeper/__init__.py index b4d899797..f5ba178be 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/innkeeper/__init__.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/innkeeper/__init__.py @@ -1,14 +1,14 @@ import logging import re -from aries_cloudagent.config.injection_context import InjectionContext -from aries_cloudagent.connections.models.conn_record import ConnRecord - -from aries_cloudagent.core.event_bus import EventBus, Event -from aries_cloudagent.core.plugin_registry import PluginRegistry -from aries_cloudagent.core.profile import Profile -from aries_cloudagent.core.protocol_registry import ProtocolRegistry -from aries_cloudagent.core.util import STARTUP_EVENT_PATTERN +from acapy_agent.config.injection_context import InjectionContext +from acapy_agent.connections.models.conn_record import ConnRecord + +from acapy_agent.core.event_bus import EventBus, Event +from acapy_agent.core.plugin_registry import PluginRegistry +from acapy_agent.core.profile import Profile +from acapy_agent.core.protocol_registry import ProtocolRegistry +from acapy_agent.core.util import STARTUP_EVENT_PATTERN from .config import get_config from .tenant_manager import TenantManager diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/innkeeper/models.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/innkeeper/models.py index d414ee6ab..a8b1eeff4 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/innkeeper/models.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/innkeeper/models.py @@ -3,11 +3,11 @@ from datetime import datetime, timezone from typing import Optional, Union, List -from aries_cloudagent.core.profile import ProfileSession -from aries_cloudagent.messaging.models.base_record import BaseRecord, BaseRecordSchema -from aries_cloudagent.messaging.util import datetime_to_str, str_to_datetime -from aries_cloudagent.messaging.valid import UUIDFour -from aries_cloudagent.storage.error import StorageDuplicateError, StorageNotFoundError +from acapy_agent.core.profile import ProfileSession +from acapy_agent.messaging.models.base_record import BaseRecord, BaseRecordSchema +from acapy_agent.messaging.util import datetime_to_str, str_to_datetime +from acapy_agent.messaging.valid import UUIDFour +from acapy_agent.storage.error import StorageDuplicateError, StorageNotFoundError from marshmallow import fields, EXCLUDE, validate ENDORSER_LEDGER_CONFIG_EXAMPLE = { diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/innkeeper/routes.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/innkeeper/routes.py index dd5e28e7a..dc29a7653 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/innkeeper/routes.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/innkeeper/routes.py @@ -10,21 +10,21 @@ response_schema, use_kwargs, ) -from aries_cloudagent.admin.request_context import AdminRequestContext -from aries_cloudagent.admin.routes import AdminConfigSchema -from aries_cloudagent.messaging.models.base import BaseModelError -from aries_cloudagent.messaging.models.openapi import OpenAPISchema -from aries_cloudagent.messaging.valid import JSONWebToken, UUIDFour -from aries_cloudagent.multitenant.admin.routes import ( +from acapy_agent.admin.request_context import AdminRequestContext +from acapy_agent.admin.routes import AdminConfigSchema +from acapy_agent.messaging.models.base import BaseModelError +from acapy_agent.messaging.models.openapi import OpenAPISchema +from acapy_agent.messaging.valid import JSONWebToken, UUIDFour +from acapy_agent.multitenant.admin.routes import ( CreateWalletTokenRequestSchema, CreateWalletTokenResponseSchema, ) -from aries_cloudagent.multitenant.base import BaseMultitenantManager -from aries_cloudagent.multitenant.error import WalletKeyMissingError -from aries_cloudagent.storage.error import StorageError, StorageNotFoundError -from aries_cloudagent.version import __version__ -from aries_cloudagent.wallet.error import WalletSettingsError -from aries_cloudagent.wallet.models.wallet_record import WalletRecord +from acapy_agent.multitenant.base import BaseMultitenantManager +from acapy_agent.multitenant.error import WalletKeyMissingError +from acapy_agent.storage.error import StorageError, StorageNotFoundError +from acapy_agent.version import __version__ +from acapy_agent.wallet.error import WalletSettingsError +from acapy_agent.wallet.models.wallet_record import WalletRecord from multitenant_provider.v1_0.routes import plugin_wallet_create_token from marshmallow import fields, validate diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/innkeeper/tenant_manager.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/innkeeper/tenant_manager.py index 87cbc341e..a838d56a8 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/innkeeper/tenant_manager.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/innkeeper/tenant_manager.py @@ -3,16 +3,16 @@ import logging from typing import List, Optional -from aries_cloudagent.core.error import BaseError -from aries_cloudagent.core.profile import Profile -from aries_cloudagent.messaging.models.base import BaseModelError -from aries_cloudagent.multitenant.base import BaseMultitenantManager +from acapy_agent.core.error import BaseError +from acapy_agent.core.profile import Profile +from acapy_agent.messaging.models.base import BaseModelError +from acapy_agent.multitenant.base import BaseMultitenantManager -# from aries_cloudagent.ledger.multiple_ledger.base_manager import ( +# from acapy_agent.ledger.multiple_ledger.base_manager import ( # BaseMultipleLedgerManager, # ) -from aries_cloudagent.storage.error import StorageError, StorageNotFoundError -from aries_cloudagent.wallet.models.wallet_record import WalletRecord +from acapy_agent.storage.error import StorageError, StorageNotFoundError +from acapy_agent.wallet.models.wallet_record import WalletRecord from .config import TractionInnkeeperConfig, InnkeeperWalletConfig, ReservationConfig from .models import TenantAuthenticationApiRecord, TenantRecord, ReservationRecord diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/innkeeper/utils.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/innkeeper/utils.py index 065cb010f..1775a104a 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/innkeeper/utils.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/innkeeper/utils.py @@ -3,8 +3,8 @@ import uuid from datetime import datetime, timedelta -from aries_cloudagent.core.profile import Profile -from aries_cloudagent.messaging.models.openapi import OpenAPISchema +from acapy_agent.core.profile import Profile +from acapy_agent.messaging.models.openapi import OpenAPISchema from marshmallow import fields from .models import ReservationRecord, TenantAuthenticationApiRecord, TenantRecord diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/oca/__init__.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/oca/__init__.py index 23c3ef5a5..30e6cb8b9 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/oca/__init__.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/oca/__init__.py @@ -1,13 +1,13 @@ import logging -from aries_cloudagent.admin.base_server import BaseAdminServer -from aries_cloudagent.admin.server import AdminServer -from aries_cloudagent.config.injection_context import InjectionContext -from aries_cloudagent.core.event_bus import EventBus, Event -from aries_cloudagent.core.plugin_registry import PluginRegistry -from aries_cloudagent.core.profile import Profile -from aries_cloudagent.core.protocol_registry import ProtocolRegistry -from aries_cloudagent.core.util import STARTUP_EVENT_PATTERN +from acapy_agent.admin.base_server import BaseAdminServer +from acapy_agent.admin.server import AdminServer +from acapy_agent.config.injection_context import InjectionContext +from acapy_agent.core.event_bus import EventBus, Event +from acapy_agent.core.plugin_registry import PluginRegistry +from acapy_agent.core.profile import Profile +from acapy_agent.core.protocol_registry import ProtocolRegistry +from acapy_agent.core.util import STARTUP_EVENT_PATTERN from .oca_service import OcaService diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/oca/models.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/oca/models.py index 89a16d909..970f92168 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/oca/models.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/oca/models.py @@ -1,7 +1,7 @@ from typing import Optional -from aries_cloudagent.messaging.models.base_record import BaseRecord, BaseRecordSchema -from aries_cloudagent.messaging.valid import ( +from acapy_agent.messaging.models.base_record import BaseRecord, BaseRecordSchema +from acapy_agent.messaging.valid import ( INDY_SCHEMA_ID_VALIDATE, INDY_SCHEMA_ID_EXAMPLE, INDY_CRED_DEF_ID_VALIDATE, diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/oca/oca_service.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/oca/oca_service.py index 4015836d6..d4e31a0e0 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/oca/oca_service.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/oca/oca_service.py @@ -1,12 +1,12 @@ import logging from typing import Optional -from aries_cloudagent.core.error import BaseError -from aries_cloudagent.core.profile import Profile -from aries_cloudagent.storage.error import StorageDuplicateError, StorageNotFoundError -from aries_cloudagent.wallet.base import BaseWallet -from aries_cloudagent.wallet.did_info import DIDInfo -from aries_cloudagent.wallet.error import WalletError +from acapy_agent.core.error import BaseError +from acapy_agent.core.profile import Profile +from acapy_agent.storage.error import StorageDuplicateError, StorageNotFoundError +from acapy_agent.wallet.base import BaseWallet +from acapy_agent.wallet.did_info import DIDInfo +from acapy_agent.wallet.error import WalletError from marshmallow import ValidationError from .models import OcaRecord diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/oca/routes.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/oca/routes.py index 464173491..af440c493 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/oca/routes.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/oca/routes.py @@ -9,18 +9,18 @@ querystring_schema, match_info_schema, ) -from aries_cloudagent.admin.request_context import AdminRequestContext -from aries_cloudagent.messaging.models.base import BaseModelError -from aries_cloudagent.messaging.models.openapi import OpenAPISchema -from aries_cloudagent.messaging.valid import ( +from acapy_agent.admin.request_context import AdminRequestContext +from acapy_agent.messaging.models.base import BaseModelError +from acapy_agent.messaging.models.openapi import OpenAPISchema +from acapy_agent.messaging.valid import ( INDY_SCHEMA_ID_EXAMPLE, INDY_SCHEMA_ID_VALIDATE, INDY_CRED_DEF_ID_EXAMPLE, INDY_CRED_DEF_ID_VALIDATE, UUIDFour, ) -from aries_cloudagent.storage.error import StorageNotFoundError, StorageError -from aries_cloudagent.admin.decorators.auth import tenant_authentication +from acapy_agent.storage.error import StorageNotFoundError, StorageError +from acapy_agent.admin.decorators.auth import tenant_authentication from marshmallow import fields, ValidationError from . import OcaService diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/routes.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/routes.py index cfcf91f0a..d791c0ec2 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/routes.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/routes.py @@ -1,7 +1,7 @@ import logging from aiohttp import web -from aries_cloudagent.utils.classloader import ClassLoader +from acapy_agent.utils.classloader import ClassLoader from . import MODULES diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/schema_storage/__init__.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/schema_storage/__init__.py index 6d14931d2..08df3abcc 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/schema_storage/__init__.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/schema_storage/__init__.py @@ -1,9 +1,9 @@ import logging -from aries_cloudagent.config.injection_context import InjectionContext -from aries_cloudagent.core.event_bus import EventBus -from aries_cloudagent.core.plugin_registry import PluginRegistry -from aries_cloudagent.core.protocol_registry import ProtocolRegistry +from acapy_agent.config.injection_context import InjectionContext +from acapy_agent.core.event_bus import EventBus +from acapy_agent.core.plugin_registry import PluginRegistry +from acapy_agent.core.protocol_registry import ProtocolRegistry from .schema_storage_service import SchemaStorageService, subscribe diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/schema_storage/models.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/schema_storage/models.py index 2cde3c33f..14dc4537f 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/schema_storage/models.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/schema_storage/models.py @@ -1,7 +1,7 @@ from typing import Optional -from aries_cloudagent.messaging.models.base_record import BaseRecord, BaseRecordSchema -from aries_cloudagent.messaging.valid import ( +from acapy_agent.messaging.models.base_record import BaseRecord, BaseRecordSchema +from acapy_agent.messaging.valid import ( INDY_SCHEMA_ID_EXAMPLE, INDY_SCHEMA_ID_VALIDATE, ) diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/schema_storage/routes.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/schema_storage/routes.py index fdcd17874..48aeb8771 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/schema_storage/routes.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/schema_storage/routes.py @@ -3,13 +3,13 @@ from aiohttp import web from aiohttp_apispec import docs, response_schema, match_info_schema, request_schema -from aries_cloudagent.admin.request_context import AdminRequestContext +from acapy_agent.admin.request_context import AdminRequestContext -from aries_cloudagent.messaging.models.base import BaseModelError -from aries_cloudagent.messaging.models.openapi import OpenAPISchema -from aries_cloudagent.admin.decorators.auth import tenant_authentication +from acapy_agent.messaging.models.base import BaseModelError +from acapy_agent.messaging.models.openapi import OpenAPISchema +from acapy_agent.admin.decorators.auth import tenant_authentication -from aries_cloudagent.storage.error import StorageNotFoundError, StorageError +from acapy_agent.storage.error import StorageNotFoundError, StorageError from marshmallow import fields from .models import SchemaStorageRecordSchema diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/schema_storage/schema_storage_service.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/schema_storage/schema_storage_service.py index aa051ac9b..9b0d32e4d 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/schema_storage/schema_storage_service.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/schema_storage/schema_storage_service.py @@ -1,20 +1,20 @@ import logging from typing import Optional -from aries_cloudagent.core.event_bus import Event, EventBus -from aries_cloudagent.core.profile import Profile -from aries_cloudagent.ledger.error import LedgerError -from aries_cloudagent.ledger.multiple_ledger.ledger_requests_executor import ( +from acapy_agent.core.event_bus import Event, EventBus +from acapy_agent.core.profile import Profile +from acapy_agent.ledger.error import LedgerError +from acapy_agent.ledger.multiple_ledger.ledger_requests_executor import ( IndyLedgerRequestsExecutor, GET_SCHEMA, ) -from aries_cloudagent.messaging.schemas.util import SCHEMA_SENT_RECORD_TYPE -from aries_cloudagent.multitenant.base import BaseMultitenantManager -from aries_cloudagent.storage.base import BaseStorage -from aries_cloudagent.storage.error import StorageNotFoundError +from acapy_agent.messaging.schemas.util import SCHEMA_SENT_RECORD_TYPE +from acapy_agent.multitenant.base import BaseMultitenantManager +from acapy_agent.storage.base import BaseStorage +from acapy_agent.storage.error import StorageNotFoundError from .models import SchemaStorageRecord -from aries_cloudagent.messaging.schemas.util import ( +from acapy_agent.messaging.schemas.util import ( EVENT_LISTENER_PATTERN as SCHEMAS_EVENT_LISTENER_PATTERN, ) diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/tenant/__init__.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/tenant/__init__.py index 7bd017f3f..1ebc257fe 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/tenant/__init__.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/tenant/__init__.py @@ -1,11 +1,11 @@ from contextvars import ContextVar import logging -from aries_cloudagent.config.injection_context import InjectionContext -from aries_cloudagent.core.event_bus import EventBus -from aries_cloudagent.core.plugin_registry import PluginRegistry -from aries_cloudagent.core.protocol_registry import ProtocolRegistry -from aries_cloudagent.config.logging import TimedRotatingFileMultiProcessHandler +from acapy_agent.config.injection_context import InjectionContext +from acapy_agent.core.event_bus import EventBus +from acapy_agent.core.plugin_registry import PluginRegistry +from acapy_agent.core.protocol_registry import ProtocolRegistry +from acapy_agent.config.logging import TimedRotatingFileMultiProcessHandler from pythonjsonlogger import jsonlogger diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/tenant/holder_revocation_service.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/tenant/holder_revocation_service.py index 56d87323e..8e75a7f9a 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/tenant/holder_revocation_service.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/tenant/holder_revocation_service.py @@ -1,11 +1,11 @@ import logging import re -from aries_cloudagent.core.event_bus import EventBus, Event -from aries_cloudagent.core.profile import Profile -from aries_cloudagent.messaging.models.base import BaseModelError -from aries_cloudagent.protocols.issue_credential.v1_0 import V10CredentialExchange -from aries_cloudagent.storage.error import StorageError, StorageNotFoundError +from acapy_agent.core.event_bus import EventBus, Event +from acapy_agent.core.profile import Profile +from acapy_agent.messaging.models.base import BaseModelError +from acapy_agent.protocols.issue_credential.v1_0 import V10CredentialExchange +from acapy_agent.storage.error import StorageError, StorageNotFoundError LOGGER = logging.getLogger(__name__) REVOCATION_NOTIFICATION_EVENT_PATTERN = re.compile( diff --git a/plugins/traction_innkeeper/traction_innkeeper/v1_0/tenant/routes.py b/plugins/traction_innkeeper/traction_innkeeper/v1_0/tenant/routes.py index 5d34b1c97..1d1f345d7 100644 --- a/plugins/traction_innkeeper/traction_innkeeper/v1_0/tenant/routes.py +++ b/plugins/traction_innkeeper/traction_innkeeper/v1_0/tenant/routes.py @@ -8,23 +8,23 @@ response_schema, request_schema, ) -from aries_cloudagent.admin.request_context import AdminRequestContext -from aries_cloudagent.admin.routes import AdminConfigSchema -from aries_cloudagent.messaging.models.openapi import OpenAPISchema -from aries_cloudagent.multitenant.admin.routes import ( +from acapy_agent.admin.request_context import AdminRequestContext +from acapy_agent.admin.routes import AdminConfigSchema +from acapy_agent.messaging.models.openapi import OpenAPISchema +from acapy_agent.multitenant.admin.routes import ( format_wallet_record, UpdateWalletRequestSchema, get_extra_settings_dict_per_tenant, ) -from aries_cloudagent.multitenant.base import BaseMultitenantManager -from aries_cloudagent.storage.error import StorageNotFoundError -from aries_cloudagent.version import __version__ -from aries_cloudagent.wallet.models.wallet_record import ( +from acapy_agent.multitenant.base import BaseMultitenantManager +from acapy_agent.storage.error import StorageNotFoundError +from acapy_agent.version import __version__ +from acapy_agent.wallet.models.wallet_record import ( WalletRecordSchema, WalletRecord, ) -from aries_cloudagent.admin import server -from aries_cloudagent.admin.decorators.auth import tenant_authentication +from acapy_agent.admin import server +from acapy_agent.admin.decorators.auth import tenant_authentication from marshmallow import fields, validate from ..innkeeper.routes import ( diff --git a/scripts/endorser-acapy-args.yml b/scripts/endorser-acapy-args.yml index a172b38c6..986ce9e25 100755 --- a/scripts/endorser-acapy-args.yml +++ b/scripts/endorser-acapy-args.yml @@ -5,7 +5,7 @@ auto-ping-connection: true auto-provision: true monitor-ping: true public-invites: true -plugin: 'aries_cloudagent.messaging.jsonld' +plugin: 'acapy_agent.messaging.jsonld' outbound-transport: http log-level: info endorser-protocol-role: endorser