diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 6eeb824f40..eb487c5f57 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,7 +1,7 @@ // For format details, see https://aka.ms/devcontainer.json. For config options, see the // README at: https://github.com/devcontainers/templates/tree/main/src/python { - "name": "aries_cloudagent", + "name": "acapy_agent", "build": { "dockerfile": "Dockerfile", "context": "..", @@ -18,7 +18,7 @@ ], "settings": { "python.testing.pytestArgs": [ - "aries_cloudagent", + "acapy_agent", "--no-cov" ], "python.testing.autoTestDiscoverOnSaveEnabled": true, diff --git a/.devcontainer/post-install.sh b/.devcontainer/post-install.sh index c106cb9032..690e73106e 100644 --- a/.devcontainer/post-install.sh +++ b/.devcontainer/post-install.sh @@ -8,8 +8,8 @@ WORKSPACE_DIR=$(pwd) python -m pip install --upgrade pip pip3 install -r demo/requirements.txt -r demo/requirements.behave.txt -# install a version of aries-cloudagent so the pytests can pick up a version -pip3 install aries-cloudagent +# install a version of acapy-agent so the pytests can pick up a version +pip3 install acapy-agent # hack/workaround to allow `pytest .` and `poetry run pytest` work. # need to not run ruff... @@ -19,7 +19,7 @@ cat > .pytest.ini <> $GITHUB_OUTPUT fi diff --git a/.github/actions/run-unit-tests/action.yml b/.github/actions/run-unit-tests/action.yml index 1bff008933..f7c30872ce 100644 --- a/.github/actions/run-unit-tests/action.yml +++ b/.github/actions/run-unit-tests/action.yml @@ -30,7 +30,7 @@ runs: - name: Tests shell: bash run: | - poetry run pytest --cov=aries_cloudagent --cov-report term-missing --cov-report xml --ignore-glob=/tests/* --ignore-glob=demo/* --ignore-glob=docker/* --ignore-glob=docs/* --ignore-glob=scripts/* --ignore-glob=scenarios/* 2>&1 | tee pytest.log + poetry run pytest --cov=acapy_agent --cov-report term-missing --cov-report xml --ignore-glob=/tests/* --ignore-glob=demo/* --ignore-glob=docker/* --ignore-glob=docs/* --ignore-glob=scripts/* --ignore-glob=scenarios/* 2>&1 | tee pytest.log PYTEST_EXIT_CODE=${PIPESTATUS[0]} if grep -Eq "RuntimeWarning: coroutine .* was never awaited" pytest.log; then echo "Failure: Detected unawaited coroutine warning in pytest output." diff --git a/.github/workflows/bdd-integration-tests.yml b/.github/workflows/bdd-integration-tests.yml index 9e3362d4de..b880ebe58f 100644 --- a/.github/workflows/bdd-integration-tests.yml +++ b/.github/workflows/bdd-integration-tests.yml @@ -20,8 +20,8 @@ defaults: jobs: test: runs-on: ubuntu-latest - # Run on hyperledger and non-draft PRs or on non-PR events - if: (github.repository == 'hyperledger/aries-cloudagent-python') && ((github.event_name == 'pull_request' && github.event.pull_request.draft == false) || (github.event_name != 'pull_request')) + # Run on openwallet-foundation and non-draft PRs or on non-PR events + if: (github.repository == 'openwallet-foundation/acapy') && ((github.event_name == 'pull_request' && github.event.pull_request.draft == false) || (github.event_name != 'pull_request')) outputs: is_release: ${{ steps.check_if_release.outputs.is_release }} steps: @@ -35,7 +35,7 @@ jobs: with: files_yaml: | src: - - aries_cloudagent/**/* + - acapy_agent/**/* - poetry.lock - pyproject.toml demo: "demo/**/*" diff --git a/.github/workflows/bdd-interop-tests.yml b/.github/workflows/bdd-interop-tests.yml index b86b9915f2..5918467494 100644 --- a/.github/workflows/bdd-interop-tests.yml +++ b/.github/workflows/bdd-interop-tests.yml @@ -20,8 +20,8 @@ defaults: jobs: test: runs-on: ubuntu-latest - # Run on hyperledger and non-draft PRs or on non-PR events - if: (github.repository == 'hyperledger/aries-cloudagent-python') && ((github.event_name == 'pull_request' && github.event.pull_request.draft == false) || (github.event_name != 'pull_request')) + # Run on openwallet-foundation and non-draft PRs or on non-PR events + if: (github.repository == 'openwallet-foundation/acapy') && ((github.event_name == 'pull_request' && github.event.pull_request.draft == false) || (github.event_name != 'pull_request')) outputs: is_release: ${{ steps.check_if_release.outputs.is_release }} steps: @@ -35,7 +35,7 @@ jobs: with: files_yaml: | src: - - aries_cloudagent/**/* + - acapy_agent/**/* - poetry.lock - pyproject.toml - name: Check if src files changed @@ -67,7 +67,7 @@ jobs: if [ ${{ github.event_name }} == 'pull_request' ]; then echo ${{ fromJson(steps.get_pr_data.outputs.data).head.repo.html_url }} echo ${{ fromJson(steps.get_pr_data.outputs.data).head.ref }} - sed -i 's|@git+https://github.com/hyperledger/aries-cloudagent-python@main|@git+${{ fromJson(steps.get_pr_data.outputs.data).head.repo.html_url }}@${{ fromJson(steps.get_pr_data.outputs.data).head.ref }}|g' ./aries-agent-test-harness/aries-backchannels/acapy/requirements-main.txt + sed -i 's|@git+https://github.com/openwallet-foundation/acapy@main|@git+${{ fromJson(steps.get_pr_data.outputs.data).head.repo.html_url }}@${{ fromJson(steps.get_pr_data.outputs.data).head.ref }}|g' ./aries-agent-test-harness/aries-backchannels/acapy/requirements-main.txt fi cat aries-agent-test-harness/aries-backchannels/acapy/requirements-main.txt diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index e77074d757..324cf15550 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -10,7 +10,7 @@ jobs: CodeQL-Build: # CodeQL runs on ubuntu-latest and windows-latest runs-on: ubuntu-latest - if: (github.event_name == 'pull_request' && github.repository == 'hyperledger/aries-cloudagent-python') || (github.event_name != 'pull_request') + if: (github.event_name == 'pull_request' && github.repository == 'openwallet-foundation/acapy') || (github.event_name != 'pull_request') permissions: security-events: write diff --git a/.github/workflows/nigthly.yml b/.github/workflows/nigthly.yml index e83c0eb4a3..b2008e663c 100644 --- a/.github/workflows/nigthly.yml +++ b/.github/workflows/nigthly.yml @@ -13,7 +13,7 @@ jobs: matrix: os: ["ubuntu-latest"] python-version: ["3.12"] - if: github.repository == 'hyperledger/aries-cloudagent-python' || github.event_name == 'workflow_dispatch' + if: github.repository == 'openwallet-foundation/acapy' || github.event_name == 'workflow_dispatch' steps: - name: checkout uses: actions/checkout@v4 diff --git a/.github/workflows/pip-audit.yml b/.github/workflows/pip-audit.yml index f7d1d80be5..dfb0c48e9b 100644 --- a/.github/workflows/pip-audit.yml +++ b/.github/workflows/pip-audit.yml @@ -9,7 +9,7 @@ permissions: jobs: selftest: runs-on: ubuntu-latest - if: (github.event_name == 'pull_request' && github.repository == 'hyperledger/aries-cloudagent-python') || (github.event_name != 'pull_request') + if: (github.event_name == 'pull_request' && github.repository == 'openwallet-foundation/acapy') || (github.event_name != 'pull_request') steps: - uses: actions/checkout@v4 - name: install diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3f2bbcfcdc..2367b945c8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -33,7 +33,7 @@ on: type: string env: - # linux/386 platform support has been disabled pending a permanent fix for https://github.com/hyperledger/aries-cloudagent-python/issues/2124 + # linux/386 platform support has been disabled pending a permanent fix for https://github.com/openwallet-foundation/acapy/issues/2124 # PLATFORMS: ${{ inputs.platforms || 'linux/amd64,linux/arm64,linux/386' }} PLATFORMS: ${{ inputs.platforms || 'linux/amd64,linux/arm64' }} @@ -83,7 +83,7 @@ jobs: uses: docker/metadata-action@v5 with: images: | - ghcr.io/${{ steps.info.outputs.repo-owner }}/aries-cloudagent-python + ghcr.io/${{ steps.info.outputs.repo-owner }}/acapy-agent tags: | type=raw,value=py${{ matrix.python-version }}-${{ inputs.tag || github.event.release.tag_name }} @@ -108,7 +108,7 @@ jobs: uses: docker/metadata-action@v5 with: images: | - ghcr.io/${{ steps.info.outputs.repo-owner }}/aries-cloudagent-bbs + ghcr.io/${{ steps.info.outputs.repo-owner }}/acapy-agent-bbs tags: | type=raw,value=py${{ matrix.python-version }}-${{ inputs.tag || github.event.release.tag_name }} @@ -123,13 +123,13 @@ jobs: target: main build-args: | python_version=${{ matrix.python-version }} - acapy_name=aries-cloudagent-bbs + acapy_name=acapy-agent-bbs acapy_version=${{ inputs.tag || github.event.release.tag_name }} acapy_reqs=[askar,bbs,didcommv2] cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max # Because of BBS, only linux/amd64 is supported for the extended image - # https://github.com/hyperledger/aries-cloudagent-python/issues/2124#issuecomment-2293569659 + # https://github.com/openwallet-foundation/acapy/issues/2124#issuecomment-2293569659 platforms: linux/amd64 # Temp fix diff --git a/.github/workflows/scenario-integration-tests.yml b/.github/workflows/scenario-integration-tests.yml index 7aa1ea11d6..c73a1e187f 100644 --- a/.github/workflows/scenario-integration-tests.yml +++ b/.github/workflows/scenario-integration-tests.yml @@ -20,8 +20,8 @@ defaults: jobs: test: runs-on: ubuntu-latest - # Run on hyperledger and non-draft PRs or on non-PR events - if: (github.repository == 'hyperledger/aries-cloudagent-python') && ((github.event_name == 'pull_request' && github.event.pull_request.draft == false) || (github.event_name != 'pull_request')) + # Run on openwallet-foundation and non-draft PRs or on non-PR events + if: (github.repository == 'openwallet-foundation/acapy') && ((github.event_name == 'pull_request' && github.event.pull_request.draft == false) || (github.event_name != 'pull_request')) steps: - name: checkout-acapy uses: actions/checkout@v4 @@ -34,7 +34,7 @@ jobs: files_yaml: | scenarios: "scenarios/**/*" src: - - aries_cloudagent/**/* + - acapy_agent/**/* - poetry.lock - pyproject.toml - name: Check if scenarios or src files changed diff --git a/.github/workflows/snyk-lts.yml b/.github/workflows/snyk-lts.yml index 7e8a90d914..0853e1a61b 100644 --- a/.github/workflows/snyk-lts.yml +++ b/.github/workflows/snyk-lts.yml @@ -7,18 +7,18 @@ on: - 0.12.lts - 0.11.lts paths: - - aries_cloudagent/** + - acapy_agent/** - docker/** jobs: snyk: runs-on: ubuntu-latest - if: ${{ github.repository_owner == 'hyperledger' }} + if: ${{ github.repository_owner == 'openwallet-foundation' }} steps: - uses: actions/checkout@v4 - name: Build a Docker image - run: docker build -t aries-cloudagent -f docker/Dockerfile . + run: docker build -t acapy-agent -f docker/Dockerfile . - name: Run Snyk to check Docker image for vulnerabilities # Snyk can be used to break the build when it detects vulnerabilities. @@ -31,7 +31,7 @@ jobs: # or you can signup for free at https://snyk.io/login SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} with: - image: aries-cloudagent + image: acapy-agent args: --file=docker/Dockerfile # Adding a snyk monitor command which continuously monitors the image for vulnerabilities # See https://support.snyk.io/hc/en-us/articles/360000920818-What-are-the-differences-among-snyk-test-monitor-and-protect for more details diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml index 57e3b01580..a6717023e4 100644 --- a/.github/workflows/snyk.yml +++ b/.github/workflows/snyk.yml @@ -4,18 +4,18 @@ on: branches: - main paths: - - aries_cloudagent/** + - acapy_agent/** - docker/** jobs: snyk: runs-on: ubuntu-latest - if: ${{ github.repository_owner == 'hyperledger' }} + if: ${{ github.repository_owner == 'openwallet-foundation' }} steps: - uses: actions/checkout@v4 - name: Build a Docker image - run: docker build -t aries-cloudagent -f docker/Dockerfile . + run: docker build -t acapy-agent -f docker/Dockerfile . - name: Run Snyk to check Docker image for vulnerabilities # Snyk can be used to break the build when it detects vulnerabilities. @@ -28,7 +28,7 @@ jobs: # or you can signup for free at https://snyk.io/login SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} with: - image: aries-cloudagent + image: acapy-agent args: --file=docker/Dockerfile # Replace any "null" security severity values with 0. The null value is used in the case diff --git a/.github/workflows/sonar-merge-main.yml b/.github/workflows/sonar-merge-main.yml index a766f5223a..123cbffba3 100644 --- a/.github/workflows/sonar-merge-main.yml +++ b/.github/workflows/sonar-merge-main.yml @@ -8,7 +8,7 @@ jobs: sonarcloud: name: SonarCloud runs-on: ubuntu-latest - if: github.repository == 'hyperledger/aries-cloudagent-python' + if: github.repository == 'openwallet-foundation/acapy' steps: - uses: actions/checkout@v4 with: @@ -22,7 +22,7 @@ jobs: - name: Adjust Test Coverage Source run: | # Need to change source in coverage report because it was generated from another context - sed -i 's/\/home\/runner\/work\/aries-cloudagent-python\/aries-cloudagent-python\//\/github\/workspace\//g' test-reports/coverage.xml + sed -i 's/\/home\/runner\/work\/acapy\/acapy\//\/github\/workspace\//g' test-reports/coverage.xml - name: SonarCloud Scan uses: SonarSource/sonarcloud-github-action@master env: diff --git a/.github/workflows/sonar-pr.yml b/.github/workflows/sonar-pr.yml index a7f47639de..51558d2ad6 100644 --- a/.github/workflows/sonar-pr.yml +++ b/.github/workflows/sonar-pr.yml @@ -9,7 +9,7 @@ on: jobs: SonarCloud: runs-on: ubuntu-latest - if: github.event.workflow_run.conclusion == 'success' && github.repository == 'hyperledger/aries-cloudagent-python' + if: github.event.workflow_run.conclusion == 'success' && github.repository == 'openwallet-foundation/acapy' steps: - uses: actions/checkout@v4 with: @@ -56,7 +56,7 @@ jobs: mkdir test-reports mv coverage.xml test-reports # Need to change source in coverage report because it was generated from another context - sed -i 's/\/home\/runner\/work\/aries-cloudagent-python\/aries-cloudagent-python\//\/github\/workspace\//g' test-reports/coverage.xml + sed -i 's/\/home\/runner\/work\/acapy\/acapy\//\/github\/workspace\//g' test-reports/coverage.xml - name: SonarCloud Scan uses: SonarSource/sonarcloud-github-action@master env: diff --git a/.vscode-sample/launch.json b/.vscode-sample/launch.json index fa882fdc21..ff4c46aa1c 100644 --- a/.vscode-sample/launch.json +++ b/.vscode-sample/launch.json @@ -8,7 +8,7 @@ "name": "Run/Debug Faber", "type": "python", "request": "launch", - "module": "aries_cloudagent", + "module": "acapy_agent", "justMyCode": true, "args": [ "start", @@ -19,7 +19,7 @@ "name": "Run/Debug Alice", "type": "python", "request": "launch", - "module": "aries_cloudagent", + "module": "acapy_agent", "justMyCode": true, "args": [ "start", @@ -30,7 +30,7 @@ "name": "Run/Debug Endorser", "type": "python", "request": "launch", - "module": "aries_cloudagent", + "module": "acapy_agent", "justMyCode": true, "args": [ "start", @@ -41,7 +41,7 @@ "name": "Run/Debug Author", "type": "python", "request": "launch", - "module": "aries_cloudagent", + "module": "acapy_agent", "justMyCode": true, "args": [ "start", @@ -52,7 +52,7 @@ "name": "Run/Debug Multitenant Admin", "type": "python", "request": "launch", - "module": "aries_cloudagent", + "module": "acapy_agent", "justMyCode": true, "args": [ "start", @@ -60,25 +60,25 @@ ] }, { - "name": "ruff (lint) - aries_cloudagent", + "name": "ruff (lint) - acapy_agent", "type": "python", "request": "launch", "module": "ruff", "console": "integratedTerminal", "sudo": true, "justMyCode": true, - "cwd": "${workspaceFolder}/aries_cloudagent", + "cwd": "${workspaceFolder}/acapy_agent", "args": ["check", "."] }, { - "name": "ruff fix (lint) - aries_cloudagent", + "name": "ruff fix (lint) - acapy_agent", "type": "python", "request": "launch", "module": "ruff", "console": "integratedTerminal", "sudo": true, "justMyCode": true, - "cwd": "${workspaceFolder}/aries_cloudagent", + "cwd": "${workspaceFolder}/acapy_agent", "args": ["check", ".", "--fix"] }, { @@ -89,7 +89,7 @@ "console": "integratedTerminal", "sudo": true, "justMyCode": true, - "cwd": "${workspaceFolder}/aries_cloudagent", + "cwd": "${workspaceFolder}/acapy_agent", "args": ["check", ".", "${file}"] }, { @@ -100,18 +100,18 @@ "console": "integratedTerminal", "sudo": true, "justMyCode": true, - "cwd": "${workspaceFolder}/aries_cloudagent", + "cwd": "${workspaceFolder}/acapy_agent", "args": ["check", ".", "${file}", "--fix"] }, { - "name": "ruff (format) - aries_cloudagent", + "name": "ruff (format) - acapy_agent", "type": "python", "request": "launch", "module": "ruff", "console": "integratedTerminal", "sudo": true, "justMyCode": true, - "cwd": "${workspaceFolder}/aries_cloudagent", + "cwd": "${workspaceFolder}/acapy_agent", "args": ["format", "."] }, { @@ -122,7 +122,7 @@ "console": "integratedTerminal", "sudo": true, "justMyCode": true, - "cwd": "${workspaceFolder}/aries_cloudagent", + "cwd": "${workspaceFolder}/acapy_agent", "args": ["format", "${file}"] } ] diff --git a/aries_cloudagent/__init__.py b/acapy_agent/__init__.py similarity index 100% rename from aries_cloudagent/__init__.py rename to acapy_agent/__init__.py diff --git a/aries_cloudagent/__main__.py b/acapy_agent/__main__.py similarity index 98% rename from aries_cloudagent/__main__.py rename to acapy_agent/__main__.py index 76c14333ee..bd0c964705 100644 --- a/aries_cloudagent/__main__.py +++ b/acapy_agent/__main__.py @@ -1,4 +1,4 @@ -"""aries_cloudagent package entry point.""" +"""acapy_agent package entry point.""" import os import sys diff --git a/aries_cloudagent/admin/__init__.py b/acapy_agent/admin/__init__.py similarity index 100% rename from aries_cloudagent/admin/__init__.py rename to acapy_agent/admin/__init__.py diff --git a/aries_cloudagent/admin/base_server.py b/acapy_agent/admin/base_server.py similarity index 100% rename from aries_cloudagent/admin/base_server.py rename to acapy_agent/admin/base_server.py diff --git a/aries_cloudagent/admin/decorators/auth.py b/acapy_agent/admin/decorators/auth.py similarity index 100% rename from aries_cloudagent/admin/decorators/auth.py rename to acapy_agent/admin/decorators/auth.py diff --git a/aries_cloudagent/admin/error.py b/acapy_agent/admin/error.py similarity index 100% rename from aries_cloudagent/admin/error.py rename to acapy_agent/admin/error.py diff --git a/aries_cloudagent/admin/request_context.py b/acapy_agent/admin/request_context.py similarity index 98% rename from aries_cloudagent/admin/request_context.py rename to acapy_agent/admin/request_context.py index a8d17fe2e4..120ba4f9f8 100644 --- a/aries_cloudagent/admin/request_context.py +++ b/acapy_agent/admin/request_context.py @@ -11,7 +11,7 @@ from ..core.profile import Profile, ProfileSession from ..utils.classloader import DeferLoad -IN_MEM = DeferLoad("aries_cloudagent.core.in_memory.InMemoryProfile") +IN_MEM = DeferLoad("acapy_agent.core.in_memory.InMemoryProfile") class AdminRequestContext: diff --git a/aries_cloudagent/admin/routes.py b/acapy_agent/admin/routes.py similarity index 100% rename from aries_cloudagent/admin/routes.py rename to acapy_agent/admin/routes.py diff --git a/aries_cloudagent/admin/server.py b/acapy_agent/admin/server.py similarity index 99% rename from aries_cloudagent/admin/server.py rename to acapy_agent/admin/server.py index 9e489f2690..c7ae022595 100644 --- a/aries_cloudagent/admin/server.py +++ b/acapy_agent/admin/server.py @@ -13,7 +13,7 @@ from aiohttp_apispec import setup_aiohttp_apispec, validation_middleware from uuid_utils import uuid4 -from aries_cloudagent.wallet import singletons +from acapy_agent.wallet import singletons from ..config.injection_context import InjectionContext from ..config.logging import context_wallet_id diff --git a/aries_cloudagent/admin/tests/__init__.py b/acapy_agent/admin/tests/__init__.py similarity index 100% rename from aries_cloudagent/admin/tests/__init__.py rename to acapy_agent/admin/tests/__init__.py diff --git a/aries_cloudagent/admin/tests/test_admin_server.py b/acapy_agent/admin/tests/test_admin_server.py similarity index 98% rename from aries_cloudagent/admin/tests/test_admin_server.py rename to acapy_agent/admin/tests/test_admin_server.py index c853a3710c..896215183d 100644 --- a/aries_cloudagent/admin/tests/test_admin_server.py +++ b/acapy_agent/admin/tests/test_admin_server.py @@ -7,8 +7,8 @@ from aiohttp import ClientSession, DummyCookieJar, TCPConnector, web from aiohttp.test_utils import unused_port -from aries_cloudagent.tests import mock -from aries_cloudagent.wallet import singletons +from acapy_agent.tests import mock +from acapy_agent.wallet import singletons from ...config.default_context import DefaultContextBuilder from ...config.injection_context import InjectionContext @@ -199,12 +199,10 @@ async def test_register_external_plugin_x(self): context.injector.bind_instance(GoalCodeRegistry, GoalCodeRegistry()) with self.assertLogs(level="ERROR") as logs: builder = DefaultContextBuilder( - settings={"external_plugins": ["aries_cloudagent.nosuchmodule"]} + settings={"external_plugins": ["acapy_agent.nosuchmodule"]} ) await builder.load_plugins(context) - assert "Module doesn't exist: aries_cloudagent.nosuchmodule" in "\n".join( - logs.output - ) + assert "Module doesn't exist: acapy_agent.nosuchmodule" in "\n".join(logs.output) async def test_visit_insecure_mode(self): settings = {"admin.admin_insecure_mode": True, "task_queue": True} diff --git a/aries_cloudagent/admin/tests/test_auth.py b/acapy_agent/admin/tests/test_auth.py similarity index 99% rename from aries_cloudagent/admin/tests/test_auth.py rename to acapy_agent/admin/tests/test_auth.py index f0a1b2a0e1..800e5c0b9b 100644 --- a/aries_cloudagent/admin/tests/test_auth.py +++ b/acapy_agent/admin/tests/test_auth.py @@ -2,7 +2,7 @@ from aiohttp import web -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...core.in_memory.profile import InMemoryProfile from ..decorators.auth import admin_authentication, tenant_authentication diff --git a/aries_cloudagent/admin/tests/test_request_context.py b/acapy_agent/admin/tests/test_request_context.py similarity index 100% rename from aries_cloudagent/admin/tests/test_request_context.py rename to acapy_agent/admin/tests/test_request_context.py diff --git a/aries_cloudagent/anoncreds/__init__.py b/acapy_agent/anoncreds/__init__.py similarity index 82% rename from aries_cloudagent/anoncreds/__init__.py rename to acapy_agent/anoncreds/__init__.py index 23112a355b..c8c2f8ecaa 100644 --- a/aries_cloudagent/anoncreds/__init__.py +++ b/acapy_agent/anoncreds/__init__.py @@ -15,7 +15,7 @@ async def setup(context: InjectionContext): return indy_registry = ClassProvider( - "aries_cloudagent.anoncreds.default.did_indy.registry.DIDIndyRegistry", + "acapy_agent.anoncreds.default.did_indy.registry.DIDIndyRegistry", # supported_identifiers=[], # method_name="did:indy", ).provide(context.settings, context.injector) @@ -23,7 +23,7 @@ async def setup(context: InjectionContext): registry.register(indy_registry) web_registry = ClassProvider( - "aries_cloudagent.anoncreds.default.did_web.registry.DIDWebRegistry", + "acapy_agent.anoncreds.default.did_web.registry.DIDWebRegistry", # supported_identifiers=[], # method_name="did:web", ).provide(context.settings, context.injector) @@ -31,7 +31,7 @@ async def setup(context: InjectionContext): registry.register(web_registry) legacy_indy_registry = ClassProvider( - "aries_cloudagent.anoncreds.default.legacy_indy.registry.LegacyIndyRegistry", + "acapy_agent.anoncreds.default.legacy_indy.registry.LegacyIndyRegistry", # supported_identifiers=[], # method_name="", ).provide(context.settings, context.injector) diff --git a/aries_cloudagent/anoncreds/base.py b/acapy_agent/anoncreds/base.py similarity index 100% rename from aries_cloudagent/anoncreds/base.py rename to acapy_agent/anoncreds/base.py diff --git a/aries_cloudagent/anoncreds/default/__init__.py b/acapy_agent/anoncreds/default/__init__.py similarity index 100% rename from aries_cloudagent/anoncreds/default/__init__.py rename to acapy_agent/anoncreds/default/__init__.py diff --git a/aries_cloudagent/anoncreds/default/did_indy/__init__.py b/acapy_agent/anoncreds/default/did_indy/__init__.py similarity index 100% rename from aries_cloudagent/anoncreds/default/did_indy/__init__.py rename to acapy_agent/anoncreds/default/did_indy/__init__.py diff --git a/aries_cloudagent/anoncreds/default/did_indy/registry.py b/acapy_agent/anoncreds/default/did_indy/registry.py similarity index 100% rename from aries_cloudagent/anoncreds/default/did_indy/registry.py rename to acapy_agent/anoncreds/default/did_indy/registry.py diff --git a/aries_cloudagent/anoncreds/default/did_indy/routes.py b/acapy_agent/anoncreds/default/did_indy/routes.py similarity index 100% rename from aries_cloudagent/anoncreds/default/did_indy/routes.py rename to acapy_agent/anoncreds/default/did_indy/routes.py diff --git a/aries_cloudagent/anoncreds/default/did_web/__init__.py b/acapy_agent/anoncreds/default/did_web/__init__.py similarity index 100% rename from aries_cloudagent/anoncreds/default/did_web/__init__.py rename to acapy_agent/anoncreds/default/did_web/__init__.py diff --git a/aries_cloudagent/anoncreds/default/did_web/registry.py b/acapy_agent/anoncreds/default/did_web/registry.py similarity index 100% rename from aries_cloudagent/anoncreds/default/did_web/registry.py rename to acapy_agent/anoncreds/default/did_web/registry.py diff --git a/aries_cloudagent/anoncreds/default/did_web/routes.py b/acapy_agent/anoncreds/default/did_web/routes.py similarity index 100% rename from aries_cloudagent/anoncreds/default/did_web/routes.py rename to acapy_agent/anoncreds/default/did_web/routes.py diff --git a/aries_cloudagent/anoncreds/default/did_web/tests/__init__.py b/acapy_agent/anoncreds/default/did_web/tests/__init__.py similarity index 100% rename from aries_cloudagent/anoncreds/default/did_web/tests/__init__.py rename to acapy_agent/anoncreds/default/did_web/tests/__init__.py diff --git a/aries_cloudagent/anoncreds/default/did_web/tests/test_registry.py b/acapy_agent/anoncreds/default/did_web/tests/test_registry.py similarity index 100% rename from aries_cloudagent/anoncreds/default/did_web/tests/test_registry.py rename to acapy_agent/anoncreds/default/did_web/tests/test_registry.py diff --git a/aries_cloudagent/anoncreds/default/legacy_indy/__init__.py b/acapy_agent/anoncreds/default/legacy_indy/__init__.py similarity index 100% rename from aries_cloudagent/anoncreds/default/legacy_indy/__init__.py rename to acapy_agent/anoncreds/default/legacy_indy/__init__.py diff --git a/aries_cloudagent/anoncreds/default/legacy_indy/author.py b/acapy_agent/anoncreds/default/legacy_indy/author.py similarity index 86% rename from aries_cloudagent/anoncreds/default/legacy_indy/author.py rename to acapy_agent/anoncreds/default/legacy_indy/author.py index 4777030e98..1d6839caa9 100644 --- a/aries_cloudagent/anoncreds/default/legacy_indy/author.py +++ b/acapy_agent/anoncreds/default/legacy_indy/author.py @@ -4,12 +4,12 @@ from aiohttp import web -from aries_cloudagent.connections.models.conn_record import ConnRecord -from aries_cloudagent.messaging.models.base import BaseModelError -from aries_cloudagent.protocols.endorse_transaction.v1_0.util import ( +from acapy_agent.connections.models.conn_record import ConnRecord +from acapy_agent.messaging.models.base import BaseModelError +from acapy_agent.protocols.endorse_transaction.v1_0.util import ( get_endorser_connection_id, ) -from aries_cloudagent.storage.error import StorageNotFoundError +from acapy_agent.storage.error import StorageNotFoundError async def get_endorser_info(profile, options: Optional[dict] = None): diff --git a/aries_cloudagent/anoncreds/default/legacy_indy/recover.py b/acapy_agent/anoncreds/default/legacy_indy/recover.py similarity index 100% rename from aries_cloudagent/anoncreds/default/legacy_indy/recover.py rename to acapy_agent/anoncreds/default/legacy_indy/recover.py diff --git a/aries_cloudagent/anoncreds/default/legacy_indy/registry.py b/acapy_agent/anoncreds/default/legacy_indy/registry.py similarity index 99% rename from aries_cloudagent/anoncreds/default/legacy_indy/registry.py rename to acapy_agent/anoncreds/default/legacy_indy/registry.py index fc1c4229c3..e173bbde32 100644 --- a/aries_cloudagent/anoncreds/default/legacy_indy/registry.py +++ b/acapy_agent/anoncreds/default/legacy_indy/registry.py @@ -831,7 +831,7 @@ async def _revoc_reg_entry_with_fix( except LedgerTransactionError as err: if "InvalidClientRequest" in err.roll_up: # ... if the ledger write fails (with "InvalidClientRequest") - # e.g. aries_cloudagent.ledger.error.LedgerTransactionError: + # e.g. acapy_agent.ledger.error.LedgerTransactionError: # Ledger rejected transaction request: client request invalid: # InvalidClientRequest(...) # In this scenario we try to post a correction @@ -848,7 +848,7 @@ async def _revoc_reg_entry_with_fix( LOGGER.warning("Ledger update/fix applied") elif "InvalidClientTaaAcceptanceError" in err.roll_up: # if no write access (with "InvalidClientTaaAcceptanceError") - # e.g. aries_cloudagent.ledger.error.LedgerTransactionError: + # e.g. acapy_agent.ledger.error.LedgerTransactionError: # Ledger rejected transaction request: client request invalid: # InvalidClientTaaAcceptanceError(...) LOGGER.exception("Ledger update failed due to TAA issue") diff --git a/aries_cloudagent/anoncreds/default/legacy_indy/routes.py b/acapy_agent/anoncreds/default/legacy_indy/routes.py similarity index 100% rename from aries_cloudagent/anoncreds/default/legacy_indy/routes.py rename to acapy_agent/anoncreds/default/legacy_indy/routes.py diff --git a/aries_cloudagent/anoncreds/default/legacy_indy/tests/__init__.py b/acapy_agent/anoncreds/default/legacy_indy/tests/__init__.py similarity index 100% rename from aries_cloudagent/anoncreds/default/legacy_indy/tests/__init__.py rename to acapy_agent/anoncreds/default/legacy_indy/tests/__init__.py diff --git a/aries_cloudagent/anoncreds/default/legacy_indy/tests/test_recover.py b/acapy_agent/anoncreds/default/legacy_indy/tests/test_recover.py similarity index 97% rename from aries_cloudagent/anoncreds/default/legacy_indy/tests/test_recover.py rename to acapy_agent/anoncreds/default/legacy_indy/tests/test_recover.py index d8bd99482d..61c0a90f40 100644 --- a/aries_cloudagent/anoncreds/default/legacy_indy/tests/test_recover.py +++ b/acapy_agent/anoncreds/default/legacy_indy/tests/test_recover.py @@ -9,7 +9,7 @@ import pytest from anoncreds import RevocationRegistryDefinition -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ....models.anoncreds_revocation import RevList, RevRegDef, RevRegDefValue from ..recover import ( @@ -82,7 +82,7 @@ async def test_fetch_txns_empty_data_from_ledger(self, *_): ), ) @mock.patch( - "aries_cloudagent.anoncreds.default.legacy_indy.recover._check_tails_hash_for_inconsistency" + "acapy_agent.anoncreds.default.legacy_indy.recover._check_tails_hash_for_inconsistency" ) async def test_fetch_txns(self, *_): result = await fetch_txns( @@ -93,7 +93,7 @@ async def test_fetch_txns(self, *_): assert isinstance(result, tuple) @mock.patch( - "aries_cloudagent.anoncreds.default.legacy_indy.recover.fetch_txns", + "acapy_agent.anoncreds.default.legacy_indy.recover.fetch_txns", mock.CoroutineMock( return_value=( { @@ -134,7 +134,7 @@ async def test_generate_ledger_rrrecovery_txn(self): # Logs waring when ledger has revoked indexes not in wallet with mock.patch( - "aries_cloudagent.anoncreds.default.legacy_indy.recover.LOGGER" + "acapy_agent.anoncreds.default.legacy_indy.recover.LOGGER" ) as mock_logger: result = await generate_ledger_rrrecovery_txn( GENESIS, diff --git a/aries_cloudagent/anoncreds/default/legacy_indy/tests/test_registry.py b/acapy_agent/anoncreds/default/legacy_indy/tests/test_registry.py similarity index 99% rename from aries_cloudagent/anoncreds/default/legacy_indy/tests/test_registry.py rename to acapy_agent/anoncreds/default/legacy_indy/tests/test_registry.py index 42c23f78b0..e8885d8f36 100644 --- a/aries_cloudagent/anoncreds/default/legacy_indy/tests/test_registry.py +++ b/acapy_agent/anoncreds/default/legacy_indy/tests/test_registry.py @@ -1091,7 +1091,7 @@ async def test_register_revocation_list_with_create_transaction_option_and_auto_ ), ) @mock.patch( - "aries_cloudagent.anoncreds.default.legacy_indy.registry.generate_ledger_rrrecovery_txn", + "acapy_agent.anoncreds.default.legacy_indy.registry.generate_ledger_rrrecovery_txn", mock.CoroutineMock(return_value=MockTxn()), ) async def test_fix_ledger_entry(self, *_): diff --git a/aries_cloudagent/anoncreds/error_messages.py b/acapy_agent/anoncreds/error_messages.py similarity index 100% rename from aries_cloudagent/anoncreds/error_messages.py rename to acapy_agent/anoncreds/error_messages.py diff --git a/aries_cloudagent/anoncreds/events.py b/acapy_agent/anoncreds/events.py similarity index 100% rename from aries_cloudagent/anoncreds/events.py rename to acapy_agent/anoncreds/events.py diff --git a/aries_cloudagent/anoncreds/holder.py b/acapy_agent/anoncreds/holder.py similarity index 100% rename from aries_cloudagent/anoncreds/holder.py rename to acapy_agent/anoncreds/holder.py diff --git a/aries_cloudagent/anoncreds/issuer.py b/acapy_agent/anoncreds/issuer.py similarity index 100% rename from aries_cloudagent/anoncreds/issuer.py rename to acapy_agent/anoncreds/issuer.py diff --git a/aries_cloudagent/anoncreds/models/__init__.py b/acapy_agent/anoncreds/models/__init__.py similarity index 100% rename from aries_cloudagent/anoncreds/models/__init__.py rename to acapy_agent/anoncreds/models/__init__.py diff --git a/aries_cloudagent/anoncreds/models/anoncreds_cred_def.py b/acapy_agent/anoncreds/models/anoncreds_cred_def.py similarity index 100% rename from aries_cloudagent/anoncreds/models/anoncreds_cred_def.py rename to acapy_agent/anoncreds/models/anoncreds_cred_def.py diff --git a/aries_cloudagent/anoncreds/models/anoncreds_revocation.py b/acapy_agent/anoncreds/models/anoncreds_revocation.py similarity index 99% rename from aries_cloudagent/anoncreds/models/anoncreds_revocation.py rename to acapy_agent/anoncreds/models/anoncreds_revocation.py index 9754399853..cc90469eac 100644 --- a/aries_cloudagent/anoncreds/models/anoncreds_revocation.py +++ b/acapy_agent/anoncreds/models/anoncreds_revocation.py @@ -7,7 +7,7 @@ from marshmallow.validate import OneOf from typing_extensions import Literal -from aries_cloudagent.messaging.valid import ( +from acapy_agent.messaging.valid import ( INDY_CRED_DEF_ID_EXAMPLE, INDY_ISO8601_DATETIME_EXAMPLE, INDY_OR_KEY_DID_EXAMPLE, diff --git a/aries_cloudagent/anoncreds/models/anoncreds_schema.py b/acapy_agent/anoncreds/models/anoncreds_schema.py similarity index 100% rename from aries_cloudagent/anoncreds/models/anoncreds_schema.py rename to acapy_agent/anoncreds/models/anoncreds_schema.py diff --git a/aries_cloudagent/anoncreds/registry.py b/acapy_agent/anoncreds/registry.py similarity index 100% rename from aries_cloudagent/anoncreds/registry.py rename to acapy_agent/anoncreds/registry.py diff --git a/aries_cloudagent/anoncreds/revocation.py b/acapy_agent/anoncreds/revocation.py similarity index 99% rename from aries_cloudagent/anoncreds/revocation.py rename to acapy_agent/anoncreds/revocation.py index 790feae27e..56b19d222d 100644 --- a/aries_cloudagent/anoncreds/revocation.py +++ b/acapy_agent/anoncreds/revocation.py @@ -26,7 +26,7 @@ from requests import RequestException, Session from uuid_utils import uuid4 -from aries_cloudagent.anoncreds.models.anoncreds_cred_def import CredDef +from acapy_agent.anoncreds.models.anoncreds_cred_def import CredDef from ..askar.profile_anon import AskarAnoncredsProfile, AskarAnoncredsProfileSession from ..core.error import BaseError diff --git a/aries_cloudagent/anoncreds/revocation_setup.py b/acapy_agent/anoncreds/revocation_setup.py similarity index 98% rename from aries_cloudagent/anoncreds/revocation_setup.py rename to acapy_agent/anoncreds/revocation_setup.py index f24e59bad0..fb50ca9ee6 100644 --- a/aries_cloudagent/anoncreds/revocation_setup.py +++ b/acapy_agent/anoncreds/revocation_setup.py @@ -3,7 +3,7 @@ import logging from abc import ABC, abstractmethod -from aries_cloudagent.protocols.endorse_transaction.v1_0.util import is_author_role +from acapy_agent.protocols.endorse_transaction.v1_0.util import is_author_role from ..anoncreds.revocation import AnonCredsRevocation, AnonCredsRevocationError from ..core.event_bus import EventBus diff --git a/aries_cloudagent/anoncreds/routes.py b/acapy_agent/anoncreds/routes.py similarity index 100% rename from aries_cloudagent/anoncreds/routes.py rename to acapy_agent/anoncreds/routes.py diff --git a/aries_cloudagent/anoncreds/tests/__init__.py b/acapy_agent/anoncreds/tests/__init__.py similarity index 100% rename from aries_cloudagent/anoncreds/tests/__init__.py rename to acapy_agent/anoncreds/tests/__init__.py diff --git a/aries_cloudagent/anoncreds/tests/mock_objects.py b/acapy_agent/anoncreds/tests/mock_objects.py similarity index 100% rename from aries_cloudagent/anoncreds/tests/mock_objects.py rename to acapy_agent/anoncreds/tests/mock_objects.py diff --git a/aries_cloudagent/anoncreds/tests/test_holder.py b/acapy_agent/anoncreds/tests/test_holder.py similarity index 98% rename from aries_cloudagent/anoncreds/tests/test_holder.py rename to acapy_agent/anoncreds/tests/test_holder.py index a6ca5b0bf4..ff73f55180 100644 --- a/aries_cloudagent/anoncreds/tests/test_holder.py +++ b/acapy_agent/anoncreds/tests/test_holder.py @@ -23,7 +23,7 @@ from pyld import jsonld from pyld.jsonld import JsonLdProcessor -from aries_cloudagent.anoncreds.tests.mock_objects import ( +from acapy_agent.anoncreds.tests.mock_objects import ( CRED_DEFS, CREDS_W3C_METADATA, MOCK_CRED, @@ -35,16 +35,16 @@ MOCK_W3CPRES, SCHEMAS, ) -from aries_cloudagent.askar.profile import AskarProfile -from aries_cloudagent.askar.profile_anon import AskarAnoncredsProfile -from aries_cloudagent.core.in_memory.profile import ( +from acapy_agent.askar.profile import AskarProfile +from acapy_agent.askar.profile_anon import AskarAnoncredsProfile +from acapy_agent.core.in_memory.profile import ( InMemoryProfile, InMemoryProfileSession, ) -from aries_cloudagent.tests import mock -from aries_cloudagent.vc.ld_proofs.document_loader import DocumentLoader -from aries_cloudagent.vc.tests.document_loader import custom_document_loader -from aries_cloudagent.wallet.error import WalletNotFoundError +from acapy_agent.tests import mock +from acapy_agent.vc.ld_proofs.document_loader import DocumentLoader +from acapy_agent.vc.tests.document_loader import custom_document_loader +from acapy_agent.wallet.error import WalletNotFoundError from .. import holder as test_module from ..holder import AnonCredsHolder, AnonCredsHolderError diff --git a/aries_cloudagent/anoncreds/tests/test_issuer.py b/acapy_agent/anoncreds/tests/test_issuer.py similarity index 98% rename from aries_cloudagent/anoncreds/tests/test_issuer.py rename to acapy_agent/anoncreds/tests/test_issuer.py index 9082e20e8e..bbfc477b95 100644 --- a/aries_cloudagent/anoncreds/tests/test_issuer.py +++ b/acapy_agent/anoncreds/tests/test_issuer.py @@ -6,11 +6,11 @@ from anoncreds import Credential, CredentialDefinition, CredentialOffer, W3cCredential from aries_askar import AskarError, AskarErrorCode -from aries_cloudagent.anoncreds.base import ( +from acapy_agent.anoncreds.base import ( AnonCredsObjectAlreadyExists, AnonCredsSchemaAlreadyExists, ) -from aries_cloudagent.anoncreds.models.anoncreds_cred_def import ( +from acapy_agent.anoncreds.models.anoncreds_cred_def import ( CredDef, CredDefResult, CredDefState, @@ -19,20 +19,20 @@ CredDefValueRevocation, GetCredDefResult, ) -from aries_cloudagent.anoncreds.models.anoncreds_schema import ( +from acapy_agent.anoncreds.models.anoncreds_schema import ( AnonCredsSchema, GetSchemaResult, SchemaResult, SchemaState, ) -from aries_cloudagent.askar.profile import AskarProfile -from aries_cloudagent.askar.profile_anon import AskarAnoncredsProfile -from aries_cloudagent.core.event_bus import Event, MockEventBus -from aries_cloudagent.core.in_memory.profile import ( +from acapy_agent.askar.profile import AskarProfile +from acapy_agent.askar.profile_anon import AskarAnoncredsProfile +from acapy_agent.core.event_bus import Event, MockEventBus +from acapy_agent.core.in_memory.profile import ( InMemoryProfile, InMemoryProfileSession, ) -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .. import issuer as test_module diff --git a/aries_cloudagent/anoncreds/tests/test_revocation.py b/acapy_agent/anoncreds/tests/test_revocation.py similarity index 98% rename from aries_cloudagent/anoncreds/tests/test_revocation.py rename to acapy_agent/anoncreds/tests/test_revocation.py index 26f9ff8108..fa19413a85 100644 --- a/aries_cloudagent/anoncreds/tests/test_revocation.py +++ b/acapy_agent/anoncreds/tests/test_revocation.py @@ -15,9 +15,9 @@ from aries_askar import AskarError, AskarErrorCode from requests import RequestException, Session -from aries_cloudagent.anoncreds.issuer import AnonCredsIssuer -from aries_cloudagent.anoncreds.models.anoncreds_cred_def import CredDef -from aries_cloudagent.anoncreds.models.anoncreds_revocation import ( +from acapy_agent.anoncreds.issuer import AnonCredsIssuer +from acapy_agent.anoncreds.models.anoncreds_cred_def import CredDef +from acapy_agent.anoncreds.models.anoncreds_revocation import ( RevList, RevListResult, RevListState, @@ -26,20 +26,20 @@ RevRegDefState, RevRegDefValue, ) -from aries_cloudagent.anoncreds.models.anoncreds_schema import ( +from acapy_agent.anoncreds.models.anoncreds_schema import ( AnonCredsSchema, GetSchemaResult, ) -from aries_cloudagent.anoncreds.registry import AnonCredsRegistry -from aries_cloudagent.anoncreds.tests.mock_objects import MOCK_REV_REG_DEF -from aries_cloudagent.anoncreds.tests.test_issuer import MockCredDefEntry -from aries_cloudagent.askar.profile_anon import AskarAnoncredsProfile -from aries_cloudagent.core.event_bus import Event, EventBus, MockEventBus -from aries_cloudagent.core.in_memory.profile import ( +from acapy_agent.anoncreds.registry import AnonCredsRegistry +from acapy_agent.anoncreds.tests.mock_objects import MOCK_REV_REG_DEF +from acapy_agent.anoncreds.tests.test_issuer import MockCredDefEntry +from acapy_agent.askar.profile_anon import AskarAnoncredsProfile +from acapy_agent.core.event_bus import Event, EventBus, MockEventBus +from acapy_agent.core.in_memory.profile import ( InMemoryProfile, InMemoryProfileSession, ) -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .. import revocation as test_module @@ -1061,7 +1061,7 @@ async def test_create_credential_private_no_rev_reg_or_tails( @mock.patch.object( RevocationRegistryDefinition, "load", return_value=rev_reg_def.value ) - @mock.patch("aries_cloudagent.anoncreds.revocation.CredentialRevocationConfig") + @mock.patch("acapy_agent.anoncreds.revocation.CredentialRevocationConfig") @mock.patch.object(InMemoryProfileSession, "handle") @mock.patch.object(Credential, "create", return_value=mock.MagicMock()) async def test_create_credential_private_with_rev_reg_and_tails( @@ -1335,7 +1335,7 @@ async def test_get_pending_revocations(self, mock_handle): assert result == [1, 2] @mock.patch.object(InMemoryProfileSession, "handle") - @mock.patch("aries_cloudagent.anoncreds.revocation.isinstance") + @mock.patch("acapy_agent.anoncreds.revocation.isinstance") async def test_clear_pending_revocations(self, mock_is_instance, mock_handle): mock_handle.fetch = mock.CoroutineMock( side_effect=[ diff --git a/aries_cloudagent/anoncreds/tests/test_revocation_setup.py b/acapy_agent/anoncreds/tests/test_revocation_setup.py similarity index 99% rename from aries_cloudagent/anoncreds/tests/test_revocation_setup.py rename to acapy_agent/anoncreds/tests/test_revocation_setup.py index 24a6f471a6..ce89a51229 100644 --- a/aries_cloudagent/anoncreds/tests/test_revocation_setup.py +++ b/acapy_agent/anoncreds/tests/test_revocation_setup.py @@ -2,7 +2,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...askar.profile_anon import AskarAnoncredsProfile from ...core.in_memory.profile import InMemoryProfile diff --git a/aries_cloudagent/anoncreds/tests/test_routes.py b/acapy_agent/anoncreds/tests/test_routes.py similarity index 96% rename from aries_cloudagent/anoncreds/tests/test_routes.py rename to acapy_agent/anoncreds/tests/test_routes.py index 853fcb92d7..cbaa0b80f7 100644 --- a/aries_cloudagent/anoncreds/tests/test_routes.py +++ b/acapy_agent/anoncreds/tests/test_routes.py @@ -4,20 +4,20 @@ import pytest from aiohttp import web -from aries_cloudagent.admin.request_context import AdminRequestContext -from aries_cloudagent.anoncreds.base import AnonCredsObjectNotFound -from aries_cloudagent.anoncreds.issuer import AnonCredsIssuer -from aries_cloudagent.anoncreds.models.anoncreds_schema import ( +from acapy_agent.admin.request_context import AdminRequestContext +from acapy_agent.anoncreds.base import AnonCredsObjectNotFound +from acapy_agent.anoncreds.issuer import AnonCredsIssuer +from acapy_agent.anoncreds.models.anoncreds_schema import ( AnonCredsSchema, SchemaResult, SchemaState, ) -from aries_cloudagent.anoncreds.revocation import AnonCredsRevocation -from aries_cloudagent.anoncreds.revocation_setup import DefaultRevocationSetup -from aries_cloudagent.askar.profile_anon import AskarAnoncredsProfile -from aries_cloudagent.core.event_bus import MockEventBus -from aries_cloudagent.core.in_memory.profile import InMemoryProfile -from aries_cloudagent.tests import mock +from acapy_agent.anoncreds.revocation import AnonCredsRevocation +from acapy_agent.anoncreds.revocation_setup import DefaultRevocationSetup +from acapy_agent.askar.profile_anon import AskarAnoncredsProfile +from acapy_agent.core.event_bus import MockEventBus +from acapy_agent.core.in_memory.profile import InMemoryProfile +from acapy_agent.tests import mock from ...askar.profile import AskarProfile from .. import routes as test_module diff --git a/aries_cloudagent/anoncreds/tests/test_verifier.py b/acapy_agent/anoncreds/tests/test_verifier.py similarity index 98% rename from aries_cloudagent/anoncreds/tests/test_verifier.py rename to acapy_agent/anoncreds/tests/test_verifier.py index 1bf9f8550d..ca0be9ad90 100644 --- a/aries_cloudagent/anoncreds/tests/test_verifier.py +++ b/acapy_agent/anoncreds/tests/test_verifier.py @@ -3,27 +3,27 @@ import pytest -from aries_cloudagent.anoncreds.models.anoncreds_cred_def import ( +from acapy_agent.anoncreds.models.anoncreds_cred_def import ( CredDef, CredDefValue, CredDefValuePrimary, CredDefValueRevocation, GetCredDefResult, ) -from aries_cloudagent.anoncreds.models.anoncreds_revocation import ( +from acapy_agent.anoncreds.models.anoncreds_revocation import ( GetRevListResult, GetRevRegDefResult, RevList, RevRegDef, RevRegDefValue, ) -from aries_cloudagent.anoncreds.models.anoncreds_schema import ( +from acapy_agent.anoncreds.models.anoncreds_schema import ( AnonCredsSchema, GetSchemaResult, ) -from aries_cloudagent.askar.profile_anon import AskarAnoncredsProfile -from aries_cloudagent.core.in_memory.profile import InMemoryProfile -from aries_cloudagent.tests import mock +from acapy_agent.askar.profile_anon import AskarAnoncredsProfile +from acapy_agent.core.in_memory.profile import InMemoryProfile +from acapy_agent.tests import mock from .. import verifier as test_module from .mock_objects import ( diff --git a/aries_cloudagent/anoncreds/util.py b/acapy_agent/anoncreds/util.py similarity index 100% rename from aries_cloudagent/anoncreds/util.py rename to acapy_agent/anoncreds/util.py diff --git a/aries_cloudagent/anoncreds/verifier.py b/acapy_agent/anoncreds/verifier.py similarity index 100% rename from aries_cloudagent/anoncreds/verifier.py rename to acapy_agent/anoncreds/verifier.py diff --git a/aries_cloudagent/askar/__init__.py b/acapy_agent/askar/__init__.py similarity index 100% rename from aries_cloudagent/askar/__init__.py rename to acapy_agent/askar/__init__.py diff --git a/aries_cloudagent/askar/didcomm/__init__.py b/acapy_agent/askar/didcomm/__init__.py similarity index 100% rename from aries_cloudagent/askar/didcomm/__init__.py rename to acapy_agent/askar/didcomm/__init__.py diff --git a/aries_cloudagent/askar/didcomm/tests/__init__.py b/acapy_agent/askar/didcomm/tests/__init__.py similarity index 100% rename from aries_cloudagent/askar/didcomm/tests/__init__.py rename to acapy_agent/askar/didcomm/tests/__init__.py diff --git a/aries_cloudagent/askar/didcomm/tests/test_v2.py b/acapy_agent/askar/didcomm/tests/test_v2.py similarity index 100% rename from aries_cloudagent/askar/didcomm/tests/test_v2.py rename to acapy_agent/askar/didcomm/tests/test_v2.py diff --git a/aries_cloudagent/askar/didcomm/v1.py b/acapy_agent/askar/didcomm/v1.py similarity index 100% rename from aries_cloudagent/askar/didcomm/v1.py rename to acapy_agent/askar/didcomm/v1.py diff --git a/aries_cloudagent/askar/didcomm/v2.py b/acapy_agent/askar/didcomm/v2.py similarity index 100% rename from aries_cloudagent/askar/didcomm/v2.py rename to acapy_agent/askar/didcomm/v2.py diff --git a/aries_cloudagent/askar/profile.py b/acapy_agent/askar/profile.py similarity index 93% rename from aries_cloudagent/askar/profile.py rename to acapy_agent/askar/profile.py index aeeedb5eca..4622c3b629 100644 --- a/aries_cloudagent/askar/profile.py +++ b/acapy_agent/askar/profile.py @@ -97,7 +97,7 @@ def bind_providers(self): injector.bind_provider( DMPResolver, ClassProvider( - "aries_cloudagent.didcomm_v2.adapters.ResolverAdapter", + "acapy_agent.didcomm_v2.adapters.ResolverAdapter", ref(self), ClassProvider.Inject(DIDResolver), ), @@ -105,26 +105,24 @@ def bind_providers(self): injector.bind_provider( BaseStorageSearch, - ClassProvider("aries_cloudagent.storage.askar.AskarStorageSearch", ref(self)), + ClassProvider("acapy_agent.storage.askar.AskarStorageSearch", ref(self)), ) injector.bind_provider( IndyHolder, ClassProvider( - "aries_cloudagent.indy.credx.holder.IndyCredxHolder", + "acapy_agent.indy.credx.holder.IndyCredxHolder", ref(self), ), ) injector.bind_provider( IndyIssuer, - ClassProvider( - "aries_cloudagent.indy.credx.issuer.IndyCredxIssuer", ref(self) - ), + ClassProvider("acapy_agent.indy.credx.issuer.IndyCredxIssuer", ref(self)), ) injector.soft_bind_provider( VCHolder, ClassProvider( - "aries_cloudagent.storage.vc_holder.askar.AskarVCHolder", + "acapy_agent.storage.vc_holder.askar.AskarVCHolder", ref(self), ), ) @@ -173,7 +171,7 @@ def bind_providers(self): injector.bind_provider( IndyVerifier, ClassProvider( - "aries_cloudagent.indy.credx.verifier.IndyCredxVerifier", + "acapy_agent.indy.credx.verifier.IndyCredxVerifier", ref(self), ), ) @@ -252,11 +250,11 @@ async def _setup(self): injector = self._context.injector injector.bind_provider( BaseWallet, - ClassProvider("aries_cloudagent.wallet.askar.AskarWallet", ref(self)), + ClassProvider("acapy_agent.wallet.askar.AskarWallet", ref(self)), ) injector.bind_provider( BaseStorage, - ClassProvider("aries_cloudagent.storage.askar.AskarStorage", ref(self)), + ClassProvider("acapy_agent.storage.askar.AskarStorage", ref(self)), ) if self.profile.settings.get("experiment.didcomm_v2"): @@ -272,7 +270,7 @@ async def _setup(self): injector.bind_provider( SecretsManager, ClassProvider( - "aries_cloudagent.didcomm_v2.adapters.SecretsAdapter", ref(self) + "acapy_agent.didcomm_v2.adapters.SecretsAdapter", ref(self) ), ) diff --git a/aries_cloudagent/askar/profile_anon.py b/acapy_agent/askar/profile_anon.py similarity index 95% rename from aries_cloudagent/askar/profile_anon.py rename to acapy_agent/askar/profile_anon.py index 71c66f2364..6b526e634a 100644 --- a/aries_cloudagent/askar/profile_anon.py +++ b/acapy_agent/askar/profile_anon.py @@ -95,27 +95,25 @@ def bind_providers(self): injector.bind_provider( BaseStorageSearch, - ClassProvider("aries_cloudagent.storage.askar.AskarStorageSearch", ref(self)), + ClassProvider("acapy_agent.storage.askar.AskarStorageSearch", ref(self)), ) injector.bind_provider( VCHolder, ClassProvider( - "aries_cloudagent.storage.vc_holder.askar.AskarVCHolder", + "acapy_agent.storage.vc_holder.askar.AskarVCHolder", ref(self), ), ) injector.bind_provider( IndyHolder, ClassProvider( - "aries_cloudagent.indy.credx.holder.IndyCredxHolder", + "acapy_agent.indy.credx.holder.IndyCredxHolder", ref(self), ), ) injector.bind_provider( IndyIssuer, - ClassProvider( - "aries_cloudagent.indy.credx.issuer.IndyCredxIssuer", ref(self) - ), + ClassProvider("acapy_agent.indy.credx.issuer.IndyCredxIssuer", ref(self)), ) if ( self.settings.get("ledger.ledger_config_list") @@ -234,11 +232,11 @@ async def _setup(self): injector = self._context.injector injector.bind_provider( BaseWallet, - ClassProvider("aries_cloudagent.wallet.askar.AskarWallet", ref(self)), + ClassProvider("acapy_agent.wallet.askar.AskarWallet", ref(self)), ) injector.bind_provider( BaseStorage, - ClassProvider("aries_cloudagent.storage.askar.AskarStorage", ref(self)), + ClassProvider("acapy_agent.storage.askar.AskarStorage", ref(self)), ) async def _teardown(self, commit: Optional[bool] = None): diff --git a/aries_cloudagent/askar/store.py b/acapy_agent/askar/store.py similarity index 100% rename from aries_cloudagent/askar/store.py rename to acapy_agent/askar/store.py diff --git a/aries_cloudagent/askar/tests/__init__.py b/acapy_agent/askar/tests/__init__.py similarity index 100% rename from aries_cloudagent/askar/tests/__init__.py rename to acapy_agent/askar/tests/__init__.py diff --git a/aries_cloudagent/askar/tests/test_profile.py b/acapy_agent/askar/tests/test_profile.py similarity index 95% rename from aries_cloudagent/askar/tests/test_profile.py rename to acapy_agent/askar/tests/test_profile.py index 82bf04dc53..38a0326ded 100644 --- a/aries_cloudagent/askar/tests/test_profile.py +++ b/acapy_agent/askar/tests/test_profile.py @@ -93,7 +93,7 @@ async def test_remove_profile_not_removed_if_wallet_type_not_askar_profile(open_ async def test_profile_manager_transaction(): profile = "profileId" - with mock.patch("aries_cloudagent.askar.profile.AskarProfile") as AskarProfile: + with mock.patch("acapy_agent.askar.profile.AskarProfile") as AskarProfile: askar_profile = AskarProfile(None, True, profile_id=profile) askar_profile.profile_id = profile askar_profile_transaction = mock.MagicMock() @@ -109,7 +109,7 @@ async def test_profile_manager_transaction(): async def test_profile_manager_store(): profile = "profileId" - with mock.patch("aries_cloudagent.askar.profile.AskarProfile") as AskarProfile: + with mock.patch("acapy_agent.askar.profile.AskarProfile") as AskarProfile: askar_profile = AskarProfile(None, False, profile_id=profile) askar_profile.profile_id = profile askar_profile_session = mock.MagicMock() diff --git a/aries_cloudagent/askar/tests/test_store.py b/acapy_agent/askar/tests/test_store.py similarity index 98% rename from aries_cloudagent/askar/tests/test_store.py rename to acapy_agent/askar/tests/test_store.py index 6923f5f29e..3bd65fd5fd 100644 --- a/aries_cloudagent/askar/tests/test_store.py +++ b/acapy_agent/askar/tests/test_store.py @@ -2,7 +2,7 @@ from aries_askar import AskarError, AskarErrorCode, Store -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...core.error import ProfileDuplicateError, ProfileError, ProfileNotFoundError from ..store import AskarOpenStore, AskarStoreConfig diff --git a/aries_cloudagent/cache/__init__.py b/acapy_agent/cache/__init__.py similarity index 100% rename from aries_cloudagent/cache/__init__.py rename to acapy_agent/cache/__init__.py diff --git a/aries_cloudagent/cache/base.py b/acapy_agent/cache/base.py similarity index 100% rename from aries_cloudagent/cache/base.py rename to acapy_agent/cache/base.py diff --git a/aries_cloudagent/cache/in_memory.py b/acapy_agent/cache/in_memory.py similarity index 100% rename from aries_cloudagent/cache/in_memory.py rename to acapy_agent/cache/in_memory.py diff --git a/aries_cloudagent/cache/tests/__init__.py b/acapy_agent/cache/tests/__init__.py similarity index 100% rename from aries_cloudagent/cache/tests/__init__.py rename to acapy_agent/cache/tests/__init__.py diff --git a/aries_cloudagent/cache/tests/test_in_memory_cache.py b/acapy_agent/cache/tests/test_in_memory_cache.py similarity index 100% rename from aries_cloudagent/cache/tests/test_in_memory_cache.py rename to acapy_agent/cache/tests/test_in_memory_cache.py diff --git a/aries_cloudagent/commands/__init__.py b/acapy_agent/commands/__init__.py similarity index 100% rename from aries_cloudagent/commands/__init__.py rename to acapy_agent/commands/__init__.py diff --git a/aries_cloudagent/commands/default_version_upgrade_config.yml b/acapy_agent/commands/default_version_upgrade_config.yml similarity index 71% rename from aries_cloudagent/commands/default_version_upgrade_config.yml rename to acapy_agent/commands/default_version_upgrade_config.yml index 25cc32538b..03cfc86985 100644 --- a/aries_cloudagent/commands/default_version_upgrade_config.yml +++ b/acapy_agent/commands/default_version_upgrade_config.yml @@ -1,12 +1,12 @@ v0.8.1: resave_records: base_record_path: - - "aries_cloudagent.connections.models.conn_record.ConnRecord" + - "acapy_agent.connections.models.conn_record.ConnRecord" update_existing_records: false v0.7.2: resave_records: base_record_path: - - "aries_cloudagent.connections.models.conn_record.ConnRecord" + - "acapy_agent.connections.models.conn_record.ConnRecord" update_existing_records: false v0.7.1: update_existing_records: false diff --git a/aries_cloudagent/commands/help.py b/acapy_agent/commands/help.py similarity index 100% rename from aries_cloudagent/commands/help.py rename to acapy_agent/commands/help.py diff --git a/aries_cloudagent/commands/provision.py b/acapy_agent/commands/provision.py similarity index 100% rename from aries_cloudagent/commands/provision.py rename to acapy_agent/commands/provision.py diff --git a/aries_cloudagent/commands/start.py b/acapy_agent/commands/start.py similarity index 100% rename from aries_cloudagent/commands/start.py rename to acapy_agent/commands/start.py diff --git a/aries_cloudagent/commands/tests/__init__.py b/acapy_agent/commands/tests/__init__.py similarity index 100% rename from aries_cloudagent/commands/tests/__init__.py rename to acapy_agent/commands/tests/__init__.py diff --git a/aries_cloudagent/commands/tests/test_help.py b/acapy_agent/commands/tests/test_help.py similarity index 100% rename from aries_cloudagent/commands/tests/test_help.py rename to acapy_agent/commands/tests/test_help.py diff --git a/aries_cloudagent/commands/tests/test_init.py b/acapy_agent/commands/tests/test_init.py similarity index 100% rename from aries_cloudagent/commands/tests/test_init.py rename to acapy_agent/commands/tests/test_init.py diff --git a/aries_cloudagent/commands/tests/test_provision.py b/acapy_agent/commands/tests/test_provision.py similarity index 98% rename from aries_cloudagent/commands/tests/test_provision.py rename to acapy_agent/commands/tests/test_provision.py index 9a098de320..8ffd183bdc 100644 --- a/aries_cloudagent/commands/tests/test_provision.py +++ b/acapy_agent/commands/tests/test_provision.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...config.base import ConfigError from ...config.error import ArgsParseError diff --git a/aries_cloudagent/commands/tests/test_start.py b/acapy_agent/commands/tests/test_start.py similarity index 99% rename from aries_cloudagent/commands/tests/test_start.py rename to acapy_agent/commands/tests/test_start.py index c430c98299..451ab584bb 100644 --- a/aries_cloudagent/commands/tests/test_start.py +++ b/acapy_agent/commands/tests/test_start.py @@ -1,7 +1,7 @@ import sys from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...config.error import ArgsParseError from .. import start as test_module diff --git a/aries_cloudagent/commands/tests/test_upgrade.py b/acapy_agent/commands/tests/test_upgrade.py similarity index 92% rename from aries_cloudagent/commands/tests/test_upgrade.py rename to acapy_agent/commands/tests/test_upgrade.py index 5d5b311004..713b8b32b1 100644 --- a/aries_cloudagent/commands/tests/test_upgrade.py +++ b/acapy_agent/commands/tests/test_upgrade.py @@ -1,7 +1,7 @@ import asyncio from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...connections.models.conn_record import ConnRecord from ...core.in_memory import InMemoryProfile @@ -67,7 +67,7 @@ async def test_upgrade_storage_from_version_included(self): ), mock.patch.object(ConnRecord, "save", mock.CoroutineMock()): await test_module.upgrade( settings={ - "upgrade.config_path": "./aries_cloudagent/commands/default_version_upgrade_config.yml", + "upgrade.config_path": "./acapy_agent/commands/default_version_upgrade_config.yml", "upgrade.from_version": "v0.7.2", } ) @@ -183,7 +183,7 @@ async def test_upgrade_callable(self): "v0.7.2": { "resave_records": { "base_record_path": [ - "aries_cloudagent.connections.models.conn_record.ConnRecord" + "acapy_agent.connections.models.conn_record.ConnRecord" ] }, "update_existing_records": True, @@ -219,7 +219,7 @@ async def test_upgrade_callable_named_tag(self): "v0.7.2": { "resave_records": { "base_record_path": [ - "aries_cloudagent.connections.models.conn_record.ConnRecord" + "acapy_agent.connections.models.conn_record.ConnRecord" ] }, "update_existing_records": True, @@ -252,7 +252,7 @@ async def test_upgrade_x_same_version(self): ): await test_module.upgrade( settings={ - "upgrade.config_path": "./aries_cloudagent/commands/default_version_upgrade_config.yml", + "upgrade.config_path": "./acapy_agent/commands/default_version_upgrade_config.yml", } ) @@ -278,7 +278,7 @@ async def test_upgrade_missing_from_version(self): with self.assertRaises(UpgradeError) as ctx: await test_module.upgrade( settings={ - "upgrade.config_path": "./aries_cloudagent/commands/default_version_upgrade_config.yml", + "upgrade.config_path": "./acapy_agent/commands/default_version_upgrade_config.yml", } ) assert "Error during upgrade: No upgrade from version or tags found" in str( @@ -307,7 +307,7 @@ async def test_upgrade_x_callable_not_set(self): "v0.7.2": { "resave_records": { "base_record_path": [ - "aries_cloudagent.connections.models.conn_record.ConnRecord" + "acapy_agent.connections.models.conn_record.ConnRecord" ] }, "update_existing_records": True, @@ -342,7 +342,7 @@ async def test_upgrade_x_class_not_found(self): "v0.7.2": { "resave_records": { "base_record_path": [ - "aries_cloudagent.connections.models.conn_record.Invalid" + "acapy_agent.connections.models.conn_record.Invalid" ], } }, @@ -387,7 +387,7 @@ async def test_execute(self): test_module.execute( [ "--upgrade-config", - "./aries_cloudagent/config/tests/test-acapy-upgrade-config.yaml", + "./acapy_agent/config/tests/test-acapy-upgrade-config.yaml", "--from-version", "v0.7.0", "--force-upgrade", @@ -412,7 +412,7 @@ async def test_upgrade_x_invalid_record_type(self): "v0.7.2": { "resave_records": { "base_exch_record_path": [ - "aries_cloudagent.connections.models.connection_target.ConnectionTarget" + "acapy_agent.connections.models.connection_target.ConnectionTarget" ], } } @@ -445,7 +445,7 @@ async def test_upgrade_force(self): "v0.7.2": { "resave_records": { "base_record_path": [ - "aries_cloudagent.connections.models.conn_record.ConnRecord" + "acapy_agent.connections.models.conn_record.ConnRecord" ], }, "update_existing_records": True, @@ -526,13 +526,13 @@ async def test_upgrade_explicit_upgrade_required_check(self): test_config_dict = { "v0.8.1": { "resave_records": [ - "aries_cloudagent.connections.models.conn_record.ConnRecord" + "acapy_agent.connections.models.conn_record.ConnRecord" ], "update_existing_records": False, }, "v0.7.2": { "resave_records": [ - "aries_cloudagent.connections.models.conn_record.ConnRecord" + "acapy_agent.connections.models.conn_record.ConnRecord" ], "update_existing_records": False, }, @@ -555,13 +555,13 @@ async def test_upgrade_explicit_upgrade_required_check(self): test_config_dict = { "v0.8.1": { "resave_records": [ - "aries_cloudagent.connections.models.conn_record.ConnRecord" + "acapy_agent.connections.models.conn_record.ConnRecord" ], "update_existing_records": False, }, "v0.7.2": { "resave_records": [ - "aries_cloudagent.connections.models.conn_record.ConnRecord" + "acapy_agent.connections.models.conn_record.ConnRecord" ], "update_existing_records": False, "explicit_upgrade": "warning", @@ -591,13 +591,13 @@ async def test_upgrade_explicit_upgrade_required_check(self): test_config_dict = { "v0.8.1": { "resave_records": [ - "aries_cloudagent.connections.models.conn_record.ConnRecord" + "acapy_agent.connections.models.conn_record.ConnRecord" ], "update_existing_records": False, }, "v0.7.2": { "resave_records": [ - "aries_cloudagent.connections.models.conn_record.ConnRecord" + "acapy_agent.connections.models.conn_record.ConnRecord" ], "update_existing_records": False, "explicit_upgrade": "critical", @@ -615,13 +615,13 @@ async def test_upgrade_explicit_upgrade_required_check(self): test_config_dict = { "v0.8.1": { "resave_records": [ - "aries_cloudagent.connections.models.conn_record.ConnRecord" + "acapy_agent.connections.models.conn_record.ConnRecord" ], "update_existing_records": False, }, "v0.7.2": { "resave_records": [ - "aries_cloudagent.connections.models.conn_record.ConnRecord" + "acapy_agent.connections.models.conn_record.ConnRecord" ], "update_existing_records": False, "explicit_upgrade": "warning", @@ -658,7 +658,7 @@ async def test_upgrade_explicit_check(self): "v0.7.2": { "resave_records": { "base_record_path": [ - "aries_cloudagent.connections.models.conn_record.ConnRecord" + "acapy_agent.connections.models.conn_record.ConnRecord" ], }, "update_existing_records": True, @@ -685,7 +685,7 @@ async def test_upgrade_explicit_check(self): "v0.7.2": { "resave_records": { "base_record_path": [ - "aries_cloudagent.connections.models.conn_record.ConnRecord" + "acapy_agent.connections.models.conn_record.ConnRecord" ], }, "update_existing_records": True, @@ -715,7 +715,7 @@ async def test_upgrade_explicit_check(self): "v0.7.2": { "resave_records": { "base_record_path": [ - "aries_cloudagent.connections.models.conn_record.ConnRecord" + "acapy_agent.connections.models.conn_record.ConnRecord" ], }, "update_existing_records": True, diff --git a/aries_cloudagent/commands/upgrade.py b/acapy_agent/commands/upgrade.py similarity index 100% rename from aries_cloudagent/commands/upgrade.py rename to acapy_agent/commands/upgrade.py diff --git a/aries_cloudagent/config/__init__.py b/acapy_agent/config/__init__.py similarity index 100% rename from aries_cloudagent/config/__init__.py rename to acapy_agent/config/__init__.py diff --git a/aries_cloudagent/config/argparse.py b/acapy_agent/config/argparse.py similarity index 99% rename from aries_cloudagent/config/argparse.py rename to acapy_agent/config/argparse.py index b321eaad96..ec0d3d95e1 100644 --- a/aries_cloudagent/config/argparse.py +++ b/acapy_agent/config/argparse.py @@ -2098,7 +2098,7 @@ def add_arguments(self, parser: ArgumentParser): env_var="ACAPY_UPGRADE_CONFIG_PATH", help=( "YAML file path that specifies config to handle upgrade changes." - "Default: ./aries_cloudagent/commands/default_version_upgrade_config.yml" + "Default: ./acapy_agent/commands/default_version_upgrade_config.yml" ), ) diff --git a/aries_cloudagent/config/banner.py b/acapy_agent/config/banner.py similarity index 100% rename from aries_cloudagent/config/banner.py rename to acapy_agent/config/banner.py diff --git a/aries_cloudagent/config/base.py b/acapy_agent/config/base.py similarity index 100% rename from aries_cloudagent/config/base.py rename to acapy_agent/config/base.py diff --git a/aries_cloudagent/config/base_context.py b/acapy_agent/config/base_context.py similarity index 100% rename from aries_cloudagent/config/base_context.py rename to acapy_agent/config/base_context.py diff --git a/aries_cloudagent/config/default_context.py b/acapy_agent/config/default_context.py similarity index 80% rename from aries_cloudagent/config/default_context.py rename to acapy_agent/config/default_context.py index 7bbb2afabb..136c79791d 100644 --- a/aries_cloudagent/config/default_context.py +++ b/acapy_agent/config/default_context.py @@ -89,14 +89,14 @@ async def bind_providers(self, context: InjectionContext): context.injector.bind_provider( BaseTailsServer, ClassProvider( - "aries_cloudagent.tails.anoncreds_tails_server.AnonCredsTailsServer", + "acapy_agent.tails.anoncreds_tails_server.AnonCredsTailsServer", ), ) else: context.injector.bind_provider( BaseTailsServer, ClassProvider( - "aries_cloudagent.tails.indy_tails_server.IndyTailsServer", + "acapy_agent.tails.indy_tails_server.IndyTailsServer", ), ) @@ -105,7 +105,7 @@ async def bind_providers(self, context: InjectionContext): BaseWireFormat, CachedProvider( # StatsProvider( - ClassProvider("aries_cloudagent.transport.pack_format.PackWireFormat"), + ClassProvider("acapy_agent.transport.pack_format.PackWireFormat"), # ( # "encode_message", "parse_message" # ), @@ -128,33 +128,33 @@ async def load_plugins(self, context: InjectionContext): # Register standard protocol plugins if not self.settings.get("transport.disabled"): - plugin_registry.register_package("aries_cloudagent.protocols") + plugin_registry.register_package("acapy_agent.protocols") # Currently providing admin routes only - plugin_registry.register_plugin("aries_cloudagent.holder") + plugin_registry.register_plugin("acapy_agent.holder") - plugin_registry.register_plugin("aries_cloudagent.ledger") + plugin_registry.register_plugin("acapy_agent.ledger") - plugin_registry.register_plugin("aries_cloudagent.messaging.jsonld") - plugin_registry.register_plugin("aries_cloudagent.resolver") - plugin_registry.register_plugin("aries_cloudagent.settings") - plugin_registry.register_plugin("aries_cloudagent.vc") - plugin_registry.register_plugin("aries_cloudagent.vc.data_integrity") - plugin_registry.register_plugin("aries_cloudagent.wallet") - plugin_registry.register_plugin("aries_cloudagent.wallet.keys") + plugin_registry.register_plugin("acapy_agent.messaging.jsonld") + plugin_registry.register_plugin("acapy_agent.resolver") + plugin_registry.register_plugin("acapy_agent.settings") + plugin_registry.register_plugin("acapy_agent.vc") + plugin_registry.register_plugin("acapy_agent.vc.data_integrity") + plugin_registry.register_plugin("acapy_agent.wallet") + plugin_registry.register_plugin("acapy_agent.wallet.keys") anoncreds_plugins = [ - "aries_cloudagent.anoncreds", - "aries_cloudagent.anoncreds.default.did_indy", - "aries_cloudagent.anoncreds.default.did_web", - "aries_cloudagent.anoncreds.default.legacy_indy", - "aries_cloudagent.revocation_anoncreds", + "acapy_agent.anoncreds", + "acapy_agent.anoncreds.default.did_indy", + "acapy_agent.anoncreds.default.did_web", + "acapy_agent.anoncreds.default.legacy_indy", + "acapy_agent.revocation_anoncreds", ] askar_plugins = [ - "aries_cloudagent.messaging.credential_definitions", - "aries_cloudagent.messaging.schemas", - "aries_cloudagent.revocation", + "acapy_agent.messaging.credential_definitions", + "acapy_agent.messaging.schemas", + "acapy_agent.revocation", ] def register_askar_plugins(): @@ -171,7 +171,7 @@ def register_anoncreds_plugins(): register_askar_plugins() if context.settings.get("multitenant.admin_enabled"): - plugin_registry.register_plugin("aries_cloudagent.multitenant.admin") + plugin_registry.register_plugin("acapy_agent.multitenant.admin") register_askar_plugins() register_anoncreds_plugins() diff --git a/aries_cloudagent/config/default_logging_config.ini b/acapy_agent/config/default_logging_config.ini similarity index 100% rename from aries_cloudagent/config/default_logging_config.ini rename to acapy_agent/config/default_logging_config.ini diff --git a/aries_cloudagent/config/default_multitenant_logging_config.ini b/acapy_agent/config/default_multitenant_logging_config.ini similarity index 100% rename from aries_cloudagent/config/default_multitenant_logging_config.ini rename to acapy_agent/config/default_multitenant_logging_config.ini diff --git a/aries_cloudagent/config/default_multitenant_logging_config.yml b/acapy_agent/config/default_multitenant_logging_config.yml similarity index 100% rename from aries_cloudagent/config/default_multitenant_logging_config.yml rename to acapy_agent/config/default_multitenant_logging_config.yml diff --git a/aries_cloudagent/config/error.py b/acapy_agent/config/error.py similarity index 100% rename from aries_cloudagent/config/error.py rename to acapy_agent/config/error.py diff --git a/aries_cloudagent/config/injection_context.py b/acapy_agent/config/injection_context.py similarity index 100% rename from aries_cloudagent/config/injection_context.py rename to acapy_agent/config/injection_context.py diff --git a/aries_cloudagent/config/injector.py b/acapy_agent/config/injector.py similarity index 100% rename from aries_cloudagent/config/injector.py rename to acapy_agent/config/injector.py diff --git a/aries_cloudagent/config/ledger.py b/acapy_agent/config/ledger.py similarity index 99% rename from aries_cloudagent/config/ledger.py rename to acapy_agent/config/ledger.py index 0882f79787..7d7acb1e7e 100644 --- a/aries_cloudagent/config/ledger.py +++ b/acapy_agent/config/ledger.py @@ -31,7 +31,7 @@ async def fetch_genesis_transactions(genesis_url: str) -> str: LOGGER.info("Fetching genesis transactions from: %s", genesis_url) try: # Fetch from --genesis-url likely to fail in composed container setup - # https://github.com/hyperledger/aries-cloudagent-python/issues/1745 + # https://github.com/openwallet-foundation/acapy/issues/1745 return await fetch(genesis_url, headers=headers, max_attempts=20) except FetchError as e: raise ConfigError("Error retrieving ledger genesis transactions") from e diff --git a/aries_cloudagent/config/logging.py b/acapy_agent/config/logging.py similarity index 99% rename from aries_cloudagent/config/logging.py rename to acapy_agent/config/logging.py index 0069782bd4..3e0e9437ee 100644 --- a/aries_cloudagent/config/logging.py +++ b/acapy_agent/config/logging.py @@ -29,9 +29,9 @@ from ..version import __version__ from .banner import Banner -DEFAULT_LOGGING_CONFIG_PATH_INI = "aries_cloudagent.config:default_logging_config.ini" +DEFAULT_LOGGING_CONFIG_PATH_INI = "acapy_agent.config:default_logging_config.ini" DEFAULT_MULTITENANT_LOGGING_CONFIG_PATH_INI = ( - "aries_cloudagent.config:default_multitenant_logging_config.ini" + "acapy_agent.config:default_multitenant_logging_config.ini" ) LOG_FORMAT_FILE_ALIAS_PATTERN = ( "%(asctime)s %(wallet_id)s %(levelname)s %(pathname)s:%(lineno)d %(message)s" @@ -232,7 +232,7 @@ def _configure_multitenant_logging(cls, log_config_path, log_level, log_file): if (not any_file_handlers_set) and log_file: file_path = os.path.join( os.path.dirname(os.path.realpath(__file__)).replace( - "aries_cloudagent/config", "" + "acapy_agent/config", "" ), log_file, ) diff --git a/aries_cloudagent/config/plugin_settings.py b/acapy_agent/config/plugin_settings.py similarity index 100% rename from aries_cloudagent/config/plugin_settings.py rename to acapy_agent/config/plugin_settings.py diff --git a/aries_cloudagent/config/provider.py b/acapy_agent/config/provider.py similarity index 100% rename from aries_cloudagent/config/provider.py rename to acapy_agent/config/provider.py diff --git a/aries_cloudagent/config/settings.py b/acapy_agent/config/settings.py similarity index 100% rename from aries_cloudagent/config/settings.py rename to acapy_agent/config/settings.py diff --git a/aries_cloudagent/config/tests/__init__.py b/acapy_agent/config/tests/__init__.py similarity index 100% rename from aries_cloudagent/config/tests/__init__.py rename to acapy_agent/config/tests/__init__.py diff --git a/acapy_agent/config/tests/test-acapy-upgrade-config.yaml b/acapy_agent/config/tests/test-acapy-upgrade-config.yaml new file mode 100644 index 0000000000..d9447c6ce6 --- /dev/null +++ b/acapy_agent/config/tests/test-acapy-upgrade-config.yaml @@ -0,0 +1,9 @@ +v0.6.0: + update_existing_records: false +v0.7.2: + resave_records: + base_record_path: + - "acapy_agent.connections.models.conn_record.ConnRecord" + base_exch_record_path: + - "acapy_agent.protocols.issue_credential.v1_0.models.credential_exchange.V10CredentialExchange" + update_existing_records: false \ No newline at end of file diff --git a/aries_cloudagent/config/tests/test-general-args.yaml b/acapy_agent/config/tests/test-general-args.yaml similarity index 100% rename from aries_cloudagent/config/tests/test-general-args.yaml rename to acapy_agent/config/tests/test-general-args.yaml diff --git a/aries_cloudagent/config/tests/test-ledger-args-no-genesis.yaml b/acapy_agent/config/tests/test-ledger-args-no-genesis.yaml similarity index 100% rename from aries_cloudagent/config/tests/test-ledger-args-no-genesis.yaml rename to acapy_agent/config/tests/test-ledger-args-no-genesis.yaml diff --git a/aries_cloudagent/config/tests/test-ledger-args-no-write.yaml b/acapy_agent/config/tests/test-ledger-args-no-write.yaml similarity index 100% rename from aries_cloudagent/config/tests/test-ledger-args-no-write.yaml rename to acapy_agent/config/tests/test-ledger-args-no-write.yaml diff --git a/aries_cloudagent/config/tests/test-ledger-args.yaml b/acapy_agent/config/tests/test-ledger-args.yaml similarity index 100% rename from aries_cloudagent/config/tests/test-ledger-args.yaml rename to acapy_agent/config/tests/test-ledger-args.yaml diff --git a/aries_cloudagent/config/tests/test-transport-args.yaml b/acapy_agent/config/tests/test-transport-args.yaml similarity index 100% rename from aries_cloudagent/config/tests/test-transport-args.yaml rename to acapy_agent/config/tests/test-transport-args.yaml diff --git a/aries_cloudagent/config/tests/test_argparse.py b/acapy_agent/config/tests/test_argparse.py similarity index 92% rename from aries_cloudagent/config/tests/test_argparse.py rename to acapy_agent/config/tests/test_argparse.py index f56c485a0d..b80e478032 100644 --- a/aries_cloudagent/config/tests/test_argparse.py +++ b/acapy_agent/config/tests/test_argparse.py @@ -65,12 +65,12 @@ async def test_get_genesis_transactions_list_with_ledger_selection(self): result = parser.parse_args( [ "--genesis-transactions-list", - "./aries_cloudagent/config/tests/test-ledger-args-no-write.yaml", + "./acapy_agent/config/tests/test-ledger-args-no-write.yaml", ] ) assert ( result.genesis_transactions_list - == "./aries_cloudagent/config/tests/test-ledger-args-no-write.yaml" + == "./acapy_agent/config/tests/test-ledger-args-no-write.yaml" ) with self.assertRaises(argparse.ArgsParseError): settings = group.get_settings(result) @@ -78,12 +78,12 @@ async def test_get_genesis_transactions_list_with_ledger_selection(self): result = parser.parse_args( [ "--genesis-transactions-list", - "./aries_cloudagent/config/tests/test-ledger-args-no-genesis.yaml", + "./acapy_agent/config/tests/test-ledger-args-no-genesis.yaml", ] ) assert ( result.genesis_transactions_list - == "./aries_cloudagent/config/tests/test-ledger-args-no-genesis.yaml" + == "./acapy_agent/config/tests/test-ledger-args-no-genesis.yaml" ) with self.assertRaises(argparse.ArgsParseError): settings = group.get_settings(result) @@ -91,12 +91,12 @@ async def test_get_genesis_transactions_list_with_ledger_selection(self): result = parser.parse_args( [ "--genesis-transactions-list", - "./aries_cloudagent/config/tests/test-ledger-args.yaml", + "./acapy_agent/config/tests/test-ledger-args.yaml", ] ) assert ( result.genesis_transactions_list - == "./aries_cloudagent/config/tests/test-ledger-args.yaml" + == "./acapy_agent/config/tests/test-ledger-args.yaml" ) settings = group.get_settings(result) @@ -133,7 +133,7 @@ async def test_upgrade_config(self): result = parser.parse_args( [ "--upgrade-config-path", - "./aries_cloudagent/config/tests/test-acapy-upgrade-config.yml", + "./acapy_agent/config/tests/test-acapy-upgrade-config.yml", "--from-version", "v0.7.2", "--force-upgrade", @@ -142,7 +142,7 @@ async def test_upgrade_config(self): assert ( result.upgrade_config_path - == "./aries_cloudagent/config/tests/test-acapy-upgrade-config.yml" + == "./acapy_agent/config/tests/test-acapy-upgrade-config.yml" ) assert result.force_upgrade is True @@ -150,7 +150,7 @@ async def test_upgrade_config(self): assert ( settings.get("upgrade.config_path") - == "./aries_cloudagent/config/tests/test-acapy-upgrade-config.yml" + == "./acapy_agent/config/tests/test-acapy-upgrade-config.yml" ) result = parser.parse_args( @@ -174,7 +174,7 @@ async def test_upgrade_config(self): result = parser.parse_args( [ "--upgrade-config-path", - "./aries_cloudagent/config/tests/test-acapy-upgrade-config.yml", + "./acapy_agent/config/tests/test-acapy-upgrade-config.yml", "--from-version", "v0.7.2", "--upgrade-all-subwallets", @@ -184,7 +184,7 @@ async def test_upgrade_config(self): assert ( result.upgrade_config_path - == "./aries_cloudagent/config/tests/test-acapy-upgrade-config.yml" + == "./acapy_agent/config/tests/test-acapy-upgrade-config.yml" ) assert result.force_upgrade is True assert result.upgrade_all_subwallets is True @@ -193,7 +193,7 @@ async def test_upgrade_config(self): assert ( settings.get("upgrade.config_path") - == "./aries_cloudagent/config/tests/test-acapy-upgrade-config.yml" + == "./acapy_agent/config/tests/test-acapy-upgrade-config.yml" ) assert settings.get("upgrade.force_upgrade") is True assert settings.get("upgrade.upgrade_all_subwallets") is True @@ -254,7 +254,7 @@ async def test_general_settings_file(self): result = parser.parse_args( [ "--arg-file", - "./aries_cloudagent/config/tests/test-general-args.yaml", + "./acapy_agent/config/tests/test-general-args.yaml", ] ) @@ -278,13 +278,12 @@ async def test_plugin_config_file(self): "--endpoint", "localhost", "--plugin-config", - "./aries_cloudagent/config/tests/test_plugins_config.yaml", + "./acapy_agent/config/tests/test_plugins_config.yaml", ] ) assert ( - result.plugin_config - == "./aries_cloudagent/config/tests/test_plugins_config.yaml" + result.plugin_config == "./acapy_agent/config/tests/test_plugins_config.yaml" ) settings = group.get_settings(result) @@ -309,7 +308,7 @@ async def test_transport_settings_file(self): result = parser.parse_args( [ "--arg-file", - "./aries_cloudagent/config/tests/test-transport-args.yaml", + "./acapy_agent/config/tests/test-transport-args.yaml", ] ) # no asserts, just testing that the parser doesn't fail @@ -567,14 +566,14 @@ async def test_discover_features_args(self): result = parser.parse_args( args=( "--auto-disclose-features --disclose-features-list" - " ./aries_cloudagent/config/tests/test_disclose_features_list.yaml" + " ./acapy_agent/config/tests/test_disclose_features_list.yaml" ) ) assert result.auto_disclose_features assert ( result.disclose_features_list - == "./aries_cloudagent/config/tests/test_disclose_features_list.yaml" + == "./acapy_agent/config/tests/test_disclose_features_list.yaml" ) settings = group.get_settings(result) diff --git a/aries_cloudagent/config/tests/test_default_context.py b/acapy_agent/config/tests/test_default_context.py similarity index 100% rename from aries_cloudagent/config/tests/test_default_context.py rename to acapy_agent/config/tests/test_default_context.py diff --git a/aries_cloudagent/config/tests/test_disclose_features_list.yaml b/acapy_agent/config/tests/test_disclose_features_list.yaml similarity index 100% rename from aries_cloudagent/config/tests/test_disclose_features_list.yaml rename to acapy_agent/config/tests/test_disclose_features_list.yaml diff --git a/aries_cloudagent/config/tests/test_injection_context.py b/acapy_agent/config/tests/test_injection_context.py similarity index 100% rename from aries_cloudagent/config/tests/test_injection_context.py rename to acapy_agent/config/tests/test_injection_context.py diff --git a/aries_cloudagent/config/tests/test_injector.py b/acapy_agent/config/tests/test_injector.py similarity index 98% rename from aries_cloudagent/config/tests/test_injector.py rename to acapy_agent/config/tests/test_injector.py index e6e98e5b03..4d6ae02d27 100644 --- a/aries_cloudagent/config/tests/test_injector.py +++ b/acapy_agent/config/tests/test_injector.py @@ -127,7 +127,7 @@ def test_inject_class(self): def test_inject_class_name(self): """Test a provider class injection with a named class.""" - provider = ClassProvider("aries_cloudagent.config.settings.Settings") + provider = ClassProvider("acapy_agent.config.settings.Settings") self.test_instance.bind_provider(BaseSettings, provider) instance = self.test_instance.inject(BaseSettings) assert ( diff --git a/aries_cloudagent/config/tests/test_ledger.py b/acapy_agent/config/tests/test_ledger.py similarity index 99% rename from aries_cloudagent/config/tests/test_ledger.py rename to acapy_agent/config/tests/test_ledger.py index 6d16b57908..35e1c14311 100644 --- a/aries_cloudagent/config/tests/test_ledger.py +++ b/acapy_agent/config/tests/test_ledger.py @@ -2,7 +2,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...core.in_memory import InMemoryProfile from ...ledger.base import BaseLedger diff --git a/aries_cloudagent/config/tests/test_logging.py b/acapy_agent/config/tests/test_logging.py similarity index 98% rename from aries_cloudagent/config/tests/test_logging.py rename to acapy_agent/config/tests/test_logging.py index 2b092828ed..1693187595 100644 --- a/aries_cloudagent/config/tests/test_logging.py +++ b/acapy_agent/config/tests/test_logging.py @@ -81,7 +81,7 @@ def test_configure_with_multitenant_with_yaml_file(self): ), ): test_module.LoggingConfigurator.configure( - log_config_path="aries_cloudagent/config/default_multitenant_logging_config.yml", + log_config_path="acapy_agent/config/default_multitenant_logging_config.yml", log_file="test.log", multitenant=True, ) diff --git a/aries_cloudagent/config/tests/test_plugins_config.yaml b/acapy_agent/config/tests/test_plugins_config.yaml similarity index 100% rename from aries_cloudagent/config/tests/test_plugins_config.yaml rename to acapy_agent/config/tests/test_plugins_config.yaml diff --git a/aries_cloudagent/config/tests/test_provider.py b/acapy_agent/config/tests/test_provider.py similarity index 95% rename from aries_cloudagent/config/tests/test_provider.py rename to acapy_agent/config/tests/test_provider.py index 8d949d5cc9..db5efb39a1 100644 --- a/aries_cloudagent/config/tests/test_provider.py +++ b/acapy_agent/config/tests/test_provider.py @@ -49,7 +49,7 @@ async def test_cached_provider_same_unique_settings(self): second_settings = first_settings.extend({"wallet.key": "another.wallet.key"}) cached_provider = CachedProvider( - ClassProvider("aries_cloudagent.config.settings.Settings"), ("wallet.name",) + ClassProvider("acapy_agent.config.settings.Settings"), ("wallet.name",) ) context = InjectionContext() @@ -66,7 +66,7 @@ async def test_cached_provider_different_unique_settings(self): second_settings = first_settings.extend({"wallet.name": "another.wallet.name"}) cached_provider = CachedProvider( - ClassProvider("aries_cloudagent.config.settings.Settings"), ("wallet.name",) + ClassProvider("acapy_agent.config.settings.Settings"), ("wallet.name",) ) context = InjectionContext() diff --git a/aries_cloudagent/config/tests/test_settings.py b/acapy_agent/config/tests/test_settings.py similarity index 97% rename from aries_cloudagent/config/tests/test_settings.py rename to acapy_agent/config/tests/test_settings.py index 8689ac7109..a938332449 100644 --- a/aries_cloudagent/config/tests/test_settings.py +++ b/acapy_agent/config/tests/test_settings.py @@ -2,7 +2,7 @@ import pytest -from aries_cloudagent.config.plugin_settings import PluginSettings +from acapy_agent.config.plugin_settings import PluginSettings from ..plugin_settings import PLUGIN_CONFIG_KEY from ..settings import Settings diff --git a/aries_cloudagent/config/tests/test_wallet.py b/acapy_agent/config/tests/test_wallet.py similarity index 99% rename from aries_cloudagent/config/tests/test_wallet.py rename to acapy_agent/config/tests/test_wallet.py index 87d8bec3e9..9fe20279c3 100644 --- a/aries_cloudagent/config/tests/test_wallet.py +++ b/acapy_agent/config/tests/test_wallet.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...core.in_memory import InMemoryProfile from ...core.profile import ProfileManager, ProfileSession diff --git a/aries_cloudagent/config/util.py b/acapy_agent/config/util.py similarity index 100% rename from aries_cloudagent/config/util.py rename to acapy_agent/config/util.py diff --git a/aries_cloudagent/config/wallet.py b/acapy_agent/config/wallet.py similarity index 100% rename from aries_cloudagent/config/wallet.py rename to acapy_agent/config/wallet.py diff --git a/aries_cloudagent/connections/__init__.py b/acapy_agent/connections/__init__.py similarity index 100% rename from aries_cloudagent/connections/__init__.py rename to acapy_agent/connections/__init__.py diff --git a/aries_cloudagent/connections/base_manager.py b/acapy_agent/connections/base_manager.py similarity index 100% rename from aries_cloudagent/connections/base_manager.py rename to acapy_agent/connections/base_manager.py diff --git a/aries_cloudagent/connections/models/__init__.py b/acapy_agent/connections/models/__init__.py similarity index 100% rename from aries_cloudagent/connections/models/__init__.py rename to acapy_agent/connections/models/__init__.py diff --git a/aries_cloudagent/connections/models/conn_record.py b/acapy_agent/connections/models/conn_record.py similarity index 100% rename from aries_cloudagent/connections/models/conn_record.py rename to acapy_agent/connections/models/conn_record.py diff --git a/aries_cloudagent/connections/models/connection_target.py b/acapy_agent/connections/models/connection_target.py similarity index 100% rename from aries_cloudagent/connections/models/connection_target.py rename to acapy_agent/connections/models/connection_target.py diff --git a/aries_cloudagent/connections/models/diddoc/__init__.py b/acapy_agent/connections/models/diddoc/__init__.py similarity index 100% rename from aries_cloudagent/connections/models/diddoc/__init__.py rename to acapy_agent/connections/models/diddoc/__init__.py diff --git a/aries_cloudagent/connections/models/diddoc/diddoc.py b/acapy_agent/connections/models/diddoc/diddoc.py similarity index 100% rename from aries_cloudagent/connections/models/diddoc/diddoc.py rename to acapy_agent/connections/models/diddoc/diddoc.py diff --git a/aries_cloudagent/connections/models/diddoc/publickey.py b/acapy_agent/connections/models/diddoc/publickey.py similarity index 100% rename from aries_cloudagent/connections/models/diddoc/publickey.py rename to acapy_agent/connections/models/diddoc/publickey.py diff --git a/aries_cloudagent/connections/models/diddoc/service.py b/acapy_agent/connections/models/diddoc/service.py similarity index 100% rename from aries_cloudagent/connections/models/diddoc/service.py rename to acapy_agent/connections/models/diddoc/service.py diff --git a/aries_cloudagent/connections/models/diddoc/tests/__init__.py b/acapy_agent/connections/models/diddoc/tests/__init__.py similarity index 100% rename from aries_cloudagent/connections/models/diddoc/tests/__init__.py rename to acapy_agent/connections/models/diddoc/tests/__init__.py diff --git a/aries_cloudagent/connections/models/diddoc/tests/test_diddoc.py b/acapy_agent/connections/models/diddoc/tests/test_diddoc.py similarity index 100% rename from aries_cloudagent/connections/models/diddoc/tests/test_diddoc.py rename to acapy_agent/connections/models/diddoc/tests/test_diddoc.py diff --git a/aries_cloudagent/connections/models/diddoc/util.py b/acapy_agent/connections/models/diddoc/util.py similarity index 100% rename from aries_cloudagent/connections/models/diddoc/util.py rename to acapy_agent/connections/models/diddoc/util.py diff --git a/aries_cloudagent/connections/models/tests/__init__.py b/acapy_agent/connections/models/tests/__init__.py similarity index 100% rename from aries_cloudagent/connections/models/tests/__init__.py rename to acapy_agent/connections/models/tests/__init__.py diff --git a/aries_cloudagent/connections/models/tests/test_conn_record.py b/acapy_agent/connections/models/tests/test_conn_record.py similarity index 100% rename from aries_cloudagent/connections/models/tests/test_conn_record.py rename to acapy_agent/connections/models/tests/test_conn_record.py diff --git a/aries_cloudagent/connections/models/tests/test_connection_target.py b/acapy_agent/connections/models/tests/test_connection_target.py similarity index 100% rename from aries_cloudagent/connections/models/tests/test_connection_target.py rename to acapy_agent/connections/models/tests/test_connection_target.py diff --git a/aries_cloudagent/connections/tests/__init__.py b/acapy_agent/connections/tests/__init__.py similarity index 100% rename from aries_cloudagent/connections/tests/__init__.py rename to acapy_agent/connections/tests/__init__.py diff --git a/aries_cloudagent/connections/tests/test_base_manager.py b/acapy_agent/connections/tests/test_base_manager.py similarity index 99% rename from aries_cloudagent/connections/tests/test_base_manager.py rename to acapy_agent/connections/tests/test_base_manager.py index b721935ff8..3b847dfb06 100644 --- a/aries_cloudagent/connections/tests/test_base_manager.py +++ b/acapy_agent/connections/tests/test_base_manager.py @@ -12,7 +12,7 @@ JsonWebKey2020, ) -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...cache.base import BaseCache from ...cache.in_memory import InMemoryCache diff --git a/aries_cloudagent/core/__init__.py b/acapy_agent/core/__init__.py similarity index 100% rename from aries_cloudagent/core/__init__.py rename to acapy_agent/core/__init__.py diff --git a/aries_cloudagent/core/conductor.py b/acapy_agent/core/conductor.py similarity index 99% rename from aries_cloudagent/core/conductor.py rename to acapy_agent/core/conductor.py index b81d29636b..9a5482fe97 100644 --- a/aries_cloudagent/core/conductor.py +++ b/acapy_agent/core/conductor.py @@ -162,7 +162,7 @@ async def setup(self): context.injector.bind_provider( IndyVerifier, ClassProvider( - "aries_cloudagent.indy.credx.verifier.IndyCredxVerifier", + "acapy_agent.indy.credx.verifier.IndyCredxVerifier", self.root_profile, ), ) @@ -173,7 +173,7 @@ async def setup(self): context.injector.bind_provider( IndyVerifier, ClassProvider( - "aries_cloudagent.anoncreds.credx.verifier.IndyCredxVerifier", + "acapy_agent.anoncreds.credx.verifier.IndyCredxVerifier", self.root_profile, ), ) diff --git a/aries_cloudagent/core/dispatcher.py b/acapy_agent/core/dispatcher.py similarity index 100% rename from aries_cloudagent/core/dispatcher.py rename to acapy_agent/core/dispatcher.py diff --git a/aries_cloudagent/core/error.py b/acapy_agent/core/error.py similarity index 100% rename from aries_cloudagent/core/error.py rename to acapy_agent/core/error.py diff --git a/aries_cloudagent/core/event_bus.py b/acapy_agent/core/event_bus.py similarity index 100% rename from aries_cloudagent/core/event_bus.py rename to acapy_agent/core/event_bus.py diff --git a/aries_cloudagent/core/goal_code_registry.py b/acapy_agent/core/goal_code_registry.py similarity index 100% rename from aries_cloudagent/core/goal_code_registry.py rename to acapy_agent/core/goal_code_registry.py diff --git a/aries_cloudagent/core/in_memory/__init__.py b/acapy_agent/core/in_memory/__init__.py similarity index 100% rename from aries_cloudagent/core/in_memory/__init__.py rename to acapy_agent/core/in_memory/__init__.py diff --git a/aries_cloudagent/core/in_memory/didcomm/__init__.py b/acapy_agent/core/in_memory/didcomm/__init__.py similarity index 100% rename from aries_cloudagent/core/in_memory/didcomm/__init__.py rename to acapy_agent/core/in_memory/didcomm/__init__.py diff --git a/aries_cloudagent/core/in_memory/didcomm/derive_1pu.py b/acapy_agent/core/in_memory/didcomm/derive_1pu.py similarity index 100% rename from aries_cloudagent/core/in_memory/didcomm/derive_1pu.py rename to acapy_agent/core/in_memory/didcomm/derive_1pu.py diff --git a/aries_cloudagent/core/in_memory/didcomm/derive_ecdh.py b/acapy_agent/core/in_memory/didcomm/derive_ecdh.py similarity index 100% rename from aries_cloudagent/core/in_memory/didcomm/derive_ecdh.py rename to acapy_agent/core/in_memory/didcomm/derive_ecdh.py diff --git a/aries_cloudagent/core/in_memory/didcomm/tests/__init__.py b/acapy_agent/core/in_memory/didcomm/tests/__init__.py similarity index 100% rename from aries_cloudagent/core/in_memory/didcomm/tests/__init__.py rename to acapy_agent/core/in_memory/didcomm/tests/__init__.py diff --git a/aries_cloudagent/core/in_memory/didcomm/tests/test_1pu.py b/acapy_agent/core/in_memory/didcomm/tests/test_1pu.py similarity index 100% rename from aries_cloudagent/core/in_memory/didcomm/tests/test_1pu.py rename to acapy_agent/core/in_memory/didcomm/tests/test_1pu.py diff --git a/aries_cloudagent/core/in_memory/didcomm/tests/test_ecdh.py b/acapy_agent/core/in_memory/didcomm/tests/test_ecdh.py similarity index 100% rename from aries_cloudagent/core/in_memory/didcomm/tests/test_ecdh.py rename to acapy_agent/core/in_memory/didcomm/tests/test_ecdh.py diff --git a/aries_cloudagent/core/in_memory/profile.py b/acapy_agent/core/in_memory/profile.py similarity index 96% rename from aries_cloudagent/core/in_memory/profile.py rename to acapy_agent/core/in_memory/profile.py index 1a9532102c..9f0fc0cd61 100644 --- a/aries_cloudagent/core/in_memory/profile.py +++ b/acapy_agent/core/in_memory/profile.py @@ -14,8 +14,8 @@ from ...wallet.base import BaseWallet from ..profile import Profile, ProfileManager, ProfileSession -STORAGE_CLASS = DeferLoad("aries_cloudagent.storage.in_memory.InMemoryStorage") -WALLET_CLASS = DeferLoad("aries_cloudagent.wallet.in_memory.InMemoryWallet") +STORAGE_CLASS = DeferLoad("acapy_agent.storage.in_memory.InMemoryStorage") +WALLET_CLASS = DeferLoad("acapy_agent.wallet.in_memory.InMemoryWallet") class InMemoryProfile(Profile): @@ -57,7 +57,7 @@ def bind_providers(self): injector.bind_provider( VCHolder, ClassProvider( - "aries_cloudagent.storage.vc_holder.in_memory.InMemoryVCHolder", + "acapy_agent.storage.vc_holder.in_memory.InMemoryVCHolder", ref(self), ), ) diff --git a/aries_cloudagent/core/in_memory/tests/__init__.py b/acapy_agent/core/in_memory/tests/__init__.py similarity index 100% rename from aries_cloudagent/core/in_memory/tests/__init__.py rename to acapy_agent/core/in_memory/tests/__init__.py diff --git a/aries_cloudagent/core/in_memory/tests/test_profile.py b/acapy_agent/core/in_memory/tests/test_profile.py similarity index 100% rename from aries_cloudagent/core/in_memory/tests/test_profile.py rename to acapy_agent/core/in_memory/tests/test_profile.py diff --git a/aries_cloudagent/core/oob_processor.py b/acapy_agent/core/oob_processor.py similarity index 100% rename from aries_cloudagent/core/oob_processor.py rename to acapy_agent/core/oob_processor.py diff --git a/aries_cloudagent/core/plugin_registry.py b/acapy_agent/core/plugin_registry.py similarity index 100% rename from aries_cloudagent/core/plugin_registry.py rename to acapy_agent/core/plugin_registry.py diff --git a/aries_cloudagent/core/profile.py b/acapy_agent/core/profile.py similarity index 97% rename from aries_cloudagent/core/profile.py rename to acapy_agent/core/profile.py index c861f594ac..5066ad9dcd 100644 --- a/aries_cloudagent/core/profile.py +++ b/acapy_agent/core/profile.py @@ -340,9 +340,9 @@ class ProfileManagerProvider(BaseProvider): """The standard profile manager provider which keys off the selected wallet type.""" MANAGER_TYPES = { - "askar": "aries_cloudagent.askar.profile.AskarProfileManager", - "askar-anoncreds": "aries_cloudagent.askar.profile_anon.AskarAnonProfileManager", - "in_memory": "aries_cloudagent.core.in_memory.InMemoryProfileManager", + "askar": "acapy_agent.askar.profile.AskarProfileManager", + "askar-anoncreds": "acapy_agent.askar.profile_anon.AskarAnonProfileManager", + "in_memory": "acapy_agent.core.in_memory.InMemoryProfileManager", } def __init__(self): diff --git a/aries_cloudagent/core/protocol_registry.py b/acapy_agent/core/protocol_registry.py similarity index 100% rename from aries_cloudagent/core/protocol_registry.py rename to acapy_agent/core/protocol_registry.py diff --git a/aries_cloudagent/core/tests/__init__.py b/acapy_agent/core/tests/__init__.py similarity index 100% rename from aries_cloudagent/core/tests/__init__.py rename to acapy_agent/core/tests/__init__.py diff --git a/aries_cloudagent/core/tests/test_conductor.py b/acapy_agent/core/tests/test_conductor.py similarity index 99% rename from aries_cloudagent/core/tests/test_conductor.py rename to acapy_agent/core/tests/test_conductor.py index 669c472a12..8046f327b4 100644 --- a/aries_cloudagent/core/tests/test_conductor.py +++ b/acapy_agent/core/tests/test_conductor.py @@ -1,7 +1,7 @@ from io import StringIO from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...admin.base_server import BaseAdminServer from ...config.base_context import ContextBuilder diff --git a/aries_cloudagent/core/tests/test_dispatcher.py b/acapy_agent/core/tests/test_dispatcher.py similarity index 99% rename from aries_cloudagent/core/tests/test_dispatcher.py rename to acapy_agent/core/tests/test_dispatcher.py index 5885b67a94..0ec4854221 100644 --- a/aries_cloudagent/core/tests/test_dispatcher.py +++ b/acapy_agent/core/tests/test_dispatcher.py @@ -5,7 +5,7 @@ import pytest from marshmallow import EXCLUDE -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...cache.base import BaseCache from ...cache.in_memory import InMemoryCache diff --git a/aries_cloudagent/core/tests/test_error.py b/acapy_agent/core/tests/test_error.py similarity index 100% rename from aries_cloudagent/core/tests/test_error.py rename to acapy_agent/core/tests/test_error.py diff --git a/aries_cloudagent/core/tests/test_event_bus.py b/acapy_agent/core/tests/test_event_bus.py similarity index 100% rename from aries_cloudagent/core/tests/test_event_bus.py rename to acapy_agent/core/tests/test_event_bus.py diff --git a/aries_cloudagent/core/tests/test_goal_code_registry.py b/acapy_agent/core/tests/test_goal_code_registry.py similarity index 100% rename from aries_cloudagent/core/tests/test_goal_code_registry.py rename to acapy_agent/core/tests/test_goal_code_registry.py diff --git a/aries_cloudagent/core/tests/test_oob_processor.py b/acapy_agent/core/tests/test_oob_processor.py similarity index 99% rename from aries_cloudagent/core/tests/test_oob_processor.py rename to acapy_agent/core/tests/test_oob_processor.py index ef22fb2616..548d7c979d 100644 --- a/aries_cloudagent/core/tests/test_oob_processor.py +++ b/acapy_agent/core/tests/test_oob_processor.py @@ -2,7 +2,7 @@ from unittest import IsolatedAsyncioTestCase from unittest.mock import ANY -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...connections.models.conn_record import ConnRecord from ...messaging.decorators.attach_decorator import AttachDecorator diff --git a/aries_cloudagent/core/tests/test_plugin_registry.py b/acapy_agent/core/tests/test_plugin_registry.py similarity index 99% rename from aries_cloudagent/core/tests/test_plugin_registry.py rename to acapy_agent/core/tests/test_plugin_registry.py index f348f64c52..b5727a4546 100644 --- a/aries_cloudagent/core/tests/test_plugin_registry.py +++ b/acapy_agent/core/tests/test_plugin_registry.py @@ -3,7 +3,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...config.injection_context import InjectionContext from ...utils.classloader import ClassLoader, ModuleLoadError diff --git a/aries_cloudagent/core/tests/test_profile.py b/acapy_agent/core/tests/test_profile.py similarity index 100% rename from aries_cloudagent/core/tests/test_profile.py rename to acapy_agent/core/tests/test_profile.py diff --git a/aries_cloudagent/core/tests/test_protocol_registry.py b/acapy_agent/core/tests/test_protocol_registry.py similarity index 98% rename from aries_cloudagent/core/tests/test_protocol_registry.py rename to acapy_agent/core/tests/test_protocol_registry.py index 738a3c9e6b..61c4a2c741 100644 --- a/aries_cloudagent/core/tests/test_protocol_registry.py +++ b/acapy_agent/core/tests/test_protocol_registry.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...config.injection_context import InjectionContext from ...utils.classloader import ClassLoader, DeferLoad @@ -41,7 +41,7 @@ def test_message_type_query(self): assert matches == () def test_registration_with_minor_version(self): - MSG_PATH = "aries_cloudagent.protocols.introduction.v0_1.messages" + MSG_PATH = "acapy_agent.protocols.introduction.v0_1.messages" test_typesets = { "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/introduction-service/1.0/fake-forward-invitation": f"{MSG_PATH}.forward_invitation.ForwardInvitation", "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/introduction-service/1.0/fake-invitation": f"{MSG_PATH}.invitation.Invitation", @@ -75,7 +75,7 @@ def test_registration_with_minor_version(self): ) def test_register_msg_types_for_multiple_minor_versions(self): - MSG_PATH = "aries_cloudagent.protocols.out_of_band.v1_0.messages" + MSG_PATH = "acapy_agent.protocols.out_of_band.v1_0.messages" test_typesets = { "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/out-of-band/1.1/invitation": f"{MSG_PATH}.invitation.Invitation", "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/out-of-band/1.1/handshake-reuse": f"{MSG_PATH}.reuse.HandshakeReuse", diff --git a/aries_cloudagent/core/util.py b/acapy_agent/core/util.py similarity index 100% rename from aries_cloudagent/core/util.py rename to acapy_agent/core/util.py diff --git a/aries_cloudagent/did/__init__.py b/acapy_agent/did/__init__.py similarity index 100% rename from aries_cloudagent/did/__init__.py rename to acapy_agent/did/__init__.py diff --git a/aries_cloudagent/did/did_key.py b/acapy_agent/did/did_key.py similarity index 100% rename from aries_cloudagent/did/did_key.py rename to acapy_agent/did/did_key.py diff --git a/aries_cloudagent/did/tests/__init__.py b/acapy_agent/did/tests/__init__.py similarity index 100% rename from aries_cloudagent/did/tests/__init__.py rename to acapy_agent/did/tests/__init__.py diff --git a/aries_cloudagent/did/tests/test_did_key_bls12381g1.py b/acapy_agent/did/tests/test_did_key_bls12381g1.py similarity index 100% rename from aries_cloudagent/did/tests/test_did_key_bls12381g1.py rename to acapy_agent/did/tests/test_did_key_bls12381g1.py diff --git a/aries_cloudagent/did/tests/test_did_key_bls12381g1g2.py b/acapy_agent/did/tests/test_did_key_bls12381g1g2.py similarity index 100% rename from aries_cloudagent/did/tests/test_did_key_bls12381g1g2.py rename to acapy_agent/did/tests/test_did_key_bls12381g1g2.py diff --git a/aries_cloudagent/did/tests/test_did_key_bls12381g2.py b/acapy_agent/did/tests/test_did_key_bls12381g2.py similarity index 100% rename from aries_cloudagent/did/tests/test_did_key_bls12381g2.py rename to acapy_agent/did/tests/test_did_key_bls12381g2.py diff --git a/aries_cloudagent/did/tests/test_did_key_ed25519.py b/acapy_agent/did/tests/test_did_key_ed25519.py similarity index 100% rename from aries_cloudagent/did/tests/test_did_key_ed25519.py rename to acapy_agent/did/tests/test_did_key_ed25519.py diff --git a/aries_cloudagent/did/tests/test_did_key_x25519.py b/acapy_agent/did/tests/test_did_key_x25519.py similarity index 100% rename from aries_cloudagent/did/tests/test_did_key_x25519.py rename to acapy_agent/did/tests/test_did_key_x25519.py diff --git a/aries_cloudagent/did/tests/test_dids.py b/acapy_agent/did/tests/test_dids.py similarity index 100% rename from aries_cloudagent/did/tests/test_dids.py rename to acapy_agent/did/tests/test_dids.py diff --git a/aries_cloudagent/didcomm_v2/__init__.py b/acapy_agent/didcomm_v2/__init__.py similarity index 100% rename from aries_cloudagent/didcomm_v2/__init__.py rename to acapy_agent/didcomm_v2/__init__.py diff --git a/aries_cloudagent/didcomm_v2/adapters.py b/acapy_agent/didcomm_v2/adapters.py similarity index 100% rename from aries_cloudagent/didcomm_v2/adapters.py rename to acapy_agent/didcomm_v2/adapters.py diff --git a/aries_cloudagent/didcomm_v2/tests/__init__.py b/acapy_agent/didcomm_v2/tests/__init__.py similarity index 100% rename from aries_cloudagent/didcomm_v2/tests/__init__.py rename to acapy_agent/didcomm_v2/tests/__init__.py diff --git a/aries_cloudagent/didcomm_v2/tests/test_adapters.py b/acapy_agent/didcomm_v2/tests/test_adapters.py similarity index 83% rename from aries_cloudagent/didcomm_v2/tests/test_adapters.py rename to acapy_agent/didcomm_v2/tests/test_adapters.py index b67c8212a0..df90fd4e4b 100644 --- a/aries_cloudagent/didcomm_v2/tests/test_adapters.py +++ b/acapy_agent/didcomm_v2/tests/test_adapters.py @@ -1,18 +1,18 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.askar.profile import AskarProfile, AskarProfileSession -from aries_cloudagent.config.injection_context import InjectionContext -from aries_cloudagent.core.event_bus import EventBus -from aries_cloudagent.core.in_memory.profile import InMemoryProfile -from aries_cloudagent.core.profile import Profile -from aries_cloudagent.core.protocol_registry import ProtocolRegistry -from aries_cloudagent.protocols.coordinate_mediation.v1_0.route_manager import ( +from acapy_agent.askar.profile import AskarProfile, AskarProfileSession +from acapy_agent.config.injection_context import InjectionContext +from acapy_agent.core.event_bus import EventBus +from acapy_agent.core.in_memory.profile import InMemoryProfile +from acapy_agent.core.profile import Profile +from acapy_agent.core.protocol_registry import ProtocolRegistry +from acapy_agent.protocols.coordinate_mediation.v1_0.route_manager import ( RouteManager, ) -from aries_cloudagent.resolver.base import BaseDIDResolver -from aries_cloudagent.resolver.did_resolver import DIDResolver -from aries_cloudagent.tests.mock import AsyncMock, MagicMock -from aries_cloudagent.utils.stats import Collector +from acapy_agent.resolver.base import BaseDIDResolver +from acapy_agent.resolver.did_resolver import DIDResolver +from acapy_agent.tests.mock import AsyncMock, MagicMock +from acapy_agent.utils.stats import Collector from ..adapters import ResolverAdapter, SecretsAdapter, SecretsAdapterError diff --git a/aries_cloudagent/holder/__init__.py b/acapy_agent/holder/__init__.py similarity index 100% rename from aries_cloudagent/holder/__init__.py rename to acapy_agent/holder/__init__.py diff --git a/aries_cloudagent/holder/routes.py b/acapy_agent/holder/routes.py similarity index 100% rename from aries_cloudagent/holder/routes.py rename to acapy_agent/holder/routes.py diff --git a/aries_cloudagent/holder/tests/__init__.py b/acapy_agent/holder/tests/__init__.py similarity index 100% rename from aries_cloudagent/holder/tests/__init__.py rename to acapy_agent/holder/tests/__init__.py diff --git a/aries_cloudagent/holder/tests/test_routes.py b/acapy_agent/holder/tests/test_routes.py similarity index 99% rename from aries_cloudagent/holder/tests/test_routes.py rename to acapy_agent/holder/tests/test_routes.py index 2a4834f877..3e09558300 100644 --- a/aries_cloudagent/holder/tests/test_routes.py +++ b/acapy_agent/holder/tests/test_routes.py @@ -3,7 +3,7 @@ from aries_askar import AskarErrorCode -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...admin.request_context import AdminRequestContext from ...anoncreds.holder import AnonCredsHolder, AnonCredsHolderError diff --git a/aries_cloudagent/indy/__init__.py b/acapy_agent/indy/__init__.py similarity index 100% rename from aries_cloudagent/indy/__init__.py rename to acapy_agent/indy/__init__.py diff --git a/aries_cloudagent/indy/credx/__init__.py b/acapy_agent/indy/credx/__init__.py similarity index 100% rename from aries_cloudagent/indy/credx/__init__.py rename to acapy_agent/indy/credx/__init__.py diff --git a/aries_cloudagent/indy/credx/holder.py b/acapy_agent/indy/credx/holder.py similarity index 100% rename from aries_cloudagent/indy/credx/holder.py rename to acapy_agent/indy/credx/holder.py diff --git a/aries_cloudagent/indy/credx/issuer.py b/acapy_agent/indy/credx/issuer.py similarity index 100% rename from aries_cloudagent/indy/credx/issuer.py rename to acapy_agent/indy/credx/issuer.py diff --git a/aries_cloudagent/indy/credx/tests/__init__.py b/acapy_agent/indy/credx/tests/__init__.py similarity index 100% rename from aries_cloudagent/indy/credx/tests/__init__.py rename to acapy_agent/indy/credx/tests/__init__.py diff --git a/aries_cloudagent/indy/credx/tests/test_cred_issuance.py b/acapy_agent/indy/credx/tests/test_cred_issuance.py similarity index 99% rename from aries_cloudagent/indy/credx/tests/test_cred_issuance.py rename to acapy_agent/indy/credx/tests/test_cred_issuance.py index 1eb2726dd6..272951b487 100644 --- a/aries_cloudagent/indy/credx/tests/test_cred_issuance.py +++ b/acapy_agent/indy/credx/tests/test_cred_issuance.py @@ -4,7 +4,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ....askar.profile import AskarProfileManager from ....config.injection_context import InjectionContext diff --git a/aries_cloudagent/indy/credx/verifier.py b/acapy_agent/indy/credx/verifier.py similarity index 100% rename from aries_cloudagent/indy/credx/verifier.py rename to acapy_agent/indy/credx/verifier.py diff --git a/aries_cloudagent/indy/holder.py b/acapy_agent/indy/holder.py similarity index 100% rename from aries_cloudagent/indy/holder.py rename to acapy_agent/indy/holder.py diff --git a/aries_cloudagent/indy/issuer.py b/acapy_agent/indy/issuer.py similarity index 100% rename from aries_cloudagent/indy/issuer.py rename to acapy_agent/indy/issuer.py diff --git a/aries_cloudagent/indy/models/__init__.py b/acapy_agent/indy/models/__init__.py similarity index 100% rename from aries_cloudagent/indy/models/__init__.py rename to acapy_agent/indy/models/__init__.py diff --git a/aries_cloudagent/indy/models/cred.py b/acapy_agent/indy/models/cred.py similarity index 100% rename from aries_cloudagent/indy/models/cred.py rename to acapy_agent/indy/models/cred.py diff --git a/aries_cloudagent/indy/models/cred_abstract.py b/acapy_agent/indy/models/cred_abstract.py similarity index 100% rename from aries_cloudagent/indy/models/cred_abstract.py rename to acapy_agent/indy/models/cred_abstract.py diff --git a/aries_cloudagent/indy/models/cred_def.py b/acapy_agent/indy/models/cred_def.py similarity index 100% rename from aries_cloudagent/indy/models/cred_def.py rename to acapy_agent/indy/models/cred_def.py diff --git a/aries_cloudagent/indy/models/cred_precis.py b/acapy_agent/indy/models/cred_precis.py similarity index 100% rename from aries_cloudagent/indy/models/cred_precis.py rename to acapy_agent/indy/models/cred_precis.py diff --git a/aries_cloudagent/indy/models/cred_request.py b/acapy_agent/indy/models/cred_request.py similarity index 100% rename from aries_cloudagent/indy/models/cred_request.py rename to acapy_agent/indy/models/cred_request.py diff --git a/aries_cloudagent/indy/models/non_rev_interval.py b/acapy_agent/indy/models/non_rev_interval.py similarity index 100% rename from aries_cloudagent/indy/models/non_rev_interval.py rename to acapy_agent/indy/models/non_rev_interval.py diff --git a/aries_cloudagent/indy/models/predicate.py b/acapy_agent/indy/models/predicate.py similarity index 100% rename from aries_cloudagent/indy/models/predicate.py rename to acapy_agent/indy/models/predicate.py diff --git a/aries_cloudagent/indy/models/pres_preview.py b/acapy_agent/indy/models/pres_preview.py similarity index 100% rename from aries_cloudagent/indy/models/pres_preview.py rename to acapy_agent/indy/models/pres_preview.py diff --git a/aries_cloudagent/indy/models/proof.py b/acapy_agent/indy/models/proof.py similarity index 100% rename from aries_cloudagent/indy/models/proof.py rename to acapy_agent/indy/models/proof.py diff --git a/aries_cloudagent/indy/models/proof_request.py b/acapy_agent/indy/models/proof_request.py similarity index 100% rename from aries_cloudagent/indy/models/proof_request.py rename to acapy_agent/indy/models/proof_request.py diff --git a/aries_cloudagent/indy/models/requested_creds.py b/acapy_agent/indy/models/requested_creds.py similarity index 100% rename from aries_cloudagent/indy/models/requested_creds.py rename to acapy_agent/indy/models/requested_creds.py diff --git a/aries_cloudagent/indy/models/revocation.py b/acapy_agent/indy/models/revocation.py similarity index 100% rename from aries_cloudagent/indy/models/revocation.py rename to acapy_agent/indy/models/revocation.py diff --git a/aries_cloudagent/indy/models/schema.py b/acapy_agent/indy/models/schema.py similarity index 100% rename from aries_cloudagent/indy/models/schema.py rename to acapy_agent/indy/models/schema.py diff --git a/aries_cloudagent/indy/models/tests/__init__.py b/acapy_agent/indy/models/tests/__init__.py similarity index 100% rename from aries_cloudagent/indy/models/tests/__init__.py rename to acapy_agent/indy/models/tests/__init__.py diff --git a/aries_cloudagent/indy/models/tests/test_cred.py b/acapy_agent/indy/models/tests/test_cred.py similarity index 100% rename from aries_cloudagent/indy/models/tests/test_cred.py rename to acapy_agent/indy/models/tests/test_cred.py diff --git a/aries_cloudagent/indy/models/tests/test_cred_precis.py b/acapy_agent/indy/models/tests/test_cred_precis.py similarity index 100% rename from aries_cloudagent/indy/models/tests/test_cred_precis.py rename to acapy_agent/indy/models/tests/test_cred_precis.py diff --git a/aries_cloudagent/indy/models/tests/test_non_rev_interval.py b/acapy_agent/indy/models/tests/test_non_rev_interval.py similarity index 100% rename from aries_cloudagent/indy/models/tests/test_non_rev_interval.py rename to acapy_agent/indy/models/tests/test_non_rev_interval.py diff --git a/aries_cloudagent/indy/models/tests/test_pred.py b/acapy_agent/indy/models/tests/test_pred.py similarity index 100% rename from aries_cloudagent/indy/models/tests/test_pred.py rename to acapy_agent/indy/models/tests/test_pred.py diff --git a/aries_cloudagent/indy/models/tests/test_pres_preview.py b/acapy_agent/indy/models/tests/test_pres_preview.py similarity index 99% rename from aries_cloudagent/indy/models/tests/test_pres_preview.py rename to acapy_agent/indy/models/tests/test_pres_preview.py index 76069229ba..deaa3bc204 100644 --- a/aries_cloudagent/indy/models/tests/test_pres_preview.py +++ b/acapy_agent/indy/models/tests/test_pres_preview.py @@ -5,7 +5,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ....core.in_memory import InMemoryProfile from ....ledger.multiple_ledger.ledger_requests_executor import ( diff --git a/aries_cloudagent/indy/models/tests/test_proof.py b/acapy_agent/indy/models/tests/test_proof.py similarity index 100% rename from aries_cloudagent/indy/models/tests/test_proof.py rename to acapy_agent/indy/models/tests/test_proof.py diff --git a/aries_cloudagent/indy/models/tests/test_proof_request.py b/acapy_agent/indy/models/tests/test_proof_request.py similarity index 100% rename from aries_cloudagent/indy/models/tests/test_proof_request.py rename to acapy_agent/indy/models/tests/test_proof_request.py diff --git a/aries_cloudagent/indy/models/xform.py b/acapy_agent/indy/models/xform.py similarity index 100% rename from aries_cloudagent/indy/models/xform.py rename to acapy_agent/indy/models/xform.py diff --git a/aries_cloudagent/indy/tests/__init__.py b/acapy_agent/indy/tests/__init__.py similarity index 100% rename from aries_cloudagent/indy/tests/__init__.py rename to acapy_agent/indy/tests/__init__.py diff --git a/aries_cloudagent/indy/tests/test_verifier.py b/acapy_agent/indy/tests/test_verifier.py similarity index 99% rename from aries_cloudagent/indy/tests/test_verifier.py rename to acapy_agent/indy/tests/test_verifier.py index 81c92f7cca..599041ac23 100644 --- a/aries_cloudagent/indy/tests/test_verifier.py +++ b/acapy_agent/indy/tests/test_verifier.py @@ -2,7 +2,7 @@ from time import time from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...core.in_memory import InMemoryProfile from ...ledger.multiple_ledger.ledger_requests_executor import ( diff --git a/aries_cloudagent/indy/util.py b/acapy_agent/indy/util.py similarity index 100% rename from aries_cloudagent/indy/util.py rename to acapy_agent/indy/util.py diff --git a/aries_cloudagent/indy/verifier.py b/acapy_agent/indy/verifier.py similarity index 100% rename from aries_cloudagent/indy/verifier.py rename to acapy_agent/indy/verifier.py diff --git a/aries_cloudagent/ledger/__init__.py b/acapy_agent/ledger/__init__.py similarity index 100% rename from aries_cloudagent/ledger/__init__.py rename to acapy_agent/ledger/__init__.py diff --git a/aries_cloudagent/ledger/base.py b/acapy_agent/ledger/base.py similarity index 99% rename from aries_cloudagent/ledger/base.py rename to acapy_agent/ledger/base.py index caaff97192..ffafe3bb31 100644 --- a/aries_cloudagent/ledger/base.py +++ b/acapy_agent/ledger/base.py @@ -627,7 +627,7 @@ async def send_schema_anoncreds( LedgerObjectAlreadyExistsError: If the schema already exists on the ledger. """ - from aries_cloudagent.anoncreds.default.legacy_indy.registry import ( + from acapy_agent.anoncreds.default.legacy_indy.registry import ( LegacyIndyRegistry, ) diff --git a/aries_cloudagent/ledger/endpoint_type.py b/acapy_agent/ledger/endpoint_type.py similarity index 100% rename from aries_cloudagent/ledger/endpoint_type.py rename to acapy_agent/ledger/endpoint_type.py diff --git a/aries_cloudagent/ledger/error.py b/acapy_agent/ledger/error.py similarity index 100% rename from aries_cloudagent/ledger/error.py rename to acapy_agent/ledger/error.py diff --git a/aries_cloudagent/ledger/indy_vdr.py b/acapy_agent/ledger/indy_vdr.py similarity index 99% rename from aries_cloudagent/ledger/indy_vdr.py rename to acapy_agent/ledger/indy_vdr.py index 81bc44e892..d26734ec6f 100644 --- a/aries_cloudagent/ledger/indy_vdr.py +++ b/acapy_agent/ledger/indy_vdr.py @@ -1146,7 +1146,7 @@ async def send_revoc_reg_def( ) if self.profile.context.settings.get("wallet.type") == "askar-anoncreds": - from aries_cloudagent.anoncreds.default.legacy_indy.registry import ( + from acapy_agent.anoncreds.default.legacy_indy.registry import ( LegacyIndyRegistry, ) @@ -1225,7 +1225,7 @@ async def send_revoc_reg_entry( ) if self.profile.context.settings.get("wallet.type") == "askar-anoncreds": - from aries_cloudagent.anoncreds.default.legacy_indy.registry import ( + from acapy_agent.anoncreds.default.legacy_indy.registry import ( LegacyIndyRegistry, ) diff --git a/aries_cloudagent/ledger/merkel_validation/__init__.py b/acapy_agent/ledger/merkel_validation/__init__.py similarity index 100% rename from aries_cloudagent/ledger/merkel_validation/__init__.py rename to acapy_agent/ledger/merkel_validation/__init__.py diff --git a/aries_cloudagent/ledger/merkel_validation/constants.py b/acapy_agent/ledger/merkel_validation/constants.py similarity index 100% rename from aries_cloudagent/ledger/merkel_validation/constants.py rename to acapy_agent/ledger/merkel_validation/constants.py diff --git a/aries_cloudagent/ledger/merkel_validation/domain_txn_handler.py b/acapy_agent/ledger/merkel_validation/domain_txn_handler.py similarity index 100% rename from aries_cloudagent/ledger/merkel_validation/domain_txn_handler.py rename to acapy_agent/ledger/merkel_validation/domain_txn_handler.py diff --git a/aries_cloudagent/ledger/merkel_validation/hasher.py b/acapy_agent/ledger/merkel_validation/hasher.py similarity index 100% rename from aries_cloudagent/ledger/merkel_validation/hasher.py rename to acapy_agent/ledger/merkel_validation/hasher.py diff --git a/aries_cloudagent/ledger/merkel_validation/merkel_verifier.py b/acapy_agent/ledger/merkel_validation/merkel_verifier.py similarity index 100% rename from aries_cloudagent/ledger/merkel_validation/merkel_verifier.py rename to acapy_agent/ledger/merkel_validation/merkel_verifier.py diff --git a/aries_cloudagent/ledger/merkel_validation/tests/__init__.py b/acapy_agent/ledger/merkel_validation/tests/__init__.py similarity index 100% rename from aries_cloudagent/ledger/merkel_validation/tests/__init__.py rename to acapy_agent/ledger/merkel_validation/tests/__init__.py diff --git a/aries_cloudagent/ledger/merkel_validation/tests/test_data.py b/acapy_agent/ledger/merkel_validation/tests/test_data.py similarity index 100% rename from aries_cloudagent/ledger/merkel_validation/tests/test_data.py rename to acapy_agent/ledger/merkel_validation/tests/test_data.py diff --git a/aries_cloudagent/ledger/merkel_validation/tests/test_domain_txn_handler.py b/acapy_agent/ledger/merkel_validation/tests/test_domain_txn_handler.py similarity index 100% rename from aries_cloudagent/ledger/merkel_validation/tests/test_domain_txn_handler.py rename to acapy_agent/ledger/merkel_validation/tests/test_domain_txn_handler.py diff --git a/aries_cloudagent/ledger/merkel_validation/tests/test_trie.py b/acapy_agent/ledger/merkel_validation/tests/test_trie.py similarity index 100% rename from aries_cloudagent/ledger/merkel_validation/tests/test_trie.py rename to acapy_agent/ledger/merkel_validation/tests/test_trie.py diff --git a/aries_cloudagent/ledger/merkel_validation/tests/test_utils.py b/acapy_agent/ledger/merkel_validation/tests/test_utils.py similarity index 100% rename from aries_cloudagent/ledger/merkel_validation/tests/test_utils.py rename to acapy_agent/ledger/merkel_validation/tests/test_utils.py diff --git a/aries_cloudagent/ledger/merkel_validation/trie.py b/acapy_agent/ledger/merkel_validation/trie.py similarity index 100% rename from aries_cloudagent/ledger/merkel_validation/trie.py rename to acapy_agent/ledger/merkel_validation/trie.py diff --git a/aries_cloudagent/ledger/merkel_validation/utils.py b/acapy_agent/ledger/merkel_validation/utils.py similarity index 100% rename from aries_cloudagent/ledger/merkel_validation/utils.py rename to acapy_agent/ledger/merkel_validation/utils.py diff --git a/aries_cloudagent/ledger/multiple_ledger/__init__.py b/acapy_agent/ledger/multiple_ledger/__init__.py similarity index 100% rename from aries_cloudagent/ledger/multiple_ledger/__init__.py rename to acapy_agent/ledger/multiple_ledger/__init__.py diff --git a/aries_cloudagent/ledger/multiple_ledger/base_manager.py b/acapy_agent/ledger/multiple_ledger/base_manager.py similarity index 100% rename from aries_cloudagent/ledger/multiple_ledger/base_manager.py rename to acapy_agent/ledger/multiple_ledger/base_manager.py diff --git a/aries_cloudagent/ledger/multiple_ledger/indy_vdr_manager.py b/acapy_agent/ledger/multiple_ledger/indy_vdr_manager.py similarity index 100% rename from aries_cloudagent/ledger/multiple_ledger/indy_vdr_manager.py rename to acapy_agent/ledger/multiple_ledger/indy_vdr_manager.py diff --git a/aries_cloudagent/ledger/multiple_ledger/ledger_config_schema.py b/acapy_agent/ledger/multiple_ledger/ledger_config_schema.py similarity index 100% rename from aries_cloudagent/ledger/multiple_ledger/ledger_config_schema.py rename to acapy_agent/ledger/multiple_ledger/ledger_config_schema.py diff --git a/aries_cloudagent/ledger/multiple_ledger/ledger_requests_executor.py b/acapy_agent/ledger/multiple_ledger/ledger_requests_executor.py similarity index 100% rename from aries_cloudagent/ledger/multiple_ledger/ledger_requests_executor.py rename to acapy_agent/ledger/multiple_ledger/ledger_requests_executor.py diff --git a/aries_cloudagent/ledger/multiple_ledger/manager_provider.py b/acapy_agent/ledger/multiple_ledger/manager_provider.py similarity index 95% rename from aries_cloudagent/ledger/multiple_ledger/manager_provider.py rename to acapy_agent/ledger/multiple_ledger/manager_provider.py index dcb9b67bc2..bfb13de923 100644 --- a/aries_cloudagent/ledger/multiple_ledger/manager_provider.py +++ b/acapy_agent/ledger/multiple_ledger/manager_provider.py @@ -20,15 +20,15 @@ class MultiIndyLedgerManagerProvider(BaseProvider): MANAGER_TYPES = { "askar-profile": ( DeferLoad( - "aries_cloudagent.ledger.multiple_ledger." + "acapy_agent.ledger.multiple_ledger." "indy_vdr_manager.MultiIndyVDRLedgerManager" ) ), } LEDGER_TYPES = { "askar-profile": { - "pool": DeferLoad("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool"), - "ledger": DeferLoad("aries_cloudagent.ledger.indy_vdr.IndyVdrLedger"), + "pool": DeferLoad("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool"), + "ledger": DeferLoad("acapy_agent.ledger.indy_vdr.IndyVdrLedger"), }, } diff --git a/aries_cloudagent/ledger/multiple_ledger/tests/__init__.py b/acapy_agent/ledger/multiple_ledger/tests/__init__.py similarity index 100% rename from aries_cloudagent/ledger/multiple_ledger/tests/__init__.py rename to acapy_agent/ledger/multiple_ledger/tests/__init__.py diff --git a/aries_cloudagent/ledger/multiple_ledger/tests/test_indy_ledger_requests.py b/acapy_agent/ledger/multiple_ledger/tests/test_indy_ledger_requests.py similarity index 99% rename from aries_cloudagent/ledger/multiple_ledger/tests/test_indy_ledger_requests.py rename to acapy_agent/ledger/multiple_ledger/tests/test_indy_ledger_requests.py index 48bff6f494..4d38cd9035 100644 --- a/aries_cloudagent/ledger/multiple_ledger/tests/test_indy_ledger_requests.py +++ b/acapy_agent/ledger/multiple_ledger/tests/test_indy_ledger_requests.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ....core.in_memory import InMemoryProfile from ...base import BaseLedger diff --git a/aries_cloudagent/ledger/multiple_ledger/tests/test_indy_vdr_manager.py b/acapy_agent/ledger/multiple_ledger/tests/test_indy_vdr_manager.py similarity index 88% rename from aries_cloudagent/ledger/multiple_ledger/tests/test_indy_vdr_manager.py rename to acapy_agent/ledger/multiple_ledger/tests/test_indy_vdr_manager.py index 10ae154d9a..c23a2ff1c0 100644 --- a/aries_cloudagent/ledger/multiple_ledger/tests/test_indy_vdr_manager.py +++ b/acapy_agent/ledger/multiple_ledger/tests/test_indy_vdr_manager.py @@ -6,7 +6,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ....cache.base import BaseCache from ....cache.in_memory import InMemoryCache @@ -163,10 +163,10 @@ async def test_get_ledger_inst_by_id(self): ledger_inst = await self.manager.get_ledger_inst_by_id("test_invalid") assert not ledger_inst - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") @mock.patch("indy_vdr.ledger.build_get_nym_request") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedger._submit") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedger._submit") async def test_get_ledger_by_did_self_cert_a( self, mock_submit, mock_build_get_nym_req, mock_close, mock_open ): @@ -187,10 +187,10 @@ async def test_get_ledger_by_did_self_cert_a( assert ledger_inst.pool.name == "test_prod_1" assert is_self_certified - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") @mock.patch("indy_vdr.ledger.build_get_nym_request") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedger._submit") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedger._submit") async def test_get_ledger_by_did_self_cert_b( self, mock_submit, mock_build_get_nym_req, mock_close, mock_open ): @@ -222,10 +222,10 @@ async def test_get_ledger_by_did_self_cert_b( assert ledger_inst.pool.name == "test_non_prod_1" assert is_self_certified - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") @mock.patch("indy_vdr.ledger.build_get_nym_request") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedger._submit") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedger._submit") async def test_get_ledger_by_did_not_self_cert( self, mock_submit, mock_build_get_nym_req, mock_close, mock_open ): @@ -260,10 +260,10 @@ async def test_get_ledger_by_did_not_self_cert( assert ledger_inst.pool.name == "test_prod_1" assert not is_self_certified - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") @mock.patch("indy_vdr.ledger.build_get_nym_request") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedger._submit") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedger._submit") async def test_get_ledger_by_did_state_proof_not_valid( self, mock_submit, mock_build_get_nym_req, mock_close, mock_open ): @@ -279,10 +279,10 @@ async def test_get_ledger_by_did_state_proof_not_valid( "test_prod_1", "Av63wJYM7xYR4AiygYq4c3" ) - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") @mock.patch("indy_vdr.ledger.build_get_nym_request") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedger._submit") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedger._submit") async def test_get_ledger_by_did_no_data( self, mock_submit, mock_build_get_nym_req, mock_close, mock_open ): @@ -298,10 +298,10 @@ async def test_get_ledger_by_did_no_data( "test_prod_1", "Av63wJYM7xYR4AiygYq4c3" ) - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") @mock.patch("indy_vdr.ledger.build_get_nym_request") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedger._submit") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedger._submit") async def test_get_ledger_by_did_timeout( self, mock_submit, mock_build_get_nym_req, mock_close, mock_open ): @@ -311,10 +311,10 @@ async def test_get_ledger_by_did_timeout( "test_prod_1", "Av63wJYM7xYR4AiygYq4c3" ) - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") @mock.patch("indy_vdr.ledger.build_get_nym_request") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedger._submit") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedger._submit") async def test_get_ledger_by_did_ledger_error( self, mock_submit, mock_build_get_nym_req, mock_close, mock_open ): @@ -324,10 +324,10 @@ async def test_get_ledger_by_did_ledger_error( "test_prod_1", "Av63wJYM7xYR4AiygYq4c3" ) - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") @mock.patch("indy_vdr.ledger.build_get_nym_request") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedger._submit") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedger._submit") async def test_lookup_did_in_configured_ledgers_self_cert_prod( self, mock_submit, mock_build_get_nym_req, mock_close, mock_open ): @@ -346,10 +346,10 @@ async def test_lookup_did_in_configured_ledgers_self_cert_prod( assert ledger_id == "test_prod_1" assert ledger_inst.pool.name == "test_prod_1" - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") @mock.patch("indy_vdr.ledger.build_get_nym_request") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedger._submit") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedger._submit") async def test_get_ledger_by_did_not_self_cert_not_self_cert_prod( self, mock_submit, mock_build_get_nym_req, mock_close, mock_open ): @@ -373,10 +373,10 @@ async def test_get_ledger_by_did_not_self_cert_not_self_cert_prod( assert ledger_id == "test_prod_1" assert ledger_inst.pool.name == "test_prod_1" - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") @mock.patch("indy_vdr.ledger.build_get_nym_request") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedger._submit") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedger._submit") async def test_lookup_did_in_configured_ledgers_self_cert_non_prod( self, mock_submit, mock_build_get_nym_req, mock_close, mock_open ): @@ -406,10 +406,10 @@ async def test_lookup_did_in_configured_ledgers_self_cert_non_prod( assert ledger_id == "test_non_prod_1" assert ledger_inst.pool.name == "test_non_prod_1" - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") @mock.patch("indy_vdr.ledger.build_get_nym_request") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedger._submit") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedger._submit") async def test_get_ledger_by_did_not_self_cert_non_prod( self, mock_submit, mock_build_get_nym_req, mock_close, mock_open ): @@ -444,10 +444,10 @@ async def test_get_ledger_by_did_not_self_cert_non_prod( assert ledger_id == "test_non_prod_1" assert ledger_inst.pool.name == "test_non_prod_1" - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") @mock.patch("indy_vdr.ledger.build_get_nym_request") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedger._submit") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedger._submit") async def test_lookup_did_in_configured_ledgers_x( self, mock_submit, mock_build_get_nym_req, mock_close, mock_open ): @@ -466,10 +466,10 @@ async def test_lookup_did_in_configured_ledgers_x( ) assert "not found in any of the ledgers total: (production: " in cm - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_open") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedgerPool.context_close") @mock.patch("indy_vdr.ledger.build_get_nym_request") - @mock.patch("aries_cloudagent.ledger.indy_vdr.IndyVdrLedger._submit") + @mock.patch("acapy_agent.ledger.indy_vdr.IndyVdrLedger._submit") async def test_lookup_did_in_configured_ledgers_prod_not_cached( self, mock_submit, mock_build_get_nym_req, mock_close, mock_open ): diff --git a/aries_cloudagent/ledger/multiple_ledger/tests/test_manager_provider.py b/acapy_agent/ledger/multiple_ledger/tests/test_manager_provider.py similarity index 100% rename from aries_cloudagent/ledger/multiple_ledger/tests/test_manager_provider.py rename to acapy_agent/ledger/multiple_ledger/tests/test_manager_provider.py diff --git a/aries_cloudagent/ledger/routes.py b/acapy_agent/ledger/routes.py similarity index 100% rename from aries_cloudagent/ledger/routes.py rename to acapy_agent/ledger/routes.py diff --git a/aries_cloudagent/ledger/tests/__init__.py b/acapy_agent/ledger/tests/__init__.py similarity index 100% rename from aries_cloudagent/ledger/tests/__init__.py rename to acapy_agent/ledger/tests/__init__.py diff --git a/aries_cloudagent/ledger/tests/test_endpoint_type.py b/acapy_agent/ledger/tests/test_endpoint_type.py similarity index 100% rename from aries_cloudagent/ledger/tests/test_endpoint_type.py rename to acapy_agent/ledger/tests/test_endpoint_type.py diff --git a/aries_cloudagent/ledger/tests/test_indy_vdr.py b/acapy_agent/ledger/tests/test_indy_vdr.py similarity index 99% rename from aries_cloudagent/ledger/tests/test_indy_vdr.py rename to acapy_agent/ledger/tests/test_indy_vdr.py index 5e0ec2cfae..53def8fa51 100644 --- a/aries_cloudagent/ledger/tests/test_indy_vdr.py +++ b/acapy_agent/ledger/tests/test_indy_vdr.py @@ -3,9 +3,9 @@ import indy_vdr import pytest -from aries_cloudagent.cache.base import BaseCache -from aries_cloudagent.cache.in_memory import InMemoryCache -from aries_cloudagent.tests import mock +from acapy_agent.cache.base import BaseCache +from acapy_agent.cache.in_memory import InMemoryCache +from acapy_agent.tests import mock from ...anoncreds.default.legacy_indy.registry import LegacyIndyRegistry from ...core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/ledger/tests/test_role.py b/acapy_agent/ledger/tests/test_role.py similarity index 100% rename from aries_cloudagent/ledger/tests/test_role.py rename to acapy_agent/ledger/tests/test_role.py diff --git a/aries_cloudagent/ledger/tests/test_routes.py b/acapy_agent/ledger/tests/test_routes.py similarity index 99% rename from aries_cloudagent/ledger/tests/test_routes.py rename to acapy_agent/ledger/tests/test_routes.py index e840e7cfa5..32b0a871a7 100644 --- a/aries_cloudagent/ledger/tests/test_routes.py +++ b/acapy_agent/ledger/tests/test_routes.py @@ -1,7 +1,7 @@ from typing import Optional, Tuple from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...connections.models.conn_record import ConnRecord from ...core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/ledger/util.py b/acapy_agent/ledger/util.py similarity index 100% rename from aries_cloudagent/ledger/util.py rename to acapy_agent/ledger/util.py diff --git a/aries_cloudagent/messaging/__init__.py b/acapy_agent/messaging/__init__.py similarity index 100% rename from aries_cloudagent/messaging/__init__.py rename to acapy_agent/messaging/__init__.py diff --git a/aries_cloudagent/messaging/agent_message.py b/acapy_agent/messaging/agent_message.py similarity index 100% rename from aries_cloudagent/messaging/agent_message.py rename to acapy_agent/messaging/agent_message.py diff --git a/aries_cloudagent/messaging/base_handler.py b/acapy_agent/messaging/base_handler.py similarity index 100% rename from aries_cloudagent/messaging/base_handler.py rename to acapy_agent/messaging/base_handler.py diff --git a/aries_cloudagent/messaging/base_message.py b/acapy_agent/messaging/base_message.py similarity index 100% rename from aries_cloudagent/messaging/base_message.py rename to acapy_agent/messaging/base_message.py diff --git a/aries_cloudagent/messaging/credential_definitions/__init__.py b/acapy_agent/messaging/credential_definitions/__init__.py similarity index 100% rename from aries_cloudagent/messaging/credential_definitions/__init__.py rename to acapy_agent/messaging/credential_definitions/__init__.py diff --git a/aries_cloudagent/messaging/credential_definitions/routes.py b/acapy_agent/messaging/credential_definitions/routes.py similarity index 100% rename from aries_cloudagent/messaging/credential_definitions/routes.py rename to acapy_agent/messaging/credential_definitions/routes.py diff --git a/aries_cloudagent/messaging/credential_definitions/tests/__init__.py b/acapy_agent/messaging/credential_definitions/tests/__init__.py similarity index 100% rename from aries_cloudagent/messaging/credential_definitions/tests/__init__.py rename to acapy_agent/messaging/credential_definitions/tests/__init__.py diff --git a/aries_cloudagent/messaging/credential_definitions/tests/test_routes.py b/acapy_agent/messaging/credential_definitions/tests/test_routes.py similarity index 99% rename from aries_cloudagent/messaging/credential_definitions/tests/test_routes.py rename to acapy_agent/messaging/credential_definitions/tests/test_routes.py index 666dbec138..1072279f32 100644 --- a/aries_cloudagent/messaging/credential_definitions/tests/test_routes.py +++ b/acapy_agent/messaging/credential_definitions/tests/test_routes.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ....admin.request_context import AdminRequestContext from ....askar.profile_anon import AskarAnoncredsProfile diff --git a/aries_cloudagent/messaging/credential_definitions/util.py b/acapy_agent/messaging/credential_definitions/util.py similarity index 100% rename from aries_cloudagent/messaging/credential_definitions/util.py rename to acapy_agent/messaging/credential_definitions/util.py diff --git a/aries_cloudagent/messaging/decorators/__init__.py b/acapy_agent/messaging/decorators/__init__.py similarity index 100% rename from aries_cloudagent/messaging/decorators/__init__.py rename to acapy_agent/messaging/decorators/__init__.py diff --git a/aries_cloudagent/messaging/decorators/attach_decorator.py b/acapy_agent/messaging/decorators/attach_decorator.py similarity index 100% rename from aries_cloudagent/messaging/decorators/attach_decorator.py rename to acapy_agent/messaging/decorators/attach_decorator.py diff --git a/aries_cloudagent/messaging/decorators/base.py b/acapy_agent/messaging/decorators/base.py similarity index 100% rename from aries_cloudagent/messaging/decorators/base.py rename to acapy_agent/messaging/decorators/base.py diff --git a/aries_cloudagent/messaging/decorators/default.py b/acapy_agent/messaging/decorators/default.py similarity index 100% rename from aries_cloudagent/messaging/decorators/default.py rename to acapy_agent/messaging/decorators/default.py diff --git a/aries_cloudagent/messaging/decorators/localization_decorator.py b/acapy_agent/messaging/decorators/localization_decorator.py similarity index 100% rename from aries_cloudagent/messaging/decorators/localization_decorator.py rename to acapy_agent/messaging/decorators/localization_decorator.py diff --git a/aries_cloudagent/messaging/decorators/please_ack_decorator.py b/acapy_agent/messaging/decorators/please_ack_decorator.py similarity index 100% rename from aries_cloudagent/messaging/decorators/please_ack_decorator.py rename to acapy_agent/messaging/decorators/please_ack_decorator.py diff --git a/aries_cloudagent/messaging/decorators/service_decorator.py b/acapy_agent/messaging/decorators/service_decorator.py similarity index 100% rename from aries_cloudagent/messaging/decorators/service_decorator.py rename to acapy_agent/messaging/decorators/service_decorator.py diff --git a/aries_cloudagent/messaging/decorators/signature_decorator.py b/acapy_agent/messaging/decorators/signature_decorator.py similarity index 100% rename from aries_cloudagent/messaging/decorators/signature_decorator.py rename to acapy_agent/messaging/decorators/signature_decorator.py diff --git a/aries_cloudagent/messaging/decorators/tests/__init__.py b/acapy_agent/messaging/decorators/tests/__init__.py similarity index 100% rename from aries_cloudagent/messaging/decorators/tests/__init__.py rename to acapy_agent/messaging/decorators/tests/__init__.py diff --git a/aries_cloudagent/messaging/decorators/tests/test_attach_decorator.py b/acapy_agent/messaging/decorators/tests/test_attach_decorator.py similarity index 99% rename from aries_cloudagent/messaging/decorators/tests/test_attach_decorator.py rename to acapy_agent/messaging/decorators/tests/test_attach_decorator.py index bf513e08b1..ad07b4c763 100644 --- a/aries_cloudagent/messaging/decorators/tests/test_attach_decorator.py +++ b/acapy_agent/messaging/decorators/tests/test_attach_decorator.py @@ -6,7 +6,7 @@ import pytest from uuid_utils import uuid4 -from aries_cloudagent.wallet.base import BaseWallet +from acapy_agent.wallet.base import BaseWallet from ....core.in_memory import InMemoryProfile from ....messaging.models.base import BaseModelError diff --git a/aries_cloudagent/messaging/decorators/tests/test_base.py b/acapy_agent/messaging/decorators/tests/test_base.py similarity index 100% rename from aries_cloudagent/messaging/decorators/tests/test_base.py rename to acapy_agent/messaging/decorators/tests/test_base.py diff --git a/aries_cloudagent/messaging/decorators/tests/test_decorator_set.py b/acapy_agent/messaging/decorators/tests/test_decorator_set.py similarity index 100% rename from aries_cloudagent/messaging/decorators/tests/test_decorator_set.py rename to acapy_agent/messaging/decorators/tests/test_decorator_set.py diff --git a/aries_cloudagent/messaging/decorators/tests/test_localization_decorator.py b/acapy_agent/messaging/decorators/tests/test_localization_decorator.py similarity index 100% rename from aries_cloudagent/messaging/decorators/tests/test_localization_decorator.py rename to acapy_agent/messaging/decorators/tests/test_localization_decorator.py diff --git a/aries_cloudagent/messaging/decorators/tests/test_please_ack_decorator.py b/acapy_agent/messaging/decorators/tests/test_please_ack_decorator.py similarity index 100% rename from aries_cloudagent/messaging/decorators/tests/test_please_ack_decorator.py rename to acapy_agent/messaging/decorators/tests/test_please_ack_decorator.py diff --git a/aries_cloudagent/messaging/decorators/tests/test_signature_decorator.py b/acapy_agent/messaging/decorators/tests/test_signature_decorator.py similarity index 100% rename from aries_cloudagent/messaging/decorators/tests/test_signature_decorator.py rename to acapy_agent/messaging/decorators/tests/test_signature_decorator.py diff --git a/aries_cloudagent/messaging/decorators/tests/test_thread_decorator.py b/acapy_agent/messaging/decorators/tests/test_thread_decorator.py similarity index 100% rename from aries_cloudagent/messaging/decorators/tests/test_thread_decorator.py rename to acapy_agent/messaging/decorators/tests/test_thread_decorator.py diff --git a/aries_cloudagent/messaging/decorators/tests/test_timing_decorator.py b/acapy_agent/messaging/decorators/tests/test_timing_decorator.py similarity index 100% rename from aries_cloudagent/messaging/decorators/tests/test_timing_decorator.py rename to acapy_agent/messaging/decorators/tests/test_timing_decorator.py diff --git a/aries_cloudagent/messaging/decorators/tests/test_trace_decorator.py b/acapy_agent/messaging/decorators/tests/test_trace_decorator.py similarity index 100% rename from aries_cloudagent/messaging/decorators/tests/test_trace_decorator.py rename to acapy_agent/messaging/decorators/tests/test_trace_decorator.py diff --git a/aries_cloudagent/messaging/decorators/tests/test_transport_decorator.py b/acapy_agent/messaging/decorators/tests/test_transport_decorator.py similarity index 100% rename from aries_cloudagent/messaging/decorators/tests/test_transport_decorator.py rename to acapy_agent/messaging/decorators/tests/test_transport_decorator.py diff --git a/aries_cloudagent/messaging/decorators/thread_decorator.py b/acapy_agent/messaging/decorators/thread_decorator.py similarity index 100% rename from aries_cloudagent/messaging/decorators/thread_decorator.py rename to acapy_agent/messaging/decorators/thread_decorator.py diff --git a/aries_cloudagent/messaging/decorators/timing_decorator.py b/acapy_agent/messaging/decorators/timing_decorator.py similarity index 100% rename from aries_cloudagent/messaging/decorators/timing_decorator.py rename to acapy_agent/messaging/decorators/timing_decorator.py diff --git a/aries_cloudagent/messaging/decorators/trace_decorator.py b/acapy_agent/messaging/decorators/trace_decorator.py similarity index 100% rename from aries_cloudagent/messaging/decorators/trace_decorator.py rename to acapy_agent/messaging/decorators/trace_decorator.py diff --git a/aries_cloudagent/messaging/decorators/transport_decorator.py b/acapy_agent/messaging/decorators/transport_decorator.py similarity index 100% rename from aries_cloudagent/messaging/decorators/transport_decorator.py rename to acapy_agent/messaging/decorators/transport_decorator.py diff --git a/aries_cloudagent/messaging/error.py b/acapy_agent/messaging/error.py similarity index 100% rename from aries_cloudagent/messaging/error.py rename to acapy_agent/messaging/error.py diff --git a/aries_cloudagent/messaging/jsonld/__init__.py b/acapy_agent/messaging/jsonld/__init__.py similarity index 100% rename from aries_cloudagent/messaging/jsonld/__init__.py rename to acapy_agent/messaging/jsonld/__init__.py diff --git a/aries_cloudagent/messaging/jsonld/create_verify_data.py b/acapy_agent/messaging/jsonld/create_verify_data.py similarity index 100% rename from aries_cloudagent/messaging/jsonld/create_verify_data.py rename to acapy_agent/messaging/jsonld/create_verify_data.py diff --git a/aries_cloudagent/messaging/jsonld/credential.py b/acapy_agent/messaging/jsonld/credential.py similarity index 100% rename from aries_cloudagent/messaging/jsonld/credential.py rename to acapy_agent/messaging/jsonld/credential.py diff --git a/aries_cloudagent/messaging/jsonld/error.py b/acapy_agent/messaging/jsonld/error.py similarity index 100% rename from aries_cloudagent/messaging/jsonld/error.py rename to acapy_agent/messaging/jsonld/error.py diff --git a/aries_cloudagent/messaging/jsonld/routes.py b/acapy_agent/messaging/jsonld/routes.py similarity index 100% rename from aries_cloudagent/messaging/jsonld/routes.py rename to acapy_agent/messaging/jsonld/routes.py diff --git a/aries_cloudagent/messaging/jsonld/tests/__init__.py b/acapy_agent/messaging/jsonld/tests/__init__.py similarity index 100% rename from aries_cloudagent/messaging/jsonld/tests/__init__.py rename to acapy_agent/messaging/jsonld/tests/__init__.py diff --git a/aries_cloudagent/messaging/jsonld/tests/document_loader.py b/acapy_agent/messaging/jsonld/tests/document_loader.py similarity index 100% rename from aries_cloudagent/messaging/jsonld/tests/document_loader.py rename to acapy_agent/messaging/jsonld/tests/document_loader.py diff --git a/aries_cloudagent/messaging/jsonld/tests/test_credential.py b/acapy_agent/messaging/jsonld/tests/test_credential.py similarity index 100% rename from aries_cloudagent/messaging/jsonld/tests/test_credential.py rename to acapy_agent/messaging/jsonld/tests/test_credential.py diff --git a/aries_cloudagent/messaging/jsonld/tests/test_routes.py b/acapy_agent/messaging/jsonld/tests/test_routes.py similarity index 99% rename from aries_cloudagent/messaging/jsonld/tests/test_routes.py rename to acapy_agent/messaging/jsonld/tests/test_routes.py index f33159fa48..c30030714b 100644 --- a/aries_cloudagent/messaging/jsonld/tests/test_routes.py +++ b/acapy_agent/messaging/jsonld/tests/test_routes.py @@ -6,7 +6,7 @@ from aiohttp import web from pyld import jsonld -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ....admin.request_context import AdminRequestContext from ....config.base import InjectionError diff --git a/aries_cloudagent/messaging/message_type.py b/acapy_agent/messaging/message_type.py similarity index 100% rename from aries_cloudagent/messaging/message_type.py rename to acapy_agent/messaging/message_type.py diff --git a/aries_cloudagent/messaging/models/__init__.py b/acapy_agent/messaging/models/__init__.py similarity index 100% rename from aries_cloudagent/messaging/models/__init__.py rename to acapy_agent/messaging/models/__init__.py diff --git a/aries_cloudagent/messaging/models/base.py b/acapy_agent/messaging/models/base.py similarity index 100% rename from aries_cloudagent/messaging/models/base.py rename to acapy_agent/messaging/models/base.py diff --git a/aries_cloudagent/messaging/models/base_record.py b/acapy_agent/messaging/models/base_record.py similarity index 100% rename from aries_cloudagent/messaging/models/base_record.py rename to acapy_agent/messaging/models/base_record.py diff --git a/aries_cloudagent/messaging/models/openapi.py b/acapy_agent/messaging/models/openapi.py similarity index 100% rename from aries_cloudagent/messaging/models/openapi.py rename to acapy_agent/messaging/models/openapi.py diff --git a/aries_cloudagent/messaging/models/paginated_query.py b/acapy_agent/messaging/models/paginated_query.py similarity index 100% rename from aries_cloudagent/messaging/models/paginated_query.py rename to acapy_agent/messaging/models/paginated_query.py diff --git a/aries_cloudagent/messaging/models/tests/__init__.py b/acapy_agent/messaging/models/tests/__init__.py similarity index 100% rename from aries_cloudagent/messaging/models/tests/__init__.py rename to acapy_agent/messaging/models/tests/__init__.py diff --git a/aries_cloudagent/messaging/models/tests/test_base.py b/acapy_agent/messaging/models/tests/test_base.py similarity index 100% rename from aries_cloudagent/messaging/models/tests/test_base.py rename to acapy_agent/messaging/models/tests/test_base.py diff --git a/aries_cloudagent/messaging/models/tests/test_base_record.py b/acapy_agent/messaging/models/tests/test_base_record.py similarity index 99% rename from aries_cloudagent/messaging/models/tests/test_base_record.py rename to acapy_agent/messaging/models/tests/test_base_record.py index 06fb281a9d..98676a9701 100644 --- a/aries_cloudagent/messaging/models/tests/test_base_record.py +++ b/acapy_agent/messaging/models/tests/test_base_record.py @@ -3,7 +3,7 @@ from marshmallow import EXCLUDE, fields -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ....cache.base import BaseCache from ....core.event_bus import Event, EventBus, MockEventBus diff --git a/aries_cloudagent/messaging/models/tests/test_paginated_query.py b/acapy_agent/messaging/models/tests/test_paginated_query.py similarity index 96% rename from aries_cloudagent/messaging/models/tests/test_paginated_query.py rename to acapy_agent/messaging/models/tests/test_paginated_query.py index d7e6eda951..188c496ef8 100644 --- a/aries_cloudagent/messaging/models/tests/test_paginated_query.py +++ b/acapy_agent/messaging/models/tests/test_paginated_query.py @@ -1,7 +1,7 @@ import pytest from marshmallow import ValidationError -from aries_cloudagent.storage.base import DEFAULT_PAGE_SIZE, MAXIMUM_PAGE_SIZE +from acapy_agent.storage.base import DEFAULT_PAGE_SIZE, MAXIMUM_PAGE_SIZE from ..paginated_query import PaginatedQuerySchema diff --git a/aries_cloudagent/messaging/request_context.py b/acapy_agent/messaging/request_context.py similarity index 99% rename from aries_cloudagent/messaging/request_context.py rename to acapy_agent/messaging/request_context.py index 6eb0b0468d..4121ceb5c3 100644 --- a/aries_cloudagent/messaging/request_context.py +++ b/acapy_agent/messaging/request_context.py @@ -15,7 +15,7 @@ from ..utils.classloader import DeferLoad from .agent_message import AgentMessage -IN_MEM = DeferLoad("aries_cloudagent.core.in_memory.InMemoryProfile") +IN_MEM = DeferLoad("acapy_agent.core.in_memory.InMemoryProfile") class RequestContext: diff --git a/aries_cloudagent/messaging/responder.py b/acapy_agent/messaging/responder.py similarity index 100% rename from aries_cloudagent/messaging/responder.py rename to acapy_agent/messaging/responder.py diff --git a/aries_cloudagent/messaging/schemas/__init__.py b/acapy_agent/messaging/schemas/__init__.py similarity index 100% rename from aries_cloudagent/messaging/schemas/__init__.py rename to acapy_agent/messaging/schemas/__init__.py diff --git a/aries_cloudagent/messaging/schemas/routes.py b/acapy_agent/messaging/schemas/routes.py similarity index 100% rename from aries_cloudagent/messaging/schemas/routes.py rename to acapy_agent/messaging/schemas/routes.py diff --git a/aries_cloudagent/messaging/schemas/tests/__init__.py b/acapy_agent/messaging/schemas/tests/__init__.py similarity index 100% rename from aries_cloudagent/messaging/schemas/tests/__init__.py rename to acapy_agent/messaging/schemas/tests/__init__.py diff --git a/aries_cloudagent/messaging/schemas/tests/test_routes.py b/acapy_agent/messaging/schemas/tests/test_routes.py similarity index 99% rename from aries_cloudagent/messaging/schemas/tests/test_routes.py rename to acapy_agent/messaging/schemas/tests/test_routes.py index 411a951d9e..150baf0476 100644 --- a/aries_cloudagent/messaging/schemas/tests/test_routes.py +++ b/acapy_agent/messaging/schemas/tests/test_routes.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ....admin.request_context import AdminRequestContext from ....askar.profile_anon import AskarAnoncredsProfile diff --git a/aries_cloudagent/messaging/schemas/util.py b/acapy_agent/messaging/schemas/util.py similarity index 100% rename from aries_cloudagent/messaging/schemas/util.py rename to acapy_agent/messaging/schemas/util.py diff --git a/aries_cloudagent/messaging/tests/__init__.py b/acapy_agent/messaging/tests/__init__.py similarity index 100% rename from aries_cloudagent/messaging/tests/__init__.py rename to acapy_agent/messaging/tests/__init__.py diff --git a/aries_cloudagent/messaging/tests/test_agent_message.py b/acapy_agent/messaging/tests/test_agent_message.py similarity index 100% rename from aries_cloudagent/messaging/tests/test_agent_message.py rename to acapy_agent/messaging/tests/test_agent_message.py diff --git a/aries_cloudagent/messaging/tests/test_util.py b/acapy_agent/messaging/tests/test_util.py similarity index 100% rename from aries_cloudagent/messaging/tests/test_util.py rename to acapy_agent/messaging/tests/test_util.py diff --git a/aries_cloudagent/messaging/tests/test_valid.py b/acapy_agent/messaging/tests/test_valid.py similarity index 100% rename from aries_cloudagent/messaging/tests/test_valid.py rename to acapy_agent/messaging/tests/test_valid.py diff --git a/aries_cloudagent/messaging/util.py b/acapy_agent/messaging/util.py similarity index 100% rename from aries_cloudagent/messaging/util.py rename to acapy_agent/messaging/util.py diff --git a/aries_cloudagent/messaging/v2_agent_message.py b/acapy_agent/messaging/v2_agent_message.py similarity index 100% rename from aries_cloudagent/messaging/v2_agent_message.py rename to acapy_agent/messaging/v2_agent_message.py diff --git a/aries_cloudagent/messaging/valid.py b/acapy_agent/messaging/valid.py similarity index 100% rename from aries_cloudagent/messaging/valid.py rename to acapy_agent/messaging/valid.py diff --git a/aries_cloudagent/multitenant/__init__.py b/acapy_agent/multitenant/__init__.py similarity index 100% rename from aries_cloudagent/multitenant/__init__.py rename to acapy_agent/multitenant/__init__.py diff --git a/aries_cloudagent/multitenant/admin/__init__.py b/acapy_agent/multitenant/admin/__init__.py similarity index 100% rename from aries_cloudagent/multitenant/admin/__init__.py rename to acapy_agent/multitenant/admin/__init__.py diff --git a/aries_cloudagent/multitenant/admin/routes.py b/acapy_agent/multitenant/admin/routes.py similarity index 100% rename from aries_cloudagent/multitenant/admin/routes.py rename to acapy_agent/multitenant/admin/routes.py diff --git a/aries_cloudagent/multitenant/admin/tests/__init__.py b/acapy_agent/multitenant/admin/tests/__init__.py similarity index 100% rename from aries_cloudagent/multitenant/admin/tests/__init__.py rename to acapy_agent/multitenant/admin/tests/__init__.py diff --git a/aries_cloudagent/multitenant/admin/tests/test_routes.py b/acapy_agent/multitenant/admin/tests/test_routes.py similarity index 99% rename from aries_cloudagent/multitenant/admin/tests/test_routes.py rename to acapy_agent/multitenant/admin/tests/test_routes.py index 597e0398a7..779b992e80 100644 --- a/aries_cloudagent/multitenant/admin/tests/test_routes.py +++ b/acapy_agent/multitenant/admin/tests/test_routes.py @@ -3,7 +3,7 @@ import pytest from marshmallow.exceptions import ValidationError -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ....admin.request_context import AdminRequestContext from ....askar.profile import AskarProfile diff --git a/aries_cloudagent/multitenant/base.py b/acapy_agent/multitenant/base.py similarity index 100% rename from aries_cloudagent/multitenant/base.py rename to acapy_agent/multitenant/base.py diff --git a/aries_cloudagent/multitenant/cache.py b/acapy_agent/multitenant/cache.py similarity index 100% rename from aries_cloudagent/multitenant/cache.py rename to acapy_agent/multitenant/cache.py diff --git a/aries_cloudagent/multitenant/error.py b/acapy_agent/multitenant/error.py similarity index 100% rename from aries_cloudagent/multitenant/error.py rename to acapy_agent/multitenant/error.py diff --git a/aries_cloudagent/multitenant/manager.py b/acapy_agent/multitenant/manager.py similarity index 100% rename from aries_cloudagent/multitenant/manager.py rename to acapy_agent/multitenant/manager.py diff --git a/aries_cloudagent/multitenant/manager_provider.py b/acapy_agent/multitenant/manager_provider.py similarity index 93% rename from aries_cloudagent/multitenant/manager_provider.py rename to acapy_agent/multitenant/manager_provider.py index 0dfe957e17..d15de17520 100644 --- a/aries_cloudagent/multitenant/manager_provider.py +++ b/acapy_agent/multitenant/manager_provider.py @@ -18,11 +18,11 @@ class MultitenantManagerProvider(BaseProvider): """ single_wallet_askar_manager_path = ( - "aries_cloudagent.multitenant." + "acapy_agent.multitenant." "single_wallet_askar_manager.SingleWalletAskarMultitenantManager" ) MANAGER_TYPES = { - "basic": "aries_cloudagent.multitenant.manager.MultitenantManager", + "basic": "acapy_agent.multitenant.manager.MultitenantManager", "single-wallet-askar": single_wallet_askar_manager_path, } diff --git a/aries_cloudagent/multitenant/route_manager.py b/acapy_agent/multitenant/route_manager.py similarity index 100% rename from aries_cloudagent/multitenant/route_manager.py rename to acapy_agent/multitenant/route_manager.py diff --git a/aries_cloudagent/multitenant/single_wallet_askar_manager.py b/acapy_agent/multitenant/single_wallet_askar_manager.py similarity index 100% rename from aries_cloudagent/multitenant/single_wallet_askar_manager.py rename to acapy_agent/multitenant/single_wallet_askar_manager.py diff --git a/aries_cloudagent/multitenant/tests/__init__.py b/acapy_agent/multitenant/tests/__init__.py similarity index 100% rename from aries_cloudagent/multitenant/tests/__init__.py rename to acapy_agent/multitenant/tests/__init__.py diff --git a/aries_cloudagent/multitenant/tests/test_base.py b/acapy_agent/multitenant/tests/test_base.py similarity index 99% rename from aries_cloudagent/multitenant/tests/test_base.py rename to acapy_agent/multitenant/tests/test_base.py index 9ee093afec..29282a4062 100644 --- a/aries_cloudagent/multitenant/tests/test_base.py +++ b/acapy_agent/multitenant/tests/test_base.py @@ -3,7 +3,7 @@ import jwt -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...config.base import InjectionError from ...core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/multitenant/tests/test_cache.py b/acapy_agent/multitenant/tests/test_cache.py similarity index 100% rename from aries_cloudagent/multitenant/tests/test_cache.py rename to acapy_agent/multitenant/tests/test_cache.py diff --git a/aries_cloudagent/multitenant/tests/test_manager.py b/acapy_agent/multitenant/tests/test_manager.py similarity index 94% rename from aries_cloudagent/multitenant/tests/test_manager.py rename to acapy_agent/multitenant/tests/test_manager.py index 00f746cedc..37fecf953b 100644 --- a/aries_cloudagent/multitenant/tests/test_manager.py +++ b/acapy_agent/multitenant/tests/test_manager.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...core.in_memory import InMemoryProfile from ...messaging.responder import BaseResponder @@ -22,7 +22,7 @@ async def test_get_wallet_profile_returns_from_cache(self): wallet_record = WalletRecord(wallet_id="test") self.manager._profiles.put("test", InMemoryProfile.test_profile()) - with mock.patch("aries_cloudagent.config.wallet.wallet_config") as wallet_config: + with mock.patch("acapy_agent.config.wallet.wallet_config") as wallet_config: profile = await self.manager.get_wallet_profile( self.profile.context, wallet_record ) @@ -36,7 +36,7 @@ async def test_get_wallet_profile_not_in_cache(self): {"admin.webhook_urls": ["http://localhost:8020"]} ) - with mock.patch("aries_cloudagent.config.wallet.wallet_config") as wallet_config: + with mock.patch("acapy_agent.config.wallet.wallet_config") as wallet_config: profile = await self.manager.get_wallet_profile( self.profile.context, wallet_record ) @@ -76,7 +76,7 @@ def side_effect(context, provision): ) with mock.patch( - "aries_cloudagent.multitenant.manager.wallet_config" + "acapy_agent.multitenant.manager.wallet_config" ) as wallet_config: wallet_config.side_effect = side_effect profile = await self.manager.get_wallet_profile( @@ -95,9 +95,7 @@ async def test_get_wallet_profile_settings_reset(self): settings={}, ) - with mock.patch( - "aries_cloudagent.multitenant.manager.wallet_config" - ) as wallet_config: + with mock.patch("acapy_agent.multitenant.manager.wallet_config") as wallet_config: def side_effect(context, provision): return (InMemoryProfile(context=context), None) @@ -148,9 +146,7 @@ async def test_get_wallet_profile_settings_reset_overwrite(self): }, ) - with mock.patch( - "aries_cloudagent.multitenant.manager.wallet_config" - ) as wallet_config: + with mock.patch("acapy_agent.multitenant.manager.wallet_config") as wallet_config: def side_effect(context, provision): return (InMemoryProfile(context=context), None) diff --git a/aries_cloudagent/multitenant/tests/test_manager_provider.py b/acapy_agent/multitenant/tests/test_manager_provider.py similarity index 100% rename from aries_cloudagent/multitenant/tests/test_manager_provider.py rename to acapy_agent/multitenant/tests/test_manager_provider.py diff --git a/aries_cloudagent/multitenant/tests/test_route_manager.py b/acapy_agent/multitenant/tests/test_route_manager.py similarity index 99% rename from aries_cloudagent/multitenant/tests/test_route_manager.py rename to acapy_agent/multitenant/tests/test_route_manager.py index 21f0d90916..dd3f36c602 100644 --- a/aries_cloudagent/multitenant/tests/test_route_manager.py +++ b/acapy_agent/multitenant/tests/test_route_manager.py @@ -1,6 +1,6 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...core.in_memory import InMemoryProfile from ...core.profile import Profile diff --git a/aries_cloudagent/multitenant/tests/test_single_wallet_askar_manager.py b/acapy_agent/multitenant/tests/test_single_wallet_askar_manager.py similarity index 91% rename from aries_cloudagent/multitenant/tests/test_single_wallet_askar_manager.py rename to acapy_agent/multitenant/tests/test_single_wallet_askar_manager.py index 32188b7f67..5a0d51a324 100644 --- a/aries_cloudagent/multitenant/tests/test_single_wallet_askar_manager.py +++ b/acapy_agent/multitenant/tests/test_single_wallet_askar_manager.py @@ -1,7 +1,7 @@ import asyncio from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...config.injection_context import InjectionContext from ...core.in_memory import InMemoryProfile @@ -42,9 +42,9 @@ async def test_get_wallet_profile_should_open_store_and_return_profile_with_wall ) with mock.patch( - "aries_cloudagent.multitenant.single_wallet_askar_manager.wallet_config" + "acapy_agent.multitenant.single_wallet_askar_manager.wallet_config" ) as wallet_config, mock.patch( - "aries_cloudagent.multitenant.single_wallet_askar_manager.AskarProfile", + "acapy_agent.multitenant.single_wallet_askar_manager.AskarProfile", ) as AskarProfile: sub_wallet_profile_context = InjectionContext() sub_wallet_profile = AskarProfile(None, None) @@ -113,9 +113,9 @@ async def test_get_anoncreds_wallet_profile_should_open_store_and_return_anoncre ) with mock.patch( - "aries_cloudagent.multitenant.single_wallet_askar_manager.wallet_config" + "acapy_agent.multitenant.single_wallet_askar_manager.wallet_config" ) as wallet_config, mock.patch( - "aries_cloudagent.multitenant.single_wallet_askar_manager.AskarAnoncredsProfile", + "acapy_agent.multitenant.single_wallet_askar_manager.AskarAnoncredsProfile", ) as AskarAnoncredsProfile: sub_wallet_profile_context = InjectionContext() sub_wallet_profile = AskarAnoncredsProfile(None, None) @@ -139,7 +139,7 @@ async def test_get_wallet_profile_should_create_profile(self): create_profile_stub.set_result("") with mock.patch( - "aries_cloudagent.multitenant.single_wallet_askar_manager.AskarProfile" + "acapy_agent.multitenant.single_wallet_askar_manager.AskarProfile" ) as AskarProfile: sub_wallet_profile = AskarProfile(None, None) sub_wallet_profile.context.copy.return_value = InjectionContext() @@ -162,10 +162,10 @@ async def test_get_wallet_profile_should_use_custom_subwallet_name(self): ) with mock.patch( - "aries_cloudagent.multitenant.single_wallet_askar_manager.wallet_config" + "acapy_agent.multitenant.single_wallet_askar_manager.wallet_config" ) as wallet_config: with mock.patch( - "aries_cloudagent.multitenant.single_wallet_askar_manager.AskarProfile" + "acapy_agent.multitenant.single_wallet_askar_manager.AskarProfile" ) as AskarProfile: sub_wallet_profile = AskarProfile(None, None) sub_wallet_profile.context.copy.return_value = InjectionContext() @@ -196,7 +196,7 @@ async def test_open_profiles(self): create_profile_stub = asyncio.Future() create_profile_stub.set_result("") with mock.patch( - "aries_cloudagent.multitenant.single_wallet_askar_manager.AskarProfile" + "acapy_agent.multitenant.single_wallet_askar_manager.AskarProfile" ) as AskarProfile: sub_wallet_profile = AskarProfile(None, None) sub_wallet_profile.context.copy.return_value = InjectionContext() diff --git a/aries_cloudagent/protocols/README.md b/acapy_agent/protocols/README.md similarity index 100% rename from aries_cloudagent/protocols/README.md rename to acapy_agent/protocols/README.md diff --git a/aries_cloudagent/protocols/__init__.py b/acapy_agent/protocols/__init__.py similarity index 100% rename from aries_cloudagent/protocols/__init__.py rename to acapy_agent/protocols/__init__.py diff --git a/aries_cloudagent/protocols/actionmenu/__init__.py b/acapy_agent/protocols/actionmenu/__init__.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/__init__.py rename to acapy_agent/protocols/actionmenu/__init__.py diff --git a/aries_cloudagent/protocols/actionmenu/definition.py b/acapy_agent/protocols/actionmenu/definition.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/definition.py rename to acapy_agent/protocols/actionmenu/definition.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/__init__.py b/acapy_agent/protocols/actionmenu/v1_0/__init__.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/__init__.py rename to acapy_agent/protocols/actionmenu/v1_0/__init__.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/base_service.py b/acapy_agent/protocols/actionmenu/v1_0/base_service.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/base_service.py rename to acapy_agent/protocols/actionmenu/v1_0/base_service.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/controller.py b/acapy_agent/protocols/actionmenu/v1_0/controller.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/controller.py rename to acapy_agent/protocols/actionmenu/v1_0/controller.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/driver_service.py b/acapy_agent/protocols/actionmenu/v1_0/driver_service.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/driver_service.py rename to acapy_agent/protocols/actionmenu/v1_0/driver_service.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/handlers/__init__.py b/acapy_agent/protocols/actionmenu/v1_0/handlers/__init__.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/handlers/__init__.py rename to acapy_agent/protocols/actionmenu/v1_0/handlers/__init__.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/handlers/menu_handler.py b/acapy_agent/protocols/actionmenu/v1_0/handlers/menu_handler.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/handlers/menu_handler.py rename to acapy_agent/protocols/actionmenu/v1_0/handlers/menu_handler.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/handlers/menu_request_handler.py b/acapy_agent/protocols/actionmenu/v1_0/handlers/menu_request_handler.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/handlers/menu_request_handler.py rename to acapy_agent/protocols/actionmenu/v1_0/handlers/menu_request_handler.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/handlers/perform_handler.py b/acapy_agent/protocols/actionmenu/v1_0/handlers/perform_handler.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/handlers/perform_handler.py rename to acapy_agent/protocols/actionmenu/v1_0/handlers/perform_handler.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/handlers/tests/__init__.py b/acapy_agent/protocols/actionmenu/v1_0/handlers/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/handlers/tests/__init__.py rename to acapy_agent/protocols/actionmenu/v1_0/handlers/tests/__init__.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/handlers/tests/test_menu_handler.py b/acapy_agent/protocols/actionmenu/v1_0/handlers/tests/test_menu_handler.py similarity index 96% rename from aries_cloudagent/protocols/actionmenu/v1_0/handlers/tests/test_menu_handler.py rename to acapy_agent/protocols/actionmenu/v1_0/handlers/tests/test_menu_handler.py index 392bc3f8cd..43be29c4a5 100644 --- a/aries_cloudagent/protocols/actionmenu/v1_0/handlers/tests/test_menu_handler.py +++ b/acapy_agent/protocols/actionmenu/v1_0/handlers/tests/test_menu_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......messaging.request_context import RequestContext from ......messaging.responder import MockResponder diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/handlers/tests/test_menu_request_handler.py b/acapy_agent/protocols/actionmenu/v1_0/handlers/tests/test_menu_request_handler.py similarity index 98% rename from aries_cloudagent/protocols/actionmenu/v1_0/handlers/tests/test_menu_request_handler.py rename to acapy_agent/protocols/actionmenu/v1_0/handlers/tests/test_menu_request_handler.py index 63214fe409..21b6198685 100644 --- a/aries_cloudagent/protocols/actionmenu/v1_0/handlers/tests/test_menu_request_handler.py +++ b/acapy_agent/protocols/actionmenu/v1_0/handlers/tests/test_menu_request_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......messaging.request_context import RequestContext from ......messaging.responder import MockResponder diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/handlers/tests/test_perform_handler.py b/acapy_agent/protocols/actionmenu/v1_0/handlers/tests/test_perform_handler.py similarity index 98% rename from aries_cloudagent/protocols/actionmenu/v1_0/handlers/tests/test_perform_handler.py rename to acapy_agent/protocols/actionmenu/v1_0/handlers/tests/test_perform_handler.py index 7af6672ee8..eb2ec3a555 100644 --- a/aries_cloudagent/protocols/actionmenu/v1_0/handlers/tests/test_perform_handler.py +++ b/acapy_agent/protocols/actionmenu/v1_0/handlers/tests/test_perform_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......messaging.request_context import RequestContext from ......messaging.responder import MockResponder diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/message_types.py b/acapy_agent/protocols/actionmenu/v1_0/message_types.py similarity index 90% rename from aries_cloudagent/protocols/actionmenu/v1_0/message_types.py rename to acapy_agent/protocols/actionmenu/v1_0/message_types.py index c797c98519..bd9795bda4 100644 --- a/aries_cloudagent/protocols/actionmenu/v1_0/message_types.py +++ b/acapy_agent/protocols/actionmenu/v1_0/message_types.py @@ -7,7 +7,7 @@ MENU_REQUEST = "action-menu/1.0/menu-request" PERFORM = "action-menu/1.0/perform" -PROTOCOL_PACKAGE = "aries_cloudagent.protocols.actionmenu.v1_0" +PROTOCOL_PACKAGE = "acapy_agent.protocols.actionmenu.v1_0" MESSAGE_TYPES = DIDCommPrefix.qualify_all( { diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/messages/__init__.py b/acapy_agent/protocols/actionmenu/v1_0/messages/__init__.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/messages/__init__.py rename to acapy_agent/protocols/actionmenu/v1_0/messages/__init__.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/messages/menu.py b/acapy_agent/protocols/actionmenu/v1_0/messages/menu.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/messages/menu.py rename to acapy_agent/protocols/actionmenu/v1_0/messages/menu.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/messages/menu_request.py b/acapy_agent/protocols/actionmenu/v1_0/messages/menu_request.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/messages/menu_request.py rename to acapy_agent/protocols/actionmenu/v1_0/messages/menu_request.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/messages/perform.py b/acapy_agent/protocols/actionmenu/v1_0/messages/perform.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/messages/perform.py rename to acapy_agent/protocols/actionmenu/v1_0/messages/perform.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/messages/tests/__init__.py b/acapy_agent/protocols/actionmenu/v1_0/messages/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/messages/tests/__init__.py rename to acapy_agent/protocols/actionmenu/v1_0/messages/tests/__init__.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/messages/tests/test_menu.py b/acapy_agent/protocols/actionmenu/v1_0/messages/tests/test_menu.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/messages/tests/test_menu.py rename to acapy_agent/protocols/actionmenu/v1_0/messages/tests/test_menu.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/messages/tests/test_menu_request.py b/acapy_agent/protocols/actionmenu/v1_0/messages/tests/test_menu_request.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/messages/tests/test_menu_request.py rename to acapy_agent/protocols/actionmenu/v1_0/messages/tests/test_menu_request.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/messages/tests/test_perform.py b/acapy_agent/protocols/actionmenu/v1_0/messages/tests/test_perform.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/messages/tests/test_perform.py rename to acapy_agent/protocols/actionmenu/v1_0/messages/tests/test_perform.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/models/__init__.py b/acapy_agent/protocols/actionmenu/v1_0/models/__init__.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/models/__init__.py rename to acapy_agent/protocols/actionmenu/v1_0/models/__init__.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/models/menu_form.py b/acapy_agent/protocols/actionmenu/v1_0/models/menu_form.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/models/menu_form.py rename to acapy_agent/protocols/actionmenu/v1_0/models/menu_form.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/models/menu_form_param.py b/acapy_agent/protocols/actionmenu/v1_0/models/menu_form_param.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/models/menu_form_param.py rename to acapy_agent/protocols/actionmenu/v1_0/models/menu_form_param.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/models/menu_option.py b/acapy_agent/protocols/actionmenu/v1_0/models/menu_option.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/models/menu_option.py rename to acapy_agent/protocols/actionmenu/v1_0/models/menu_option.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/routes.py b/acapy_agent/protocols/actionmenu/v1_0/routes.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/routes.py rename to acapy_agent/protocols/actionmenu/v1_0/routes.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/tests/__init__.py b/acapy_agent/protocols/actionmenu/v1_0/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/tests/__init__.py rename to acapy_agent/protocols/actionmenu/v1_0/tests/__init__.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/tests/test_controller.py b/acapy_agent/protocols/actionmenu/v1_0/tests/test_controller.py similarity index 95% rename from aries_cloudagent/protocols/actionmenu/v1_0/tests/test_controller.py rename to acapy_agent/protocols/actionmenu/v1_0/tests/test_controller.py index dc43675764..97a2d2b279 100644 --- a/aries_cloudagent/protocols/actionmenu/v1_0/tests/test_controller.py +++ b/acapy_agent/protocols/actionmenu/v1_0/tests/test_controller.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....core.in_memory import InMemoryProfile from .....messaging.request_context import RequestContext diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/tests/test_routes.py b/acapy_agent/protocols/actionmenu/v1_0/tests/test_routes.py similarity index 99% rename from aries_cloudagent/protocols/actionmenu/v1_0/tests/test_routes.py rename to acapy_agent/protocols/actionmenu/v1_0/tests/test_routes.py index 31a1e00d85..b9addfe4c6 100644 --- a/aries_cloudagent/protocols/actionmenu/v1_0/tests/test_routes.py +++ b/acapy_agent/protocols/actionmenu/v1_0/tests/test_routes.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....admin.request_context import AdminRequestContext from .....core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/tests/test_service.py b/acapy_agent/protocols/actionmenu/v1_0/tests/test_service.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/tests/test_service.py rename to acapy_agent/protocols/actionmenu/v1_0/tests/test_service.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/tests/test_util.py b/acapy_agent/protocols/actionmenu/v1_0/tests/test_util.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/tests/test_util.py rename to acapy_agent/protocols/actionmenu/v1_0/tests/test_util.py diff --git a/aries_cloudagent/protocols/actionmenu/v1_0/util.py b/acapy_agent/protocols/actionmenu/v1_0/util.py similarity index 100% rename from aries_cloudagent/protocols/actionmenu/v1_0/util.py rename to acapy_agent/protocols/actionmenu/v1_0/util.py diff --git a/aries_cloudagent/protocols/basicmessage/__init__.py b/acapy_agent/protocols/basicmessage/__init__.py similarity index 100% rename from aries_cloudagent/protocols/basicmessage/__init__.py rename to acapy_agent/protocols/basicmessage/__init__.py diff --git a/aries_cloudagent/protocols/basicmessage/definition.py b/acapy_agent/protocols/basicmessage/definition.py similarity index 100% rename from aries_cloudagent/protocols/basicmessage/definition.py rename to acapy_agent/protocols/basicmessage/definition.py diff --git a/aries_cloudagent/protocols/basicmessage/v1_0/__init__.py b/acapy_agent/protocols/basicmessage/v1_0/__init__.py similarity index 100% rename from aries_cloudagent/protocols/basicmessage/v1_0/__init__.py rename to acapy_agent/protocols/basicmessage/v1_0/__init__.py diff --git a/aries_cloudagent/protocols/basicmessage/v1_0/handlers/__init__.py b/acapy_agent/protocols/basicmessage/v1_0/handlers/__init__.py similarity index 100% rename from aries_cloudagent/protocols/basicmessage/v1_0/handlers/__init__.py rename to acapy_agent/protocols/basicmessage/v1_0/handlers/__init__.py diff --git a/aries_cloudagent/protocols/basicmessage/v1_0/handlers/basicmessage_handler.py b/acapy_agent/protocols/basicmessage/v1_0/handlers/basicmessage_handler.py similarity index 100% rename from aries_cloudagent/protocols/basicmessage/v1_0/handlers/basicmessage_handler.py rename to acapy_agent/protocols/basicmessage/v1_0/handlers/basicmessage_handler.py diff --git a/aries_cloudagent/protocols/basicmessage/v1_0/handlers/tests/__init__.py b/acapy_agent/protocols/basicmessage/v1_0/handlers/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/basicmessage/v1_0/handlers/tests/__init__.py rename to acapy_agent/protocols/basicmessage/v1_0/handlers/tests/__init__.py diff --git a/aries_cloudagent/protocols/basicmessage/v1_0/handlers/tests/test_basicmessage_handler.py b/acapy_agent/protocols/basicmessage/v1_0/handlers/tests/test_basicmessage_handler.py similarity index 100% rename from aries_cloudagent/protocols/basicmessage/v1_0/handlers/tests/test_basicmessage_handler.py rename to acapy_agent/protocols/basicmessage/v1_0/handlers/tests/test_basicmessage_handler.py diff --git a/aries_cloudagent/protocols/basicmessage/v1_0/message_types.py b/acapy_agent/protocols/basicmessage/v1_0/message_types.py similarity index 86% rename from aries_cloudagent/protocols/basicmessage/v1_0/message_types.py rename to acapy_agent/protocols/basicmessage/v1_0/message_types.py index 0929d8ea9d..b5f633141f 100644 --- a/aries_cloudagent/protocols/basicmessage/v1_0/message_types.py +++ b/acapy_agent/protocols/basicmessage/v1_0/message_types.py @@ -10,7 +10,7 @@ # Message types BASIC_MESSAGE = "basicmessage/1.0/message" -PROTOCOL_PACKAGE = "aries_cloudagent.protocols.basicmessage.v1_0" +PROTOCOL_PACKAGE = "acapy_agent.protocols.basicmessage.v1_0" MESSAGE_TYPES = DIDCommPrefix.qualify_all( {BASIC_MESSAGE: f"{PROTOCOL_PACKAGE}.messages.basicmessage.BasicMessage"} diff --git a/aries_cloudagent/protocols/basicmessage/v1_0/messages/__init__.py b/acapy_agent/protocols/basicmessage/v1_0/messages/__init__.py similarity index 100% rename from aries_cloudagent/protocols/basicmessage/v1_0/messages/__init__.py rename to acapy_agent/protocols/basicmessage/v1_0/messages/__init__.py diff --git a/aries_cloudagent/protocols/basicmessage/v1_0/messages/basicmessage.py b/acapy_agent/protocols/basicmessage/v1_0/messages/basicmessage.py similarity index 100% rename from aries_cloudagent/protocols/basicmessage/v1_0/messages/basicmessage.py rename to acapy_agent/protocols/basicmessage/v1_0/messages/basicmessage.py diff --git a/aries_cloudagent/protocols/basicmessage/v1_0/messages/tests/__init__.py b/acapy_agent/protocols/basicmessage/v1_0/messages/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/basicmessage/v1_0/messages/tests/__init__.py rename to acapy_agent/protocols/basicmessage/v1_0/messages/tests/__init__.py diff --git a/aries_cloudagent/protocols/basicmessage/v1_0/messages/tests/test_basic_message.py b/acapy_agent/protocols/basicmessage/v1_0/messages/tests/test_basic_message.py similarity index 100% rename from aries_cloudagent/protocols/basicmessage/v1_0/messages/tests/test_basic_message.py rename to acapy_agent/protocols/basicmessage/v1_0/messages/tests/test_basic_message.py diff --git a/aries_cloudagent/protocols/basicmessage/v1_0/routes.py b/acapy_agent/protocols/basicmessage/v1_0/routes.py similarity index 100% rename from aries_cloudagent/protocols/basicmessage/v1_0/routes.py rename to acapy_agent/protocols/basicmessage/v1_0/routes.py diff --git a/aries_cloudagent/protocols/basicmessage/v1_0/tests/__init__.py b/acapy_agent/protocols/basicmessage/v1_0/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/basicmessage/v1_0/tests/__init__.py rename to acapy_agent/protocols/basicmessage/v1_0/tests/__init__.py diff --git a/aries_cloudagent/protocols/basicmessage/v1_0/tests/test_routes.py b/acapy_agent/protocols/basicmessage/v1_0/tests/test_routes.py similarity index 98% rename from aries_cloudagent/protocols/basicmessage/v1_0/tests/test_routes.py rename to acapy_agent/protocols/basicmessage/v1_0/tests/test_routes.py index 7d6c5b069c..5b29b4796b 100644 --- a/aries_cloudagent/protocols/basicmessage/v1_0/tests/test_routes.py +++ b/acapy_agent/protocols/basicmessage/v1_0/tests/test_routes.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....admin.request_context import AdminRequestContext from .....core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/protocols/connections/__init__.py b/acapy_agent/protocols/connections/__init__.py similarity index 100% rename from aries_cloudagent/protocols/connections/__init__.py rename to acapy_agent/protocols/connections/__init__.py diff --git a/aries_cloudagent/protocols/connections/definition.py b/acapy_agent/protocols/connections/definition.py similarity index 100% rename from aries_cloudagent/protocols/connections/definition.py rename to acapy_agent/protocols/connections/definition.py diff --git a/aries_cloudagent/protocols/connections/v1_0/__init__.py b/acapy_agent/protocols/connections/v1_0/__init__.py similarity index 100% rename from aries_cloudagent/protocols/connections/v1_0/__init__.py rename to acapy_agent/protocols/connections/v1_0/__init__.py diff --git a/aries_cloudagent/protocols/connections/v1_0/handlers/__init__.py b/acapy_agent/protocols/connections/v1_0/handlers/__init__.py similarity index 100% rename from aries_cloudagent/protocols/connections/v1_0/handlers/__init__.py rename to acapy_agent/protocols/connections/v1_0/handlers/__init__.py diff --git a/aries_cloudagent/protocols/connections/v1_0/handlers/connection_invitation_handler.py b/acapy_agent/protocols/connections/v1_0/handlers/connection_invitation_handler.py similarity index 100% rename from aries_cloudagent/protocols/connections/v1_0/handlers/connection_invitation_handler.py rename to acapy_agent/protocols/connections/v1_0/handlers/connection_invitation_handler.py diff --git a/aries_cloudagent/protocols/connections/v1_0/handlers/connection_request_handler.py b/acapy_agent/protocols/connections/v1_0/handlers/connection_request_handler.py similarity index 100% rename from aries_cloudagent/protocols/connections/v1_0/handlers/connection_request_handler.py rename to acapy_agent/protocols/connections/v1_0/handlers/connection_request_handler.py diff --git a/aries_cloudagent/protocols/connections/v1_0/handlers/connection_response_handler.py b/acapy_agent/protocols/connections/v1_0/handlers/connection_response_handler.py similarity index 100% rename from aries_cloudagent/protocols/connections/v1_0/handlers/connection_response_handler.py rename to acapy_agent/protocols/connections/v1_0/handlers/connection_response_handler.py diff --git a/aries_cloudagent/protocols/connections/v1_0/handlers/problem_report_handler.py b/acapy_agent/protocols/connections/v1_0/handlers/problem_report_handler.py similarity index 100% rename from aries_cloudagent/protocols/connections/v1_0/handlers/problem_report_handler.py rename to acapy_agent/protocols/connections/v1_0/handlers/problem_report_handler.py diff --git a/aries_cloudagent/protocols/connections/v1_0/handlers/tests/__init__.py b/acapy_agent/protocols/connections/v1_0/handlers/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/connections/v1_0/handlers/tests/__init__.py rename to acapy_agent/protocols/connections/v1_0/handlers/tests/__init__.py diff --git a/aries_cloudagent/protocols/connections/v1_0/handlers/tests/test_invitation_handler.py b/acapy_agent/protocols/connections/v1_0/handlers/tests/test_invitation_handler.py similarity index 100% rename from aries_cloudagent/protocols/connections/v1_0/handlers/tests/test_invitation_handler.py rename to acapy_agent/protocols/connections/v1_0/handlers/tests/test_invitation_handler.py diff --git a/aries_cloudagent/protocols/connections/v1_0/handlers/tests/test_request_handler.py b/acapy_agent/protocols/connections/v1_0/handlers/tests/test_request_handler.py similarity index 99% rename from aries_cloudagent/protocols/connections/v1_0/handlers/tests/test_request_handler.py rename to acapy_agent/protocols/connections/v1_0/handlers/tests/test_request_handler.py index f1ede14976..75a698bc55 100644 --- a/aries_cloudagent/protocols/connections/v1_0/handlers/tests/test_request_handler.py +++ b/acapy_agent/protocols/connections/v1_0/handlers/tests/test_request_handler.py @@ -1,6 +1,6 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......connections.models import connection_target from ......connections.models.conn_record import ConnRecord diff --git a/aries_cloudagent/protocols/connections/v1_0/handlers/tests/test_response_handler.py b/acapy_agent/protocols/connections/v1_0/handlers/tests/test_response_handler.py similarity index 99% rename from aries_cloudagent/protocols/connections/v1_0/handlers/tests/test_response_handler.py rename to acapy_agent/protocols/connections/v1_0/handlers/tests/test_response_handler.py index 7873613129..ecc600ac8e 100644 --- a/aries_cloudagent/protocols/connections/v1_0/handlers/tests/test_response_handler.py +++ b/acapy_agent/protocols/connections/v1_0/handlers/tests/test_response_handler.py @@ -1,6 +1,6 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......connections.models import connection_target from ......connections.models.diddoc import DIDDoc, PublicKey, PublicKeyType, Service diff --git a/aries_cloudagent/protocols/connections/v1_0/manager.py b/acapy_agent/protocols/connections/v1_0/manager.py similarity index 100% rename from aries_cloudagent/protocols/connections/v1_0/manager.py rename to acapy_agent/protocols/connections/v1_0/manager.py diff --git a/aries_cloudagent/protocols/connections/v1_0/message_types.py b/acapy_agent/protocols/connections/v1_0/message_types.py similarity index 94% rename from aries_cloudagent/protocols/connections/v1_0/message_types.py rename to acapy_agent/protocols/connections/v1_0/message_types.py index 5095e2f15a..9ee29cd36b 100644 --- a/aries_cloudagent/protocols/connections/v1_0/message_types.py +++ b/acapy_agent/protocols/connections/v1_0/message_types.py @@ -14,7 +14,7 @@ CONNECTION_RESPONSE = f"{ARIES_PROTOCOL}/response" PROBLEM_REPORT = f"{ARIES_PROTOCOL}/problem_report" -PROTOCOL_PACKAGE = "aries_cloudagent.protocols.connections.v1_0" +PROTOCOL_PACKAGE = "acapy_agent.protocols.connections.v1_0" MESSAGE_TYPES = DIDCommPrefix.qualify_all( { diff --git a/aries_cloudagent/protocols/connections/v1_0/messages/__init__.py b/acapy_agent/protocols/connections/v1_0/messages/__init__.py similarity index 100% rename from aries_cloudagent/protocols/connections/v1_0/messages/__init__.py rename to acapy_agent/protocols/connections/v1_0/messages/__init__.py diff --git a/aries_cloudagent/protocols/connections/v1_0/messages/connection_invitation.py b/acapy_agent/protocols/connections/v1_0/messages/connection_invitation.py similarity index 100% rename from aries_cloudagent/protocols/connections/v1_0/messages/connection_invitation.py rename to acapy_agent/protocols/connections/v1_0/messages/connection_invitation.py diff --git a/aries_cloudagent/protocols/connections/v1_0/messages/connection_request.py b/acapy_agent/protocols/connections/v1_0/messages/connection_request.py similarity index 100% rename from aries_cloudagent/protocols/connections/v1_0/messages/connection_request.py rename to acapy_agent/protocols/connections/v1_0/messages/connection_request.py diff --git a/aries_cloudagent/protocols/connections/v1_0/messages/connection_response.py b/acapy_agent/protocols/connections/v1_0/messages/connection_response.py similarity index 100% rename from aries_cloudagent/protocols/connections/v1_0/messages/connection_response.py rename to acapy_agent/protocols/connections/v1_0/messages/connection_response.py diff --git a/aries_cloudagent/protocols/connections/v1_0/messages/problem_report.py b/acapy_agent/protocols/connections/v1_0/messages/problem_report.py similarity index 97% rename from aries_cloudagent/protocols/connections/v1_0/messages/problem_report.py rename to acapy_agent/protocols/connections/v1_0/messages/problem_report.py index 2e8eebd923..9520424131 100644 --- a/aries_cloudagent/protocols/connections/v1_0/messages/problem_report.py +++ b/acapy_agent/protocols/connections/v1_0/messages/problem_report.py @@ -10,7 +10,7 @@ from ..message_types import PROBLEM_REPORT HANDLER_CLASS = ( - "aries_cloudagent.protocols.connections.v1_0.handlers." + "acapy_agent.protocols.connections.v1_0.handlers." "problem_report_handler.ConnectionProblemReportHandler" ) diff --git a/aries_cloudagent/protocols/connections/v1_0/messages/tests/__init__.py b/acapy_agent/protocols/connections/v1_0/messages/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/connections/v1_0/messages/tests/__init__.py rename to acapy_agent/protocols/connections/v1_0/messages/tests/__init__.py diff --git a/aries_cloudagent/protocols/connections/v1_0/messages/tests/test_connection_invitation.py b/acapy_agent/protocols/connections/v1_0/messages/tests/test_connection_invitation.py similarity index 97% rename from aries_cloudagent/protocols/connections/v1_0/messages/tests/test_connection_invitation.py rename to acapy_agent/protocols/connections/v1_0/messages/tests/test_connection_invitation.py index a957e81de5..0149bd0224 100644 --- a/aries_cloudagent/protocols/connections/v1_0/messages/tests/test_connection_invitation.py +++ b/acapy_agent/protocols/connections/v1_0/messages/tests/test_connection_invitation.py @@ -35,7 +35,7 @@ def test_type(self): ) @mock.patch( - "aries_cloudagent.protocols.connections.v1_0.messages." + "acapy_agent.protocols.connections.v1_0.messages." "connection_invitation.ConnectionInvitationSchema.load" ) def test_deserialize(self, mock_connection_invitation_schema_load): @@ -49,7 +49,7 @@ def test_deserialize(self, mock_connection_invitation_schema_load): ) @mock.patch( - "aries_cloudagent.protocols.connections.v1_0.messages." + "acapy_agent.protocols.connections.v1_0.messages." "connection_invitation.ConnectionInvitationSchema.dump" ) def test_serialize(self, mock_connection_invitation_schema_dump): diff --git a/aries_cloudagent/protocols/connections/v1_0/messages/tests/test_connection_request.py b/acapy_agent/protocols/connections/v1_0/messages/tests/test_connection_request.py similarity index 96% rename from aries_cloudagent/protocols/connections/v1_0/messages/tests/test_connection_request.py rename to acapy_agent/protocols/connections/v1_0/messages/tests/test_connection_request.py index d120e769ea..f5ea7e4433 100644 --- a/aries_cloudagent/protocols/connections/v1_0/messages/tests/test_connection_request.py +++ b/acapy_agent/protocols/connections/v1_0/messages/tests/test_connection_request.py @@ -62,7 +62,7 @@ def test_type(self): ) @mock.patch( - "aries_cloudagent.protocols.connections.v1_0.messages." + "acapy_agent.protocols.connections.v1_0.messages." "connection_request.ConnectionRequestSchema.load" ) def test_deserialize(self, mock_connection_request_schema_load): @@ -77,7 +77,7 @@ def test_deserialize(self, mock_connection_request_schema_load): assert connection_request is mock_connection_request_schema_load.return_value @mock.patch( - "aries_cloudagent.protocols.connections.v1_0.messages." + "acapy_agent.protocols.connections.v1_0.messages." "connection_request.ConnectionRequestSchema.dump" ) def test_serialize(self, mock_connection_request_schema_dump): diff --git a/aries_cloudagent/protocols/connections/v1_0/messages/tests/test_connection_response.py b/acapy_agent/protocols/connections/v1_0/messages/tests/test_connection_response.py similarity index 96% rename from aries_cloudagent/protocols/connections/v1_0/messages/tests/test_connection_response.py rename to acapy_agent/protocols/connections/v1_0/messages/tests/test_connection_response.py index 1b1af0442b..25c79fd0b2 100644 --- a/aries_cloudagent/protocols/connections/v1_0/messages/tests/test_connection_response.py +++ b/acapy_agent/protocols/connections/v1_0/messages/tests/test_connection_response.py @@ -58,7 +58,7 @@ def test_type(self): ) @mock.patch( - "aries_cloudagent.protocols.connections.v1_0.messages." + "acapy_agent.protocols.connections.v1_0.messages." "connection_response.ConnectionResponseSchema.load" ) def test_deserialize(self, mock_connection_response_schema_load): @@ -73,7 +73,7 @@ def test_deserialize(self, mock_connection_response_schema_load): assert connection_response is mock_connection_response_schema_load.return_value @mock.patch( - "aries_cloudagent.protocols.connections.v1_0.messages." + "acapy_agent.protocols.connections.v1_0.messages." "connection_response.ConnectionResponseSchema.dump" ) def test_serialize(self, mock_connection_response_schema_dump): diff --git a/aries_cloudagent/protocols/connections/v1_0/models/__init__.py b/acapy_agent/protocols/connections/v1_0/models/__init__.py similarity index 100% rename from aries_cloudagent/protocols/connections/v1_0/models/__init__.py rename to acapy_agent/protocols/connections/v1_0/models/__init__.py diff --git a/aries_cloudagent/protocols/connections/v1_0/models/connection_detail.py b/acapy_agent/protocols/connections/v1_0/models/connection_detail.py similarity index 100% rename from aries_cloudagent/protocols/connections/v1_0/models/connection_detail.py rename to acapy_agent/protocols/connections/v1_0/models/connection_detail.py diff --git a/aries_cloudagent/protocols/connections/v1_0/routes.py b/acapy_agent/protocols/connections/v1_0/routes.py similarity index 100% rename from aries_cloudagent/protocols/connections/v1_0/routes.py rename to acapy_agent/protocols/connections/v1_0/routes.py diff --git a/aries_cloudagent/protocols/connections/v1_0/tests/__init__.py b/acapy_agent/protocols/connections/v1_0/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/connections/v1_0/tests/__init__.py rename to acapy_agent/protocols/connections/v1_0/tests/__init__.py diff --git a/aries_cloudagent/protocols/connections/v1_0/tests/test_manager.py b/acapy_agent/protocols/connections/v1_0/tests/test_manager.py similarity index 99% rename from aries_cloudagent/protocols/connections/v1_0/tests/test_manager.py rename to acapy_agent/protocols/connections/v1_0/tests/test_manager.py index 746f638311..2f4fafff4d 100644 --- a/aries_cloudagent/protocols/connections/v1_0/tests/test_manager.py +++ b/acapy_agent/protocols/connections/v1_0/tests/test_manager.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....cache.base import BaseCache from .....cache.in_memory import InMemoryCache diff --git a/aries_cloudagent/protocols/connections/v1_0/tests/test_routes.py b/acapy_agent/protocols/connections/v1_0/tests/test_routes.py similarity index 99% rename from aries_cloudagent/protocols/connections/v1_0/tests/test_routes.py rename to acapy_agent/protocols/connections/v1_0/tests/test_routes.py index 83fdaf10b9..3dc35d7b4d 100644 --- a/aries_cloudagent/protocols/connections/v1_0/tests/test_routes.py +++ b/acapy_agent/protocols/connections/v1_0/tests/test_routes.py @@ -2,7 +2,7 @@ from unittest import IsolatedAsyncioTestCase from unittest.mock import ANY -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....admin.request_context import AdminRequestContext from .....cache.base import BaseCache diff --git a/aries_cloudagent/protocols/coordinate_mediation/__init__.py b/acapy_agent/protocols/coordinate_mediation/__init__.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/__init__.py rename to acapy_agent/protocols/coordinate_mediation/__init__.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/definition.py b/acapy_agent/protocols/coordinate_mediation/definition.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/definition.py rename to acapy_agent/protocols/coordinate_mediation/definition.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/mediation_invite_store.py b/acapy_agent/protocols/coordinate_mediation/mediation_invite_store.py similarity index 97% rename from aries_cloudagent/protocols/coordinate_mediation/mediation_invite_store.py rename to acapy_agent/protocols/coordinate_mediation/mediation_invite_store.py index bd703d770e..6ae5ac4b9e 100644 --- a/aries_cloudagent/protocols/coordinate_mediation/mediation_invite_store.py +++ b/acapy_agent/protocols/coordinate_mediation/mediation_invite_store.py @@ -8,9 +8,9 @@ import json from typing import NamedTuple, Optional -from aries_cloudagent.storage.base import BaseStorage -from aries_cloudagent.storage.error import StorageNotFoundError -from aries_cloudagent.storage.record import StorageRecord +from acapy_agent.storage.base import BaseStorage +from acapy_agent.storage.error import StorageNotFoundError +from acapy_agent.storage.record import StorageRecord class MediationInviteRecord(NamedTuple): diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/__init__.py b/acapy_agent/protocols/coordinate_mediation/v1_0/__init__.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/__init__.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/__init__.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/controller.py b/acapy_agent/protocols/coordinate_mediation/v1_0/controller.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/controller.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/controller.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/__init__.py b/acapy_agent/protocols/coordinate_mediation/v1_0/handlers/__init__.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/__init__.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/handlers/__init__.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/keylist_handler.py b/acapy_agent/protocols/coordinate_mediation/v1_0/handlers/keylist_handler.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/keylist_handler.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/handlers/keylist_handler.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/keylist_query_handler.py b/acapy_agent/protocols/coordinate_mediation/v1_0/handlers/keylist_query_handler.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/keylist_query_handler.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/handlers/keylist_query_handler.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/keylist_update_handler.py b/acapy_agent/protocols/coordinate_mediation/v1_0/handlers/keylist_update_handler.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/keylist_update_handler.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/handlers/keylist_update_handler.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/keylist_update_response_handler.py b/acapy_agent/protocols/coordinate_mediation/v1_0/handlers/keylist_update_response_handler.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/keylist_update_response_handler.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/handlers/keylist_update_response_handler.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/mediation_deny_handler.py b/acapy_agent/protocols/coordinate_mediation/v1_0/handlers/mediation_deny_handler.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/mediation_deny_handler.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/handlers/mediation_deny_handler.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/mediation_grant_handler.py b/acapy_agent/protocols/coordinate_mediation/v1_0/handlers/mediation_grant_handler.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/mediation_grant_handler.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/handlers/mediation_grant_handler.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/mediation_request_handler.py b/acapy_agent/protocols/coordinate_mediation/v1_0/handlers/mediation_request_handler.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/mediation_request_handler.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/handlers/mediation_request_handler.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/problem_report_handler.py b/acapy_agent/protocols/coordinate_mediation/v1_0/handlers/problem_report_handler.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/problem_report_handler.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/handlers/problem_report_handler.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/tests/__init__.py b/acapy_agent/protocols/coordinate_mediation/v1_0/handlers/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/tests/__init__.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/handlers/tests/__init__.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/tests/test_keylist_handler.py b/acapy_agent/protocols/coordinate_mediation/v1_0/handlers/tests/test_keylist_handler.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/tests/test_keylist_handler.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/handlers/tests/test_keylist_handler.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/tests/test_keylist_query_handler.py b/acapy_agent/protocols/coordinate_mediation/v1_0/handlers/tests/test_keylist_query_handler.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/tests/test_keylist_query_handler.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/handlers/tests/test_keylist_query_handler.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/tests/test_keylist_update_handler.py b/acapy_agent/protocols/coordinate_mediation/v1_0/handlers/tests/test_keylist_update_handler.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/tests/test_keylist_update_handler.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/handlers/tests/test_keylist_update_handler.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/tests/test_keylist_update_response_handler.py b/acapy_agent/protocols/coordinate_mediation/v1_0/handlers/tests/test_keylist_update_response_handler.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/tests/test_keylist_update_response_handler.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/handlers/tests/test_keylist_update_response_handler.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/tests/test_mediation_deny_handler.py b/acapy_agent/protocols/coordinate_mediation/v1_0/handlers/tests/test_mediation_deny_handler.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/tests/test_mediation_deny_handler.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/handlers/tests/test_mediation_deny_handler.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/tests/test_mediation_grant_handler.py b/acapy_agent/protocols/coordinate_mediation/v1_0/handlers/tests/test_mediation_grant_handler.py similarity index 98% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/tests/test_mediation_grant_handler.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/handlers/tests/test_mediation_grant_handler.py index 4813897ccf..eecca9f08e 100644 --- a/aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/tests/test_mediation_grant_handler.py +++ b/acapy_agent/protocols/coordinate_mediation/v1_0/handlers/tests/test_mediation_grant_handler.py @@ -2,8 +2,8 @@ import pytest -from aries_cloudagent.core.profile import ProfileSession -from aries_cloudagent.tests import mock +from acapy_agent.core.profile import ProfileSession +from acapy_agent.tests import mock from ......connections.models.conn_record import ConnRecord from ......messaging.base_handler import HandlerException diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/tests/test_mediation_request_handler.py b/acapy_agent/protocols/coordinate_mediation/v1_0/handlers/tests/test_mediation_request_handler.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/tests/test_mediation_request_handler.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/handlers/tests/test_mediation_request_handler.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/tests/test_problem_report_handler.py b/acapy_agent/protocols/coordinate_mediation/v1_0/handlers/tests/test_problem_report_handler.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/handlers/tests/test_problem_report_handler.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/handlers/tests/test_problem_report_handler.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/manager.py b/acapy_agent/protocols/coordinate_mediation/v1_0/manager.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/manager.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/manager.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/message_types.py b/acapy_agent/protocols/coordinate_mediation/v1_0/message_types.py similarity index 95% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/message_types.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/message_types.py index 53ca6682f0..c1b0596d7e 100644 --- a/aries_cloudagent/protocols/coordinate_mediation/v1_0/message_types.py +++ b/acapy_agent/protocols/coordinate_mediation/v1_0/message_types.py @@ -21,7 +21,7 @@ KEYLIST = f"{BASE}/keylist" PROBLEM_REPORT = f"{BASE}/problem-report" -PROTOCOL_PACKAGE = "aries_cloudagent.protocols.coordinate_mediation.v1_0" +PROTOCOL_PACKAGE = "acapy_agent.protocols.coordinate_mediation.v1_0" MESSAGE_TYPES = DIDCommPrefix.qualify_all( { diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/__init__.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/__init__.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/__init__.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/__init__.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/inner/__init__.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/inner/__init__.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/inner/__init__.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/inner/__init__.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/inner/keylist_key.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/inner/keylist_key.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/inner/keylist_key.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/inner/keylist_key.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/inner/keylist_query_paginate.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/inner/keylist_query_paginate.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/inner/keylist_query_paginate.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/inner/keylist_query_paginate.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/inner/keylist_update_rule.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/inner/keylist_update_rule.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/inner/keylist_update_rule.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/inner/keylist_update_rule.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/inner/keylist_updated.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/inner/keylist_updated.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/inner/keylist_updated.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/inner/keylist_updated.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/keylist.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/keylist.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/keylist.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/keylist.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/keylist_query.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/keylist_query.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/keylist_query.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/keylist_query.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/keylist_update.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/keylist_update.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/keylist_update.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/keylist_update.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/keylist_update_response.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/keylist_update_response.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/keylist_update_response.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/keylist_update_response.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/mediate_deny.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/mediate_deny.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/mediate_deny.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/mediate_deny.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/mediate_grant.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/mediate_grant.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/mediate_grant.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/mediate_grant.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/mediate_request.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/mediate_request.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/mediate_request.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/mediate_request.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/problem_report.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/problem_report.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/problem_report.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/problem_report.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/tests/__init__.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/tests/__init__.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/tests/__init__.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/tests/test_keylist.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/tests/test_keylist.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/tests/test_keylist.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/tests/test_keylist.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/tests/test_keylist_query.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/tests/test_keylist_query.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/tests/test_keylist_query.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/tests/test_keylist_query.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/tests/test_keylist_update.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/tests/test_keylist_update.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/tests/test_keylist_update.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/tests/test_keylist_update.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/tests/test_keylist_update_response.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/tests/test_keylist_update_response.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/tests/test_keylist_update_response.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/tests/test_keylist_update_response.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/tests/test_mediate_deny.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/tests/test_mediate_deny.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/tests/test_mediate_deny.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/tests/test_mediate_deny.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/tests/test_mediate_grant.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/tests/test_mediate_grant.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/tests/test_mediate_grant.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/tests/test_mediate_grant.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/tests/test_mediate_request.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/tests/test_mediate_request.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/tests/test_mediate_request.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/tests/test_mediate_request.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/tests/test_problem_report.py b/acapy_agent/protocols/coordinate_mediation/v1_0/messages/tests/test_problem_report.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/messages/tests/test_problem_report.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/messages/tests/test_problem_report.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/models/__init__.py b/acapy_agent/protocols/coordinate_mediation/v1_0/models/__init__.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/models/__init__.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/models/__init__.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/models/mediation_record.py b/acapy_agent/protocols/coordinate_mediation/v1_0/models/mediation_record.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/models/mediation_record.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/models/mediation_record.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/models/tests/__init__.py b/acapy_agent/protocols/coordinate_mediation/v1_0/models/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/models/tests/__init__.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/models/tests/__init__.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/models/tests/test_mediation_record.py b/acapy_agent/protocols/coordinate_mediation/v1_0/models/tests/test_mediation_record.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/models/tests/test_mediation_record.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/models/tests/test_mediation_record.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/normalization.py b/acapy_agent/protocols/coordinate_mediation/v1_0/normalization.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/normalization.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/normalization.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/route_manager.py b/acapy_agent/protocols/coordinate_mediation/v1_0/route_manager.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/route_manager.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/route_manager.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/route_manager_provider.py b/acapy_agent/protocols/coordinate_mediation/v1_0/route_manager_provider.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/route_manager_provider.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/route_manager_provider.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/routes.py b/acapy_agent/protocols/coordinate_mediation/v1_0/routes.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/routes.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/routes.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/tests/__init__.py b/acapy_agent/protocols/coordinate_mediation/v1_0/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/tests/__init__.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/tests/__init__.py diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/tests/test_mediation_invite_store.py b/acapy_agent/protocols/coordinate_mediation/v1_0/tests/test_mediation_invite_store.py similarity index 95% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/tests/test_mediation_invite_store.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/tests/test_mediation_invite_store.py index ea25170646..f60d15e407 100644 --- a/aries_cloudagent/protocols/coordinate_mediation/v1_0/tests/test_mediation_invite_store.py +++ b/acapy_agent/protocols/coordinate_mediation/v1_0/tests/test_mediation_invite_store.py @@ -1,13 +1,13 @@ from unittest import IsolatedAsyncioTestCase, TestCase, mock -from aries_cloudagent.protocols.coordinate_mediation.mediation_invite_store import ( +from acapy_agent.protocols.coordinate_mediation.mediation_invite_store import ( MediationInviteRecord, MediationInviteStore, NoDefaultMediationInviteException, ) -from aries_cloudagent.storage.base import BaseStorage -from aries_cloudagent.storage.error import StorageNotFoundError -from aries_cloudagent.storage.record import StorageRecord +from acapy_agent.storage.base import BaseStorage +from acapy_agent.storage.error import StorageNotFoundError +from acapy_agent.storage.record import StorageRecord def _storage_record_for(value: str, used: bool = False) -> StorageRecord: diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/tests/test_mediation_manager.py b/acapy_agent/protocols/coordinate_mediation/v1_0/tests/test_mediation_manager.py similarity index 99% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/tests/test_mediation_manager.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/tests/test_mediation_manager.py index 3397593936..137e49e782 100644 --- a/aries_cloudagent/protocols/coordinate_mediation/v1_0/tests/test_mediation_manager.py +++ b/acapy_agent/protocols/coordinate_mediation/v1_0/tests/test_mediation_manager.py @@ -4,7 +4,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....core.event_bus import EventBus, MockEventBus from .....core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/tests/test_route_manager.py b/acapy_agent/protocols/coordinate_mediation/v1_0/tests/test_route_manager.py similarity index 99% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/tests/test_route_manager.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/tests/test_route_manager.py index be462c511c..1f82d5239e 100644 --- a/aries_cloudagent/protocols/coordinate_mediation/v1_0/tests/test_route_manager.py +++ b/acapy_agent/protocols/coordinate_mediation/v1_0/tests/test_route_manager.py @@ -1,6 +1,6 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....connections.models.conn_record import ConnRecord from .....core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/protocols/coordinate_mediation/v1_0/tests/test_routes.py b/acapy_agent/protocols/coordinate_mediation/v1_0/tests/test_routes.py similarity index 99% rename from aries_cloudagent/protocols/coordinate_mediation/v1_0/tests/test_routes.py rename to acapy_agent/protocols/coordinate_mediation/v1_0/tests/test_routes.py index fe25038ab2..dc1b3b213b 100644 --- a/aries_cloudagent/protocols/coordinate_mediation/v1_0/tests/test_routes.py +++ b/acapy_agent/protocols/coordinate_mediation/v1_0/tests/test_routes.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....admin.request_context import AdminRequestContext from .....core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/protocols/did_rotate/__init__.py b/acapy_agent/protocols/did_rotate/__init__.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/__init__.py rename to acapy_agent/protocols/did_rotate/__init__.py diff --git a/aries_cloudagent/protocols/did_rotate/definition.py b/acapy_agent/protocols/did_rotate/definition.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/definition.py rename to acapy_agent/protocols/did_rotate/definition.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/__init__.py b/acapy_agent/protocols/did_rotate/v1_0/__init__.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/__init__.py rename to acapy_agent/protocols/did_rotate/v1_0/__init__.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/handlers/__init__.py b/acapy_agent/protocols/did_rotate/v1_0/handlers/__init__.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/handlers/__init__.py rename to acapy_agent/protocols/did_rotate/v1_0/handlers/__init__.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/handlers/ack_handler.py b/acapy_agent/protocols/did_rotate/v1_0/handlers/ack_handler.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/handlers/ack_handler.py rename to acapy_agent/protocols/did_rotate/v1_0/handlers/ack_handler.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/handlers/hangup_handler.py b/acapy_agent/protocols/did_rotate/v1_0/handlers/hangup_handler.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/handlers/hangup_handler.py rename to acapy_agent/protocols/did_rotate/v1_0/handlers/hangup_handler.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/handlers/problem_report_handler.py b/acapy_agent/protocols/did_rotate/v1_0/handlers/problem_report_handler.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/handlers/problem_report_handler.py rename to acapy_agent/protocols/did_rotate/v1_0/handlers/problem_report_handler.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/handlers/rotate_handler.py b/acapy_agent/protocols/did_rotate/v1_0/handlers/rotate_handler.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/handlers/rotate_handler.py rename to acapy_agent/protocols/did_rotate/v1_0/handlers/rotate_handler.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/handlers/tests/__init__.py b/acapy_agent/protocols/did_rotate/v1_0/handlers/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/handlers/tests/__init__.py rename to acapy_agent/protocols/did_rotate/v1_0/handlers/tests/__init__.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/handlers/tests/test_ack_handler.py b/acapy_agent/protocols/did_rotate/v1_0/handlers/tests/test_ack_handler.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/handlers/tests/test_ack_handler.py rename to acapy_agent/protocols/did_rotate/v1_0/handlers/tests/test_ack_handler.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/handlers/tests/test_hangup_handler.py b/acapy_agent/protocols/did_rotate/v1_0/handlers/tests/test_hangup_handler.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/handlers/tests/test_hangup_handler.py rename to acapy_agent/protocols/did_rotate/v1_0/handlers/tests/test_hangup_handler.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/handlers/tests/test_problem_report_handler.py b/acapy_agent/protocols/did_rotate/v1_0/handlers/tests/test_problem_report_handler.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/handlers/tests/test_problem_report_handler.py rename to acapy_agent/protocols/did_rotate/v1_0/handlers/tests/test_problem_report_handler.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/handlers/tests/test_rotate_handler.py b/acapy_agent/protocols/did_rotate/v1_0/handlers/tests/test_rotate_handler.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/handlers/tests/test_rotate_handler.py rename to acapy_agent/protocols/did_rotate/v1_0/handlers/tests/test_rotate_handler.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/manager.py b/acapy_agent/protocols/did_rotate/v1_0/manager.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/manager.py rename to acapy_agent/protocols/did_rotate/v1_0/manager.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/message_types.py b/acapy_agent/protocols/did_rotate/v1_0/message_types.py similarity index 91% rename from aries_cloudagent/protocols/did_rotate/v1_0/message_types.py rename to acapy_agent/protocols/did_rotate/v1_0/message_types.py index fa5f1f5a16..2d0c0bfb6e 100644 --- a/aries_cloudagent/protocols/did_rotate/v1_0/message_types.py +++ b/acapy_agent/protocols/did_rotate/v1_0/message_types.py @@ -10,7 +10,7 @@ HANGUP = "did-rotate/1.0/hangup" PROBLEM_REPORT = "did-rotate/1.0/problem-report" -PROTOCOL_PACKAGE = "aries_cloudagent.protocols.did_rotate.v1_0" +PROTOCOL_PACKAGE = "acapy_agent.protocols.did_rotate.v1_0" MESSAGE_TYPES = DIDCommPrefix.qualify_all( { diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/messages/__init__.py b/acapy_agent/protocols/did_rotate/v1_0/messages/__init__.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/messages/__init__.py rename to acapy_agent/protocols/did_rotate/v1_0/messages/__init__.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/messages/ack.py b/acapy_agent/protocols/did_rotate/v1_0/messages/ack.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/messages/ack.py rename to acapy_agent/protocols/did_rotate/v1_0/messages/ack.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/messages/hangup.py b/acapy_agent/protocols/did_rotate/v1_0/messages/hangup.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/messages/hangup.py rename to acapy_agent/protocols/did_rotate/v1_0/messages/hangup.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/messages/problem_report.py b/acapy_agent/protocols/did_rotate/v1_0/messages/problem_report.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/messages/problem_report.py rename to acapy_agent/protocols/did_rotate/v1_0/messages/problem_report.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/messages/rotate.py b/acapy_agent/protocols/did_rotate/v1_0/messages/rotate.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/messages/rotate.py rename to acapy_agent/protocols/did_rotate/v1_0/messages/rotate.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/messages/tests/__init__.py b/acapy_agent/protocols/did_rotate/v1_0/messages/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/messages/tests/__init__.py rename to acapy_agent/protocols/did_rotate/v1_0/messages/tests/__init__.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/messages/tests/test_ack.py b/acapy_agent/protocols/did_rotate/v1_0/messages/tests/test_ack.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/messages/tests/test_ack.py rename to acapy_agent/protocols/did_rotate/v1_0/messages/tests/test_ack.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/messages/tests/test_hangup.py b/acapy_agent/protocols/did_rotate/v1_0/messages/tests/test_hangup.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/messages/tests/test_hangup.py rename to acapy_agent/protocols/did_rotate/v1_0/messages/tests/test_hangup.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/messages/tests/test_problem_report.py b/acapy_agent/protocols/did_rotate/v1_0/messages/tests/test_problem_report.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/messages/tests/test_problem_report.py rename to acapy_agent/protocols/did_rotate/v1_0/messages/tests/test_problem_report.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/messages/tests/test_rotate.py b/acapy_agent/protocols/did_rotate/v1_0/messages/tests/test_rotate.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/messages/tests/test_rotate.py rename to acapy_agent/protocols/did_rotate/v1_0/messages/tests/test_rotate.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/models/__init__.py b/acapy_agent/protocols/did_rotate/v1_0/models/__init__.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/models/__init__.py rename to acapy_agent/protocols/did_rotate/v1_0/models/__init__.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/models/rotate_record.py b/acapy_agent/protocols/did_rotate/v1_0/models/rotate_record.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/models/rotate_record.py rename to acapy_agent/protocols/did_rotate/v1_0/models/rotate_record.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/routes.py b/acapy_agent/protocols/did_rotate/v1_0/routes.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/routes.py rename to acapy_agent/protocols/did_rotate/v1_0/routes.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/tests/__init__.py b/acapy_agent/protocols/did_rotate/v1_0/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/tests/__init__.py rename to acapy_agent/protocols/did_rotate/v1_0/tests/__init__.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/tests/test_manager.py b/acapy_agent/protocols/did_rotate/v1_0/tests/test_manager.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/tests/test_manager.py rename to acapy_agent/protocols/did_rotate/v1_0/tests/test_manager.py diff --git a/aries_cloudagent/protocols/did_rotate/v1_0/tests/test_routes.py b/acapy_agent/protocols/did_rotate/v1_0/tests/test_routes.py similarity index 100% rename from aries_cloudagent/protocols/did_rotate/v1_0/tests/test_routes.py rename to acapy_agent/protocols/did_rotate/v1_0/tests/test_routes.py diff --git a/aries_cloudagent/protocols/didcomm_prefix.py b/acapy_agent/protocols/didcomm_prefix.py similarity index 100% rename from aries_cloudagent/protocols/didcomm_prefix.py rename to acapy_agent/protocols/didcomm_prefix.py diff --git a/aries_cloudagent/protocols/didexchange/__init__.py b/acapy_agent/protocols/didexchange/__init__.py similarity index 100% rename from aries_cloudagent/protocols/didexchange/__init__.py rename to acapy_agent/protocols/didexchange/__init__.py diff --git a/aries_cloudagent/protocols/didexchange/definition.py b/acapy_agent/protocols/didexchange/definition.py similarity index 100% rename from aries_cloudagent/protocols/didexchange/definition.py rename to acapy_agent/protocols/didexchange/definition.py diff --git a/aries_cloudagent/protocols/didexchange/v1_0/__init__.py b/acapy_agent/protocols/didexchange/v1_0/__init__.py similarity index 100% rename from aries_cloudagent/protocols/didexchange/v1_0/__init__.py rename to acapy_agent/protocols/didexchange/v1_0/__init__.py diff --git a/aries_cloudagent/protocols/didexchange/v1_0/handlers/__init__.py b/acapy_agent/protocols/didexchange/v1_0/handlers/__init__.py similarity index 100% rename from aries_cloudagent/protocols/didexchange/v1_0/handlers/__init__.py rename to acapy_agent/protocols/didexchange/v1_0/handlers/__init__.py diff --git a/aries_cloudagent/protocols/didexchange/v1_0/handlers/complete_handler.py b/acapy_agent/protocols/didexchange/v1_0/handlers/complete_handler.py similarity index 100% rename from aries_cloudagent/protocols/didexchange/v1_0/handlers/complete_handler.py rename to acapy_agent/protocols/didexchange/v1_0/handlers/complete_handler.py diff --git a/aries_cloudagent/protocols/didexchange/v1_0/handlers/invitation_handler.py b/acapy_agent/protocols/didexchange/v1_0/handlers/invitation_handler.py similarity index 100% rename from aries_cloudagent/protocols/didexchange/v1_0/handlers/invitation_handler.py rename to acapy_agent/protocols/didexchange/v1_0/handlers/invitation_handler.py diff --git a/aries_cloudagent/protocols/didexchange/v1_0/handlers/problem_report_handler.py b/acapy_agent/protocols/didexchange/v1_0/handlers/problem_report_handler.py similarity index 100% rename from aries_cloudagent/protocols/didexchange/v1_0/handlers/problem_report_handler.py rename to acapy_agent/protocols/didexchange/v1_0/handlers/problem_report_handler.py diff --git a/aries_cloudagent/protocols/didexchange/v1_0/handlers/request_handler.py b/acapy_agent/protocols/didexchange/v1_0/handlers/request_handler.py similarity index 100% rename from aries_cloudagent/protocols/didexchange/v1_0/handlers/request_handler.py rename to acapy_agent/protocols/didexchange/v1_0/handlers/request_handler.py diff --git a/aries_cloudagent/protocols/didexchange/v1_0/handlers/response_handler.py b/acapy_agent/protocols/didexchange/v1_0/handlers/response_handler.py similarity index 100% rename from aries_cloudagent/protocols/didexchange/v1_0/handlers/response_handler.py rename to acapy_agent/protocols/didexchange/v1_0/handlers/response_handler.py diff --git a/aries_cloudagent/protocols/didexchange/v1_0/handlers/tests/__init__.py b/acapy_agent/protocols/didexchange/v1_0/handlers/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/didexchange/v1_0/handlers/tests/__init__.py rename to acapy_agent/protocols/didexchange/v1_0/handlers/tests/__init__.py diff --git a/aries_cloudagent/protocols/didexchange/v1_0/handlers/tests/test_complete_handler.py b/acapy_agent/protocols/didexchange/v1_0/handlers/tests/test_complete_handler.py similarity index 98% rename from aries_cloudagent/protocols/didexchange/v1_0/handlers/tests/test_complete_handler.py rename to acapy_agent/protocols/didexchange/v1_0/handlers/tests/test_complete_handler.py index e9edb870a0..afba04c9b0 100644 --- a/aries_cloudagent/protocols/didexchange/v1_0/handlers/tests/test_complete_handler.py +++ b/acapy_agent/protocols/didexchange/v1_0/handlers/tests/test_complete_handler.py @@ -1,6 +1,6 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......messaging.request_context import RequestContext from ......messaging.responder import MockResponder diff --git a/aries_cloudagent/protocols/didexchange/v1_0/handlers/tests/test_invitation_handler.py b/acapy_agent/protocols/didexchange/v1_0/handlers/tests/test_invitation_handler.py similarity index 100% rename from aries_cloudagent/protocols/didexchange/v1_0/handlers/tests/test_invitation_handler.py rename to acapy_agent/protocols/didexchange/v1_0/handlers/tests/test_invitation_handler.py diff --git a/aries_cloudagent/protocols/didexchange/v1_0/handlers/tests/test_problem_report_handler.py b/acapy_agent/protocols/didexchange/v1_0/handlers/tests/test_problem_report_handler.py similarity index 98% rename from aries_cloudagent/protocols/didexchange/v1_0/handlers/tests/test_problem_report_handler.py rename to acapy_agent/protocols/didexchange/v1_0/handlers/tests/test_problem_report_handler.py index 3e4280a313..c66cfcf2c0 100644 --- a/aries_cloudagent/protocols/didexchange/v1_0/handlers/tests/test_problem_report_handler.py +++ b/acapy_agent/protocols/didexchange/v1_0/handlers/tests/test_problem_report_handler.py @@ -1,6 +1,6 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......messaging.base_handler import HandlerException from ......messaging.request_context import RequestContext diff --git a/aries_cloudagent/protocols/didexchange/v1_0/handlers/tests/test_request_handler.py b/acapy_agent/protocols/didexchange/v1_0/handlers/tests/test_request_handler.py similarity index 99% rename from aries_cloudagent/protocols/didexchange/v1_0/handlers/tests/test_request_handler.py rename to acapy_agent/protocols/didexchange/v1_0/handlers/tests/test_request_handler.py index da9de340b6..d03d1ea330 100644 --- a/aries_cloudagent/protocols/didexchange/v1_0/handlers/tests/test_request_handler.py +++ b/acapy_agent/protocols/didexchange/v1_0/handlers/tests/test_request_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......connections.models import conn_record, connection_target from ......connections.models.diddoc import DIDDoc, PublicKey, PublicKeyType, Service diff --git a/aries_cloudagent/protocols/didexchange/v1_0/handlers/tests/test_response_handler.py b/acapy_agent/protocols/didexchange/v1_0/handlers/tests/test_response_handler.py similarity index 99% rename from aries_cloudagent/protocols/didexchange/v1_0/handlers/tests/test_response_handler.py rename to acapy_agent/protocols/didexchange/v1_0/handlers/tests/test_response_handler.py index db201a326c..e8d4271607 100644 --- a/aries_cloudagent/protocols/didexchange/v1_0/handlers/tests/test_response_handler.py +++ b/acapy_agent/protocols/didexchange/v1_0/handlers/tests/test_response_handler.py @@ -2,7 +2,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......connections.models import connection_target from ......connections.models.diddoc import DIDDoc, PublicKey, PublicKeyType, Service diff --git a/aries_cloudagent/protocols/didexchange/v1_0/manager.py b/acapy_agent/protocols/didexchange/v1_0/manager.py similarity index 100% rename from aries_cloudagent/protocols/didexchange/v1_0/manager.py rename to acapy_agent/protocols/didexchange/v1_0/manager.py diff --git a/aries_cloudagent/protocols/didexchange/v1_0/message_types.py b/acapy_agent/protocols/didexchange/v1_0/message_types.py similarity index 94% rename from aries_cloudagent/protocols/didexchange/v1_0/message_types.py rename to acapy_agent/protocols/didexchange/v1_0/message_types.py index 792e2c8722..dc7438480a 100644 --- a/aries_cloudagent/protocols/didexchange/v1_0/message_types.py +++ b/acapy_agent/protocols/didexchange/v1_0/message_types.py @@ -20,7 +20,7 @@ DIDX_COMPLETE = f"{ARIES_PROTOCOL}/complete" PROBLEM_REPORT = f"{ARIES_PROTOCOL}/problem_report" -PROTOCOL_PACKAGE = "aries_cloudagent.protocols.didexchange.v1_0" +PROTOCOL_PACKAGE = "acapy_agent.protocols.didexchange.v1_0" MESSAGE_TYPES = DIDCommPrefix.qualify_all( { diff --git a/aries_cloudagent/protocols/didexchange/v1_0/messages/__init__.py b/acapy_agent/protocols/didexchange/v1_0/messages/__init__.py similarity index 100% rename from aries_cloudagent/protocols/didexchange/v1_0/messages/__init__.py rename to acapy_agent/protocols/didexchange/v1_0/messages/__init__.py diff --git a/aries_cloudagent/protocols/didexchange/v1_0/messages/complete.py b/acapy_agent/protocols/didexchange/v1_0/messages/complete.py similarity index 100% rename from aries_cloudagent/protocols/didexchange/v1_0/messages/complete.py rename to acapy_agent/protocols/didexchange/v1_0/messages/complete.py diff --git a/aries_cloudagent/protocols/didexchange/v1_0/messages/problem_report.py b/acapy_agent/protocols/didexchange/v1_0/messages/problem_report.py similarity index 97% rename from aries_cloudagent/protocols/didexchange/v1_0/messages/problem_report.py rename to acapy_agent/protocols/didexchange/v1_0/messages/problem_report.py index 4df4b1cbdd..36e5f8e295 100644 --- a/aries_cloudagent/protocols/didexchange/v1_0/messages/problem_report.py +++ b/acapy_agent/protocols/didexchange/v1_0/messages/problem_report.py @@ -9,7 +9,7 @@ from ..message_types import PROBLEM_REPORT HANDLER_CLASS = ( - "aries_cloudagent.protocols.didexchange.v1_0.handlers." + "acapy_agent.protocols.didexchange.v1_0.handlers." "problem_report_handler.DIDXProblemReportHandler" ) diff --git a/aries_cloudagent/protocols/didexchange/v1_0/messages/request.py b/acapy_agent/protocols/didexchange/v1_0/messages/request.py similarity index 100% rename from aries_cloudagent/protocols/didexchange/v1_0/messages/request.py rename to acapy_agent/protocols/didexchange/v1_0/messages/request.py diff --git a/aries_cloudagent/protocols/didexchange/v1_0/messages/response.py b/acapy_agent/protocols/didexchange/v1_0/messages/response.py similarity index 100% rename from aries_cloudagent/protocols/didexchange/v1_0/messages/response.py rename to acapy_agent/protocols/didexchange/v1_0/messages/response.py diff --git a/aries_cloudagent/protocols/didexchange/v1_0/messages/tests/__init__.py b/acapy_agent/protocols/didexchange/v1_0/messages/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/didexchange/v1_0/messages/tests/__init__.py rename to acapy_agent/protocols/didexchange/v1_0/messages/tests/__init__.py diff --git a/aries_cloudagent/protocols/didexchange/v1_0/messages/tests/test_complete.py b/acapy_agent/protocols/didexchange/v1_0/messages/tests/test_complete.py similarity index 100% rename from aries_cloudagent/protocols/didexchange/v1_0/messages/tests/test_complete.py rename to acapy_agent/protocols/didexchange/v1_0/messages/tests/test_complete.py diff --git a/aries_cloudagent/protocols/didexchange/v1_0/messages/tests/test_problem_report.py b/acapy_agent/protocols/didexchange/v1_0/messages/tests/test_problem_report.py similarity index 100% rename from aries_cloudagent/protocols/didexchange/v1_0/messages/tests/test_problem_report.py rename to acapy_agent/protocols/didexchange/v1_0/messages/tests/test_problem_report.py diff --git a/aries_cloudagent/protocols/didexchange/v1_0/messages/tests/test_request.py b/acapy_agent/protocols/didexchange/v1_0/messages/tests/test_request.py similarity index 97% rename from aries_cloudagent/protocols/didexchange/v1_0/messages/tests/test_request.py rename to acapy_agent/protocols/didexchange/v1_0/messages/tests/test_request.py index 48ab8736c6..d18df15d6a 100644 --- a/aries_cloudagent/protocols/didexchange/v1_0/messages/tests/test_request.py +++ b/acapy_agent/protocols/didexchange/v1_0/messages/tests/test_request.py @@ -80,7 +80,7 @@ def test_type(self): assert self.request._type == DIDCommPrefix.qualify_current(DIDX_REQUEST) @mock.patch( - "aries_cloudagent.protocols.didexchange.v1_0.messages." + "acapy_agent.protocols.didexchange.v1_0.messages." "request.DIDXRequestSchema.load" ) def test_deserialize(self, mock_request_schema_load): @@ -95,7 +95,7 @@ def test_deserialize(self, mock_request_schema_load): assert request is mock_request_schema_load.return_value @mock.patch( - "aries_cloudagent.protocols.didexchange.v1_0.messages." + "acapy_agent.protocols.didexchange.v1_0.messages." "request.DIDXRequestSchema.dump" ) def test_serialize(self, mock_request_schema_dump): diff --git a/aries_cloudagent/protocols/didexchange/v1_0/messages/tests/test_response.py b/acapy_agent/protocols/didexchange/v1_0/messages/tests/test_response.py similarity index 97% rename from aries_cloudagent/protocols/didexchange/v1_0/messages/tests/test_response.py rename to acapy_agent/protocols/didexchange/v1_0/messages/tests/test_response.py index fe7cc5b431..378fc33487 100644 --- a/aries_cloudagent/protocols/didexchange/v1_0/messages/tests/test_response.py +++ b/acapy_agent/protocols/didexchange/v1_0/messages/tests/test_response.py @@ -74,7 +74,7 @@ def test_type(self): assert self.response._type == DIDCommPrefix.qualify_current(DIDX_RESPONSE) @mock.patch( - "aries_cloudagent.protocols.didexchange.v1_0.messages." + "acapy_agent.protocols.didexchange.v1_0.messages." "response.DIDXResponseSchema.load" ) def test_deserialize(self, mock_response_schema_load): @@ -89,7 +89,7 @@ def test_deserialize(self, mock_response_schema_load): assert response is mock_response_schema_load.return_value @mock.patch( - "aries_cloudagent.protocols.didexchange.v1_0.messages." + "acapy_agent.protocols.didexchange.v1_0.messages." "response.DIDXResponseSchema.dump" ) def test_serialize(self, mock_response_schema_dump): diff --git a/aries_cloudagent/protocols/didexchange/v1_0/routes.py b/acapy_agent/protocols/didexchange/v1_0/routes.py similarity index 100% rename from aries_cloudagent/protocols/didexchange/v1_0/routes.py rename to acapy_agent/protocols/didexchange/v1_0/routes.py diff --git a/aries_cloudagent/protocols/didexchange/v1_0/tests/__init__.py b/acapy_agent/protocols/didexchange/v1_0/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/didexchange/v1_0/tests/__init__.py rename to acapy_agent/protocols/didexchange/v1_0/tests/__init__.py diff --git a/aries_cloudagent/protocols/didexchange/v1_0/tests/test_manager.py b/acapy_agent/protocols/didexchange/v1_0/tests/test_manager.py similarity index 99% rename from aries_cloudagent/protocols/didexchange/v1_0/tests/test_manager.py rename to acapy_agent/protocols/didexchange/v1_0/tests/test_manager.py index 0ded6e3db4..75b5d3f6a7 100644 --- a/aries_cloudagent/protocols/didexchange/v1_0/tests/test_manager.py +++ b/acapy_agent/protocols/didexchange/v1_0/tests/test_manager.py @@ -3,7 +3,7 @@ from pydid import DIDDocument -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....admin.server import AdminResponder from .....cache.base import BaseCache diff --git a/aries_cloudagent/protocols/didexchange/v1_0/tests/test_routes.py b/acapy_agent/protocols/didexchange/v1_0/tests/test_routes.py similarity index 99% rename from aries_cloudagent/protocols/didexchange/v1_0/tests/test_routes.py rename to acapy_agent/protocols/didexchange/v1_0/tests/test_routes.py index a06edc2bcb..87a00282f2 100644 --- a/aries_cloudagent/protocols/didexchange/v1_0/tests/test_routes.py +++ b/acapy_agent/protocols/didexchange/v1_0/tests/test_routes.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....admin.request_context import AdminRequestContext from .....core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/protocols/discovery/__init__.py b/acapy_agent/protocols/discovery/__init__.py similarity index 100% rename from aries_cloudagent/protocols/discovery/__init__.py rename to acapy_agent/protocols/discovery/__init__.py diff --git a/aries_cloudagent/protocols/discovery/definition.py b/acapy_agent/protocols/discovery/definition.py similarity index 100% rename from aries_cloudagent/protocols/discovery/definition.py rename to acapy_agent/protocols/discovery/definition.py diff --git a/aries_cloudagent/protocols/discovery/v1_0/__init__.py b/acapy_agent/protocols/discovery/v1_0/__init__.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v1_0/__init__.py rename to acapy_agent/protocols/discovery/v1_0/__init__.py diff --git a/aries_cloudagent/protocols/discovery/v1_0/handlers/__init__.py b/acapy_agent/protocols/discovery/v1_0/handlers/__init__.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v1_0/handlers/__init__.py rename to acapy_agent/protocols/discovery/v1_0/handlers/__init__.py diff --git a/aries_cloudagent/protocols/discovery/v1_0/handlers/disclose_handler.py b/acapy_agent/protocols/discovery/v1_0/handlers/disclose_handler.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v1_0/handlers/disclose_handler.py rename to acapy_agent/protocols/discovery/v1_0/handlers/disclose_handler.py diff --git a/aries_cloudagent/protocols/discovery/v1_0/handlers/query_handler.py b/acapy_agent/protocols/discovery/v1_0/handlers/query_handler.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v1_0/handlers/query_handler.py rename to acapy_agent/protocols/discovery/v1_0/handlers/query_handler.py diff --git a/aries_cloudagent/protocols/discovery/v1_0/handlers/tests/__init__.py b/acapy_agent/protocols/discovery/v1_0/handlers/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v1_0/handlers/tests/__init__.py rename to acapy_agent/protocols/discovery/v1_0/handlers/tests/__init__.py diff --git a/aries_cloudagent/protocols/discovery/v1_0/handlers/tests/test_disclose_handler.py b/acapy_agent/protocols/discovery/v1_0/handlers/tests/test_disclose_handler.py similarity index 98% rename from aries_cloudagent/protocols/discovery/v1_0/handlers/tests/test_disclose_handler.py rename to acapy_agent/protocols/discovery/v1_0/handlers/tests/test_disclose_handler.py index 571d3de64d..c912d2115d 100644 --- a/aries_cloudagent/protocols/discovery/v1_0/handlers/tests/test_disclose_handler.py +++ b/acapy_agent/protocols/discovery/v1_0/handlers/tests/test_disclose_handler.py @@ -1,6 +1,6 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.protocol_registry import ProtocolRegistry from ......messaging.base_handler import HandlerException diff --git a/aries_cloudagent/protocols/discovery/v1_0/handlers/tests/test_query_handler.py b/acapy_agent/protocols/discovery/v1_0/handlers/tests/test_query_handler.py similarity index 98% rename from aries_cloudagent/protocols/discovery/v1_0/handlers/tests/test_query_handler.py rename to acapy_agent/protocols/discovery/v1_0/handlers/tests/test_query_handler.py index 14854eb0b7..07bc80cdb7 100644 --- a/aries_cloudagent/protocols/discovery/v1_0/handlers/tests/test_query_handler.py +++ b/acapy_agent/protocols/discovery/v1_0/handlers/tests/test_query_handler.py @@ -1,6 +1,6 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.protocol_registry import ProtocolRegistry from ......messaging.request_context import RequestContext diff --git a/aries_cloudagent/protocols/discovery/v1_0/manager.py b/acapy_agent/protocols/discovery/v1_0/manager.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v1_0/manager.py rename to acapy_agent/protocols/discovery/v1_0/manager.py diff --git a/aries_cloudagent/protocols/discovery/v1_0/message_types.py b/acapy_agent/protocols/discovery/v1_0/message_types.py similarity index 89% rename from aries_cloudagent/protocols/discovery/v1_0/message_types.py rename to acapy_agent/protocols/discovery/v1_0/message_types.py index 6446c89100..6100fd74df 100644 --- a/aries_cloudagent/protocols/discovery/v1_0/message_types.py +++ b/acapy_agent/protocols/discovery/v1_0/message_types.py @@ -11,7 +11,7 @@ DISCLOSE = "discover-features/1.0/disclose" QUERY = "discover-features/1.0/query" -PROTOCOL_PACKAGE = "aries_cloudagent.protocols.discovery.v1_0" +PROTOCOL_PACKAGE = "acapy_agent.protocols.discovery.v1_0" MESSAGE_TYPES = DIDCommPrefix.qualify_all( { diff --git a/aries_cloudagent/protocols/discovery/v1_0/messages/__init__.py b/acapy_agent/protocols/discovery/v1_0/messages/__init__.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v1_0/messages/__init__.py rename to acapy_agent/protocols/discovery/v1_0/messages/__init__.py diff --git a/aries_cloudagent/protocols/discovery/v1_0/messages/disclose.py b/acapy_agent/protocols/discovery/v1_0/messages/disclose.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v1_0/messages/disclose.py rename to acapy_agent/protocols/discovery/v1_0/messages/disclose.py diff --git a/aries_cloudagent/protocols/discovery/v1_0/messages/query.py b/acapy_agent/protocols/discovery/v1_0/messages/query.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v1_0/messages/query.py rename to acapy_agent/protocols/discovery/v1_0/messages/query.py diff --git a/aries_cloudagent/protocols/discovery/v1_0/messages/tests/__init__.py b/acapy_agent/protocols/discovery/v1_0/messages/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v1_0/messages/tests/__init__.py rename to acapy_agent/protocols/discovery/v1_0/messages/tests/__init__.py diff --git a/aries_cloudagent/protocols/discovery/v1_0/messages/tests/test_disclose.py b/acapy_agent/protocols/discovery/v1_0/messages/tests/test_disclose.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v1_0/messages/tests/test_disclose.py rename to acapy_agent/protocols/discovery/v1_0/messages/tests/test_disclose.py diff --git a/aries_cloudagent/protocols/discovery/v1_0/messages/tests/test_query.py b/acapy_agent/protocols/discovery/v1_0/messages/tests/test_query.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v1_0/messages/tests/test_query.py rename to acapy_agent/protocols/discovery/v1_0/messages/tests/test_query.py diff --git a/aries_cloudagent/protocols/discovery/v1_0/models/__init__.py b/acapy_agent/protocols/discovery/v1_0/models/__init__.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v1_0/models/__init__.py rename to acapy_agent/protocols/discovery/v1_0/models/__init__.py diff --git a/aries_cloudagent/protocols/discovery/v1_0/models/discovery_record.py b/acapy_agent/protocols/discovery/v1_0/models/discovery_record.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v1_0/models/discovery_record.py rename to acapy_agent/protocols/discovery/v1_0/models/discovery_record.py diff --git a/aries_cloudagent/protocols/discovery/v1_0/models/tests/__init__.py b/acapy_agent/protocols/discovery/v1_0/models/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v1_0/models/tests/__init__.py rename to acapy_agent/protocols/discovery/v1_0/models/tests/__init__.py diff --git a/aries_cloudagent/protocols/discovery/v1_0/models/tests/test_record.py b/acapy_agent/protocols/discovery/v1_0/models/tests/test_record.py similarity index 99% rename from aries_cloudagent/protocols/discovery/v1_0/models/tests/test_record.py rename to acapy_agent/protocols/discovery/v1_0/models/tests/test_record.py index 337a7f60c3..872da91e63 100644 --- a/aries_cloudagent/protocols/discovery/v1_0/models/tests/test_record.py +++ b/acapy_agent/protocols/discovery/v1_0/models/tests/test_record.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.in_memory import InMemoryProfile from ......storage.error import StorageDuplicateError, StorageNotFoundError diff --git a/aries_cloudagent/protocols/discovery/v1_0/routes.py b/acapy_agent/protocols/discovery/v1_0/routes.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v1_0/routes.py rename to acapy_agent/protocols/discovery/v1_0/routes.py diff --git a/aries_cloudagent/protocols/discovery/v1_0/tests/__init__.py b/acapy_agent/protocols/discovery/v1_0/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v1_0/tests/__init__.py rename to acapy_agent/protocols/discovery/v1_0/tests/__init__.py diff --git a/aries_cloudagent/protocols/discovery/v1_0/tests/test_manager.py b/acapy_agent/protocols/discovery/v1_0/tests/test_manager.py similarity index 99% rename from aries_cloudagent/protocols/discovery/v1_0/tests/test_manager.py rename to acapy_agent/protocols/discovery/v1_0/tests/test_manager.py index c30430cf54..ec198d4d6c 100644 --- a/aries_cloudagent/protocols/discovery/v1_0/tests/test_manager.py +++ b/acapy_agent/protocols/discovery/v1_0/tests/test_manager.py @@ -2,7 +2,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....core.in_memory import InMemoryProfile from .....messaging.responder import BaseResponder, MockResponder diff --git a/aries_cloudagent/protocols/discovery/v1_0/tests/test_routes.py b/acapy_agent/protocols/discovery/v1_0/tests/test_routes.py similarity index 99% rename from aries_cloudagent/protocols/discovery/v1_0/tests/test_routes.py rename to acapy_agent/protocols/discovery/v1_0/tests/test_routes.py index 4af4af5a8c..b837021fa5 100644 --- a/aries_cloudagent/protocols/discovery/v1_0/tests/test_routes.py +++ b/acapy_agent/protocols/discovery/v1_0/tests/test_routes.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....admin.request_context import AdminRequestContext from .....core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/protocols/discovery/v2_0/__init__.py b/acapy_agent/protocols/discovery/v2_0/__init__.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v2_0/__init__.py rename to acapy_agent/protocols/discovery/v2_0/__init__.py diff --git a/aries_cloudagent/protocols/discovery/v2_0/handlers/__init__.py b/acapy_agent/protocols/discovery/v2_0/handlers/__init__.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v2_0/handlers/__init__.py rename to acapy_agent/protocols/discovery/v2_0/handlers/__init__.py diff --git a/aries_cloudagent/protocols/discovery/v2_0/handlers/disclosures_handler.py b/acapy_agent/protocols/discovery/v2_0/handlers/disclosures_handler.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v2_0/handlers/disclosures_handler.py rename to acapy_agent/protocols/discovery/v2_0/handlers/disclosures_handler.py diff --git a/aries_cloudagent/protocols/discovery/v2_0/handlers/queries_handler.py b/acapy_agent/protocols/discovery/v2_0/handlers/queries_handler.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v2_0/handlers/queries_handler.py rename to acapy_agent/protocols/discovery/v2_0/handlers/queries_handler.py diff --git a/aries_cloudagent/protocols/discovery/v2_0/handlers/tests/__init__.py b/acapy_agent/protocols/discovery/v2_0/handlers/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v2_0/handlers/tests/__init__.py rename to acapy_agent/protocols/discovery/v2_0/handlers/tests/__init__.py diff --git a/aries_cloudagent/protocols/discovery/v2_0/handlers/tests/test_disclosures_handler.py b/acapy_agent/protocols/discovery/v2_0/handlers/tests/test_disclosures_handler.py similarity index 98% rename from aries_cloudagent/protocols/discovery/v2_0/handlers/tests/test_disclosures_handler.py rename to acapy_agent/protocols/discovery/v2_0/handlers/tests/test_disclosures_handler.py index 1b8a113bcb..623a0a09fb 100644 --- a/aries_cloudagent/protocols/discovery/v2_0/handlers/tests/test_disclosures_handler.py +++ b/acapy_agent/protocols/discovery/v2_0/handlers/tests/test_disclosures_handler.py @@ -1,7 +1,7 @@ import pytest -from aries_cloudagent.storage.error import StorageNotFoundError -from aries_cloudagent.tests import mock +from acapy_agent.storage.error import StorageNotFoundError +from acapy_agent.tests import mock from ......core.protocol_registry import ProtocolRegistry from ......messaging.base_handler import HandlerException diff --git a/aries_cloudagent/protocols/discovery/v2_0/handlers/tests/test_queries_handler.py b/acapy_agent/protocols/discovery/v2_0/handlers/tests/test_queries_handler.py similarity index 99% rename from aries_cloudagent/protocols/discovery/v2_0/handlers/tests/test_queries_handler.py rename to acapy_agent/protocols/discovery/v2_0/handlers/tests/test_queries_handler.py index 2ae1786d51..d2254a03a8 100644 --- a/aries_cloudagent/protocols/discovery/v2_0/handlers/tests/test_queries_handler.py +++ b/acapy_agent/protocols/discovery/v2_0/handlers/tests/test_queries_handler.py @@ -2,7 +2,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.goal_code_registry import GoalCodeRegistry from ......core.protocol_registry import ProtocolRegistry diff --git a/aries_cloudagent/protocols/discovery/v2_0/manager.py b/acapy_agent/protocols/discovery/v2_0/manager.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v2_0/manager.py rename to acapy_agent/protocols/discovery/v2_0/manager.py diff --git a/aries_cloudagent/protocols/discovery/v2_0/message_types.py b/acapy_agent/protocols/discovery/v2_0/message_types.py similarity index 89% rename from aries_cloudagent/protocols/discovery/v2_0/message_types.py rename to acapy_agent/protocols/discovery/v2_0/message_types.py index aaa7048dcf..c613a6f428 100644 --- a/aries_cloudagent/protocols/discovery/v2_0/message_types.py +++ b/acapy_agent/protocols/discovery/v2_0/message_types.py @@ -11,7 +11,7 @@ DISCLOSURES = "discover-features/2.0/disclosures" QUERIES = "discover-features/2.0/queries" -PROTOCOL_PACKAGE = "aries_cloudagent.protocols.discovery.v2_0" +PROTOCOL_PACKAGE = "acapy_agent.protocols.discovery.v2_0" MESSAGE_TYPES = DIDCommPrefix.qualify_all( { diff --git a/aries_cloudagent/protocols/discovery/v2_0/messages/__init__.py b/acapy_agent/protocols/discovery/v2_0/messages/__init__.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v2_0/messages/__init__.py rename to acapy_agent/protocols/discovery/v2_0/messages/__init__.py diff --git a/aries_cloudagent/protocols/discovery/v2_0/messages/disclosures.py b/acapy_agent/protocols/discovery/v2_0/messages/disclosures.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v2_0/messages/disclosures.py rename to acapy_agent/protocols/discovery/v2_0/messages/disclosures.py diff --git a/aries_cloudagent/protocols/discovery/v2_0/messages/queries.py b/acapy_agent/protocols/discovery/v2_0/messages/queries.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v2_0/messages/queries.py rename to acapy_agent/protocols/discovery/v2_0/messages/queries.py diff --git a/aries_cloudagent/protocols/discovery/v2_0/messages/tests/__init__.py b/acapy_agent/protocols/discovery/v2_0/messages/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v2_0/messages/tests/__init__.py rename to acapy_agent/protocols/discovery/v2_0/messages/tests/__init__.py diff --git a/aries_cloudagent/protocols/discovery/v2_0/messages/tests/test_disclosures.py b/acapy_agent/protocols/discovery/v2_0/messages/tests/test_disclosures.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v2_0/messages/tests/test_disclosures.py rename to acapy_agent/protocols/discovery/v2_0/messages/tests/test_disclosures.py diff --git a/aries_cloudagent/protocols/discovery/v2_0/messages/tests/test_queries.py b/acapy_agent/protocols/discovery/v2_0/messages/tests/test_queries.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v2_0/messages/tests/test_queries.py rename to acapy_agent/protocols/discovery/v2_0/messages/tests/test_queries.py diff --git a/aries_cloudagent/protocols/discovery/v2_0/models/__init__.py b/acapy_agent/protocols/discovery/v2_0/models/__init__.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v2_0/models/__init__.py rename to acapy_agent/protocols/discovery/v2_0/models/__init__.py diff --git a/aries_cloudagent/protocols/discovery/v2_0/models/discovery_record.py b/acapy_agent/protocols/discovery/v2_0/models/discovery_record.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v2_0/models/discovery_record.py rename to acapy_agent/protocols/discovery/v2_0/models/discovery_record.py diff --git a/aries_cloudagent/protocols/discovery/v2_0/models/tests/__init__.py b/acapy_agent/protocols/discovery/v2_0/models/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v2_0/models/tests/__init__.py rename to acapy_agent/protocols/discovery/v2_0/models/tests/__init__.py diff --git a/aries_cloudagent/protocols/discovery/v2_0/models/tests/test_record.py b/acapy_agent/protocols/discovery/v2_0/models/tests/test_record.py similarity index 99% rename from aries_cloudagent/protocols/discovery/v2_0/models/tests/test_record.py rename to acapy_agent/protocols/discovery/v2_0/models/tests/test_record.py index bc50c0dc8f..1791c13879 100644 --- a/aries_cloudagent/protocols/discovery/v2_0/models/tests/test_record.py +++ b/acapy_agent/protocols/discovery/v2_0/models/tests/test_record.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.in_memory import InMemoryProfile from ......storage.error import StorageDuplicateError, StorageNotFoundError diff --git a/aries_cloudagent/protocols/discovery/v2_0/routes.py b/acapy_agent/protocols/discovery/v2_0/routes.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v2_0/routes.py rename to acapy_agent/protocols/discovery/v2_0/routes.py diff --git a/aries_cloudagent/protocols/discovery/v2_0/tests/__init__.py b/acapy_agent/protocols/discovery/v2_0/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/discovery/v2_0/tests/__init__.py rename to acapy_agent/protocols/discovery/v2_0/tests/__init__.py diff --git a/aries_cloudagent/protocols/discovery/v2_0/tests/test_manager.py b/acapy_agent/protocols/discovery/v2_0/tests/test_manager.py similarity index 99% rename from aries_cloudagent/protocols/discovery/v2_0/tests/test_manager.py rename to acapy_agent/protocols/discovery/v2_0/tests/test_manager.py index eeae52ef04..6a82c24f5b 100644 --- a/aries_cloudagent/protocols/discovery/v2_0/tests/test_manager.py +++ b/acapy_agent/protocols/discovery/v2_0/tests/test_manager.py @@ -4,7 +4,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....core.in_memory import InMemoryProfile from .....messaging.responder import BaseResponder, MockResponder diff --git a/aries_cloudagent/protocols/discovery/v2_0/tests/test_routes.py b/acapy_agent/protocols/discovery/v2_0/tests/test_routes.py similarity index 99% rename from aries_cloudagent/protocols/discovery/v2_0/tests/test_routes.py rename to acapy_agent/protocols/discovery/v2_0/tests/test_routes.py index bcd542227e..89fe5cb08b 100644 --- a/aries_cloudagent/protocols/discovery/v2_0/tests/test_routes.py +++ b/acapy_agent/protocols/discovery/v2_0/tests/test_routes.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....admin.request_context import AdminRequestContext from .....core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/protocols/endorse_transaction/__init__.py b/acapy_agent/protocols/endorse_transaction/__init__.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/__init__.py rename to acapy_agent/protocols/endorse_transaction/__init__.py diff --git a/aries_cloudagent/protocols/endorse_transaction/definition.py b/acapy_agent/protocols/endorse_transaction/definition.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/definition.py rename to acapy_agent/protocols/endorse_transaction/definition.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/__init__.py b/acapy_agent/protocols/endorse_transaction/v1_0/__init__.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/__init__.py rename to acapy_agent/protocols/endorse_transaction/v1_0/__init__.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/controller.py b/acapy_agent/protocols/endorse_transaction/v1_0/controller.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/controller.py rename to acapy_agent/protocols/endorse_transaction/v1_0/controller.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/__init__.py b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/__init__.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/__init__.py rename to acapy_agent/protocols/endorse_transaction/v1_0/handlers/__init__.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/endorsed_transaction_response_handler.py b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/endorsed_transaction_response_handler.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/endorsed_transaction_response_handler.py rename to acapy_agent/protocols/endorse_transaction/v1_0/handlers/endorsed_transaction_response_handler.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/refused_transaction_response_handler.py b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/refused_transaction_response_handler.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/refused_transaction_response_handler.py rename to acapy_agent/protocols/endorse_transaction/v1_0/handlers/refused_transaction_response_handler.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/__init__.py b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/__init__.py rename to acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/__init__.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/test_endorsed_transaction_response_handler.py b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/test_endorsed_transaction_response_handler.py similarity index 98% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/test_endorsed_transaction_response_handler.py rename to acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/test_endorsed_transaction_response_handler.py index 3205a0e2bb..94f54fc20e 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/test_endorsed_transaction_response_handler.py +++ b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/test_endorsed_transaction_response_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......messaging.request_context import RequestContext from ......messaging.responder import MockResponder diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/test_refused_transaction_response_handler.py b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/test_refused_transaction_response_handler.py similarity index 98% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/test_refused_transaction_response_handler.py rename to acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/test_refused_transaction_response_handler.py index 6670e04745..e68990d9cf 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/test_refused_transaction_response_handler.py +++ b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/test_refused_transaction_response_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......messaging.request_context import RequestContext from ......messaging.responder import MockResponder diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_acknowledgement_handler.py b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_acknowledgement_handler.py similarity index 98% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_acknowledgement_handler.py rename to acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_acknowledgement_handler.py index 30994e8a03..69f9d0e5ea 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_acknowledgement_handler.py +++ b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_acknowledgement_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......connections.models.conn_record import ConnRecord from ......messaging.request_context import RequestContext diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_cancel_handler.py b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_cancel_handler.py similarity index 98% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_cancel_handler.py rename to acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_cancel_handler.py index 2106b6d29d..6a70fa902f 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_cancel_handler.py +++ b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_cancel_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......connections.models.conn_record import ConnRecord from ......messaging.request_context import RequestContext diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_job_to_send_handler.py b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_job_to_send_handler.py similarity index 98% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_job_to_send_handler.py rename to acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_job_to_send_handler.py index 671a4d47b6..21e58db8b1 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_job_to_send_handler.py +++ b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_job_to_send_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......messaging.request_context import RequestContext from ......messaging.responder import MockResponder diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_request_handler.py b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_request_handler.py similarity index 98% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_request_handler.py rename to acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_request_handler.py index 5252660bda..b2fb76e7dc 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_request_handler.py +++ b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_request_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......connections.models.conn_record import ConnRecord from ......messaging.request_context import RequestContext diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_resend_handler.py b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_resend_handler.py similarity index 98% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_resend_handler.py rename to acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_resend_handler.py index b6c625852d..574066d394 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_resend_handler.py +++ b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/tests/test_transaction_resend_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......connections.models.conn_record import ConnRecord from ......messaging.request_context import RequestContext diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/transaction_acknowledgement_handler.py b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/transaction_acknowledgement_handler.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/transaction_acknowledgement_handler.py rename to acapy_agent/protocols/endorse_transaction/v1_0/handlers/transaction_acknowledgement_handler.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/transaction_cancel_handler.py b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/transaction_cancel_handler.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/transaction_cancel_handler.py rename to acapy_agent/protocols/endorse_transaction/v1_0/handlers/transaction_cancel_handler.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/transaction_job_to_send_handler.py b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/transaction_job_to_send_handler.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/transaction_job_to_send_handler.py rename to acapy_agent/protocols/endorse_transaction/v1_0/handlers/transaction_job_to_send_handler.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/transaction_request_handler.py b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/transaction_request_handler.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/transaction_request_handler.py rename to acapy_agent/protocols/endorse_transaction/v1_0/handlers/transaction_request_handler.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/transaction_resend_handler.py b/acapy_agent/protocols/endorse_transaction/v1_0/handlers/transaction_resend_handler.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/handlers/transaction_resend_handler.py rename to acapy_agent/protocols/endorse_transaction/v1_0/handlers/transaction_resend_handler.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/manager.py b/acapy_agent/protocols/endorse_transaction/v1_0/manager.py similarity index 99% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/manager.py rename to acapy_agent/protocols/endorse_transaction/v1_0/manager.py index 51d2a38bb5..91597cfbbe 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/manager.py +++ b/acapy_agent/protocols/endorse_transaction/v1_0/manager.py @@ -436,7 +436,7 @@ async def complete_transaction( self._profile.context.settings.get_value("wallet.type") == "askar-anoncreds" ): - from aries_cloudagent.anoncreds.default.legacy_indy.registry import ( + from acapy_agent.anoncreds.default.legacy_indy.registry import ( LegacyIndyRegistry, ) diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/message_types.py b/acapy_agent/protocols/endorse_transaction/v1_0/message_types.py similarity index 95% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/message_types.py rename to acapy_agent/protocols/endorse_transaction/v1_0/message_types.py index 52f1ec92c8..817b75083b 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/message_types.py +++ b/acapy_agent/protocols/endorse_transaction/v1_0/message_types.py @@ -12,7 +12,7 @@ TRANSACTION_JOB_TO_SEND = "transactions/1.0/transaction_my_job" TRANSACTION_ACKNOWLEDGEMENT = "transactions/1.0/ack" ATTACHED_MESSAGE = "transactions/1.0/message" -PROTOCOL_PACKAGE = "aries_cloudagent.protocols.endorse_transaction.v1_0" +PROTOCOL_PACKAGE = "acapy_agent.protocols.endorse_transaction.v1_0" MESSAGE_TYPES = DIDCommPrefix.qualify_all( diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/__init__.py b/acapy_agent/protocols/endorse_transaction/v1_0/messages/__init__.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/messages/__init__.py rename to acapy_agent/protocols/endorse_transaction/v1_0/messages/__init__.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/cancel_transaction.py b/acapy_agent/protocols/endorse_transaction/v1_0/messages/cancel_transaction.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/messages/cancel_transaction.py rename to acapy_agent/protocols/endorse_transaction/v1_0/messages/cancel_transaction.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/endorsed_transaction_response.py b/acapy_agent/protocols/endorse_transaction/v1_0/messages/endorsed_transaction_response.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/messages/endorsed_transaction_response.py rename to acapy_agent/protocols/endorse_transaction/v1_0/messages/endorsed_transaction_response.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/messages_attach.py b/acapy_agent/protocols/endorse_transaction/v1_0/messages/messages_attach.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/messages/messages_attach.py rename to acapy_agent/protocols/endorse_transaction/v1_0/messages/messages_attach.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/refused_transaction_response.py b/acapy_agent/protocols/endorse_transaction/v1_0/messages/refused_transaction_response.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/messages/refused_transaction_response.py rename to acapy_agent/protocols/endorse_transaction/v1_0/messages/refused_transaction_response.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/__init__.py b/acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/__init__.py rename to acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/__init__.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_cancel_transaction.py b/acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_cancel_transaction.py similarity index 94% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_cancel_transaction.py rename to acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_cancel_transaction.py index 77dd7d04c9..a12d67b0b8 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_cancel_transaction.py +++ b/acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_cancel_transaction.py @@ -28,7 +28,7 @@ def test_type(self): ) @mock.patch( - "aries_cloudagent.protocols.endorse_transaction.v1_0.messages." + "acapy_agent.protocols.endorse_transaction.v1_0.messages." "cancel_transaction.CancelTransactionSchema.load" ) def test_deserialize(self, mock_cancel_transaction_schema_load): @@ -43,7 +43,7 @@ def test_deserialize(self, mock_cancel_transaction_schema_load): assert cancel_transaction is mock_cancel_transaction_schema_load.return_value @mock.patch( - "aries_cloudagent.protocols.endorse_transaction.v1_0.messages." + "acapy_agent.protocols.endorse_transaction.v1_0.messages." "cancel_transaction.CancelTransactionSchema.dump" ) def test_serialize(self, mock_cancel_transaction_schema_dump): diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_endorsed_transaction_response.py b/acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_endorsed_transaction_response.py similarity index 96% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_endorsed_transaction_response.py rename to acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_endorsed_transaction_response.py index c3eca102bd..d9c1066191 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_endorsed_transaction_response.py +++ b/acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_endorsed_transaction_response.py @@ -52,7 +52,7 @@ def test_type(self): ) @mock.patch( - "aries_cloudagent.protocols.endorse_transaction.v1_0.messages." + "acapy_agent.protocols.endorse_transaction.v1_0.messages." "endorsed_transaction_response.EndorsedTransactionResponseSchema.load" ) def test_deserialize(self, mock_endorsed_transaction_response_schema_load): @@ -70,7 +70,7 @@ def test_deserialize(self, mock_endorsed_transaction_response_schema_load): ) @mock.patch( - "aries_cloudagent.protocols.endorse_transaction.v1_0.messages." + "acapy_agent.protocols.endorse_transaction.v1_0.messages." "endorsed_transaction_response.EndorsedTransactionResponseSchema.dump" ) def test_serialize(self, mock_endorsed_transaction_response_schema_dump): diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_messages_attach.py b/acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_messages_attach.py similarity index 95% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_messages_attach.py rename to acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_messages_attach.py index 460e180192..83bab57ffc 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_messages_attach.py +++ b/acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_messages_attach.py @@ -61,7 +61,7 @@ def test_type(self): ) @mock.patch( - "aries_cloudagent.protocols.endorse_transaction.v1_0.messages." + "acapy_agent.protocols.endorse_transaction.v1_0.messages." "messages_attach.MessagesAttachSchema.load" ) def test_deserialize(self, mock_messages_attach_schema_load): @@ -76,7 +76,7 @@ def test_deserialize(self, mock_messages_attach_schema_load): assert messages_attach is mock_messages_attach_schema_load.return_value @mock.patch( - "aries_cloudagent.protocols.endorse_transaction.v1_0.messages." + "acapy_agent.protocols.endorse_transaction.v1_0.messages." "messages_attach.MessagesAttachSchema.dump" ) def test_serialize(self, mock_messages_attach_schema_dump): diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_refused_transaction_response.py b/acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_refused_transaction_response.py similarity index 96% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_refused_transaction_response.py rename to acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_refused_transaction_response.py index 2f20383166..48f5e5aa9b 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_refused_transaction_response.py +++ b/acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_refused_transaction_response.py @@ -48,7 +48,7 @@ def test_type(self): ) @mock.patch( - "aries_cloudagent.protocols.endorse_transaction.v1_0.messages." + "acapy_agent.protocols.endorse_transaction.v1_0.messages." "refused_transaction_response.RefusedTransactionResponseSchema.load" ) def test_deserialize(self, mock_refused_transaction_response_schema_load): @@ -66,7 +66,7 @@ def test_deserialize(self, mock_refused_transaction_response_schema_load): ) @mock.patch( - "aries_cloudagent.protocols.endorse_transaction.v1_0.messages." + "acapy_agent.protocols.endorse_transaction.v1_0.messages." "refused_transaction_response.RefusedTransactionResponseSchema.dump" ) def test_serialize(self, mock_refused_transaction_response_schema_dump): diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_acknowledgement.py b/acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_acknowledgement.py similarity index 94% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_acknowledgement.py rename to acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_acknowledgement.py index 902792f511..49354080ff 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_acknowledgement.py +++ b/acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_acknowledgement.py @@ -26,7 +26,7 @@ def test_type(self): ) @mock.patch( - "aries_cloudagent.protocols.endorse_transaction.v1_0.messages." + "acapy_agent.protocols.endorse_transaction.v1_0.messages." "transaction_acknowledgement.TransactionAcknowledgementSchema.load" ) def test_deserialize(self, mock_transaction_acknowledgement_schema_load): @@ -44,7 +44,7 @@ def test_deserialize(self, mock_transaction_acknowledgement_schema_load): ) @mock.patch( - "aries_cloudagent.protocols.endorse_transaction.v1_0.messages." + "acapy_agent.protocols.endorse_transaction.v1_0.messages." "transaction_acknowledgement.TransactionAcknowledgementSchema.dump" ) def test_serialize(self, mock_transaction_acknowledgement_schema_dump): diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_job_to_send.py b/acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_job_to_send.py similarity index 94% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_job_to_send.py rename to acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_job_to_send.py index 7503b6d35c..92966805a0 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_job_to_send.py +++ b/acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_job_to_send.py @@ -24,7 +24,7 @@ def test_type(self): ) @mock.patch( - "aries_cloudagent.protocols.endorse_transaction.v1_0.messages." + "acapy_agent.protocols.endorse_transaction.v1_0.messages." "transaction_job_to_send.TransactionJobToSendSchema.load" ) def test_deserialize(self, mock_transaction_job_to_send_schema_load): @@ -42,7 +42,7 @@ def test_deserialize(self, mock_transaction_job_to_send_schema_load): ) @mock.patch( - "aries_cloudagent.protocols.endorse_transaction.v1_0.messages." + "acapy_agent.protocols.endorse_transaction.v1_0.messages." "transaction_job_to_send.TransactionJobToSendSchema.dump" ) def test_serialize(self, mock_transaction_job_to_send_schema_dump): diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_request.py b/acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_request.py similarity index 96% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_request.py rename to acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_request.py index 835ab274af..80e2418106 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_request.py +++ b/acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_request.py @@ -71,7 +71,7 @@ def test_type(self): ) @mock.patch( - "aries_cloudagent.protocols.endorse_transaction.v1_0.messages." + "acapy_agent.protocols.endorse_transaction.v1_0.messages." "transaction_request.TransactionRequestSchema.load" ) def test_deserialize(self, mock_transaction_request_schema_load): @@ -86,7 +86,7 @@ def test_deserialize(self, mock_transaction_request_schema_load): assert transaction_request is mock_transaction_request_schema_load.return_value @mock.patch( - "aries_cloudagent.protocols.endorse_transaction.v1_0.messages." + "acapy_agent.protocols.endorse_transaction.v1_0.messages." "transaction_request.TransactionRequestSchema.dump" ) def test_serialize(self, mock_transaction_request_schema_dump): diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_resend.py b/acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_resend.py similarity index 94% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_resend.py rename to acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_resend.py index 0c147d2ed7..82acfe1133 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_resend.py +++ b/acapy_agent/protocols/endorse_transaction/v1_0/messages/tests/test_transaction_resend.py @@ -28,7 +28,7 @@ def test_type(self): ) @mock.patch( - "aries_cloudagent.protocols.endorse_transaction.v1_0.messages." + "acapy_agent.protocols.endorse_transaction.v1_0.messages." "transaction_resend.TransactionResendSchema.load" ) def test_deserialize(self, mock_transaction_resend_schema_load): @@ -43,7 +43,7 @@ def test_deserialize(self, mock_transaction_resend_schema_load): assert transaction_resend is mock_transaction_resend_schema_load.return_value @mock.patch( - "aries_cloudagent.protocols.endorse_transaction.v1_0.messages." + "acapy_agent.protocols.endorse_transaction.v1_0.messages." "transaction_resend.TransactionResendSchema.dump" ) def test_serialize(self, mock_transaction_resend_schema_dump): diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/transaction_acknowledgement.py b/acapy_agent/protocols/endorse_transaction/v1_0/messages/transaction_acknowledgement.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/messages/transaction_acknowledgement.py rename to acapy_agent/protocols/endorse_transaction/v1_0/messages/transaction_acknowledgement.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/transaction_job_to_send.py b/acapy_agent/protocols/endorse_transaction/v1_0/messages/transaction_job_to_send.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/messages/transaction_job_to_send.py rename to acapy_agent/protocols/endorse_transaction/v1_0/messages/transaction_job_to_send.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/transaction_request.py b/acapy_agent/protocols/endorse_transaction/v1_0/messages/transaction_request.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/messages/transaction_request.py rename to acapy_agent/protocols/endorse_transaction/v1_0/messages/transaction_request.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/messages/transaction_resend.py b/acapy_agent/protocols/endorse_transaction/v1_0/messages/transaction_resend.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/messages/transaction_resend.py rename to acapy_agent/protocols/endorse_transaction/v1_0/messages/transaction_resend.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/models/__init__.py b/acapy_agent/protocols/endorse_transaction/v1_0/models/__init__.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/models/__init__.py rename to acapy_agent/protocols/endorse_transaction/v1_0/models/__init__.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/models/transaction_record.py b/acapy_agent/protocols/endorse_transaction/v1_0/models/transaction_record.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/models/transaction_record.py rename to acapy_agent/protocols/endorse_transaction/v1_0/models/transaction_record.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/routes.py b/acapy_agent/protocols/endorse_transaction/v1_0/routes.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/routes.py rename to acapy_agent/protocols/endorse_transaction/v1_0/routes.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/tests/__init__.py b/acapy_agent/protocols/endorse_transaction/v1_0/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/tests/__init__.py rename to acapy_agent/protocols/endorse_transaction/v1_0/tests/__init__.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/tests/test_manager.py b/acapy_agent/protocols/endorse_transaction/v1_0/tests/test_manager.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/tests/test_manager.py rename to acapy_agent/protocols/endorse_transaction/v1_0/tests/test_manager.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/tests/test_routes.py b/acapy_agent/protocols/endorse_transaction/v1_0/tests/test_routes.py similarity index 99% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/tests/test_routes.py rename to acapy_agent/protocols/endorse_transaction/v1_0/tests/test_routes.py index 15be2bf542..c3ae22219c 100644 --- a/aries_cloudagent/protocols/endorse_transaction/v1_0/tests/test_routes.py +++ b/acapy_agent/protocols/endorse_transaction/v1_0/tests/test_routes.py @@ -2,7 +2,7 @@ import json from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....connections.models.conn_record import ConnRecord from .....core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/transaction_jobs.py b/acapy_agent/protocols/endorse_transaction/v1_0/transaction_jobs.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/transaction_jobs.py rename to acapy_agent/protocols/endorse_transaction/v1_0/transaction_jobs.py diff --git a/aries_cloudagent/protocols/endorse_transaction/v1_0/util.py b/acapy_agent/protocols/endorse_transaction/v1_0/util.py similarity index 100% rename from aries_cloudagent/protocols/endorse_transaction/v1_0/util.py rename to acapy_agent/protocols/endorse_transaction/v1_0/util.py diff --git a/aries_cloudagent/protocols/introduction/__init__.py b/acapy_agent/protocols/introduction/__init__.py similarity index 100% rename from aries_cloudagent/protocols/introduction/__init__.py rename to acapy_agent/protocols/introduction/__init__.py diff --git a/aries_cloudagent/protocols/introduction/definition.py b/acapy_agent/protocols/introduction/definition.py similarity index 100% rename from aries_cloudagent/protocols/introduction/definition.py rename to acapy_agent/protocols/introduction/definition.py diff --git a/aries_cloudagent/protocols/introduction/v0_1/__init__.py b/acapy_agent/protocols/introduction/v0_1/__init__.py similarity index 100% rename from aries_cloudagent/protocols/introduction/v0_1/__init__.py rename to acapy_agent/protocols/introduction/v0_1/__init__.py diff --git a/aries_cloudagent/protocols/introduction/v0_1/base_service.py b/acapy_agent/protocols/introduction/v0_1/base_service.py similarity index 100% rename from aries_cloudagent/protocols/introduction/v0_1/base_service.py rename to acapy_agent/protocols/introduction/v0_1/base_service.py diff --git a/aries_cloudagent/protocols/introduction/v0_1/demo_service.py b/acapy_agent/protocols/introduction/v0_1/demo_service.py similarity index 100% rename from aries_cloudagent/protocols/introduction/v0_1/demo_service.py rename to acapy_agent/protocols/introduction/v0_1/demo_service.py diff --git a/aries_cloudagent/protocols/introduction/v0_1/handlers/__init__.py b/acapy_agent/protocols/introduction/v0_1/handlers/__init__.py similarity index 100% rename from aries_cloudagent/protocols/introduction/v0_1/handlers/__init__.py rename to acapy_agent/protocols/introduction/v0_1/handlers/__init__.py diff --git a/aries_cloudagent/protocols/introduction/v0_1/handlers/forward_invitation_handler.py b/acapy_agent/protocols/introduction/v0_1/handlers/forward_invitation_handler.py similarity index 100% rename from aries_cloudagent/protocols/introduction/v0_1/handlers/forward_invitation_handler.py rename to acapy_agent/protocols/introduction/v0_1/handlers/forward_invitation_handler.py diff --git a/aries_cloudagent/protocols/introduction/v0_1/handlers/invitation_handler.py b/acapy_agent/protocols/introduction/v0_1/handlers/invitation_handler.py similarity index 100% rename from aries_cloudagent/protocols/introduction/v0_1/handlers/invitation_handler.py rename to acapy_agent/protocols/introduction/v0_1/handlers/invitation_handler.py diff --git a/aries_cloudagent/protocols/introduction/v0_1/handlers/invitation_request_handler.py b/acapy_agent/protocols/introduction/v0_1/handlers/invitation_request_handler.py similarity index 100% rename from aries_cloudagent/protocols/introduction/v0_1/handlers/invitation_request_handler.py rename to acapy_agent/protocols/introduction/v0_1/handlers/invitation_request_handler.py diff --git a/aries_cloudagent/protocols/introduction/v0_1/handlers/tests/__init__.py b/acapy_agent/protocols/introduction/v0_1/handlers/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/introduction/v0_1/handlers/tests/__init__.py rename to acapy_agent/protocols/introduction/v0_1/handlers/tests/__init__.py diff --git a/aries_cloudagent/protocols/introduction/v0_1/handlers/tests/test_forward_invitation_handler.py b/acapy_agent/protocols/introduction/v0_1/handlers/tests/test_forward_invitation_handler.py similarity index 98% rename from aries_cloudagent/protocols/introduction/v0_1/handlers/tests/test_forward_invitation_handler.py rename to acapy_agent/protocols/introduction/v0_1/handlers/tests/test_forward_invitation_handler.py index e7cdbdf97a..79a9eb7aac 100644 --- a/aries_cloudagent/protocols/introduction/v0_1/handlers/tests/test_forward_invitation_handler.py +++ b/acapy_agent/protocols/introduction/v0_1/handlers/tests/test_forward_invitation_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......connections.models.conn_record import ConnRecord from ......messaging.base_handler import HandlerException diff --git a/aries_cloudagent/protocols/introduction/v0_1/handlers/tests/test_invitation_handler.py b/acapy_agent/protocols/introduction/v0_1/handlers/tests/test_invitation_handler.py similarity index 98% rename from aries_cloudagent/protocols/introduction/v0_1/handlers/tests/test_invitation_handler.py rename to acapy_agent/protocols/introduction/v0_1/handlers/tests/test_invitation_handler.py index ff97bbce29..36b0d47b54 100644 --- a/aries_cloudagent/protocols/introduction/v0_1/handlers/tests/test_invitation_handler.py +++ b/acapy_agent/protocols/introduction/v0_1/handlers/tests/test_invitation_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......messaging.base_handler import HandlerException from ......messaging.request_context import RequestContext diff --git a/aries_cloudagent/protocols/introduction/v0_1/handlers/tests/test_invitation_request_handler.py b/acapy_agent/protocols/introduction/v0_1/handlers/tests/test_invitation_request_handler.py similarity index 98% rename from aries_cloudagent/protocols/introduction/v0_1/handlers/tests/test_invitation_request_handler.py rename to acapy_agent/protocols/introduction/v0_1/handlers/tests/test_invitation_request_handler.py index 759882fe30..aa3e901f6d 100644 --- a/aries_cloudagent/protocols/introduction/v0_1/handlers/tests/test_invitation_request_handler.py +++ b/acapy_agent/protocols/introduction/v0_1/handlers/tests/test_invitation_request_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......messaging.base_handler import HandlerException from ......messaging.request_context import RequestContext diff --git a/aries_cloudagent/protocols/introduction/v0_1/message_types.py b/acapy_agent/protocols/introduction/v0_1/message_types.py similarity index 90% rename from aries_cloudagent/protocols/introduction/v0_1/message_types.py rename to acapy_agent/protocols/introduction/v0_1/message_types.py index 27624672c6..ecf9d38c95 100644 --- a/aries_cloudagent/protocols/introduction/v0_1/message_types.py +++ b/acapy_agent/protocols/introduction/v0_1/message_types.py @@ -6,7 +6,7 @@ INVITATION = "introduction-service/0.1/invitation" FORWARD_INVITATION = "introduction-service/0.1/forward-invitation" -PROTOCOL_PACKAGE = "aries_cloudagent.protocols.introduction.v0_1" +PROTOCOL_PACKAGE = "acapy_agent.protocols.introduction.v0_1" MESSAGE_TYPES = DIDCommPrefix.qualify_all( { diff --git a/aries_cloudagent/protocols/introduction/v0_1/messages/__init__.py b/acapy_agent/protocols/introduction/v0_1/messages/__init__.py similarity index 100% rename from aries_cloudagent/protocols/introduction/v0_1/messages/__init__.py rename to acapy_agent/protocols/introduction/v0_1/messages/__init__.py diff --git a/aries_cloudagent/protocols/introduction/v0_1/messages/forward_invitation.py b/acapy_agent/protocols/introduction/v0_1/messages/forward_invitation.py similarity index 100% rename from aries_cloudagent/protocols/introduction/v0_1/messages/forward_invitation.py rename to acapy_agent/protocols/introduction/v0_1/messages/forward_invitation.py diff --git a/aries_cloudagent/protocols/introduction/v0_1/messages/invitation.py b/acapy_agent/protocols/introduction/v0_1/messages/invitation.py similarity index 100% rename from aries_cloudagent/protocols/introduction/v0_1/messages/invitation.py rename to acapy_agent/protocols/introduction/v0_1/messages/invitation.py diff --git a/aries_cloudagent/protocols/introduction/v0_1/messages/invitation_request.py b/acapy_agent/protocols/introduction/v0_1/messages/invitation_request.py similarity index 100% rename from aries_cloudagent/protocols/introduction/v0_1/messages/invitation_request.py rename to acapy_agent/protocols/introduction/v0_1/messages/invitation_request.py diff --git a/aries_cloudagent/protocols/introduction/v0_1/messages/tests/__init__.py b/acapy_agent/protocols/introduction/v0_1/messages/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/introduction/v0_1/messages/tests/__init__.py rename to acapy_agent/protocols/introduction/v0_1/messages/tests/__init__.py diff --git a/aries_cloudagent/protocols/introduction/v0_1/messages/tests/test_forward_invitation.py b/acapy_agent/protocols/introduction/v0_1/messages/tests/test_forward_invitation.py similarity index 100% rename from aries_cloudagent/protocols/introduction/v0_1/messages/tests/test_forward_invitation.py rename to acapy_agent/protocols/introduction/v0_1/messages/tests/test_forward_invitation.py diff --git a/aries_cloudagent/protocols/introduction/v0_1/messages/tests/test_invitation.py b/acapy_agent/protocols/introduction/v0_1/messages/tests/test_invitation.py similarity index 100% rename from aries_cloudagent/protocols/introduction/v0_1/messages/tests/test_invitation.py rename to acapy_agent/protocols/introduction/v0_1/messages/tests/test_invitation.py diff --git a/aries_cloudagent/protocols/introduction/v0_1/messages/tests/test_invitation_request.py b/acapy_agent/protocols/introduction/v0_1/messages/tests/test_invitation_request.py similarity index 100% rename from aries_cloudagent/protocols/introduction/v0_1/messages/tests/test_invitation_request.py rename to acapy_agent/protocols/introduction/v0_1/messages/tests/test_invitation_request.py diff --git a/aries_cloudagent/protocols/introduction/v0_1/routes.py b/acapy_agent/protocols/introduction/v0_1/routes.py similarity index 100% rename from aries_cloudagent/protocols/introduction/v0_1/routes.py rename to acapy_agent/protocols/introduction/v0_1/routes.py diff --git a/aries_cloudagent/protocols/introduction/v0_1/tests/__init__.py b/acapy_agent/protocols/introduction/v0_1/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/introduction/v0_1/tests/__init__.py rename to acapy_agent/protocols/introduction/v0_1/tests/__init__.py diff --git a/aries_cloudagent/protocols/introduction/v0_1/tests/test_routes.py b/acapy_agent/protocols/introduction/v0_1/tests/test_routes.py similarity index 99% rename from aries_cloudagent/protocols/introduction/v0_1/tests/test_routes.py rename to acapy_agent/protocols/introduction/v0_1/tests/test_routes.py index aa5b64437d..877417ccd5 100644 --- a/aries_cloudagent/protocols/introduction/v0_1/tests/test_routes.py +++ b/acapy_agent/protocols/introduction/v0_1/tests/test_routes.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....admin.request_context import AdminRequestContext from .....core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/protocols/introduction/v0_1/tests/test_service.py b/acapy_agent/protocols/introduction/v0_1/tests/test_service.py similarity index 100% rename from aries_cloudagent/protocols/introduction/v0_1/tests/test_service.py rename to acapy_agent/protocols/introduction/v0_1/tests/test_service.py diff --git a/aries_cloudagent/protocols/issue_credential/__init__.py b/acapy_agent/protocols/issue_credential/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/__init__.py rename to acapy_agent/protocols/issue_credential/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/definition.py b/acapy_agent/protocols/issue_credential/definition.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/definition.py rename to acapy_agent/protocols/issue_credential/definition.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/__init__.py b/acapy_agent/protocols/issue_credential/v1_0/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/__init__.py rename to acapy_agent/protocols/issue_credential/v1_0/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/controller.py b/acapy_agent/protocols/issue_credential/v1_0/controller.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/controller.py rename to acapy_agent/protocols/issue_credential/v1_0/controller.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/handlers/__init__.py b/acapy_agent/protocols/issue_credential/v1_0/handlers/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/handlers/__init__.py rename to acapy_agent/protocols/issue_credential/v1_0/handlers/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/handlers/credential_ack_handler.py b/acapy_agent/protocols/issue_credential/v1_0/handlers/credential_ack_handler.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/handlers/credential_ack_handler.py rename to acapy_agent/protocols/issue_credential/v1_0/handlers/credential_ack_handler.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/handlers/credential_issue_handler.py b/acapy_agent/protocols/issue_credential/v1_0/handlers/credential_issue_handler.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/handlers/credential_issue_handler.py rename to acapy_agent/protocols/issue_credential/v1_0/handlers/credential_issue_handler.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/handlers/credential_offer_handler.py b/acapy_agent/protocols/issue_credential/v1_0/handlers/credential_offer_handler.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/handlers/credential_offer_handler.py rename to acapy_agent/protocols/issue_credential/v1_0/handlers/credential_offer_handler.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/handlers/credential_problem_report_handler.py b/acapy_agent/protocols/issue_credential/v1_0/handlers/credential_problem_report_handler.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/handlers/credential_problem_report_handler.py rename to acapy_agent/protocols/issue_credential/v1_0/handlers/credential_problem_report_handler.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/handlers/credential_proposal_handler.py b/acapy_agent/protocols/issue_credential/v1_0/handlers/credential_proposal_handler.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/handlers/credential_proposal_handler.py rename to acapy_agent/protocols/issue_credential/v1_0/handlers/credential_proposal_handler.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/handlers/credential_request_handler.py b/acapy_agent/protocols/issue_credential/v1_0/handlers/credential_request_handler.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/handlers/credential_request_handler.py rename to acapy_agent/protocols/issue_credential/v1_0/handlers/credential_request_handler.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/handlers/tests/__init__.py b/acapy_agent/protocols/issue_credential/v1_0/handlers/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/handlers/tests/__init__.py rename to acapy_agent/protocols/issue_credential/v1_0/handlers/tests/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/handlers/tests/test_credential_ack_handler.py b/acapy_agent/protocols/issue_credential/v1_0/handlers/tests/test_credential_ack_handler.py similarity index 98% rename from aries_cloudagent/protocols/issue_credential/v1_0/handlers/tests/test_credential_ack_handler.py rename to acapy_agent/protocols/issue_credential/v1_0/handlers/tests/test_credential_ack_handler.py index 840ea3823b..fb87fa529e 100644 --- a/aries_cloudagent/protocols/issue_credential/v1_0/handlers/tests/test_credential_ack_handler.py +++ b/acapy_agent/protocols/issue_credential/v1_0/handlers/tests/test_credential_ack_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.oob_processor import OobMessageProcessor from ......messaging.request_context import RequestContext diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/handlers/tests/test_credential_issue_handler.py b/acapy_agent/protocols/issue_credential/v1_0/handlers/tests/test_credential_issue_handler.py similarity index 99% rename from aries_cloudagent/protocols/issue_credential/v1_0/handlers/tests/test_credential_issue_handler.py rename to acapy_agent/protocols/issue_credential/v1_0/handlers/tests/test_credential_issue_handler.py index 11ca5a209b..6a8a239076 100644 --- a/aries_cloudagent/protocols/issue_credential/v1_0/handlers/tests/test_credential_issue_handler.py +++ b/acapy_agent/protocols/issue_credential/v1_0/handlers/tests/test_credential_issue_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.oob_processor import OobMessageProcessor from ......messaging.request_context import RequestContext diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/handlers/tests/test_credential_offer_handler.py b/acapy_agent/protocols/issue_credential/v1_0/handlers/tests/test_credential_offer_handler.py similarity index 99% rename from aries_cloudagent/protocols/issue_credential/v1_0/handlers/tests/test_credential_offer_handler.py rename to acapy_agent/protocols/issue_credential/v1_0/handlers/tests/test_credential_offer_handler.py index 9809124d14..5901808f5e 100644 --- a/aries_cloudagent/protocols/issue_credential/v1_0/handlers/tests/test_credential_offer_handler.py +++ b/acapy_agent/protocols/issue_credential/v1_0/handlers/tests/test_credential_offer_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.oob_processor import OobMessageProcessor from ......messaging.request_context import RequestContext diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/handlers/tests/test_credential_problem_report_handler.py b/acapy_agent/protocols/issue_credential/v1_0/handlers/tests/test_credential_problem_report_handler.py similarity index 99% rename from aries_cloudagent/protocols/issue_credential/v1_0/handlers/tests/test_credential_problem_report_handler.py rename to acapy_agent/protocols/issue_credential/v1_0/handlers/tests/test_credential_problem_report_handler.py index a8837bd01c..463b65af73 100644 --- a/aries_cloudagent/protocols/issue_credential/v1_0/handlers/tests/test_credential_problem_report_handler.py +++ b/acapy_agent/protocols/issue_credential/v1_0/handlers/tests/test_credential_problem_report_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......messaging.request_context import RequestContext from ......messaging.responder import MockResponder diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/handlers/tests/test_credential_proposal_handler.py b/acapy_agent/protocols/issue_credential/v1_0/handlers/tests/test_credential_proposal_handler.py similarity index 99% rename from aries_cloudagent/protocols/issue_credential/v1_0/handlers/tests/test_credential_proposal_handler.py rename to acapy_agent/protocols/issue_credential/v1_0/handlers/tests/test_credential_proposal_handler.py index 37cd074fe7..e2d94f4b0a 100644 --- a/aries_cloudagent/protocols/issue_credential/v1_0/handlers/tests/test_credential_proposal_handler.py +++ b/acapy_agent/protocols/issue_credential/v1_0/handlers/tests/test_credential_proposal_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......messaging.request_context import RequestContext from ......messaging.responder import MockResponder diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/handlers/tests/test_credential_request_handler.py b/acapy_agent/protocols/issue_credential/v1_0/handlers/tests/test_credential_request_handler.py similarity index 99% rename from aries_cloudagent/protocols/issue_credential/v1_0/handlers/tests/test_credential_request_handler.py rename to acapy_agent/protocols/issue_credential/v1_0/handlers/tests/test_credential_request_handler.py index 3c8e54cece..929a4b13c1 100644 --- a/aries_cloudagent/protocols/issue_credential/v1_0/handlers/tests/test_credential_request_handler.py +++ b/acapy_agent/protocols/issue_credential/v1_0/handlers/tests/test_credential_request_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.oob_processor import OobMessageProcessor from ......messaging.request_context import RequestContext diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/manager.py b/acapy_agent/protocols/issue_credential/v1_0/manager.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/manager.py rename to acapy_agent/protocols/issue_credential/v1_0/manager.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/message_types.py b/acapy_agent/protocols/issue_credential/v1_0/message_types.py similarity index 96% rename from aries_cloudagent/protocols/issue_credential/v1_0/message_types.py rename to acapy_agent/protocols/issue_credential/v1_0/message_types.py index a0a501bf3d..98fa4e054b 100644 --- a/aries_cloudagent/protocols/issue_credential/v1_0/message_types.py +++ b/acapy_agent/protocols/issue_credential/v1_0/message_types.py @@ -15,7 +15,7 @@ CREDENTIAL_ACK = "issue-credential/1.0/ack" CREDENTIAL_PROBLEM_REPORT = "issue-credential/1.0/problem-report" -PROTOCOL_PACKAGE = "aries_cloudagent.protocols.issue_credential.v1_0" +PROTOCOL_PACKAGE = "acapy_agent.protocols.issue_credential.v1_0" MESSAGE_TYPES = DIDCommPrefix.qualify_all( { diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/__init__.py b/acapy_agent/protocols/issue_credential/v1_0/messages/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/messages/__init__.py rename to acapy_agent/protocols/issue_credential/v1_0/messages/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/credential_ack.py b/acapy_agent/protocols/issue_credential/v1_0/messages/credential_ack.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/messages/credential_ack.py rename to acapy_agent/protocols/issue_credential/v1_0/messages/credential_ack.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/credential_exchange_webhook.py b/acapy_agent/protocols/issue_credential/v1_0/messages/credential_exchange_webhook.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/messages/credential_exchange_webhook.py rename to acapy_agent/protocols/issue_credential/v1_0/messages/credential_exchange_webhook.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/credential_issue.py b/acapy_agent/protocols/issue_credential/v1_0/messages/credential_issue.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/messages/credential_issue.py rename to acapy_agent/protocols/issue_credential/v1_0/messages/credential_issue.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/credential_offer.py b/acapy_agent/protocols/issue_credential/v1_0/messages/credential_offer.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/messages/credential_offer.py rename to acapy_agent/protocols/issue_credential/v1_0/messages/credential_offer.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/credential_problem_report.py b/acapy_agent/protocols/issue_credential/v1_0/messages/credential_problem_report.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/messages/credential_problem_report.py rename to acapy_agent/protocols/issue_credential/v1_0/messages/credential_problem_report.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/credential_proposal.py b/acapy_agent/protocols/issue_credential/v1_0/messages/credential_proposal.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/messages/credential_proposal.py rename to acapy_agent/protocols/issue_credential/v1_0/messages/credential_proposal.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/credential_request.py b/acapy_agent/protocols/issue_credential/v1_0/messages/credential_request.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/messages/credential_request.py rename to acapy_agent/protocols/issue_credential/v1_0/messages/credential_request.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/inner/__init__.py b/acapy_agent/protocols/issue_credential/v1_0/messages/inner/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/messages/inner/__init__.py rename to acapy_agent/protocols/issue_credential/v1_0/messages/inner/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/inner/credential_preview.py b/acapy_agent/protocols/issue_credential/v1_0/messages/inner/credential_preview.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/messages/inner/credential_preview.py rename to acapy_agent/protocols/issue_credential/v1_0/messages/inner/credential_preview.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/inner/tests/__init__.py b/acapy_agent/protocols/issue_credential/v1_0/messages/inner/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/messages/inner/tests/__init__.py rename to acapy_agent/protocols/issue_credential/v1_0/messages/inner/tests/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/inner/tests/test_credential_preview.py b/acapy_agent/protocols/issue_credential/v1_0/messages/inner/tests/test_credential_preview.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/messages/inner/tests/test_credential_preview.py rename to acapy_agent/protocols/issue_credential/v1_0/messages/inner/tests/test_credential_preview.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/__init__.py b/acapy_agent/protocols/issue_credential/v1_0/messages/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/__init__.py rename to acapy_agent/protocols/issue_credential/v1_0/messages/tests/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_ack.py b/acapy_agent/protocols/issue_credential/v1_0/messages/tests/test_credential_ack.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_ack.py rename to acapy_agent/protocols/issue_credential/v1_0/messages/tests/test_credential_ack.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_issue.py b/acapy_agent/protocols/issue_credential/v1_0/messages/tests/test_credential_issue.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_issue.py rename to acapy_agent/protocols/issue_credential/v1_0/messages/tests/test_credential_issue.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_offer.py b/acapy_agent/protocols/issue_credential/v1_0/messages/tests/test_credential_offer.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_offer.py rename to acapy_agent/protocols/issue_credential/v1_0/messages/tests/test_credential_offer.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_problem_report.py b/acapy_agent/protocols/issue_credential/v1_0/messages/tests/test_credential_problem_report.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_problem_report.py rename to acapy_agent/protocols/issue_credential/v1_0/messages/tests/test_credential_problem_report.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_proposal.py b/acapy_agent/protocols/issue_credential/v1_0/messages/tests/test_credential_proposal.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_proposal.py rename to acapy_agent/protocols/issue_credential/v1_0/messages/tests/test_credential_proposal.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_request.py b/acapy_agent/protocols/issue_credential/v1_0/messages/tests/test_credential_request.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/messages/tests/test_credential_request.py rename to acapy_agent/protocols/issue_credential/v1_0/messages/tests/test_credential_request.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/models/__init__.py b/acapy_agent/protocols/issue_credential/v1_0/models/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/models/__init__.py rename to acapy_agent/protocols/issue_credential/v1_0/models/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/models/credential_exchange.py b/acapy_agent/protocols/issue_credential/v1_0/models/credential_exchange.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/models/credential_exchange.py rename to acapy_agent/protocols/issue_credential/v1_0/models/credential_exchange.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/models/tests/__init__.py b/acapy_agent/protocols/issue_credential/v1_0/models/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/models/tests/__init__.py rename to acapy_agent/protocols/issue_credential/v1_0/models/tests/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/models/tests/test_credential_exchange.py b/acapy_agent/protocols/issue_credential/v1_0/models/tests/test_credential_exchange.py similarity index 98% rename from aries_cloudagent/protocols/issue_credential/v1_0/models/tests/test_credential_exchange.py rename to acapy_agent/protocols/issue_credential/v1_0/models/tests/test_credential_exchange.py index 5bf9ccc293..7bccf5de07 100644 --- a/aries_cloudagent/protocols/issue_credential/v1_0/models/tests/test_credential_exchange.py +++ b/acapy_agent/protocols/issue_credential/v1_0/models/tests/test_credential_exchange.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.in_memory import InMemoryProfile from ...messages.credential_proposal import CredentialProposal diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/routes.py b/acapy_agent/protocols/issue_credential/v1_0/routes.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/routes.py rename to acapy_agent/protocols/issue_credential/v1_0/routes.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/tests/__init__.py b/acapy_agent/protocols/issue_credential/v1_0/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v1_0/tests/__init__.py rename to acapy_agent/protocols/issue_credential/v1_0/tests/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/tests/test_manager.py b/acapy_agent/protocols/issue_credential/v1_0/tests/test_manager.py similarity index 99% rename from aries_cloudagent/protocols/issue_credential/v1_0/tests/test_manager.py rename to acapy_agent/protocols/issue_credential/v1_0/tests/test_manager.py index ca1df030ee..c9a78a982a 100644 --- a/aries_cloudagent/protocols/issue_credential/v1_0/tests/test_manager.py +++ b/acapy_agent/protocols/issue_credential/v1_0/tests/test_manager.py @@ -3,7 +3,7 @@ from time import time from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....cache.base import BaseCache from .....cache.in_memory import InMemoryCache diff --git a/aries_cloudagent/protocols/issue_credential/v1_0/tests/test_routes.py b/acapy_agent/protocols/issue_credential/v1_0/tests/test_routes.py similarity index 99% rename from aries_cloudagent/protocols/issue_credential/v1_0/tests/test_routes.py rename to acapy_agent/protocols/issue_credential/v1_0/tests/test_routes.py index d6ac8a0661..fa3c8bcf38 100644 --- a/aries_cloudagent/protocols/issue_credential/v1_0/tests/test_routes.py +++ b/acapy_agent/protocols/issue_credential/v1_0/tests/test_routes.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....admin.request_context import AdminRequestContext from .....core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/controller.py b/acapy_agent/protocols/issue_credential/v2_0/controller.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/controller.py rename to acapy_agent/protocols/issue_credential/v2_0/controller.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/formats/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/anoncreds/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/formats/anoncreds/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/anoncreds/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/anoncreds/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/anoncreds/handler.py b/acapy_agent/protocols/issue_credential/v2_0/formats/anoncreds/handler.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/anoncreds/handler.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/anoncreds/handler.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/anoncreds/tests/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/formats/anoncreds/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/anoncreds/tests/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/anoncreds/tests/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/anoncreds/tests/test_handler.py b/acapy_agent/protocols/issue_credential/v2_0/formats/anoncreds/tests/test_handler.py similarity index 99% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/anoncreds/tests/test_handler.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/anoncreds/tests/test_handler.py index 7bf6d4e703..90f035743f 100644 --- a/aries_cloudagent/protocols/issue_credential/v2_0/formats/anoncreds/tests/test_handler.py +++ b/acapy_agent/protocols/issue_credential/v2_0/formats/anoncreds/tests/test_handler.py @@ -6,7 +6,7 @@ import pytest from marshmallow import ValidationError -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .......anoncreds.holder import AnonCredsHolder from .......anoncreds.issuer import AnonCredsIssuer diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/handler.py b/acapy_agent/protocols/issue_credential/v2_0/formats/handler.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/handler.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/handler.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/indy/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/formats/indy/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/indy/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/indy/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/indy/handler.py b/acapy_agent/protocols/issue_credential/v2_0/formats/indy/handler.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/indy/handler.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/indy/handler.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/indy/tests/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/formats/indy/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/indy/tests/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/indy/tests/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/indy/tests/test_handler.py b/acapy_agent/protocols/issue_credential/v2_0/formats/indy/tests/test_handler.py similarity index 99% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/indy/tests/test_handler.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/indy/tests/test_handler.py index 33cec49bd0..7d58df540c 100644 --- a/aries_cloudagent/protocols/issue_credential/v2_0/formats/indy/tests/test_handler.py +++ b/acapy_agent/protocols/issue_credential/v2_0/formats/indy/tests/test_handler.py @@ -5,7 +5,7 @@ from marshmallow import ValidationError -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .......cache.base import BaseCache from .......cache.in_memory import InMemoryCache diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/formats/ld_proof/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/ld_proof/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/handler.py b/acapy_agent/protocols/issue_credential/v2_0/formats/ld_proof/handler.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/handler.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/ld_proof/handler.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/models/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/formats/ld_proof/models/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/models/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/ld_proof/models/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/models/cred_detail.py b/acapy_agent/protocols/issue_credential/v2_0/formats/ld_proof/models/cred_detail.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/models/cred_detail.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/ld_proof/models/cred_detail.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/models/cred_detail_options.py b/acapy_agent/protocols/issue_credential/v2_0/formats/ld_proof/models/cred_detail_options.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/models/cred_detail_options.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/ld_proof/models/cred_detail_options.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/models/tests/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/formats/ld_proof/models/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/models/tests/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/ld_proof/models/tests/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/models/tests/test_cred_detail.py b/acapy_agent/protocols/issue_credential/v2_0/formats/ld_proof/models/tests/test_cred_detail.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/models/tests/test_cred_detail.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/ld_proof/models/tests/test_cred_detail.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/tests/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/formats/ld_proof/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/tests/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/ld_proof/tests/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/tests/test_handler.py b/acapy_agent/protocols/issue_credential/v2_0/formats/ld_proof/tests/test_handler.py similarity index 99% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/tests/test_handler.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/ld_proof/tests/test_handler.py index e52e8b5350..4471d2cb48 100644 --- a/aries_cloudagent/protocols/issue_credential/v2_0/formats/ld_proof/tests/test_handler.py +++ b/acapy_agent/protocols/issue_credential/v2_0/formats/ld_proof/tests/test_handler.py @@ -4,7 +4,7 @@ from marshmallow import ValidationError -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .......core.in_memory import InMemoryProfile from .......messaging.decorators.attach_decorator import AttachDecorator diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/vc_di/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/formats/vc_di/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/vc_di/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/vc_di/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/vc_di/handler.py b/acapy_agent/protocols/issue_credential/v2_0/formats/vc_di/handler.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/vc_di/handler.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/vc_di/handler.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/vc_di/models/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/formats/vc_di/models/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/vc_di/models/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/vc_di/models/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/vc_di/models/cred.py b/acapy_agent/protocols/issue_credential/v2_0/formats/vc_di/models/cred.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/vc_di/models/cred.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/vc_di/models/cred.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/vc_di/models/cred_offer.py b/acapy_agent/protocols/issue_credential/v2_0/formats/vc_di/models/cred_offer.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/vc_di/models/cred_offer.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/vc_di/models/cred_offer.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/vc_di/models/cred_request.py b/acapy_agent/protocols/issue_credential/v2_0/formats/vc_di/models/cred_request.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/vc_di/models/cred_request.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/vc_di/models/cred_request.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/vc_di/tests/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/formats/vc_di/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/vc_di/tests/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/vc_di/tests/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/formats/vc_di/tests/test_handler.py b/acapy_agent/protocols/issue_credential/v2_0/formats/vc_di/tests/test_handler.py similarity index 98% rename from aries_cloudagent/protocols/issue_credential/v2_0/formats/vc_di/tests/test_handler.py rename to acapy_agent/protocols/issue_credential/v2_0/formats/vc_di/tests/test_handler.py index 37cd0c75ab..87522037f7 100644 --- a/aries_cloudagent/protocols/issue_credential/v2_0/formats/vc_di/tests/test_handler.py +++ b/acapy_agent/protocols/issue_credential/v2_0/formats/vc_di/tests/test_handler.py @@ -7,24 +7,24 @@ from anoncreds import W3cCredential from marshmallow import ValidationError -from aries_cloudagent.anoncreds.models.anoncreds_cred_def import ( +from acapy_agent.anoncreds.models.anoncreds_cred_def import ( CredDef, GetCredDefResult, ) -from aries_cloudagent.anoncreds.models.anoncreds_revocation import ( +from acapy_agent.anoncreds.models.anoncreds_revocation import ( GetRevRegDefResult, RevRegDef, ) -from aries_cloudagent.anoncreds.registry import AnonCredsRegistry -from aries_cloudagent.askar.profile_anon import AskarAnoncredsProfile -from aries_cloudagent.protocols.issue_credential.v2_0.messages.cred_issue import ( +from acapy_agent.anoncreds.registry import AnonCredsRegistry +from acapy_agent.askar.profile_anon import AskarAnoncredsProfile +from acapy_agent.protocols.issue_credential.v2_0.messages.cred_issue import ( V20CredIssue, ) -from aries_cloudagent.protocols.issue_credential.v2_0.models.cred_ex_record import ( +from acapy_agent.protocols.issue_credential.v2_0.models.cred_ex_record import ( V20CredExRecord, ) -from aries_cloudagent.tests import mock -from aries_cloudagent.wallet.did_info import DIDInfo +from acapy_agent.tests import mock +from acapy_agent.wallet.did_info import DIDInfo from .......anoncreds.holder import AnonCredsHolder, AnonCredsHolderError from .......anoncreds.issuer import AnonCredsIssuer diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/handlers/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/handlers/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/handlers/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/handlers/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/handlers/cred_ack_handler.py b/acapy_agent/protocols/issue_credential/v2_0/handlers/cred_ack_handler.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/handlers/cred_ack_handler.py rename to acapy_agent/protocols/issue_credential/v2_0/handlers/cred_ack_handler.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/handlers/cred_issue_handler.py b/acapy_agent/protocols/issue_credential/v2_0/handlers/cred_issue_handler.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/handlers/cred_issue_handler.py rename to acapy_agent/protocols/issue_credential/v2_0/handlers/cred_issue_handler.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/handlers/cred_offer_handler.py b/acapy_agent/protocols/issue_credential/v2_0/handlers/cred_offer_handler.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/handlers/cred_offer_handler.py rename to acapy_agent/protocols/issue_credential/v2_0/handlers/cred_offer_handler.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/handlers/cred_problem_report_handler.py b/acapy_agent/protocols/issue_credential/v2_0/handlers/cred_problem_report_handler.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/handlers/cred_problem_report_handler.py rename to acapy_agent/protocols/issue_credential/v2_0/handlers/cred_problem_report_handler.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/handlers/cred_proposal_handler.py b/acapy_agent/protocols/issue_credential/v2_0/handlers/cred_proposal_handler.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/handlers/cred_proposal_handler.py rename to acapy_agent/protocols/issue_credential/v2_0/handlers/cred_proposal_handler.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/handlers/cred_request_handler.py b/acapy_agent/protocols/issue_credential/v2_0/handlers/cred_request_handler.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/handlers/cred_request_handler.py rename to acapy_agent/protocols/issue_credential/v2_0/handlers/cred_request_handler.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/handlers/tests/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/handlers/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/handlers/tests/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/handlers/tests/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/handlers/tests/test_cred_ack_handler.py b/acapy_agent/protocols/issue_credential/v2_0/handlers/tests/test_cred_ack_handler.py similarity index 98% rename from aries_cloudagent/protocols/issue_credential/v2_0/handlers/tests/test_cred_ack_handler.py rename to acapy_agent/protocols/issue_credential/v2_0/handlers/tests/test_cred_ack_handler.py index ab42f2d0c4..fd5ef580cc 100644 --- a/aries_cloudagent/protocols/issue_credential/v2_0/handlers/tests/test_cred_ack_handler.py +++ b/acapy_agent/protocols/issue_credential/v2_0/handlers/tests/test_cred_ack_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.oob_processor import OobMessageProcessor from ......messaging.request_context import RequestContext diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/handlers/tests/test_cred_issue_handler.py b/acapy_agent/protocols/issue_credential/v2_0/handlers/tests/test_cred_issue_handler.py similarity index 99% rename from aries_cloudagent/protocols/issue_credential/v2_0/handlers/tests/test_cred_issue_handler.py rename to acapy_agent/protocols/issue_credential/v2_0/handlers/tests/test_cred_issue_handler.py index f5d068705f..0bbcac8135 100644 --- a/aries_cloudagent/protocols/issue_credential/v2_0/handlers/tests/test_cred_issue_handler.py +++ b/acapy_agent/protocols/issue_credential/v2_0/handlers/tests/test_cred_issue_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.oob_processor import OobMessageProcessor from ......messaging.request_context import RequestContext diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/handlers/tests/test_cred_offer_handler.py b/acapy_agent/protocols/issue_credential/v2_0/handlers/tests/test_cred_offer_handler.py similarity index 99% rename from aries_cloudagent/protocols/issue_credential/v2_0/handlers/tests/test_cred_offer_handler.py rename to acapy_agent/protocols/issue_credential/v2_0/handlers/tests/test_cred_offer_handler.py index 9b14600119..a33fb122df 100644 --- a/aries_cloudagent/protocols/issue_credential/v2_0/handlers/tests/test_cred_offer_handler.py +++ b/acapy_agent/protocols/issue_credential/v2_0/handlers/tests/test_cred_offer_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.oob_processor import OobMessageProcessor from ......messaging.request_context import RequestContext diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/handlers/tests/test_cred_problem_report_handler.py b/acapy_agent/protocols/issue_credential/v2_0/handlers/tests/test_cred_problem_report_handler.py similarity index 99% rename from aries_cloudagent/protocols/issue_credential/v2_0/handlers/tests/test_cred_problem_report_handler.py rename to acapy_agent/protocols/issue_credential/v2_0/handlers/tests/test_cred_problem_report_handler.py index aef9a0d130..a6942e7174 100644 --- a/aries_cloudagent/protocols/issue_credential/v2_0/handlers/tests/test_cred_problem_report_handler.py +++ b/acapy_agent/protocols/issue_credential/v2_0/handlers/tests/test_cred_problem_report_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......messaging.request_context import RequestContext from ......messaging.responder import MockResponder diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/handlers/tests/test_cred_proposal_handler.py b/acapy_agent/protocols/issue_credential/v2_0/handlers/tests/test_cred_proposal_handler.py similarity index 99% rename from aries_cloudagent/protocols/issue_credential/v2_0/handlers/tests/test_cred_proposal_handler.py rename to acapy_agent/protocols/issue_credential/v2_0/handlers/tests/test_cred_proposal_handler.py index 5e636720d4..608b147377 100644 --- a/aries_cloudagent/protocols/issue_credential/v2_0/handlers/tests/test_cred_proposal_handler.py +++ b/acapy_agent/protocols/issue_credential/v2_0/handlers/tests/test_cred_proposal_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......messaging.request_context import RequestContext from ......messaging.responder import MockResponder diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/handlers/tests/test_cred_request_handler.py b/acapy_agent/protocols/issue_credential/v2_0/handlers/tests/test_cred_request_handler.py similarity index 99% rename from aries_cloudagent/protocols/issue_credential/v2_0/handlers/tests/test_cred_request_handler.py rename to acapy_agent/protocols/issue_credential/v2_0/handlers/tests/test_cred_request_handler.py index 838299c3a9..19e86b4303 100644 --- a/aries_cloudagent/protocols/issue_credential/v2_0/handlers/tests/test_cred_request_handler.py +++ b/acapy_agent/protocols/issue_credential/v2_0/handlers/tests/test_cred_request_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.oob_processor import OobMessageProcessor from ......messaging.request_context import RequestContext diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/manager.py b/acapy_agent/protocols/issue_credential/v2_0/manager.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/manager.py rename to acapy_agent/protocols/issue_credential/v2_0/manager.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/message_types.py b/acapy_agent/protocols/issue_credential/v2_0/message_types.py similarity index 97% rename from aries_cloudagent/protocols/issue_credential/v2_0/message_types.py rename to acapy_agent/protocols/issue_credential/v2_0/message_types.py index 1ee2095431..668d2b7332 100644 --- a/aries_cloudagent/protocols/issue_credential/v2_0/message_types.py +++ b/acapy_agent/protocols/issue_credential/v2_0/message_types.py @@ -16,7 +16,7 @@ CRED_20_ACK = "issue-credential/2.0/ack" CRED_20_PROBLEM_REPORT = "issue-credential/2.0/problem-report" -PROTOCOL_PACKAGE = "aries_cloudagent.protocols.issue_credential.v2_0" +PROTOCOL_PACKAGE = "acapy_agent.protocols.issue_credential.v2_0" MESSAGE_TYPES = DIDCommPrefix.qualify_all( { diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/messages/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/messages/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/messages/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/cred_ack.py b/acapy_agent/protocols/issue_credential/v2_0/messages/cred_ack.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/messages/cred_ack.py rename to acapy_agent/protocols/issue_credential/v2_0/messages/cred_ack.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/cred_ex_record_webhook.py b/acapy_agent/protocols/issue_credential/v2_0/messages/cred_ex_record_webhook.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/messages/cred_ex_record_webhook.py rename to acapy_agent/protocols/issue_credential/v2_0/messages/cred_ex_record_webhook.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/cred_format.py b/acapy_agent/protocols/issue_credential/v2_0/messages/cred_format.py similarity index 94% rename from aries_cloudagent/protocols/issue_credential/v2_0/messages/cred_format.py rename to acapy_agent/protocols/issue_credential/v2_0/messages/cred_format.py index b6cf38537b..0574d4736d 100644 --- a/aries_cloudagent/protocols/issue_credential/v2_0/messages/cred_format.py +++ b/acapy_agent/protocols/issue_credential/v2_0/messages/cred_format.py @@ -35,7 +35,7 @@ class Format(Enum): "hlindy/", V20CredExRecordIndy, DeferLoad( - "aries_cloudagent.protocols.issue_credential.v2_0" + "acapy_agent.protocols.issue_credential.v2_0" ".formats.indy.handler.IndyCredFormatHandler" ), ) @@ -51,7 +51,7 @@ class Format(Enum): "hlindy/", V20CredExRecordIndy, DeferLoad( - "aries_cloudagent.protocols.issue_credential.v2_0" + "acapy_agent.protocols.issue_credential.v2_0" ".formats.anoncreds.handler.AnonCredsCredFormatHandler" ), ) @@ -60,7 +60,7 @@ class Format(Enum): "aries/", V20CredExRecordLDProof, DeferLoad( - "aries_cloudagent.protocols.issue_credential.v2_0" + "acapy_agent.protocols.issue_credential.v2_0" ".formats.ld_proof.handler.LDProofCredFormatHandler" ), ) @@ -69,7 +69,7 @@ class Format(Enum): "didcomm/", V20CredExRecordIndy, DeferLoad( - "aries_cloudagent.protocols.issue_credential.v2_0" + "acapy_agent.protocols.issue_credential.v2_0" ".formats.vc_di.handler.VCDICredFormatHandler" ), ) diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/cred_issue.py b/acapy_agent/protocols/issue_credential/v2_0/messages/cred_issue.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/messages/cred_issue.py rename to acapy_agent/protocols/issue_credential/v2_0/messages/cred_issue.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/cred_offer.py b/acapy_agent/protocols/issue_credential/v2_0/messages/cred_offer.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/messages/cred_offer.py rename to acapy_agent/protocols/issue_credential/v2_0/messages/cred_offer.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/cred_problem_report.py b/acapy_agent/protocols/issue_credential/v2_0/messages/cred_problem_report.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/messages/cred_problem_report.py rename to acapy_agent/protocols/issue_credential/v2_0/messages/cred_problem_report.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/cred_proposal.py b/acapy_agent/protocols/issue_credential/v2_0/messages/cred_proposal.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/messages/cred_proposal.py rename to acapy_agent/protocols/issue_credential/v2_0/messages/cred_proposal.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/cred_request.py b/acapy_agent/protocols/issue_credential/v2_0/messages/cred_request.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/messages/cred_request.py rename to acapy_agent/protocols/issue_credential/v2_0/messages/cred_request.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/inner/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/messages/inner/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/messages/inner/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/messages/inner/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/inner/cred_preview.py b/acapy_agent/protocols/issue_credential/v2_0/messages/inner/cred_preview.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/messages/inner/cred_preview.py rename to acapy_agent/protocols/issue_credential/v2_0/messages/inner/cred_preview.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/inner/tests/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/messages/inner/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/messages/inner/tests/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/messages/inner/tests/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/inner/tests/test_cred_preview.py b/acapy_agent/protocols/issue_credential/v2_0/messages/inner/tests/test_cred_preview.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/messages/inner/tests/test_cred_preview.py rename to acapy_agent/protocols/issue_credential/v2_0/messages/inner/tests/test_cred_preview.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/messages/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/messages/tests/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/test_cred_ack.py b/acapy_agent/protocols/issue_credential/v2_0/messages/tests/test_cred_ack.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/test_cred_ack.py rename to acapy_agent/protocols/issue_credential/v2_0/messages/tests/test_cred_ack.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/test_cred_format.py b/acapy_agent/protocols/issue_credential/v2_0/messages/tests/test_cred_format.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/test_cred_format.py rename to acapy_agent/protocols/issue_credential/v2_0/messages/tests/test_cred_format.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/test_cred_issue.py b/acapy_agent/protocols/issue_credential/v2_0/messages/tests/test_cred_issue.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/test_cred_issue.py rename to acapy_agent/protocols/issue_credential/v2_0/messages/tests/test_cred_issue.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/test_cred_offer.py b/acapy_agent/protocols/issue_credential/v2_0/messages/tests/test_cred_offer.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/test_cred_offer.py rename to acapy_agent/protocols/issue_credential/v2_0/messages/tests/test_cred_offer.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/test_cred_problem_report.py b/acapy_agent/protocols/issue_credential/v2_0/messages/tests/test_cred_problem_report.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/test_cred_problem_report.py rename to acapy_agent/protocols/issue_credential/v2_0/messages/tests/test_cred_problem_report.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/test_cred_proposal.py b/acapy_agent/protocols/issue_credential/v2_0/messages/tests/test_cred_proposal.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/test_cred_proposal.py rename to acapy_agent/protocols/issue_credential/v2_0/messages/tests/test_cred_proposal.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/test_cred_request.py b/acapy_agent/protocols/issue_credential/v2_0/messages/tests/test_cred_request.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/test_cred_request.py rename to acapy_agent/protocols/issue_credential/v2_0/messages/tests/test_cred_request.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/models/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/models/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/models/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/models/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/models/cred_ex_record.py b/acapy_agent/protocols/issue_credential/v2_0/models/cred_ex_record.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/models/cred_ex_record.py rename to acapy_agent/protocols/issue_credential/v2_0/models/cred_ex_record.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/models/detail/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/models/detail/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/models/detail/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/models/detail/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/models/detail/indy.py b/acapy_agent/protocols/issue_credential/v2_0/models/detail/indy.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/models/detail/indy.py rename to acapy_agent/protocols/issue_credential/v2_0/models/detail/indy.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/models/detail/ld_proof.py b/acapy_agent/protocols/issue_credential/v2_0/models/detail/ld_proof.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/models/detail/ld_proof.py rename to acapy_agent/protocols/issue_credential/v2_0/models/detail/ld_proof.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/models/detail/tests/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/models/detail/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/models/detail/tests/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/models/detail/tests/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/models/detail/tests/test_indy.py b/acapy_agent/protocols/issue_credential/v2_0/models/detail/tests/test_indy.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/models/detail/tests/test_indy.py rename to acapy_agent/protocols/issue_credential/v2_0/models/detail/tests/test_indy.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/models/detail/tests/test_ld_proof.py b/acapy_agent/protocols/issue_credential/v2_0/models/detail/tests/test_ld_proof.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/models/detail/tests/test_ld_proof.py rename to acapy_agent/protocols/issue_credential/v2_0/models/detail/tests/test_ld_proof.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/models/tests/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/models/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/models/tests/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/models/tests/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/models/tests/test_cred_ex_record.py b/acapy_agent/protocols/issue_credential/v2_0/models/tests/test_cred_ex_record.py similarity index 99% rename from aries_cloudagent/protocols/issue_credential/v2_0/models/tests/test_cred_ex_record.py rename to acapy_agent/protocols/issue_credential/v2_0/models/tests/test_cred_ex_record.py index ef7ed0fe85..f29c3c8357 100644 --- a/aries_cloudagent/protocols/issue_credential/v2_0/models/tests/test_cred_ex_record.py +++ b/acapy_agent/protocols/issue_credential/v2_0/models/tests/test_cred_ex_record.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.in_memory import InMemoryProfile from ......messaging.decorators.attach_decorator import AttachDecorator diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/routes.py b/acapy_agent/protocols/issue_credential/v2_0/routes.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/routes.py rename to acapy_agent/protocols/issue_credential/v2_0/routes.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/tests/__init__.py b/acapy_agent/protocols/issue_credential/v2_0/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/issue_credential/v2_0/tests/__init__.py rename to acapy_agent/protocols/issue_credential/v2_0/tests/__init__.py diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/tests/test_manager.py b/acapy_agent/protocols/issue_credential/v2_0/tests/test_manager.py similarity index 99% rename from aries_cloudagent/protocols/issue_credential/v2_0/tests/test_manager.py rename to acapy_agent/protocols/issue_credential/v2_0/tests/test_manager.py index 0cddba3532..3690a09e0e 100644 --- a/aries_cloudagent/protocols/issue_credential/v2_0/tests/test_manager.py +++ b/acapy_agent/protocols/issue_credential/v2_0/tests/test_manager.py @@ -1,7 +1,7 @@ import json from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....anoncreds.issuer import AnonCredsIssuer from .....cache.base import BaseCache diff --git a/aries_cloudagent/protocols/issue_credential/v2_0/tests/test_routes.py b/acapy_agent/protocols/issue_credential/v2_0/tests/test_routes.py similarity index 99% rename from aries_cloudagent/protocols/issue_credential/v2_0/tests/test_routes.py rename to acapy_agent/protocols/issue_credential/v2_0/tests/test_routes.py index 4689a31266..8e8df02189 100644 --- a/aries_cloudagent/protocols/issue_credential/v2_0/tests/test_routes.py +++ b/acapy_agent/protocols/issue_credential/v2_0/tests/test_routes.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....admin.request_context import AdminRequestContext from .....core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/protocols/notification/__init__.py b/acapy_agent/protocols/notification/__init__.py similarity index 100% rename from aries_cloudagent/protocols/notification/__init__.py rename to acapy_agent/protocols/notification/__init__.py diff --git a/aries_cloudagent/protocols/notification/definition.py b/acapy_agent/protocols/notification/definition.py similarity index 100% rename from aries_cloudagent/protocols/notification/definition.py rename to acapy_agent/protocols/notification/definition.py diff --git a/aries_cloudagent/protocols/notification/v1_0/__init__.py b/acapy_agent/protocols/notification/v1_0/__init__.py similarity index 100% rename from aries_cloudagent/protocols/notification/v1_0/__init__.py rename to acapy_agent/protocols/notification/v1_0/__init__.py diff --git a/aries_cloudagent/protocols/notification/v1_0/handlers/__init__.py b/acapy_agent/protocols/notification/v1_0/handlers/__init__.py similarity index 100% rename from aries_cloudagent/protocols/notification/v1_0/handlers/__init__.py rename to acapy_agent/protocols/notification/v1_0/handlers/__init__.py diff --git a/aries_cloudagent/protocols/notification/v1_0/handlers/ack_handler.py b/acapy_agent/protocols/notification/v1_0/handlers/ack_handler.py similarity index 100% rename from aries_cloudagent/protocols/notification/v1_0/handlers/ack_handler.py rename to acapy_agent/protocols/notification/v1_0/handlers/ack_handler.py diff --git a/aries_cloudagent/protocols/notification/v1_0/handlers/tests/__init__.py b/acapy_agent/protocols/notification/v1_0/handlers/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/notification/v1_0/handlers/tests/__init__.py rename to acapy_agent/protocols/notification/v1_0/handlers/tests/__init__.py diff --git a/aries_cloudagent/protocols/notification/v1_0/handlers/tests/test_ack_handler.py b/acapy_agent/protocols/notification/v1_0/handlers/tests/test_ack_handler.py similarity index 100% rename from aries_cloudagent/protocols/notification/v1_0/handlers/tests/test_ack_handler.py rename to acapy_agent/protocols/notification/v1_0/handlers/tests/test_ack_handler.py diff --git a/aries_cloudagent/protocols/notification/v1_0/message_types.py b/acapy_agent/protocols/notification/v1_0/message_types.py similarity index 86% rename from aries_cloudagent/protocols/notification/v1_0/message_types.py rename to acapy_agent/protocols/notification/v1_0/message_types.py index 363d43e949..a992ae226c 100644 --- a/aries_cloudagent/protocols/notification/v1_0/message_types.py +++ b/acapy_agent/protocols/notification/v1_0/message_types.py @@ -10,7 +10,7 @@ # Message types NOTIF_10_ACK = "notification/1.0/ack" -PROTOCOL_PACKAGE = "aries_cloudagent.protocols.notification.v1_0" +PROTOCOL_PACKAGE = "acapy_agent.protocols.notification.v1_0" MESSAGE_TYPES = DIDCommPrefix.qualify_all( { diff --git a/aries_cloudagent/protocols/notification/v1_0/messages/__init__.py b/acapy_agent/protocols/notification/v1_0/messages/__init__.py similarity index 100% rename from aries_cloudagent/protocols/notification/v1_0/messages/__init__.py rename to acapy_agent/protocols/notification/v1_0/messages/__init__.py diff --git a/aries_cloudagent/protocols/notification/v1_0/messages/ack.py b/acapy_agent/protocols/notification/v1_0/messages/ack.py similarity index 100% rename from aries_cloudagent/protocols/notification/v1_0/messages/ack.py rename to acapy_agent/protocols/notification/v1_0/messages/ack.py diff --git a/aries_cloudagent/protocols/out_of_band/__init__.py b/acapy_agent/protocols/out_of_band/__init__.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/__init__.py rename to acapy_agent/protocols/out_of_band/__init__.py diff --git a/aries_cloudagent/protocols/out_of_band/definition.py b/acapy_agent/protocols/out_of_band/definition.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/definition.py rename to acapy_agent/protocols/out_of_band/definition.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/__init__.py b/acapy_agent/protocols/out_of_band/v1_0/__init__.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/__init__.py rename to acapy_agent/protocols/out_of_band/v1_0/__init__.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/controller.py b/acapy_agent/protocols/out_of_band/v1_0/controller.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/controller.py rename to acapy_agent/protocols/out_of_band/v1_0/controller.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/handlers/__init__.py b/acapy_agent/protocols/out_of_band/v1_0/handlers/__init__.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/handlers/__init__.py rename to acapy_agent/protocols/out_of_band/v1_0/handlers/__init__.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/handlers/problem_report_handler.py b/acapy_agent/protocols/out_of_band/v1_0/handlers/problem_report_handler.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/handlers/problem_report_handler.py rename to acapy_agent/protocols/out_of_band/v1_0/handlers/problem_report_handler.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/handlers/reuse_accept_handler.py b/acapy_agent/protocols/out_of_band/v1_0/handlers/reuse_accept_handler.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/handlers/reuse_accept_handler.py rename to acapy_agent/protocols/out_of_band/v1_0/handlers/reuse_accept_handler.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/handlers/reuse_handler.py b/acapy_agent/protocols/out_of_band/v1_0/handlers/reuse_handler.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/handlers/reuse_handler.py rename to acapy_agent/protocols/out_of_band/v1_0/handlers/reuse_handler.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/handlers/tests/__init__.py b/acapy_agent/protocols/out_of_band/v1_0/handlers/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/handlers/tests/__init__.py rename to acapy_agent/protocols/out_of_band/v1_0/handlers/tests/__init__.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/handlers/tests/test_problem_report_handler.py b/acapy_agent/protocols/out_of_band/v1_0/handlers/tests/test_problem_report_handler.py similarity index 98% rename from aries_cloudagent/protocols/out_of_band/v1_0/handlers/tests/test_problem_report_handler.py rename to acapy_agent/protocols/out_of_band/v1_0/handlers/tests/test_problem_report_handler.py index f659d7a1e2..97f1586f87 100644 --- a/aries_cloudagent/protocols/out_of_band/v1_0/handlers/tests/test_problem_report_handler.py +++ b/acapy_agent/protocols/out_of_band/v1_0/handlers/tests/test_problem_report_handler.py @@ -2,7 +2,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......connections.models.conn_record import ConnRecord from ......core.profile import ProfileSession diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/handlers/tests/test_reuse_accept_handler.py b/acapy_agent/protocols/out_of_band/v1_0/handlers/tests/test_reuse_accept_handler.py similarity index 98% rename from aries_cloudagent/protocols/out_of_band/v1_0/handlers/tests/test_reuse_accept_handler.py rename to acapy_agent/protocols/out_of_band/v1_0/handlers/tests/test_reuse_accept_handler.py index 849134b429..0ca7730d80 100644 --- a/aries_cloudagent/protocols/out_of_band/v1_0/handlers/tests/test_reuse_accept_handler.py +++ b/acapy_agent/protocols/out_of_band/v1_0/handlers/tests/test_reuse_accept_handler.py @@ -2,7 +2,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......connections.models.conn_record import ConnRecord from ......core.profile import ProfileSession diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/handlers/tests/test_reuse_handler.py b/acapy_agent/protocols/out_of_band/v1_0/handlers/tests/test_reuse_handler.py similarity index 98% rename from aries_cloudagent/protocols/out_of_band/v1_0/handlers/tests/test_reuse_handler.py rename to acapy_agent/protocols/out_of_band/v1_0/handlers/tests/test_reuse_handler.py index 9a958b11ed..7becac210a 100644 --- a/aries_cloudagent/protocols/out_of_band/v1_0/handlers/tests/test_reuse_handler.py +++ b/acapy_agent/protocols/out_of_band/v1_0/handlers/tests/test_reuse_handler.py @@ -4,7 +4,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......connections.models.conn_record import ConnRecord from ......core.profile import ProfileSession diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/manager.py b/acapy_agent/protocols/out_of_band/v1_0/manager.py similarity index 99% rename from aries_cloudagent/protocols/out_of_band/v1_0/manager.py rename to acapy_agent/protocols/out_of_band/v1_0/manager.py index 08b982c4a2..bcaa177971 100644 --- a/aries_cloudagent/protocols/out_of_band/v1_0/manager.py +++ b/acapy_agent/protocols/out_of_band/v1_0/manager.py @@ -7,10 +7,10 @@ from uuid_utils import uuid4 -from aries_cloudagent.protocols.coordinate_mediation.v1_0.route_manager import ( +from acapy_agent.protocols.coordinate_mediation.v1_0.route_manager import ( RouteManager, ) -from aries_cloudagent.wallet.error import WalletNotFoundError +from acapy_agent.wallet.error import WalletNotFoundError from ....connections.base_manager import BaseConnectionManager from ....connections.models.conn_record import ConnRecord diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/message_types.py b/acapy_agent/protocols/out_of_band/v1_0/message_types.py similarity index 95% rename from aries_cloudagent/protocols/out_of_band/v1_0/message_types.py rename to acapy_agent/protocols/out_of_band/v1_0/message_types.py index bf99f42016..4160d99349 100644 --- a/aries_cloudagent/protocols/out_of_band/v1_0/message_types.py +++ b/acapy_agent/protocols/out_of_band/v1_0/message_types.py @@ -19,7 +19,7 @@ PROBLEM_REPORT = f"out-of-band/{DEFAULT_VERSION}/problem_report" -PROTOCOL_PACKAGE = "aries_cloudagent.protocols.out_of_band.v1_0" +PROTOCOL_PACKAGE = "acapy_agent.protocols.out_of_band.v1_0" MESSAGE_TYPES = DIDCommPrefix.qualify_all( { diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/messages/__init__.py b/acapy_agent/protocols/out_of_band/v1_0/messages/__init__.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/messages/__init__.py rename to acapy_agent/protocols/out_of_band/v1_0/messages/__init__.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/messages/invitation.py b/acapy_agent/protocols/out_of_band/v1_0/messages/invitation.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/messages/invitation.py rename to acapy_agent/protocols/out_of_band/v1_0/messages/invitation.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/messages/problem_report.py b/acapy_agent/protocols/out_of_band/v1_0/messages/problem_report.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/messages/problem_report.py rename to acapy_agent/protocols/out_of_band/v1_0/messages/problem_report.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/messages/reuse.py b/acapy_agent/protocols/out_of_band/v1_0/messages/reuse.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/messages/reuse.py rename to acapy_agent/protocols/out_of_band/v1_0/messages/reuse.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/messages/reuse_accept.py b/acapy_agent/protocols/out_of_band/v1_0/messages/reuse_accept.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/messages/reuse_accept.py rename to acapy_agent/protocols/out_of_band/v1_0/messages/reuse_accept.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/messages/service.py b/acapy_agent/protocols/out_of_band/v1_0/messages/service.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/messages/service.py rename to acapy_agent/protocols/out_of_band/v1_0/messages/service.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/messages/tests/__init__.py b/acapy_agent/protocols/out_of_band/v1_0/messages/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/messages/tests/__init__.py rename to acapy_agent/protocols/out_of_band/v1_0/messages/tests/__init__.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/messages/tests/test_invitation.py b/acapy_agent/protocols/out_of_band/v1_0/messages/tests/test_invitation.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/messages/tests/test_invitation.py rename to acapy_agent/protocols/out_of_band/v1_0/messages/tests/test_invitation.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/messages/tests/test_problem_report.py b/acapy_agent/protocols/out_of_band/v1_0/messages/tests/test_problem_report.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/messages/tests/test_problem_report.py rename to acapy_agent/protocols/out_of_band/v1_0/messages/tests/test_problem_report.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/messages/tests/test_reuse.py b/acapy_agent/protocols/out_of_band/v1_0/messages/tests/test_reuse.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/messages/tests/test_reuse.py rename to acapy_agent/protocols/out_of_band/v1_0/messages/tests/test_reuse.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/messages/tests/test_reuse_accept.py b/acapy_agent/protocols/out_of_band/v1_0/messages/tests/test_reuse_accept.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/messages/tests/test_reuse_accept.py rename to acapy_agent/protocols/out_of_band/v1_0/messages/tests/test_reuse_accept.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/models/__init__.py b/acapy_agent/protocols/out_of_band/v1_0/models/__init__.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/models/__init__.py rename to acapy_agent/protocols/out_of_band/v1_0/models/__init__.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/models/invitation.py b/acapy_agent/protocols/out_of_band/v1_0/models/invitation.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/models/invitation.py rename to acapy_agent/protocols/out_of_band/v1_0/models/invitation.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/models/oob_record.py b/acapy_agent/protocols/out_of_band/v1_0/models/oob_record.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/models/oob_record.py rename to acapy_agent/protocols/out_of_band/v1_0/models/oob_record.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/models/tests/__init__.py b/acapy_agent/protocols/out_of_band/v1_0/models/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/models/tests/__init__.py rename to acapy_agent/protocols/out_of_band/v1_0/models/tests/__init__.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/models/tests/test_invitation.py b/acapy_agent/protocols/out_of_band/v1_0/models/tests/test_invitation.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/models/tests/test_invitation.py rename to acapy_agent/protocols/out_of_band/v1_0/models/tests/test_invitation.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/models/tests/test_out_of_band.py b/acapy_agent/protocols/out_of_band/v1_0/models/tests/test_out_of_band.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/models/tests/test_out_of_band.py rename to acapy_agent/protocols/out_of_band/v1_0/models/tests/test_out_of_band.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/routes.py b/acapy_agent/protocols/out_of_band/v1_0/routes.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/routes.py rename to acapy_agent/protocols/out_of_band/v1_0/routes.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/tests/__init__.py b/acapy_agent/protocols/out_of_band/v1_0/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/tests/__init__.py rename to acapy_agent/protocols/out_of_band/v1_0/tests/__init__.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/tests/test_invite_creator.py b/acapy_agent/protocols/out_of_band/v1_0/tests/test_invite_creator.py similarity index 100% rename from aries_cloudagent/protocols/out_of_band/v1_0/tests/test_invite_creator.py rename to acapy_agent/protocols/out_of_band/v1_0/tests/test_invite_creator.py diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/tests/test_manager.py b/acapy_agent/protocols/out_of_band/v1_0/tests/test_manager.py similarity index 99% rename from aries_cloudagent/protocols/out_of_band/v1_0/tests/test_manager.py rename to acapy_agent/protocols/out_of_band/v1_0/tests/test_manager.py index 074bec5d9f..8c0ad59705 100644 --- a/aries_cloudagent/protocols/out_of_band/v1_0/tests/test_manager.py +++ b/acapy_agent/protocols/out_of_band/v1_0/tests/test_manager.py @@ -8,8 +8,8 @@ from unittest import IsolatedAsyncioTestCase from unittest.mock import ANY -from aries_cloudagent.tests import mock -from aries_cloudagent.wallet.util import pad +from acapy_agent.tests import mock +from acapy_agent.wallet.util import pad from .....connections.models.conn_record import ConnRecord from .....connections.models.connection_target import ConnectionTarget diff --git a/aries_cloudagent/protocols/out_of_band/v1_0/tests/test_routes.py b/acapy_agent/protocols/out_of_band/v1_0/tests/test_routes.py similarity index 99% rename from aries_cloudagent/protocols/out_of_band/v1_0/tests/test_routes.py rename to acapy_agent/protocols/out_of_band/v1_0/tests/test_routes.py index fa61be97a2..c7f8dbadab 100644 --- a/aries_cloudagent/protocols/out_of_band/v1_0/tests/test_routes.py +++ b/acapy_agent/protocols/out_of_band/v1_0/tests/test_routes.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....admin.request_context import AdminRequestContext from .....connections.models.conn_record import ConnRecord diff --git a/aries_cloudagent/protocols/present_proof/__init__.py b/acapy_agent/protocols/present_proof/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/__init__.py rename to acapy_agent/protocols/present_proof/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/anoncreds/__init__.py b/acapy_agent/protocols/present_proof/anoncreds/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/anoncreds/__init__.py rename to acapy_agent/protocols/present_proof/anoncreds/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/anoncreds/pres_exch_handler.py b/acapy_agent/protocols/present_proof/anoncreds/pres_exch_handler.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/anoncreds/pres_exch_handler.py rename to acapy_agent/protocols/present_proof/anoncreds/pres_exch_handler.py diff --git a/aries_cloudagent/protocols/present_proof/definition.py b/acapy_agent/protocols/present_proof/definition.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/definition.py rename to acapy_agent/protocols/present_proof/definition.py diff --git a/aries_cloudagent/protocols/present_proof/dif/__init__.py b/acapy_agent/protocols/present_proof/dif/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/dif/__init__.py rename to acapy_agent/protocols/present_proof/dif/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/dif/pres_exch.py b/acapy_agent/protocols/present_proof/dif/pres_exch.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/dif/pres_exch.py rename to acapy_agent/protocols/present_proof/dif/pres_exch.py diff --git a/aries_cloudagent/protocols/present_proof/dif/pres_exch_handler.py b/acapy_agent/protocols/present_proof/dif/pres_exch_handler.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/dif/pres_exch_handler.py rename to acapy_agent/protocols/present_proof/dif/pres_exch_handler.py diff --git a/aries_cloudagent/protocols/present_proof/dif/pres_proposal_schema.py b/acapy_agent/protocols/present_proof/dif/pres_proposal_schema.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/dif/pres_proposal_schema.py rename to acapy_agent/protocols/present_proof/dif/pres_proposal_schema.py diff --git a/aries_cloudagent/protocols/present_proof/dif/pres_request_schema.py b/acapy_agent/protocols/present_proof/dif/pres_request_schema.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/dif/pres_request_schema.py rename to acapy_agent/protocols/present_proof/dif/pres_request_schema.py diff --git a/aries_cloudagent/protocols/present_proof/dif/pres_schema.py b/acapy_agent/protocols/present_proof/dif/pres_schema.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/dif/pres_schema.py rename to acapy_agent/protocols/present_proof/dif/pres_schema.py diff --git a/aries_cloudagent/protocols/present_proof/dif/tests/__init__.py b/acapy_agent/protocols/present_proof/dif/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/dif/tests/__init__.py rename to acapy_agent/protocols/present_proof/dif/tests/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/dif/tests/test_data.py b/acapy_agent/protocols/present_proof/dif/tests/test_data.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/dif/tests/test_data.py rename to acapy_agent/protocols/present_proof/dif/tests/test_data.py diff --git a/aries_cloudagent/protocols/present_proof/dif/tests/test_pres_exch.py b/acapy_agent/protocols/present_proof/dif/tests/test_pres_exch.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/dif/tests/test_pres_exch.py rename to acapy_agent/protocols/present_proof/dif/tests/test_pres_exch.py diff --git a/aries_cloudagent/protocols/present_proof/dif/tests/test_pres_exch_handler.py b/acapy_agent/protocols/present_proof/dif/tests/test_pres_exch_handler.py similarity index 99% rename from aries_cloudagent/protocols/present_proof/dif/tests/test_pres_exch_handler.py rename to acapy_agent/protocols/present_proof/dif/tests/test_pres_exch_handler.py index d2eb5c2cb5..7c282c6d74 100644 --- a/aries_cloudagent/protocols/present_proof/dif/tests/test_pres_exch_handler.py +++ b/acapy_agent/protocols/present_proof/dif/tests/test_pres_exch_handler.py @@ -5,8 +5,8 @@ import pytest from uuid_utils import uuid4 -from aries_cloudagent.tests import mock -from aries_cloudagent.wallet.key_type import BLS12381G2, ED25519 +from acapy_agent.tests import mock +from acapy_agent.wallet.key_type import BLS12381G2, ED25519 from .....core.in_memory import InMemoryProfile from .....resolver.did_resolver import DIDResolver diff --git a/aries_cloudagent/protocols/present_proof/dif/tests/test_pres_request.py b/acapy_agent/protocols/present_proof/dif/tests/test_pres_request.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/dif/tests/test_pres_request.py rename to acapy_agent/protocols/present_proof/dif/tests/test_pres_request.py diff --git a/aries_cloudagent/protocols/present_proof/indy/__init__.py b/acapy_agent/protocols/present_proof/indy/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/indy/__init__.py rename to acapy_agent/protocols/present_proof/indy/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/indy/pres_exch_handler.py b/acapy_agent/protocols/present_proof/indy/pres_exch_handler.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/indy/pres_exch_handler.py rename to acapy_agent/protocols/present_proof/indy/pres_exch_handler.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/__init__.py b/acapy_agent/protocols/present_proof/v1_0/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/__init__.py rename to acapy_agent/protocols/present_proof/v1_0/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/controller.py b/acapy_agent/protocols/present_proof/v1_0/controller.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/controller.py rename to acapy_agent/protocols/present_proof/v1_0/controller.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/handlers/__init__.py b/acapy_agent/protocols/present_proof/v1_0/handlers/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/handlers/__init__.py rename to acapy_agent/protocols/present_proof/v1_0/handlers/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/handlers/presentation_ack_handler.py b/acapy_agent/protocols/present_proof/v1_0/handlers/presentation_ack_handler.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/handlers/presentation_ack_handler.py rename to acapy_agent/protocols/present_proof/v1_0/handlers/presentation_ack_handler.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/handlers/presentation_handler.py b/acapy_agent/protocols/present_proof/v1_0/handlers/presentation_handler.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/handlers/presentation_handler.py rename to acapy_agent/protocols/present_proof/v1_0/handlers/presentation_handler.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/handlers/presentation_problem_report_handler.py b/acapy_agent/protocols/present_proof/v1_0/handlers/presentation_problem_report_handler.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/handlers/presentation_problem_report_handler.py rename to acapy_agent/protocols/present_proof/v1_0/handlers/presentation_problem_report_handler.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/handlers/presentation_proposal_handler.py b/acapy_agent/protocols/present_proof/v1_0/handlers/presentation_proposal_handler.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/handlers/presentation_proposal_handler.py rename to acapy_agent/protocols/present_proof/v1_0/handlers/presentation_proposal_handler.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/handlers/presentation_request_handler.py b/acapy_agent/protocols/present_proof/v1_0/handlers/presentation_request_handler.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/handlers/presentation_request_handler.py rename to acapy_agent/protocols/present_proof/v1_0/handlers/presentation_request_handler.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/handlers/tests/__init__.py b/acapy_agent/protocols/present_proof/v1_0/handlers/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/handlers/tests/__init__.py rename to acapy_agent/protocols/present_proof/v1_0/handlers/tests/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/handlers/tests/test_presentation_ack_handler.py b/acapy_agent/protocols/present_proof/v1_0/handlers/tests/test_presentation_ack_handler.py similarity index 98% rename from aries_cloudagent/protocols/present_proof/v1_0/handlers/tests/test_presentation_ack_handler.py rename to acapy_agent/protocols/present_proof/v1_0/handlers/tests/test_presentation_ack_handler.py index 4421ee9f2c..7d8dfa8103 100644 --- a/aries_cloudagent/protocols/present_proof/v1_0/handlers/tests/test_presentation_ack_handler.py +++ b/acapy_agent/protocols/present_proof/v1_0/handlers/tests/test_presentation_ack_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.oob_processor import OobMessageProcessor from ......messaging.request_context import RequestContext diff --git a/aries_cloudagent/protocols/present_proof/v1_0/handlers/tests/test_presentation_handler.py b/acapy_agent/protocols/present_proof/v1_0/handlers/tests/test_presentation_handler.py similarity index 99% rename from aries_cloudagent/protocols/present_proof/v1_0/handlers/tests/test_presentation_handler.py rename to acapy_agent/protocols/present_proof/v1_0/handlers/tests/test_presentation_handler.py index 97910ccaa1..908ab3edbc 100644 --- a/aries_cloudagent/protocols/present_proof/v1_0/handlers/tests/test_presentation_handler.py +++ b/acapy_agent/protocols/present_proof/v1_0/handlers/tests/test_presentation_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.oob_processor import OobMessageProcessor from ......messaging.request_context import RequestContext diff --git a/aries_cloudagent/protocols/present_proof/v1_0/handlers/tests/test_presentation_problem_report_handler.py b/acapy_agent/protocols/present_proof/v1_0/handlers/tests/test_presentation_problem_report_handler.py similarity index 98% rename from aries_cloudagent/protocols/present_proof/v1_0/handlers/tests/test_presentation_problem_report_handler.py rename to acapy_agent/protocols/present_proof/v1_0/handlers/tests/test_presentation_problem_report_handler.py index f0df55c1f3..c3bc8dfce1 100644 --- a/aries_cloudagent/protocols/present_proof/v1_0/handlers/tests/test_presentation_problem_report_handler.py +++ b/acapy_agent/protocols/present_proof/v1_0/handlers/tests/test_presentation_problem_report_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......messaging.request_context import RequestContext from ......messaging.responder import MockResponder diff --git a/aries_cloudagent/protocols/present_proof/v1_0/handlers/tests/test_presentation_proposal_handler.py b/acapy_agent/protocols/present_proof/v1_0/handlers/tests/test_presentation_proposal_handler.py similarity index 99% rename from aries_cloudagent/protocols/present_proof/v1_0/handlers/tests/test_presentation_proposal_handler.py rename to acapy_agent/protocols/present_proof/v1_0/handlers/tests/test_presentation_proposal_handler.py index 012763e58c..b228c94b3a 100644 --- a/aries_cloudagent/protocols/present_proof/v1_0/handlers/tests/test_presentation_proposal_handler.py +++ b/acapy_agent/protocols/present_proof/v1_0/handlers/tests/test_presentation_proposal_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......messaging.request_context import RequestContext from ......messaging.responder import MockResponder diff --git a/aries_cloudagent/protocols/present_proof/v1_0/handlers/tests/test_presentation_request_handler.py b/acapy_agent/protocols/present_proof/v1_0/handlers/tests/test_presentation_request_handler.py similarity index 99% rename from aries_cloudagent/protocols/present_proof/v1_0/handlers/tests/test_presentation_request_handler.py rename to acapy_agent/protocols/present_proof/v1_0/handlers/tests/test_presentation_request_handler.py index 87eb0fc978..ead5307c86 100644 --- a/aries_cloudagent/protocols/present_proof/v1_0/handlers/tests/test_presentation_request_handler.py +++ b/acapy_agent/protocols/present_proof/v1_0/handlers/tests/test_presentation_request_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.oob_processor import OobMessageProcessor from ......indy.holder import IndyHolder diff --git a/aries_cloudagent/protocols/present_proof/v1_0/manager.py b/acapy_agent/protocols/present_proof/v1_0/manager.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/manager.py rename to acapy_agent/protocols/present_proof/v1_0/manager.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/message_types.py b/acapy_agent/protocols/present_proof/v1_0/message_types.py similarity index 95% rename from aries_cloudagent/protocols/present_proof/v1_0/message_types.py rename to acapy_agent/protocols/present_proof/v1_0/message_types.py index 4ac08981b9..317ee5e618 100644 --- a/aries_cloudagent/protocols/present_proof/v1_0/message_types.py +++ b/acapy_agent/protocols/present_proof/v1_0/message_types.py @@ -14,7 +14,7 @@ PRESENTATION_ACK = "present-proof/1.0/ack" PRESENTATION_PROBLEM_REPORT = "present-proof/1.0/problem-report" -PROTOCOL_PACKAGE = "aries_cloudagent.protocols.present_proof.v1_0" +PROTOCOL_PACKAGE = "acapy_agent.protocols.present_proof.v1_0" MESSAGE_TYPES = DIDCommPrefix.qualify_all( { diff --git a/aries_cloudagent/protocols/present_proof/v1_0/messages/__init__.py b/acapy_agent/protocols/present_proof/v1_0/messages/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/messages/__init__.py rename to acapy_agent/protocols/present_proof/v1_0/messages/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/messages/presentation.py b/acapy_agent/protocols/present_proof/v1_0/messages/presentation.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/messages/presentation.py rename to acapy_agent/protocols/present_proof/v1_0/messages/presentation.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/messages/presentation_ack.py b/acapy_agent/protocols/present_proof/v1_0/messages/presentation_ack.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/messages/presentation_ack.py rename to acapy_agent/protocols/present_proof/v1_0/messages/presentation_ack.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/messages/presentation_problem_report.py b/acapy_agent/protocols/present_proof/v1_0/messages/presentation_problem_report.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/messages/presentation_problem_report.py rename to acapy_agent/protocols/present_proof/v1_0/messages/presentation_problem_report.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/messages/presentation_proposal.py b/acapy_agent/protocols/present_proof/v1_0/messages/presentation_proposal.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/messages/presentation_proposal.py rename to acapy_agent/protocols/present_proof/v1_0/messages/presentation_proposal.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/messages/presentation_request.py b/acapy_agent/protocols/present_proof/v1_0/messages/presentation_request.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/messages/presentation_request.py rename to acapy_agent/protocols/present_proof/v1_0/messages/presentation_request.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/messages/presentation_webhook.py b/acapy_agent/protocols/present_proof/v1_0/messages/presentation_webhook.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/messages/presentation_webhook.py rename to acapy_agent/protocols/present_proof/v1_0/messages/presentation_webhook.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/messages/tests/__init__.py b/acapy_agent/protocols/present_proof/v1_0/messages/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/messages/tests/__init__.py rename to acapy_agent/protocols/present_proof/v1_0/messages/tests/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/messages/tests/test_presentation.py b/acapy_agent/protocols/present_proof/v1_0/messages/tests/test_presentation.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/messages/tests/test_presentation.py rename to acapy_agent/protocols/present_proof/v1_0/messages/tests/test_presentation.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/messages/tests/test_presentation_ack.py b/acapy_agent/protocols/present_proof/v1_0/messages/tests/test_presentation_ack.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/messages/tests/test_presentation_ack.py rename to acapy_agent/protocols/present_proof/v1_0/messages/tests/test_presentation_ack.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/messages/tests/test_presentation_problem_report.py b/acapy_agent/protocols/present_proof/v1_0/messages/tests/test_presentation_problem_report.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/messages/tests/test_presentation_problem_report.py rename to acapy_agent/protocols/present_proof/v1_0/messages/tests/test_presentation_problem_report.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/messages/tests/test_presentation_proposal.py b/acapy_agent/protocols/present_proof/v1_0/messages/tests/test_presentation_proposal.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/messages/tests/test_presentation_proposal.py rename to acapy_agent/protocols/present_proof/v1_0/messages/tests/test_presentation_proposal.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/messages/tests/test_presentation_request.py b/acapy_agent/protocols/present_proof/v1_0/messages/tests/test_presentation_request.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/messages/tests/test_presentation_request.py rename to acapy_agent/protocols/present_proof/v1_0/messages/tests/test_presentation_request.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/models/__init__.py b/acapy_agent/protocols/present_proof/v1_0/models/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/models/__init__.py rename to acapy_agent/protocols/present_proof/v1_0/models/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/models/presentation_exchange.py b/acapy_agent/protocols/present_proof/v1_0/models/presentation_exchange.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/models/presentation_exchange.py rename to acapy_agent/protocols/present_proof/v1_0/models/presentation_exchange.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/models/tests/__init__.py b/acapy_agent/protocols/present_proof/v1_0/models/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/models/tests/__init__.py rename to acapy_agent/protocols/present_proof/v1_0/models/tests/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/models/tests/test_record.py b/acapy_agent/protocols/present_proof/v1_0/models/tests/test_record.py similarity index 99% rename from aries_cloudagent/protocols/present_proof/v1_0/models/tests/test_record.py rename to acapy_agent/protocols/present_proof/v1_0/models/tests/test_record.py index 571deee4b2..bad185420b 100644 --- a/aries_cloudagent/protocols/present_proof/v1_0/models/tests/test_record.py +++ b/acapy_agent/protocols/present_proof/v1_0/models/tests/test_record.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.in_memory import InMemoryProfile from ......indy.models.pres_preview import ( diff --git a/aries_cloudagent/protocols/present_proof/v1_0/routes.py b/acapy_agent/protocols/present_proof/v1_0/routes.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/routes.py rename to acapy_agent/protocols/present_proof/v1_0/routes.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/tests/__init__.py b/acapy_agent/protocols/present_proof/v1_0/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v1_0/tests/__init__.py rename to acapy_agent/protocols/present_proof/v1_0/tests/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/v1_0/tests/test_manager.py b/acapy_agent/protocols/present_proof/v1_0/tests/test_manager.py similarity index 99% rename from aries_cloudagent/protocols/present_proof/v1_0/tests/test_manager.py rename to acapy_agent/protocols/present_proof/v1_0/tests/test_manager.py index 1a48dba753..cc522d85e4 100644 --- a/aries_cloudagent/protocols/present_proof/v1_0/tests/test_manager.py +++ b/acapy_agent/protocols/present_proof/v1_0/tests/test_manager.py @@ -2,10 +2,10 @@ from time import time from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.protocols.issue_credential.v1_0.models.credential_exchange import ( +from acapy_agent.protocols.issue_credential.v1_0.models.credential_exchange import ( V10CredentialExchange, ) -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....core.in_memory import InMemoryProfile from .....indy.holder import IndyHolder, IndyHolderError diff --git a/aries_cloudagent/protocols/present_proof/v1_0/tests/test_routes.py b/acapy_agent/protocols/present_proof/v1_0/tests/test_routes.py similarity index 88% rename from aries_cloudagent/protocols/present_proof/v1_0/tests/test_routes.py rename to acapy_agent/protocols/present_proof/v1_0/tests/test_routes.py index 0f20eae8e4..e139c77e99 100644 --- a/aries_cloudagent/protocols/present_proof/v1_0/tests/test_routes.py +++ b/acapy_agent/protocols/present_proof/v1_0/tests/test_routes.py @@ -3,7 +3,7 @@ from marshmallow import ValidationError -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....admin.request_context import AdminRequestContext from .....core.in_memory import InMemoryProfile @@ -69,7 +69,7 @@ async def test_presentation_exchange_list(self): with mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -100,7 +100,7 @@ async def test_presentation_exchange_list_x(self): with mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -120,7 +120,7 @@ async def test_presentation_exchange_credentials_list_not_found(self): with mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -155,7 +155,7 @@ async def test_presentation_exchange_credentials_x(self): with mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -187,7 +187,7 @@ async def test_presentation_exchange_credentials_list_single_referent(self): with mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -220,7 +220,7 @@ async def test_presentation_exchange_credentials_list_multiple_referents(self): with mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -241,7 +241,7 @@ async def test_presentation_exchange_retrieve(self): with mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -263,7 +263,7 @@ async def test_presentation_exchange_retrieve_not_found(self): with mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -289,7 +289,7 @@ async def test_presentation_exchange_retrieve_x(self): ) with mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -311,13 +311,13 @@ async def test_presentation_exchange_send_proposal(self): self.request.json = mock.CoroutineMock() with mock.patch( - "aries_cloudagent.connections.models.conn_record.ConnRecord", + "acapy_agent.connections.models.conn_record.ConnRecord", autospec=True, ) as mock_connection_record, mock.patch( - "aries_cloudagent.protocols.present_proof.v1_0.manager.PresentationManager", + "acapy_agent.protocols.present_proof.v1_0.manager.PresentationManager", autospec=True, ) as mock_presentation_manager, mock.patch( - "aries_cloudagent.indy.models.pres_preview.IndyPresPreview", + "acapy_agent.indy.models.pres_preview.IndyPresPreview", autospec=True, ) as mock_preview: # Since we are mocking import @@ -340,7 +340,7 @@ async def test_presentation_exchange_send_proposal_no_conn_record(self): self.request.json = mock.CoroutineMock() with mock.patch( - "aries_cloudagent.connections.models.conn_record.ConnRecord", + "acapy_agent.connections.models.conn_record.ConnRecord", autospec=True, ) as mock_connection_record: # Since we are mocking import @@ -358,14 +358,14 @@ async def test_presentation_exchange_send_proposal_not_ready(self): self.request.json = mock.CoroutineMock() with mock.patch( - "aries_cloudagent.connections.models.conn_record.ConnRecord", + "acapy_agent.connections.models.conn_record.ConnRecord", autospec=True, ) as mock_connection_record, mock.patch( - "aries_cloudagent.indy.models.pres_preview.IndyPresPreview", + "acapy_agent.indy.models.pres_preview.IndyPresPreview", autospec=True, ) as mock_preview, mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "messages.presentation_proposal.PresentationProposal" ), autospec=True, @@ -383,13 +383,13 @@ async def test_presentation_exchange_send_proposal_x(self): self.request.json = mock.CoroutineMock() with mock.patch( - "aries_cloudagent.connections.models.conn_record.ConnRecord", + "acapy_agent.connections.models.conn_record.ConnRecord", autospec=True, ) as mock_connection_record, mock.patch( - "aries_cloudagent.protocols.present_proof.v1_0.manager.PresentationManager", + "acapy_agent.protocols.present_proof.v1_0.manager.PresentationManager", autospec=True, ) as mock_presentation_manager, mock.patch( - "aries_cloudagent.indy.models.pres_preview.IndyPresPreview", + "acapy_agent.indy.models.pres_preview.IndyPresPreview", autospec=True, ) as mock_preview: # Since we are mocking import @@ -414,24 +414,24 @@ async def test_presentation_exchange_create_request(self): ) with mock.patch( - "aries_cloudagent.protocols.present_proof.v1_0.manager.PresentationManager", + "acapy_agent.protocols.present_proof.v1_0.manager.PresentationManager", autospec=True, ) as mock_presentation_manager, mock.patch( - "aries_cloudagent.indy.models.pres_preview.IndyPresPreview", + "acapy_agent.indy.models.pres_preview.IndyPresPreview", autospec=True, ) as mock_preview, mock.patch.object( test_module, "PresentationRequest", autospec=True ) as mock_presentation_request, mock.patch( - "aries_cloudagent.messaging.decorators.attach_decorator.AttachDecorator", + "acapy_agent.messaging.decorators.attach_decorator.AttachDecorator", autospec=True, ) as mock_attach_decorator, mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, ) as mock_presentation_exchange, mock.patch( - "aries_cloudagent.indy.util.generate_pr_nonce", + "acapy_agent.indy.util.generate_pr_nonce", autospec=True, ) as mock_generate_nonce: # Since we are mocking import @@ -465,24 +465,24 @@ async def test_presentation_exchange_create_request_x(self): ) with mock.patch( - "aries_cloudagent.protocols.present_proof.v1_0.manager.PresentationManager", + "acapy_agent.protocols.present_proof.v1_0.manager.PresentationManager", autospec=True, ) as mock_presentation_manager, mock.patch( - "aries_cloudagent.indy.models.pres_preview.IndyPresPreview", + "acapy_agent.indy.models.pres_preview.IndyPresPreview", autospec=True, ) as mock_preview, mock.patch.object( test_module, "PresentationRequest", autospec=True ) as mock_presentation_request, mock.patch( - "aries_cloudagent.messaging.decorators.attach_decorator.AttachDecorator", + "acapy_agent.messaging.decorators.attach_decorator.AttachDecorator", autospec=True, ) as mock_attach_decorator, mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, ) as mock_presentation_exchange, mock.patch( - "aries_cloudagent.indy.util.generate_pr_nonce", + "acapy_agent.indy.util.generate_pr_nonce", autospec=True, ) as mock_generate_nonce: # Since we are mocking import @@ -511,25 +511,25 @@ async def test_presentation_exchange_send_free_request(self): ) with mock.patch( - "aries_cloudagent.connections.models.conn_record.ConnRecord", + "acapy_agent.connections.models.conn_record.ConnRecord", autospec=True, ) as mock_connection_record, mock.patch( - "aries_cloudagent.protocols.present_proof.v1_0.manager.PresentationManager", + "acapy_agent.protocols.present_proof.v1_0.manager.PresentationManager", autospec=True, ) as mock_presentation_manager, mock.patch( - "aries_cloudagent.indy.util.generate_pr_nonce", + "acapy_agent.indy.util.generate_pr_nonce", autospec=True, ) as mock_generate_nonce, mock.patch( - "aries_cloudagent.indy.models.pres_preview.IndyPresPreview", + "acapy_agent.indy.models.pres_preview.IndyPresPreview", autospec=True, ) as mock_preview, mock.patch.object( test_module, "PresentationRequest", autospec=True ) as mock_presentation_request, mock.patch( - "aries_cloudagent.messaging.decorators.attach_decorator.AttachDecorator", + "acapy_agent.messaging.decorators.attach_decorator.AttachDecorator", autospec=True, ) as mock_attach_decorator, mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -565,7 +565,7 @@ async def test_presentation_exchange_send_free_request_not_found(self): self.request.json = mock.CoroutineMock(return_value={"connection_id": "dummy"}) with mock.patch( - "aries_cloudagent.connections.models.conn_record.ConnRecord", + "acapy_agent.connections.models.conn_record.ConnRecord", autospec=True, ) as mock_connection_record: # Since we are mocking import @@ -583,7 +583,7 @@ async def test_presentation_exchange_send_free_request_not_ready(self): ) with mock.patch( - "aries_cloudagent.connections.models.conn_record.ConnRecord", + "acapy_agent.connections.models.conn_record.ConnRecord", autospec=True, ) as mock_connection_record: # Since we are mocking import @@ -607,24 +607,24 @@ async def test_presentation_exchange_send_free_request_x(self): ) with mock.patch( - "aries_cloudagent.connections.models.conn_record.ConnRecord", + "acapy_agent.connections.models.conn_record.ConnRecord", autospec=True, ) as mock_connection_record, mock.patch( - "aries_cloudagent.protocols.present_proof.v1_0.manager.PresentationManager", + "acapy_agent.protocols.present_proof.v1_0.manager.PresentationManager", autospec=True, ) as mock_presentation_manager, mock.patch( - "aries_cloudagent.indy.util.generate_pr_nonce", + "acapy_agent.indy.util.generate_pr_nonce", autospec=True, ) as mock_generate_nonce, mock.patch.object( test_module, "IndyPresPreview", autospec=True ) as mock_presentation_proposal, mock.patch.object( test_module, "PresentationRequest", autospec=True ) as mock_presentation_request, mock.patch( - "aries_cloudagent.messaging.decorators.attach_decorator.AttachDecorator", + "acapy_agent.messaging.decorators.attach_decorator.AttachDecorator", autospec=True, ) as mock_attach_decorator, mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -673,23 +673,23 @@ async def test_presentation_exchange_send_bound_request(self): ) with mock.patch( - "aries_cloudagent.connections.models.conn_record.ConnRecord", + "acapy_agent.connections.models.conn_record.ConnRecord", autospec=True, ) as mock_connection_record, mock.patch( - "aries_cloudagent.protocols.present_proof.v1_0.manager.PresentationManager", + "acapy_agent.protocols.present_proof.v1_0.manager.PresentationManager", autospec=True, ) as mock_presentation_manager, mock.patch( - "aries_cloudagent.indy.util.generate_pr_nonce", + "acapy_agent.indy.util.generate_pr_nonce", autospec=True, ) as mock_generate_nonce, mock.patch.object( test_module, "IndyPresPreview", autospec=True ) as mock_presentation_proposal, mock.patch.object( test_module, "PresentationRequest", autospec=True ) as mock_presentation_request, mock.patch( - "aries_cloudagent.messaging.decorators.attach_decorator.AttachDecorator", + "acapy_agent.messaging.decorators.attach_decorator.AttachDecorator", autospec=True, ) as mock_attach_decorator, mock.patch( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange", autospec=True, ) as mock_presentation_exchange: @@ -730,24 +730,24 @@ async def test_presentation_exchange_send_bound_request_not_found(self): self.request.match_info = {"pres_ex_id": "dummy"} with mock.patch( - "aries_cloudagent.connections.models.conn_record.ConnRecord", + "acapy_agent.connections.models.conn_record.ConnRecord", autospec=True, ) as mock_connection_record, mock.patch( - "aries_cloudagent.protocols.present_proof.v1_0.manager.PresentationManager", + "acapy_agent.protocols.present_proof.v1_0.manager.PresentationManager", autospec=True, ) as mock_presentation_manager, mock.patch( - "aries_cloudagent.indy.util.generate_pr_nonce", + "acapy_agent.indy.util.generate_pr_nonce", autospec=True, ) as mock_generate_nonce, mock.patch.object( test_module, "IndyPresPreview", autospec=True ) as mock_presentation_proposal, mock.patch.object( test_module, "PresentationRequest", autospec=True ) as mock_presentation_request, mock.patch( - "aries_cloudagent.messaging.decorators.attach_decorator.AttachDecorator", + "acapy_agent.messaging.decorators.attach_decorator.AttachDecorator", autospec=True, ) as mock_attach_decorator, mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -774,24 +774,24 @@ async def test_presentation_exchange_send_bound_request_not_ready(self): self.request.match_info = {"pres_ex_id": "dummy"} with mock.patch( - "aries_cloudagent.connections.models.conn_record.ConnRecord", + "acapy_agent.connections.models.conn_record.ConnRecord", autospec=True, ) as mock_connection_record, mock.patch( - "aries_cloudagent.protocols.present_proof.v1_0.manager.PresentationManager", + "acapy_agent.protocols.present_proof.v1_0.manager.PresentationManager", autospec=True, ) as mock_presentation_manager, mock.patch( - "aries_cloudagent.indy.util.generate_pr_nonce", + "acapy_agent.indy.util.generate_pr_nonce", autospec=True, ) as mock_generate_nonce, mock.patch.object( test_module, "IndyPresPreview", autospec=True ) as mock_presentation_proposal, mock.patch.object( test_module, "PresentationRequest", autospec=True ) as mock_presentation_request, mock.patch( - "aries_cloudagent.messaging.decorators.attach_decorator.AttachDecorator", + "acapy_agent.messaging.decorators.attach_decorator.AttachDecorator", autospec=True, ) as mock_attach_decorator, mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -835,7 +835,7 @@ async def test_presentation_exchange_send_bound_request_bad_state(self): with mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -857,24 +857,24 @@ async def test_presentation_exchange_send_bound_request_x(self): self.request.match_info = {"pres_ex_id": "dummy"} with mock.patch( - "aries_cloudagent.connections.models.conn_record.ConnRecord", + "acapy_agent.connections.models.conn_record.ConnRecord", autospec=True, ) as mock_connection_record, mock.patch( - "aries_cloudagent.protocols.present_proof.v1_0.manager.PresentationManager", + "acapy_agent.protocols.present_proof.v1_0.manager.PresentationManager", autospec=True, ) as mock_presentation_manager, mock.patch( - "aries_cloudagent.indy.util.generate_pr_nonce", + "acapy_agent.indy.util.generate_pr_nonce", autospec=True, ) as mock_generate_nonce, mock.patch.object( test_module, "IndyPresPreview", autospec=True ) as mock_presentation_proposal, mock.patch.object( test_module, "PresentationRequest", autospec=True ) as mock_presentation_request, mock.patch( - "aries_cloudagent.messaging.decorators.attach_decorator.AttachDecorator", + "acapy_agent.messaging.decorators.attach_decorator.AttachDecorator", autospec=True, ) as mock_attach_decorator, mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -939,16 +939,16 @@ async def test_presentation_exchange_send_presentation(self): ) with mock.patch( - "aries_cloudagent.connections.models.conn_record.ConnRecord", + "acapy_agent.connections.models.conn_record.ConnRecord", autospec=True, ) as mock_connection_record, mock.patch( - "aries_cloudagent.protocols.present_proof.v1_0.manager.PresentationManager", + "acapy_agent.protocols.present_proof.v1_0.manager.PresentationManager", autospec=True, ) as mock_presentation_manager, mock.patch.object( test_module, "IndyPresPreview", autospec=True ) as mock_presentation_proposal, mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -1005,24 +1005,24 @@ async def test_presentation_exchange_send_presentation_not_found(self): self.request.match_info = {"pres_ex_id": "dummy"} with mock.patch( - "aries_cloudagent.connections.models.conn_record.ConnRecord", + "acapy_agent.connections.models.conn_record.ConnRecord", autospec=True, ) as mock_connection_record, mock.patch( - "aries_cloudagent.protocols.present_proof.v1_0.manager.PresentationManager", + "acapy_agent.protocols.present_proof.v1_0.manager.PresentationManager", autospec=True, ) as mock_presentation_manager, mock.patch( - "aries_cloudagent.indy.util.generate_pr_nonce", + "acapy_agent.indy.util.generate_pr_nonce", autospec=True, ) as mock_generate_nonce, mock.patch.object( test_module, "IndyPresPreview", autospec=True ) as mock_presentation_proposal, mock.patch.object( test_module, "PresentationRequest", autospec=True ) as mock_presentation_request, mock.patch( - "aries_cloudagent.messaging.decorators.attach_decorator.AttachDecorator", + "acapy_agent.messaging.decorators.attach_decorator.AttachDecorator", autospec=True, ) as mock_attach_decorator, mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -1049,24 +1049,24 @@ async def test_presentation_exchange_send_presentation_not_ready(self): self.request.match_info = {"pres_ex_id": "dummy"} with mock.patch( - "aries_cloudagent.connections.models.conn_record.ConnRecord", + "acapy_agent.connections.models.conn_record.ConnRecord", autospec=True, ) as mock_connection_record, mock.patch( - "aries_cloudagent.protocols.present_proof.v1_0.manager.PresentationManager", + "acapy_agent.protocols.present_proof.v1_0.manager.PresentationManager", autospec=True, ) as mock_presentation_manager, mock.patch( - "aries_cloudagent.indy.util.generate_pr_nonce", + "acapy_agent.indy.util.generate_pr_nonce", autospec=True, ) as mock_generate_nonce, mock.patch.object( test_module, "IndyPresPreview", autospec=True ) as mock_presentation_proposal, mock.patch.object( test_module, "PresentationRequest", autospec=True ) as mock_presentation_request, mock.patch( - "aries_cloudagent.messaging.decorators.attach_decorator.AttachDecorator", + "acapy_agent.messaging.decorators.attach_decorator.AttachDecorator", autospec=True, ) as mock_attach_decorator, mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -1095,7 +1095,7 @@ async def test_presentation_exchange_send_presentation_bad_state(self): with mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -1123,24 +1123,24 @@ async def test_presentation_exchange_send_presentation_x(self): self.request.match_info = {"pres_ex_id": "dummy"} with mock.patch( - "aries_cloudagent.connections.models.conn_record.ConnRecord", + "acapy_agent.connections.models.conn_record.ConnRecord", autospec=True, ) as mock_connection_record, mock.patch( - "aries_cloudagent.protocols.present_proof.v1_0.manager.PresentationManager", + "acapy_agent.protocols.present_proof.v1_0.manager.PresentationManager", autospec=True, ) as mock_presentation_manager, mock.patch( - "aries_cloudagent.indy.util.generate_pr_nonce", + "acapy_agent.indy.util.generate_pr_nonce", autospec=True, ) as mock_generate_nonce, mock.patch.object( test_module, "IndyPresPreview", autospec=True ) as mock_presentation_proposal, mock.patch.object( test_module, "PresentationRequest", autospec=True ) as mock_presentation_request, mock.patch( - "aries_cloudagent.messaging.decorators.attach_decorator.AttachDecorator", + "acapy_agent.messaging.decorators.attach_decorator.AttachDecorator", autospec=True, ) as mock_attach_decorator, mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -1176,25 +1176,25 @@ async def test_presentation_exchange_verify_presentation(self): self.request.match_info = {"pres_ex_id": "dummy"} with mock.patch( - "aries_cloudagent.connections.models.conn_record.ConnRecord", + "acapy_agent.connections.models.conn_record.ConnRecord", autospec=True, ) as mock_connection_record, mock.patch( - "aries_cloudagent.protocols.present_proof.v1_0.manager.PresentationManager", + "acapy_agent.protocols.present_proof.v1_0.manager.PresentationManager", autospec=True, ) as mock_presentation_manager, mock.patch( - "aries_cloudagent.indy.util.generate_pr_nonce", + "acapy_agent.indy.util.generate_pr_nonce", autospec=True, ) as mock_generate_nonce, mock.patch( - "aries_cloudagent.indy.models.pres_preview.IndyPresPreview", + "acapy_agent.indy.models.pres_preview.IndyPresPreview", autospec=True, ) as mock_preview, mock.patch.object( test_module, "PresentationRequest", autospec=True ) as mock_presentation_request, mock.patch( - "aries_cloudagent.messaging.decorators.attach_decorator.AttachDecorator", + "acapy_agent.messaging.decorators.attach_decorator.AttachDecorator", autospec=True, ) as mock_attach_decorator, mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -1247,7 +1247,7 @@ async def test_presentation_exchange_verify_presentation_bad_state(self): with mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -1280,14 +1280,14 @@ async def test_presentation_exchange_verify_presentation_x(self): ) with mock.patch( - "aries_cloudagent.connections.models.conn_record.ConnRecord", + "acapy_agent.connections.models.conn_record.ConnRecord", autospec=True, ) as mock_connection_record, mock.patch( - "aries_cloudagent.protocols.present_proof.v1_0.manager.PresentationManager", + "acapy_agent.protocols.present_proof.v1_0.manager.PresentationManager", autospec=True, ) as mock_presentation_manager, mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -1333,12 +1333,12 @@ async def test_presentation_exchange_problem_report(self): with mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, ) as mock_pres_ex, mock.patch( - "aries_cloudagent.protocols.present_proof.v1_0.manager.PresentationManager", + "acapy_agent.protocols.present_proof.v1_0.manager.PresentationManager", autospec=True, ) as mock_pres_mgr_cls, mock.patch.object( test_module, "problem_report_for_record", mock.MagicMock() @@ -1365,11 +1365,11 @@ async def test_presentation_exchange_problem_report_bad_pres_ex_id(self): self.request.match_info = {"pres_ex_id": "dummy"} with mock.patch( - "aries_cloudagent.protocols.present_proof.v1_0.manager.PresentationManager", + "acapy_agent.protocols.present_proof.v1_0.manager.PresentationManager", autospec=True, ) as mock_pres_mgr_cls, mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -1391,12 +1391,12 @@ async def test_presentation_exchange_problem_report_x(self): with mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, ) as mock_pres_ex, mock.patch( - "aries_cloudagent.protocols.present_proof.v1_0.manager.PresentationManager", + "acapy_agent.protocols.present_proof.v1_0.manager.PresentationManager", autospec=True, ) as mock_pres_mgr_cls, mock.patch.object( test_module, "problem_report_for_record", mock.MagicMock() @@ -1417,7 +1417,7 @@ async def test_presentation_exchange_remove(self): with mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -1443,7 +1443,7 @@ async def test_presentation_exchange_remove_not_found(self): with mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, @@ -1464,7 +1464,7 @@ async def test_presentation_exchange_remove_x(self): with mock.patch( ( - "aries_cloudagent.protocols.present_proof.v1_0." + "acapy_agent.protocols.present_proof.v1_0." "models.presentation_exchange.V10PresentationExchange" ), autospec=True, diff --git a/aries_cloudagent/protocols/present_proof/v2_0/__init__.py b/acapy_agent/protocols/present_proof/v2_0/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/__init__.py rename to acapy_agent/protocols/present_proof/v2_0/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/controller.py b/acapy_agent/protocols/present_proof/v2_0/controller.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/controller.py rename to acapy_agent/protocols/present_proof/v2_0/controller.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/formats/__init__.py b/acapy_agent/protocols/present_proof/v2_0/formats/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/formats/__init__.py rename to acapy_agent/protocols/present_proof/v2_0/formats/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/formats/anoncreds/__init__.py b/acapy_agent/protocols/present_proof/v2_0/formats/anoncreds/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/formats/anoncreds/__init__.py rename to acapy_agent/protocols/present_proof/v2_0/formats/anoncreds/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/formats/anoncreds/handler.py b/acapy_agent/protocols/present_proof/v2_0/formats/anoncreds/handler.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/formats/anoncreds/handler.py rename to acapy_agent/protocols/present_proof/v2_0/formats/anoncreds/handler.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/formats/dif/__init__.py b/acapy_agent/protocols/present_proof/v2_0/formats/dif/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/formats/dif/__init__.py rename to acapy_agent/protocols/present_proof/v2_0/formats/dif/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/formats/dif/handler.py b/acapy_agent/protocols/present_proof/v2_0/formats/dif/handler.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/formats/dif/handler.py rename to acapy_agent/protocols/present_proof/v2_0/formats/dif/handler.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/formats/dif/tests/__init__.py b/acapy_agent/protocols/present_proof/v2_0/formats/dif/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/formats/dif/tests/__init__.py rename to acapy_agent/protocols/present_proof/v2_0/formats/dif/tests/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/formats/dif/tests/test_handler.py b/acapy_agent/protocols/present_proof/v2_0/formats/dif/tests/test_handler.py similarity index 99% rename from aries_cloudagent/protocols/present_proof/v2_0/formats/dif/tests/test_handler.py rename to acapy_agent/protocols/present_proof/v2_0/formats/dif/tests/test_handler.py index f925a6322c..ada3b73759 100644 --- a/aries_cloudagent/protocols/present_proof/v2_0/formats/dif/tests/test_handler.py +++ b/acapy_agent/protocols/present_proof/v2_0/formats/dif/tests/test_handler.py @@ -4,8 +4,8 @@ from marshmallow import ValidationError from pyld import jsonld -from aries_cloudagent.tests import mock -from aries_cloudagent.vc.vc_di.manager import VcDiManager +from acapy_agent.tests import mock +from acapy_agent.vc.vc_di.manager import VcDiManager from .......core.in_memory import InMemoryProfile from .......messaging.decorators.attach_decorator import AttachDecorator diff --git a/aries_cloudagent/protocols/present_proof/v2_0/formats/handler.py b/acapy_agent/protocols/present_proof/v2_0/formats/handler.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/formats/handler.py rename to acapy_agent/protocols/present_proof/v2_0/formats/handler.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/formats/indy/__init__.py b/acapy_agent/protocols/present_proof/v2_0/formats/indy/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/formats/indy/__init__.py rename to acapy_agent/protocols/present_proof/v2_0/formats/indy/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/formats/indy/handler.py b/acapy_agent/protocols/present_proof/v2_0/formats/indy/handler.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/formats/indy/handler.py rename to acapy_agent/protocols/present_proof/v2_0/formats/indy/handler.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/handlers/__init__.py b/acapy_agent/protocols/present_proof/v2_0/handlers/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/handlers/__init__.py rename to acapy_agent/protocols/present_proof/v2_0/handlers/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/handlers/pres_ack_handler.py b/acapy_agent/protocols/present_proof/v2_0/handlers/pres_ack_handler.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/handlers/pres_ack_handler.py rename to acapy_agent/protocols/present_proof/v2_0/handlers/pres_ack_handler.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/handlers/pres_handler.py b/acapy_agent/protocols/present_proof/v2_0/handlers/pres_handler.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/handlers/pres_handler.py rename to acapy_agent/protocols/present_proof/v2_0/handlers/pres_handler.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/handlers/pres_problem_report_handler.py b/acapy_agent/protocols/present_proof/v2_0/handlers/pres_problem_report_handler.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/handlers/pres_problem_report_handler.py rename to acapy_agent/protocols/present_proof/v2_0/handlers/pres_problem_report_handler.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/handlers/pres_proposal_handler.py b/acapy_agent/protocols/present_proof/v2_0/handlers/pres_proposal_handler.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/handlers/pres_proposal_handler.py rename to acapy_agent/protocols/present_proof/v2_0/handlers/pres_proposal_handler.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/handlers/pres_request_handler.py b/acapy_agent/protocols/present_proof/v2_0/handlers/pres_request_handler.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/handlers/pres_request_handler.py rename to acapy_agent/protocols/present_proof/v2_0/handlers/pres_request_handler.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/handlers/tests/__init__.py b/acapy_agent/protocols/present_proof/v2_0/handlers/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/handlers/tests/__init__.py rename to acapy_agent/protocols/present_proof/v2_0/handlers/tests/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/handlers/tests/test_pres_ack_handler.py b/acapy_agent/protocols/present_proof/v2_0/handlers/tests/test_pres_ack_handler.py similarity index 98% rename from aries_cloudagent/protocols/present_proof/v2_0/handlers/tests/test_pres_ack_handler.py rename to acapy_agent/protocols/present_proof/v2_0/handlers/tests/test_pres_ack_handler.py index 41f9de08d6..fe0437c19f 100644 --- a/aries_cloudagent/protocols/present_proof/v2_0/handlers/tests/test_pres_ack_handler.py +++ b/acapy_agent/protocols/present_proof/v2_0/handlers/tests/test_pres_ack_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.oob_processor import OobMessageProcessor from ......messaging.request_context import RequestContext diff --git a/aries_cloudagent/protocols/present_proof/v2_0/handlers/tests/test_pres_handler.py b/acapy_agent/protocols/present_proof/v2_0/handlers/tests/test_pres_handler.py similarity index 99% rename from aries_cloudagent/protocols/present_proof/v2_0/handlers/tests/test_pres_handler.py rename to acapy_agent/protocols/present_proof/v2_0/handlers/tests/test_pres_handler.py index 66ba24fa85..4e005e8b6b 100644 --- a/aries_cloudagent/protocols/present_proof/v2_0/handlers/tests/test_pres_handler.py +++ b/acapy_agent/protocols/present_proof/v2_0/handlers/tests/test_pres_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.oob_processor import OobMessageProcessor from ......messaging.request_context import RequestContext diff --git a/aries_cloudagent/protocols/present_proof/v2_0/handlers/tests/test_pres_problem_report_handler.py b/acapy_agent/protocols/present_proof/v2_0/handlers/tests/test_pres_problem_report_handler.py similarity index 98% rename from aries_cloudagent/protocols/present_proof/v2_0/handlers/tests/test_pres_problem_report_handler.py rename to acapy_agent/protocols/present_proof/v2_0/handlers/tests/test_pres_problem_report_handler.py index 93de1ccb16..09d016e9c8 100644 --- a/aries_cloudagent/protocols/present_proof/v2_0/handlers/tests/test_pres_problem_report_handler.py +++ b/acapy_agent/protocols/present_proof/v2_0/handlers/tests/test_pres_problem_report_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......messaging.request_context import RequestContext from ......messaging.responder import MockResponder diff --git a/aries_cloudagent/protocols/present_proof/v2_0/handlers/tests/test_pres_proposal_handler.py b/acapy_agent/protocols/present_proof/v2_0/handlers/tests/test_pres_proposal_handler.py similarity index 99% rename from aries_cloudagent/protocols/present_proof/v2_0/handlers/tests/test_pres_proposal_handler.py rename to acapy_agent/protocols/present_proof/v2_0/handlers/tests/test_pres_proposal_handler.py index ffc1f780ca..2f44604702 100644 --- a/aries_cloudagent/protocols/present_proof/v2_0/handlers/tests/test_pres_proposal_handler.py +++ b/acapy_agent/protocols/present_proof/v2_0/handlers/tests/test_pres_proposal_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......messaging.request_context import RequestContext from ......messaging.responder import MockResponder diff --git a/aries_cloudagent/protocols/present_proof/v2_0/handlers/tests/test_pres_request_handler.py b/acapy_agent/protocols/present_proof/v2_0/handlers/tests/test_pres_request_handler.py similarity index 99% rename from aries_cloudagent/protocols/present_proof/v2_0/handlers/tests/test_pres_request_handler.py rename to acapy_agent/protocols/present_proof/v2_0/handlers/tests/test_pres_request_handler.py index 7f6bbd12ca..4d6be6f81c 100644 --- a/aries_cloudagent/protocols/present_proof/v2_0/handlers/tests/test_pres_request_handler.py +++ b/acapy_agent/protocols/present_proof/v2_0/handlers/tests/test_pres_request_handler.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......anoncreds.holder import AnonCredsHolder from ......core.oob_processor import OobMessageProcessor diff --git a/aries_cloudagent/protocols/present_proof/v2_0/manager.py b/acapy_agent/protocols/present_proof/v2_0/manager.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/manager.py rename to acapy_agent/protocols/present_proof/v2_0/manager.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/message_types.py b/acapy_agent/protocols/present_proof/v2_0/message_types.py similarity index 96% rename from aries_cloudagent/protocols/present_proof/v2_0/message_types.py rename to acapy_agent/protocols/present_proof/v2_0/message_types.py index 0d8865103f..97b8f063fc 100644 --- a/aries_cloudagent/protocols/present_proof/v2_0/message_types.py +++ b/acapy_agent/protocols/present_proof/v2_0/message_types.py @@ -15,7 +15,7 @@ PRES_20_ACK = "present-proof/2.0/ack" PRES_20_PROBLEM_REPORT = "present-proof/2.0/problem-report" -PROTOCOL_PACKAGE = "aries_cloudagent.protocols.present_proof.v2_0" +PROTOCOL_PACKAGE = "acapy_agent.protocols.present_proof.v2_0" MESSAGE_TYPES = DIDCommPrefix.qualify_all( { diff --git a/aries_cloudagent/protocols/present_proof/v2_0/messages/__init__.py b/acapy_agent/protocols/present_proof/v2_0/messages/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/messages/__init__.py rename to acapy_agent/protocols/present_proof/v2_0/messages/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/messages/pres.py b/acapy_agent/protocols/present_proof/v2_0/messages/pres.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/messages/pres.py rename to acapy_agent/protocols/present_proof/v2_0/messages/pres.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/messages/pres_ack.py b/acapy_agent/protocols/present_proof/v2_0/messages/pres_ack.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/messages/pres_ack.py rename to acapy_agent/protocols/present_proof/v2_0/messages/pres_ack.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/messages/pres_format.py b/acapy_agent/protocols/present_proof/v2_0/messages/pres_format.py similarity index 95% rename from aries_cloudagent/protocols/present_proof/v2_0/messages/pres_format.py rename to acapy_agent/protocols/present_proof/v2_0/messages/pres_format.py index b6760b1ee9..5c55384c86 100644 --- a/aries_cloudagent/protocols/present_proof/v2_0/messages/pres_format.py +++ b/acapy_agent/protocols/present_proof/v2_0/messages/pres_format.py @@ -33,7 +33,7 @@ class Format(Enum): INDY = FormatSpec( "hlindy/", DeferLoad( - "aries_cloudagent.protocols.present_proof.v2_0" + "acapy_agent.protocols.present_proof.v2_0" ".formats.indy.handler.IndyPresExchangeHandler" ), ) @@ -45,7 +45,7 @@ class Format(Enum): INDY = FormatSpec( "hlindy/", DeferLoad( - "aries_cloudagent.protocols.present_proof.v2_0" + "acapy_agent.protocols.present_proof.v2_0" ".formats.anoncreds.handler.AnonCredsPresExchangeHandler" ), ) @@ -53,7 +53,7 @@ class Format(Enum): DIF = FormatSpec( "dif/", DeferLoad( - "aries_cloudagent.protocols.present_proof.v2_0" + "acapy_agent.protocols.present_proof.v2_0" ".formats.dif.handler.DIFPresFormatHandler" ), ) diff --git a/aries_cloudagent/protocols/present_proof/v2_0/messages/pres_problem_report.py b/acapy_agent/protocols/present_proof/v2_0/messages/pres_problem_report.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/messages/pres_problem_report.py rename to acapy_agent/protocols/present_proof/v2_0/messages/pres_problem_report.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/messages/pres_proposal.py b/acapy_agent/protocols/present_proof/v2_0/messages/pres_proposal.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/messages/pres_proposal.py rename to acapy_agent/protocols/present_proof/v2_0/messages/pres_proposal.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/messages/pres_request.py b/acapy_agent/protocols/present_proof/v2_0/messages/pres_request.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/messages/pres_request.py rename to acapy_agent/protocols/present_proof/v2_0/messages/pres_request.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/messages/pres_webhook.py b/acapy_agent/protocols/present_proof/v2_0/messages/pres_webhook.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/messages/pres_webhook.py rename to acapy_agent/protocols/present_proof/v2_0/messages/pres_webhook.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/messages/tests/__init__.py b/acapy_agent/protocols/present_proof/v2_0/messages/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/messages/tests/__init__.py rename to acapy_agent/protocols/present_proof/v2_0/messages/tests/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/messages/tests/test_pres.py b/acapy_agent/protocols/present_proof/v2_0/messages/tests/test_pres.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/messages/tests/test_pres.py rename to acapy_agent/protocols/present_proof/v2_0/messages/tests/test_pres.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/messages/tests/test_pres_ack.py b/acapy_agent/protocols/present_proof/v2_0/messages/tests/test_pres_ack.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/messages/tests/test_pres_ack.py rename to acapy_agent/protocols/present_proof/v2_0/messages/tests/test_pres_ack.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/messages/tests/test_pres_format.py b/acapy_agent/protocols/present_proof/v2_0/messages/tests/test_pres_format.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/messages/tests/test_pres_format.py rename to acapy_agent/protocols/present_proof/v2_0/messages/tests/test_pres_format.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/messages/tests/test_pres_problem_report.py b/acapy_agent/protocols/present_proof/v2_0/messages/tests/test_pres_problem_report.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/messages/tests/test_pres_problem_report.py rename to acapy_agent/protocols/present_proof/v2_0/messages/tests/test_pres_problem_report.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/messages/tests/test_pres_proposal.py b/acapy_agent/protocols/present_proof/v2_0/messages/tests/test_pres_proposal.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/messages/tests/test_pres_proposal.py rename to acapy_agent/protocols/present_proof/v2_0/messages/tests/test_pres_proposal.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/messages/tests/test_pres_request.py b/acapy_agent/protocols/present_proof/v2_0/messages/tests/test_pres_request.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/messages/tests/test_pres_request.py rename to acapy_agent/protocols/present_proof/v2_0/messages/tests/test_pres_request.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/models/__init__.py b/acapy_agent/protocols/present_proof/v2_0/models/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/models/__init__.py rename to acapy_agent/protocols/present_proof/v2_0/models/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/models/pres_exchange.py b/acapy_agent/protocols/present_proof/v2_0/models/pres_exchange.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/models/pres_exchange.py rename to acapy_agent/protocols/present_proof/v2_0/models/pres_exchange.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/models/tests/__init__.py b/acapy_agent/protocols/present_proof/v2_0/models/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/models/tests/__init__.py rename to acapy_agent/protocols/present_proof/v2_0/models/tests/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/models/tests/test_record.py b/acapy_agent/protocols/present_proof/v2_0/models/tests/test_record.py similarity index 99% rename from aries_cloudagent/protocols/present_proof/v2_0/models/tests/test_record.py rename to acapy_agent/protocols/present_proof/v2_0/models/tests/test_record.py index 96ce7573f9..eb735be9a3 100644 --- a/aries_cloudagent/protocols/present_proof/v2_0/models/tests/test_record.py +++ b/acapy_agent/protocols/present_proof/v2_0/models/tests/test_record.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......core.in_memory import InMemoryProfile from ......messaging.decorators.attach_decorator import AttachDecorator diff --git a/aries_cloudagent/protocols/present_proof/v2_0/routes.py b/acapy_agent/protocols/present_proof/v2_0/routes.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/routes.py rename to acapy_agent/protocols/present_proof/v2_0/routes.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/tests/__init__.py b/acapy_agent/protocols/present_proof/v2_0/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/present_proof/v2_0/tests/__init__.py rename to acapy_agent/protocols/present_proof/v2_0/tests/__init__.py diff --git a/aries_cloudagent/protocols/present_proof/v2_0/tests/test_manager.py b/acapy_agent/protocols/present_proof/v2_0/tests/test_manager.py similarity index 99% rename from aries_cloudagent/protocols/present_proof/v2_0/tests/test_manager.py rename to acapy_agent/protocols/present_proof/v2_0/tests/test_manager.py index 0762691d5c..66878d7602 100644 --- a/aries_cloudagent/protocols/present_proof/v2_0/tests/test_manager.py +++ b/acapy_agent/protocols/present_proof/v2_0/tests/test_manager.py @@ -3,7 +3,7 @@ from time import time from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....core.in_memory import InMemoryProfile from .....indy.holder import IndyHolder @@ -2159,7 +2159,7 @@ async def test_verify_pres_indy_and_dif(self): "get_ledger_for_identifier", mock.CoroutineMock(return_value=("test_ledger_id", self.ledger)), ), mock.patch( - "aries_cloudagent.vc.vc_ld.verify.verify_presentation", + "acapy_agent.vc.vc_ld.verify.verify_presentation", mock.CoroutineMock( return_value=PresentationVerificationResult(verified=False) ), diff --git a/aries_cloudagent/protocols/present_proof/v2_0/tests/test_manager_anoncreds.py b/acapy_agent/protocols/present_proof/v2_0/tests/test_manager_anoncreds.py similarity index 99% rename from aries_cloudagent/protocols/present_proof/v2_0/tests/test_manager_anoncreds.py rename to acapy_agent/protocols/present_proof/v2_0/tests/test_manager_anoncreds.py index f81023155e..149b07bea7 100644 --- a/aries_cloudagent/protocols/present_proof/v2_0/tests/test_manager_anoncreds.py +++ b/acapy_agent/protocols/present_proof/v2_0/tests/test_manager_anoncreds.py @@ -5,7 +5,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....anoncreds.holder import AnonCredsHolder from .....anoncreds.verifier import AnonCredsVerifier @@ -2168,7 +2168,7 @@ async def test_verify_pres_indy_and_dif(self): "get_ledger_for_identifier", mock.CoroutineMock(return_value=("test_ledger_id", self.ledger)), ), mock.patch( - "aries_cloudagent.vc.vc_ld.verify.verify_presentation", + "acapy_agent.vc.vc_ld.verify.verify_presentation", mock.CoroutineMock( return_value=PresentationVerificationResult(verified=False) ), diff --git a/aries_cloudagent/protocols/present_proof/v2_0/tests/test_routes.py b/acapy_agent/protocols/present_proof/v2_0/tests/test_routes.py similarity index 99% rename from aries_cloudagent/protocols/present_proof/v2_0/tests/test_routes.py rename to acapy_agent/protocols/present_proof/v2_0/tests/test_routes.py index 2b41547116..fff6c8dcd6 100644 --- a/aries_cloudagent/protocols/present_proof/v2_0/tests/test_routes.py +++ b/acapy_agent/protocols/present_proof/v2_0/tests/test_routes.py @@ -5,7 +5,7 @@ from marshmallow import ValidationError -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....admin.request_context import AdminRequestContext from .....core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/protocols/present_proof/v2_0/tests/test_routes_anoncreds.py b/acapy_agent/protocols/present_proof/v2_0/tests/test_routes_anoncreds.py similarity index 99% rename from aries_cloudagent/protocols/present_proof/v2_0/tests/test_routes_anoncreds.py rename to acapy_agent/protocols/present_proof/v2_0/tests/test_routes_anoncreds.py index c48509760a..0b23b8c4e2 100644 --- a/aries_cloudagent/protocols/present_proof/v2_0/tests/test_routes_anoncreds.py +++ b/acapy_agent/protocols/present_proof/v2_0/tests/test_routes_anoncreds.py @@ -6,7 +6,7 @@ import pytest from marshmallow import ValidationError -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....admin.request_context import AdminRequestContext from .....anoncreds.holder import AnonCredsHolder diff --git a/aries_cloudagent/protocols/problem_report/__init__.py b/acapy_agent/protocols/problem_report/__init__.py similarity index 100% rename from aries_cloudagent/protocols/problem_report/__init__.py rename to acapy_agent/protocols/problem_report/__init__.py diff --git a/aries_cloudagent/protocols/problem_report/definition.py b/acapy_agent/protocols/problem_report/definition.py similarity index 100% rename from aries_cloudagent/protocols/problem_report/definition.py rename to acapy_agent/protocols/problem_report/definition.py diff --git a/aries_cloudagent/protocols/problem_report/v1_0/__init__.py b/acapy_agent/protocols/problem_report/v1_0/__init__.py similarity index 100% rename from aries_cloudagent/protocols/problem_report/v1_0/__init__.py rename to acapy_agent/protocols/problem_report/v1_0/__init__.py diff --git a/aries_cloudagent/protocols/problem_report/v1_0/handler.py b/acapy_agent/protocols/problem_report/v1_0/handler.py similarity index 100% rename from aries_cloudagent/protocols/problem_report/v1_0/handler.py rename to acapy_agent/protocols/problem_report/v1_0/handler.py diff --git a/aries_cloudagent/protocols/problem_report/v1_0/message.py b/acapy_agent/protocols/problem_report/v1_0/message.py similarity index 100% rename from aries_cloudagent/protocols/problem_report/v1_0/message.py rename to acapy_agent/protocols/problem_report/v1_0/message.py diff --git a/aries_cloudagent/protocols/problem_report/v1_0/message_types.py b/acapy_agent/protocols/problem_report/v1_0/message_types.py similarity index 86% rename from aries_cloudagent/protocols/problem_report/v1_0/message_types.py rename to acapy_agent/protocols/problem_report/v1_0/message_types.py index 02e83ba2f4..23b017c501 100644 --- a/aries_cloudagent/protocols/problem_report/v1_0/message_types.py +++ b/acapy_agent/protocols/problem_report/v1_0/message_types.py @@ -10,7 +10,7 @@ # Message types PROBLEM_REPORT = "notification/1.0/problem-report" -PROTOCOL_PACKAGE = "aries_cloudagent.protocols.problem_report.v1_0" +PROTOCOL_PACKAGE = "acapy_agent.protocols.problem_report.v1_0" MESSAGE_TYPES = DIDCommPrefix.qualify_all( {PROBLEM_REPORT: f"{PROTOCOL_PACKAGE}.message.ProblemReport"} diff --git a/aries_cloudagent/protocols/problem_report/v1_0/tests/__init__.py b/acapy_agent/protocols/problem_report/v1_0/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/problem_report/v1_0/tests/__init__.py rename to acapy_agent/protocols/problem_report/v1_0/tests/__init__.py diff --git a/aries_cloudagent/protocols/problem_report/v1_0/tests/test_handler.py b/acapy_agent/protocols/problem_report/v1_0/tests/test_handler.py similarity index 100% rename from aries_cloudagent/protocols/problem_report/v1_0/tests/test_handler.py rename to acapy_agent/protocols/problem_report/v1_0/tests/test_handler.py diff --git a/aries_cloudagent/protocols/problem_report/v1_0/tests/test_message.py b/acapy_agent/protocols/problem_report/v1_0/tests/test_message.py similarity index 100% rename from aries_cloudagent/protocols/problem_report/v1_0/tests/test_message.py rename to acapy_agent/protocols/problem_report/v1_0/tests/test_message.py diff --git a/aries_cloudagent/protocols/revocation_notification/__init__.py b/acapy_agent/protocols/revocation_notification/__init__.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/__init__.py rename to acapy_agent/protocols/revocation_notification/__init__.py diff --git a/aries_cloudagent/protocols/revocation_notification/definition.py b/acapy_agent/protocols/revocation_notification/definition.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/definition.py rename to acapy_agent/protocols/revocation_notification/definition.py diff --git a/aries_cloudagent/protocols/revocation_notification/v1_0/__init__.py b/acapy_agent/protocols/revocation_notification/v1_0/__init__.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v1_0/__init__.py rename to acapy_agent/protocols/revocation_notification/v1_0/__init__.py diff --git a/aries_cloudagent/protocols/revocation_notification/v1_0/handlers/__init__.py b/acapy_agent/protocols/revocation_notification/v1_0/handlers/__init__.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v1_0/handlers/__init__.py rename to acapy_agent/protocols/revocation_notification/v1_0/handlers/__init__.py diff --git a/aries_cloudagent/protocols/revocation_notification/v1_0/handlers/revoke_handler.py b/acapy_agent/protocols/revocation_notification/v1_0/handlers/revoke_handler.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v1_0/handlers/revoke_handler.py rename to acapy_agent/protocols/revocation_notification/v1_0/handlers/revoke_handler.py diff --git a/aries_cloudagent/protocols/revocation_notification/v1_0/handlers/tests/__init__.py b/acapy_agent/protocols/revocation_notification/v1_0/handlers/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v1_0/handlers/tests/__init__.py rename to acapy_agent/protocols/revocation_notification/v1_0/handlers/tests/__init__.py diff --git a/aries_cloudagent/protocols/revocation_notification/v1_0/handlers/tests/test_revoke_handler.py b/acapy_agent/protocols/revocation_notification/v1_0/handlers/tests/test_revoke_handler.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v1_0/handlers/tests/test_revoke_handler.py rename to acapy_agent/protocols/revocation_notification/v1_0/handlers/tests/test_revoke_handler.py diff --git a/aries_cloudagent/protocols/revocation_notification/v1_0/message_types.py b/acapy_agent/protocols/revocation_notification/v1_0/message_types.py similarity index 86% rename from aries_cloudagent/protocols/revocation_notification/v1_0/message_types.py rename to acapy_agent/protocols/revocation_notification/v1_0/message_types.py index 4bd96b2429..2a7d99dc6b 100644 --- a/aries_cloudagent/protocols/revocation_notification/v1_0/message_types.py +++ b/acapy_agent/protocols/revocation_notification/v1_0/message_types.py @@ -13,7 +13,7 @@ # Message types REVOKE = f"{BASE}/revoke" -PROTOCOL_PACKAGE = "aries_cloudagent.protocols.revocation_notification.v1_0" +PROTOCOL_PACKAGE = "acapy_agent.protocols.revocation_notification.v1_0" MESSAGE_TYPES = DIDCommPrefix.qualify_all( {REVOKE: f"{PROTOCOL_PACKAGE}.messages.revoke.Revoke"} ) diff --git a/aries_cloudagent/protocols/revocation_notification/v1_0/messages/__init__.py b/acapy_agent/protocols/revocation_notification/v1_0/messages/__init__.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v1_0/messages/__init__.py rename to acapy_agent/protocols/revocation_notification/v1_0/messages/__init__.py diff --git a/aries_cloudagent/protocols/revocation_notification/v1_0/messages/revoke.py b/acapy_agent/protocols/revocation_notification/v1_0/messages/revoke.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v1_0/messages/revoke.py rename to acapy_agent/protocols/revocation_notification/v1_0/messages/revoke.py diff --git a/aries_cloudagent/protocols/revocation_notification/v1_0/messages/tests/__init__.py b/acapy_agent/protocols/revocation_notification/v1_0/messages/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v1_0/messages/tests/__init__.py rename to acapy_agent/protocols/revocation_notification/v1_0/messages/tests/__init__.py diff --git a/aries_cloudagent/protocols/revocation_notification/v1_0/messages/tests/test_revoke.py b/acapy_agent/protocols/revocation_notification/v1_0/messages/tests/test_revoke.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v1_0/messages/tests/test_revoke.py rename to acapy_agent/protocols/revocation_notification/v1_0/messages/tests/test_revoke.py diff --git a/aries_cloudagent/protocols/revocation_notification/v1_0/models/__init__.py b/acapy_agent/protocols/revocation_notification/v1_0/models/__init__.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v1_0/models/__init__.py rename to acapy_agent/protocols/revocation_notification/v1_0/models/__init__.py diff --git a/aries_cloudagent/protocols/revocation_notification/v1_0/models/rev_notification_record.py b/acapy_agent/protocols/revocation_notification/v1_0/models/rev_notification_record.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v1_0/models/rev_notification_record.py rename to acapy_agent/protocols/revocation_notification/v1_0/models/rev_notification_record.py diff --git a/aries_cloudagent/protocols/revocation_notification/v1_0/models/tests/__init__.py b/acapy_agent/protocols/revocation_notification/v1_0/models/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v1_0/models/tests/__init__.py rename to acapy_agent/protocols/revocation_notification/v1_0/models/tests/__init__.py diff --git a/aries_cloudagent/protocols/revocation_notification/v1_0/models/tests/test_rev_notification_record.py b/acapy_agent/protocols/revocation_notification/v1_0/models/tests/test_rev_notification_record.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v1_0/models/tests/test_rev_notification_record.py rename to acapy_agent/protocols/revocation_notification/v1_0/models/tests/test_rev_notification_record.py diff --git a/aries_cloudagent/protocols/revocation_notification/v1_0/routes.py b/acapy_agent/protocols/revocation_notification/v1_0/routes.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v1_0/routes.py rename to acapy_agent/protocols/revocation_notification/v1_0/routes.py diff --git a/aries_cloudagent/protocols/revocation_notification/v1_0/tests/__init__.py b/acapy_agent/protocols/revocation_notification/v1_0/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v1_0/tests/__init__.py rename to acapy_agent/protocols/revocation_notification/v1_0/tests/__init__.py diff --git a/aries_cloudagent/protocols/revocation_notification/v1_0/tests/test_routes.py b/acapy_agent/protocols/revocation_notification/v1_0/tests/test_routes.py similarity index 99% rename from aries_cloudagent/protocols/revocation_notification/v1_0/tests/test_routes.py rename to acapy_agent/protocols/revocation_notification/v1_0/tests/test_routes.py index 4a4e0145dd..0b07de2f03 100644 --- a/aries_cloudagent/protocols/revocation_notification/v1_0/tests/test_routes.py +++ b/acapy_agent/protocols/revocation_notification/v1_0/tests/test_routes.py @@ -2,7 +2,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....config.settings import Settings from .....core.event_bus import Event, MockEventBus diff --git a/aries_cloudagent/protocols/revocation_notification/v2_0/__init__.py b/acapy_agent/protocols/revocation_notification/v2_0/__init__.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v2_0/__init__.py rename to acapy_agent/protocols/revocation_notification/v2_0/__init__.py diff --git a/aries_cloudagent/protocols/revocation_notification/v2_0/handlers/__init__.py b/acapy_agent/protocols/revocation_notification/v2_0/handlers/__init__.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v2_0/handlers/__init__.py rename to acapy_agent/protocols/revocation_notification/v2_0/handlers/__init__.py diff --git a/aries_cloudagent/protocols/revocation_notification/v2_0/handlers/revoke_handler.py b/acapy_agent/protocols/revocation_notification/v2_0/handlers/revoke_handler.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v2_0/handlers/revoke_handler.py rename to acapy_agent/protocols/revocation_notification/v2_0/handlers/revoke_handler.py diff --git a/aries_cloudagent/protocols/revocation_notification/v2_0/handlers/tests/__init__.py b/acapy_agent/protocols/revocation_notification/v2_0/handlers/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v2_0/handlers/tests/__init__.py rename to acapy_agent/protocols/revocation_notification/v2_0/handlers/tests/__init__.py diff --git a/aries_cloudagent/protocols/revocation_notification/v2_0/handlers/tests/test_revoke_handler.py b/acapy_agent/protocols/revocation_notification/v2_0/handlers/tests/test_revoke_handler.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v2_0/handlers/tests/test_revoke_handler.py rename to acapy_agent/protocols/revocation_notification/v2_0/handlers/tests/test_revoke_handler.py diff --git a/aries_cloudagent/protocols/revocation_notification/v2_0/message_types.py b/acapy_agent/protocols/revocation_notification/v2_0/message_types.py similarity index 86% rename from aries_cloudagent/protocols/revocation_notification/v2_0/message_types.py rename to acapy_agent/protocols/revocation_notification/v2_0/message_types.py index c1e73a5220..5d873863a7 100644 --- a/aries_cloudagent/protocols/revocation_notification/v2_0/message_types.py +++ b/acapy_agent/protocols/revocation_notification/v2_0/message_types.py @@ -13,7 +13,7 @@ # Message types REVOKE = f"{BASE}/revoke" -PROTOCOL_PACKAGE = "aries_cloudagent.protocols.revocation_notification.v2_0" +PROTOCOL_PACKAGE = "acapy_agent.protocols.revocation_notification.v2_0" MESSAGE_TYPES = DIDCommPrefix.qualify_all( {REVOKE: f"{PROTOCOL_PACKAGE}.messages.revoke.Revoke"} ) diff --git a/aries_cloudagent/protocols/revocation_notification/v2_0/messages/__init__.py b/acapy_agent/protocols/revocation_notification/v2_0/messages/__init__.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v2_0/messages/__init__.py rename to acapy_agent/protocols/revocation_notification/v2_0/messages/__init__.py diff --git a/aries_cloudagent/protocols/revocation_notification/v2_0/messages/revoke.py b/acapy_agent/protocols/revocation_notification/v2_0/messages/revoke.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v2_0/messages/revoke.py rename to acapy_agent/protocols/revocation_notification/v2_0/messages/revoke.py diff --git a/aries_cloudagent/protocols/revocation_notification/v2_0/messages/tests/__init__.py b/acapy_agent/protocols/revocation_notification/v2_0/messages/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v2_0/messages/tests/__init__.py rename to acapy_agent/protocols/revocation_notification/v2_0/messages/tests/__init__.py diff --git a/aries_cloudagent/protocols/revocation_notification/v2_0/messages/tests/test_revoke.py b/acapy_agent/protocols/revocation_notification/v2_0/messages/tests/test_revoke.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v2_0/messages/tests/test_revoke.py rename to acapy_agent/protocols/revocation_notification/v2_0/messages/tests/test_revoke.py diff --git a/aries_cloudagent/protocols/revocation_notification/v2_0/models/__init__.py b/acapy_agent/protocols/revocation_notification/v2_0/models/__init__.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v2_0/models/__init__.py rename to acapy_agent/protocols/revocation_notification/v2_0/models/__init__.py diff --git a/aries_cloudagent/protocols/revocation_notification/v2_0/models/rev_notification_record.py b/acapy_agent/protocols/revocation_notification/v2_0/models/rev_notification_record.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v2_0/models/rev_notification_record.py rename to acapy_agent/protocols/revocation_notification/v2_0/models/rev_notification_record.py diff --git a/aries_cloudagent/protocols/revocation_notification/v2_0/models/tests/__init__.py b/acapy_agent/protocols/revocation_notification/v2_0/models/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v2_0/models/tests/__init__.py rename to acapy_agent/protocols/revocation_notification/v2_0/models/tests/__init__.py diff --git a/aries_cloudagent/protocols/revocation_notification/v2_0/models/tests/test_rev_notification_record.py b/acapy_agent/protocols/revocation_notification/v2_0/models/tests/test_rev_notification_record.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v2_0/models/tests/test_rev_notification_record.py rename to acapy_agent/protocols/revocation_notification/v2_0/models/tests/test_rev_notification_record.py diff --git a/aries_cloudagent/protocols/revocation_notification/v2_0/routes.py b/acapy_agent/protocols/revocation_notification/v2_0/routes.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v2_0/routes.py rename to acapy_agent/protocols/revocation_notification/v2_0/routes.py diff --git a/aries_cloudagent/protocols/revocation_notification/v2_0/tests/__init__.py b/acapy_agent/protocols/revocation_notification/v2_0/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/revocation_notification/v2_0/tests/__init__.py rename to acapy_agent/protocols/revocation_notification/v2_0/tests/__init__.py diff --git a/aries_cloudagent/protocols/revocation_notification/v2_0/tests/test_routes.py b/acapy_agent/protocols/revocation_notification/v2_0/tests/test_routes.py similarity index 99% rename from aries_cloudagent/protocols/revocation_notification/v2_0/tests/test_routes.py rename to acapy_agent/protocols/revocation_notification/v2_0/tests/test_routes.py index 80f6e34b11..3c986b2b26 100644 --- a/aries_cloudagent/protocols/revocation_notification/v2_0/tests/test_routes.py +++ b/acapy_agent/protocols/revocation_notification/v2_0/tests/test_routes.py @@ -2,7 +2,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....config.settings import Settings from .....core.event_bus import Event, MockEventBus diff --git a/aries_cloudagent/protocols/routing/__init__.py b/acapy_agent/protocols/routing/__init__.py similarity index 100% rename from aries_cloudagent/protocols/routing/__init__.py rename to acapy_agent/protocols/routing/__init__.py diff --git a/aries_cloudagent/protocols/routing/definition.py b/acapy_agent/protocols/routing/definition.py similarity index 100% rename from aries_cloudagent/protocols/routing/definition.py rename to acapy_agent/protocols/routing/definition.py diff --git a/aries_cloudagent/protocols/routing/v1_0/__init__.py b/acapy_agent/protocols/routing/v1_0/__init__.py similarity index 100% rename from aries_cloudagent/protocols/routing/v1_0/__init__.py rename to acapy_agent/protocols/routing/v1_0/__init__.py diff --git a/aries_cloudagent/protocols/routing/v1_0/handlers/__init__.py b/acapy_agent/protocols/routing/v1_0/handlers/__init__.py similarity index 100% rename from aries_cloudagent/protocols/routing/v1_0/handlers/__init__.py rename to acapy_agent/protocols/routing/v1_0/handlers/__init__.py diff --git a/aries_cloudagent/protocols/routing/v1_0/handlers/forward_handler.py b/acapy_agent/protocols/routing/v1_0/handlers/forward_handler.py similarity index 100% rename from aries_cloudagent/protocols/routing/v1_0/handlers/forward_handler.py rename to acapy_agent/protocols/routing/v1_0/handlers/forward_handler.py diff --git a/aries_cloudagent/protocols/routing/v1_0/handlers/tests/__init__.py b/acapy_agent/protocols/routing/v1_0/handlers/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/routing/v1_0/handlers/tests/__init__.py rename to acapy_agent/protocols/routing/v1_0/handlers/tests/__init__.py diff --git a/aries_cloudagent/protocols/routing/v1_0/handlers/tests/test_forward_handler.py b/acapy_agent/protocols/routing/v1_0/handlers/tests/test_forward_handler.py similarity index 98% rename from aries_cloudagent/protocols/routing/v1_0/handlers/tests/test_forward_handler.py rename to acapy_agent/protocols/routing/v1_0/handlers/tests/test_forward_handler.py index 972479f025..31008391d9 100644 --- a/aries_cloudagent/protocols/routing/v1_0/handlers/tests/test_forward_handler.py +++ b/acapy_agent/protocols/routing/v1_0/handlers/tests/test_forward_handler.py @@ -1,7 +1,7 @@ import json from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ......connections.models.connection_target import ConnectionTarget from ......messaging.base_handler import HandlerException diff --git a/aries_cloudagent/protocols/routing/v1_0/manager.py b/acapy_agent/protocols/routing/v1_0/manager.py similarity index 100% rename from aries_cloudagent/protocols/routing/v1_0/manager.py rename to acapy_agent/protocols/routing/v1_0/manager.py diff --git a/aries_cloudagent/protocols/routing/v1_0/message_types.py b/acapy_agent/protocols/routing/v1_0/message_types.py similarity index 81% rename from aries_cloudagent/protocols/routing/v1_0/message_types.py rename to acapy_agent/protocols/routing/v1_0/message_types.py index eb9e652af0..dd0466d1d8 100644 --- a/aries_cloudagent/protocols/routing/v1_0/message_types.py +++ b/acapy_agent/protocols/routing/v1_0/message_types.py @@ -5,7 +5,7 @@ # Message types FORWARD = "routing/1.0/forward" -PROTOCOL_PACKAGE = "aries_cloudagent.protocols.routing.v1_0" +PROTOCOL_PACKAGE = "acapy_agent.protocols.routing.v1_0" MESSAGE_TYPES = DIDCommPrefix.qualify_all( { diff --git a/aries_cloudagent/protocols/routing/v1_0/messages/__init__.py b/acapy_agent/protocols/routing/v1_0/messages/__init__.py similarity index 100% rename from aries_cloudagent/protocols/routing/v1_0/messages/__init__.py rename to acapy_agent/protocols/routing/v1_0/messages/__init__.py diff --git a/aries_cloudagent/protocols/routing/v1_0/messages/forward.py b/acapy_agent/protocols/routing/v1_0/messages/forward.py similarity index 100% rename from aries_cloudagent/protocols/routing/v1_0/messages/forward.py rename to acapy_agent/protocols/routing/v1_0/messages/forward.py diff --git a/aries_cloudagent/protocols/routing/v1_0/messages/tests/__init__.py b/acapy_agent/protocols/routing/v1_0/messages/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/routing/v1_0/messages/tests/__init__.py rename to acapy_agent/protocols/routing/v1_0/messages/tests/__init__.py diff --git a/aries_cloudagent/protocols/routing/v1_0/messages/tests/test_forward.py b/acapy_agent/protocols/routing/v1_0/messages/tests/test_forward.py similarity index 100% rename from aries_cloudagent/protocols/routing/v1_0/messages/tests/test_forward.py rename to acapy_agent/protocols/routing/v1_0/messages/tests/test_forward.py diff --git a/aries_cloudagent/protocols/routing/v1_0/models/__init__.py b/acapy_agent/protocols/routing/v1_0/models/__init__.py similarity index 100% rename from aries_cloudagent/protocols/routing/v1_0/models/__init__.py rename to acapy_agent/protocols/routing/v1_0/models/__init__.py diff --git a/aries_cloudagent/protocols/routing/v1_0/models/route_record.py b/acapy_agent/protocols/routing/v1_0/models/route_record.py similarity index 100% rename from aries_cloudagent/protocols/routing/v1_0/models/route_record.py rename to acapy_agent/protocols/routing/v1_0/models/route_record.py diff --git a/aries_cloudagent/protocols/routing/v1_0/models/tests/__init__.py b/acapy_agent/protocols/routing/v1_0/models/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/routing/v1_0/models/tests/__init__.py rename to acapy_agent/protocols/routing/v1_0/models/tests/__init__.py diff --git a/aries_cloudagent/protocols/routing/v1_0/models/tests/test_route_record.py b/acapy_agent/protocols/routing/v1_0/models/tests/test_route_record.py similarity index 100% rename from aries_cloudagent/protocols/routing/v1_0/models/tests/test_route_record.py rename to acapy_agent/protocols/routing/v1_0/models/tests/test_route_record.py diff --git a/aries_cloudagent/protocols/routing/v1_0/tests/__init__.py b/acapy_agent/protocols/routing/v1_0/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/routing/v1_0/tests/__init__.py rename to acapy_agent/protocols/routing/v1_0/tests/__init__.py diff --git a/aries_cloudagent/protocols/routing/v1_0/tests/test_routing_manager.py b/acapy_agent/protocols/routing/v1_0/tests/test_routing_manager.py similarity index 99% rename from aries_cloudagent/protocols/routing/v1_0/tests/test_routing_manager.py rename to acapy_agent/protocols/routing/v1_0/tests/test_routing_manager.py index e005391b18..721f00cb62 100644 --- a/aries_cloudagent/protocols/routing/v1_0/tests/test_routing_manager.py +++ b/acapy_agent/protocols/routing/v1_0/tests/test_routing_manager.py @@ -2,7 +2,7 @@ from marshmallow import ValidationError -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....messaging.request_context import RequestContext from .....storage.error import StorageDuplicateError, StorageNotFoundError diff --git a/aries_cloudagent/protocols/tests/__init__.py b/acapy_agent/protocols/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/tests/__init__.py rename to acapy_agent/protocols/tests/__init__.py diff --git a/aries_cloudagent/protocols/tests/test_didcomm_prefix.py b/acapy_agent/protocols/tests/test_didcomm_prefix.py similarity index 100% rename from aries_cloudagent/protocols/tests/test_didcomm_prefix.py rename to acapy_agent/protocols/tests/test_didcomm_prefix.py diff --git a/aries_cloudagent/protocols/trustping/__init__.py b/acapy_agent/protocols/trustping/__init__.py similarity index 100% rename from aries_cloudagent/protocols/trustping/__init__.py rename to acapy_agent/protocols/trustping/__init__.py diff --git a/aries_cloudagent/protocols/trustping/definition.py b/acapy_agent/protocols/trustping/definition.py similarity index 100% rename from aries_cloudagent/protocols/trustping/definition.py rename to acapy_agent/protocols/trustping/definition.py diff --git a/aries_cloudagent/protocols/trustping/v1_0/__init__.py b/acapy_agent/protocols/trustping/v1_0/__init__.py similarity index 100% rename from aries_cloudagent/protocols/trustping/v1_0/__init__.py rename to acapy_agent/protocols/trustping/v1_0/__init__.py diff --git a/aries_cloudagent/protocols/trustping/v1_0/handlers/__init__.py b/acapy_agent/protocols/trustping/v1_0/handlers/__init__.py similarity index 100% rename from aries_cloudagent/protocols/trustping/v1_0/handlers/__init__.py rename to acapy_agent/protocols/trustping/v1_0/handlers/__init__.py diff --git a/aries_cloudagent/protocols/trustping/v1_0/handlers/ping_handler.py b/acapy_agent/protocols/trustping/v1_0/handlers/ping_handler.py similarity index 100% rename from aries_cloudagent/protocols/trustping/v1_0/handlers/ping_handler.py rename to acapy_agent/protocols/trustping/v1_0/handlers/ping_handler.py diff --git a/aries_cloudagent/protocols/trustping/v1_0/handlers/ping_response_handler.py b/acapy_agent/protocols/trustping/v1_0/handlers/ping_response_handler.py similarity index 100% rename from aries_cloudagent/protocols/trustping/v1_0/handlers/ping_response_handler.py rename to acapy_agent/protocols/trustping/v1_0/handlers/ping_response_handler.py diff --git a/aries_cloudagent/protocols/trustping/v1_0/handlers/tests/__init__.py b/acapy_agent/protocols/trustping/v1_0/handlers/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/trustping/v1_0/handlers/tests/__init__.py rename to acapy_agent/protocols/trustping/v1_0/handlers/tests/__init__.py diff --git a/aries_cloudagent/protocols/trustping/v1_0/handlers/tests/test_ping_handler.py b/acapy_agent/protocols/trustping/v1_0/handlers/tests/test_ping_handler.py similarity index 100% rename from aries_cloudagent/protocols/trustping/v1_0/handlers/tests/test_ping_handler.py rename to acapy_agent/protocols/trustping/v1_0/handlers/tests/test_ping_handler.py diff --git a/aries_cloudagent/protocols/trustping/v1_0/handlers/tests/test_ping_response_handler.py b/acapy_agent/protocols/trustping/v1_0/handlers/tests/test_ping_response_handler.py similarity index 100% rename from aries_cloudagent/protocols/trustping/v1_0/handlers/tests/test_ping_response_handler.py rename to acapy_agent/protocols/trustping/v1_0/handlers/tests/test_ping_response_handler.py diff --git a/aries_cloudagent/protocols/trustping/v1_0/message_types.py b/acapy_agent/protocols/trustping/v1_0/message_types.py similarity index 89% rename from aries_cloudagent/protocols/trustping/v1_0/message_types.py rename to acapy_agent/protocols/trustping/v1_0/message_types.py index f03b553bde..f5037a8565 100644 --- a/aries_cloudagent/protocols/trustping/v1_0/message_types.py +++ b/acapy_agent/protocols/trustping/v1_0/message_types.py @@ -11,7 +11,7 @@ PING = "trust_ping/1.0/ping" PING_RESPONSE = "trust_ping/1.0/ping_response" -PROTOCOL_PACKAGE = "aries_cloudagent.protocols.trustping.v1_0" +PROTOCOL_PACKAGE = "acapy_agent.protocols.trustping.v1_0" MESSAGE_TYPES = DIDCommPrefix.qualify_all( { diff --git a/aries_cloudagent/protocols/trustping/v1_0/messages/__init__.py b/acapy_agent/protocols/trustping/v1_0/messages/__init__.py similarity index 100% rename from aries_cloudagent/protocols/trustping/v1_0/messages/__init__.py rename to acapy_agent/protocols/trustping/v1_0/messages/__init__.py diff --git a/aries_cloudagent/protocols/trustping/v1_0/messages/ping.py b/acapy_agent/protocols/trustping/v1_0/messages/ping.py similarity index 100% rename from aries_cloudagent/protocols/trustping/v1_0/messages/ping.py rename to acapy_agent/protocols/trustping/v1_0/messages/ping.py diff --git a/aries_cloudagent/protocols/trustping/v1_0/messages/ping_response.py b/acapy_agent/protocols/trustping/v1_0/messages/ping_response.py similarity index 100% rename from aries_cloudagent/protocols/trustping/v1_0/messages/ping_response.py rename to acapy_agent/protocols/trustping/v1_0/messages/ping_response.py diff --git a/aries_cloudagent/protocols/trustping/v1_0/messages/tests/__init__.py b/acapy_agent/protocols/trustping/v1_0/messages/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/trustping/v1_0/messages/tests/__init__.py rename to acapy_agent/protocols/trustping/v1_0/messages/tests/__init__.py diff --git a/aries_cloudagent/protocols/trustping/v1_0/messages/tests/test_trust_ping.py b/acapy_agent/protocols/trustping/v1_0/messages/tests/test_trust_ping.py similarity index 89% rename from aries_cloudagent/protocols/trustping/v1_0/messages/tests/test_trust_ping.py rename to acapy_agent/protocols/trustping/v1_0/messages/tests/test_trust_ping.py index 90c8d51fcd..70d475f997 100644 --- a/aries_cloudagent/protocols/trustping/v1_0/messages/tests/test_trust_ping.py +++ b/acapy_agent/protocols/trustping/v1_0/messages/tests/test_trust_ping.py @@ -22,7 +22,7 @@ def test_type(self): """Test type.""" assert self.test_ping._type == DIDCommPrefix.qualify_current(PING) - @mock.patch("aries_cloudagent.protocols.trustping.v1_0.messages.ping.PingSchema.load") + @mock.patch("acapy_agent.protocols.trustping.v1_0.messages.ping.PingSchema.load") def test_deserialize(self, mock_ping_schema_load): """ Test deserialization. @@ -34,7 +34,7 @@ def test_deserialize(self, mock_ping_schema_load): assert msg is mock_ping_schema_load.return_value - @mock.patch("aries_cloudagent.protocols.trustping.v1_0.messages.ping.PingSchema.dump") + @mock.patch("acapy_agent.protocols.trustping.v1_0.messages.ping.PingSchema.dump") def test_serialize(self, mock_ping_schema_load): """ Test serialization. diff --git a/aries_cloudagent/protocols/trustping/v1_0/messages/tests/test_trust_ping_reponse.py b/acapy_agent/protocols/trustping/v1_0/messages/tests/test_trust_ping_reponse.py similarity index 94% rename from aries_cloudagent/protocols/trustping/v1_0/messages/tests/test_trust_ping_reponse.py rename to acapy_agent/protocols/trustping/v1_0/messages/tests/test_trust_ping_reponse.py index d7c1f41191..37fa1daa26 100644 --- a/aries_cloudagent/protocols/trustping/v1_0/messages/tests/test_trust_ping_reponse.py +++ b/acapy_agent/protocols/trustping/v1_0/messages/tests/test_trust_ping_reponse.py @@ -20,7 +20,7 @@ def test_type(self): assert self.test_ping._type == DIDCommPrefix.qualify_current(PING_RESPONSE) @mock.patch( - "aries_cloudagent.protocols.trustping.v1_0." + "acapy_agent.protocols.trustping.v1_0." "messages.ping_response.PingResponseSchema.load" ) def test_deserialize(self, mock_ping_schema_load): @@ -35,7 +35,7 @@ def test_deserialize(self, mock_ping_schema_load): assert msg is mock_ping_schema_load.return_value @mock.patch( - "aries_cloudagent.protocols.trustping.v1_0." + "acapy_agent.protocols.trustping.v1_0." "messages.ping_response.PingResponseSchema.dump" ) def test_serialize(self, mock_ping_schema_load): diff --git a/aries_cloudagent/protocols/trustping/v1_0/routes.py b/acapy_agent/protocols/trustping/v1_0/routes.py similarity index 100% rename from aries_cloudagent/protocols/trustping/v1_0/routes.py rename to acapy_agent/protocols/trustping/v1_0/routes.py diff --git a/aries_cloudagent/protocols/trustping/v1_0/tests/__init__.py b/acapy_agent/protocols/trustping/v1_0/tests/__init__.py similarity index 100% rename from aries_cloudagent/protocols/trustping/v1_0/tests/__init__.py rename to acapy_agent/protocols/trustping/v1_0/tests/__init__.py diff --git a/aries_cloudagent/protocols/trustping/v1_0/tests/test_routes.py b/acapy_agent/protocols/trustping/v1_0/tests/test_routes.py similarity index 98% rename from aries_cloudagent/protocols/trustping/v1_0/tests/test_routes.py rename to acapy_agent/protocols/trustping/v1_0/tests/test_routes.py index 541c4e7abe..56015f2b9e 100644 --- a/aries_cloudagent/protocols/trustping/v1_0/tests/test_routes.py +++ b/acapy_agent/protocols/trustping/v1_0/tests/test_routes.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .....admin.request_context import AdminRequestContext from .....core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/resolver/__init__.py b/acapy_agent/resolver/__init__.py similarity index 78% rename from aries_cloudagent/resolver/__init__.py rename to acapy_agent/resolver/__init__.py index 93f48bc5a3..005cce6df9 100644 --- a/aries_cloudagent/resolver/__init__.py +++ b/acapy_agent/resolver/__init__.py @@ -17,26 +17,26 @@ async def setup(context: InjectionContext): return legacy_resolver = ClassProvider( - "aries_cloudagent.resolver.default.legacy_peer.LegacyPeerDIDResolver" + "acapy_agent.resolver.default.legacy_peer.LegacyPeerDIDResolver" ).provide(context.settings, context.injector) await legacy_resolver.setup(context) registry.register_resolver(legacy_resolver) key_resolver = ClassProvider( - "aries_cloudagent.resolver.default.key.KeyDIDResolver" + "acapy_agent.resolver.default.key.KeyDIDResolver" ).provide(context.settings, context.injector) await key_resolver.setup(context) registry.register_resolver(key_resolver) jwk_resolver = ClassProvider( - "aries_cloudagent.resolver.default.jwk.JwkDIDResolver" + "acapy_agent.resolver.default.jwk.JwkDIDResolver" ).provide(context.settings, context.injector) await jwk_resolver.setup(context) registry.register_resolver(jwk_resolver) if not context.settings.get("ledger.disabled"): indy_resolver = ClassProvider( - "aries_cloudagent.resolver.default.indy.IndyDIDResolver" + "acapy_agent.resolver.default.indy.IndyDIDResolver" ).provide(context.settings, context.injector) await indy_resolver.setup(context) registry.register_resolver(indy_resolver) @@ -44,38 +44,38 @@ async def setup(context: InjectionContext): LOGGER.warning("Ledger is not configured, not loading IndyDIDResolver") web_resolver = ClassProvider( - "aries_cloudagent.resolver.default.web.WebDIDResolver" + "acapy_agent.resolver.default.web.WebDIDResolver" ).provide(context.settings, context.injector) await web_resolver.setup(context) registry.register_resolver(web_resolver) if context.settings.get("resolver.universal"): universal_resolver = ClassProvider( - "aries_cloudagent.resolver.default.universal.UniversalResolver" + "acapy_agent.resolver.default.universal.UniversalResolver" ).provide(context.settings, context.injector) await universal_resolver.setup(context) registry.register_resolver(universal_resolver) peer_did_1_resolver = ClassProvider( - "aries_cloudagent.resolver.default.peer1.PeerDID1Resolver" + "acapy_agent.resolver.default.peer1.PeerDID1Resolver" ).provide(context.settings, context.injector) await peer_did_1_resolver.setup(context) registry.register_resolver(peer_did_1_resolver) peer_did_2_resolver = ClassProvider( - "aries_cloudagent.resolver.default.peer2.PeerDID2Resolver" + "acapy_agent.resolver.default.peer2.PeerDID2Resolver" ).provide(context.settings, context.injector) await peer_did_2_resolver.setup(context) registry.register_resolver(peer_did_2_resolver) peer_did_3_resolver = ClassProvider( - "aries_cloudagent.resolver.default.peer3.PeerDID3Resolver" + "acapy_agent.resolver.default.peer3.PeerDID3Resolver" ).provide(context.settings, context.injector) await peer_did_3_resolver.setup(context) registry.register_resolver(peer_did_3_resolver) peer_did_4_resolver = ClassProvider( - "aries_cloudagent.resolver.default.peer4.PeerDID4Resolver" + "acapy_agent.resolver.default.peer4.PeerDID4Resolver" ).provide(context.settings, context.injector) await peer_did_4_resolver.setup(context) registry.register_resolver(peer_did_4_resolver) diff --git a/aries_cloudagent/resolver/base.py b/acapy_agent/resolver/base.py similarity index 100% rename from aries_cloudagent/resolver/base.py rename to acapy_agent/resolver/base.py diff --git a/aries_cloudagent/resolver/default/__init__.py b/acapy_agent/resolver/default/__init__.py similarity index 100% rename from aries_cloudagent/resolver/default/__init__.py rename to acapy_agent/resolver/default/__init__.py diff --git a/aries_cloudagent/resolver/default/indy.py b/acapy_agent/resolver/default/indy.py similarity index 100% rename from aries_cloudagent/resolver/default/indy.py rename to acapy_agent/resolver/default/indy.py diff --git a/aries_cloudagent/resolver/default/jwk.py b/acapy_agent/resolver/default/jwk.py similarity index 88% rename from aries_cloudagent/resolver/default/jwk.py rename to acapy_agent/resolver/default/jwk.py index badccdbba7..8d50f06a7d 100644 --- a/aries_cloudagent/resolver/default/jwk.py +++ b/acapy_agent/resolver/default/jwk.py @@ -3,10 +3,10 @@ import re from typing import Optional, Pattern, Sequence, Text -from aries_cloudagent.config.injection_context import InjectionContext -from aries_cloudagent.core.profile import Profile -from aries_cloudagent.resolver.base import BaseDIDResolver, ResolverError, ResolverType -from aries_cloudagent.wallet.jwt import b64_to_dict +from acapy_agent.config.injection_context import InjectionContext +from acapy_agent.core.profile import Profile +from acapy_agent.resolver.base import BaseDIDResolver, ResolverError, ResolverType +from acapy_agent.wallet.jwt import b64_to_dict class JwkDIDResolver(BaseDIDResolver): diff --git a/aries_cloudagent/resolver/default/key.py b/acapy_agent/resolver/default/key.py similarity index 100% rename from aries_cloudagent/resolver/default/key.py rename to acapy_agent/resolver/default/key.py diff --git a/aries_cloudagent/resolver/default/legacy_peer.py b/acapy_agent/resolver/default/legacy_peer.py similarity index 100% rename from aries_cloudagent/resolver/default/legacy_peer.py rename to acapy_agent/resolver/default/legacy_peer.py diff --git a/aries_cloudagent/resolver/default/peer1.py b/acapy_agent/resolver/default/peer1.py similarity index 98% rename from aries_cloudagent/resolver/default/peer1.py rename to acapy_agent/resolver/default/peer1.py index 9df6ee5e29..ce03af5616 100644 --- a/aries_cloudagent/resolver/default/peer1.py +++ b/acapy_agent/resolver/default/peer1.py @@ -4,7 +4,7 @@ import re from typing import Callable, Optional, Pattern, Sequence, Text, Union -from aries_cloudagent.messaging.valid import B58 +from acapy_agent.messaging.valid import B58 from ...config.injection_context import InjectionContext from ...connections.base_manager import BaseConnectionManager diff --git a/aries_cloudagent/resolver/default/peer2.py b/acapy_agent/resolver/default/peer2.py similarity index 100% rename from aries_cloudagent/resolver/default/peer2.py rename to acapy_agent/resolver/default/peer2.py diff --git a/aries_cloudagent/resolver/default/peer3.py b/acapy_agent/resolver/default/peer3.py similarity index 100% rename from aries_cloudagent/resolver/default/peer3.py rename to acapy_agent/resolver/default/peer3.py diff --git a/aries_cloudagent/resolver/default/peer4.py b/acapy_agent/resolver/default/peer4.py similarity index 100% rename from aries_cloudagent/resolver/default/peer4.py rename to acapy_agent/resolver/default/peer4.py diff --git a/aries_cloudagent/resolver/default/tests/__init__.py b/acapy_agent/resolver/default/tests/__init__.py similarity index 100% rename from aries_cloudagent/resolver/default/tests/__init__.py rename to acapy_agent/resolver/default/tests/__init__.py diff --git a/aries_cloudagent/resolver/default/tests/test_indy.py b/acapy_agent/resolver/default/tests/test_indy.py similarity index 99% rename from aries_cloudagent/resolver/default/tests/test_indy.py rename to acapy_agent/resolver/default/tests/test_indy.py index 4c234242e6..4069e84d1f 100644 --- a/aries_cloudagent/resolver/default/tests/test_indy.py +++ b/acapy_agent/resolver/default/tests/test_indy.py @@ -2,7 +2,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ....core.in_memory import InMemoryProfile from ....core.profile import Profile diff --git a/aries_cloudagent/resolver/default/tests/test_jwk.py b/acapy_agent/resolver/default/tests/test_jwk.py similarity index 100% rename from aries_cloudagent/resolver/default/tests/test_jwk.py rename to acapy_agent/resolver/default/tests/test_jwk.py diff --git a/aries_cloudagent/resolver/default/tests/test_key.py b/acapy_agent/resolver/default/tests/test_key.py similarity index 100% rename from aries_cloudagent/resolver/default/tests/test_key.py rename to acapy_agent/resolver/default/tests/test_key.py diff --git a/aries_cloudagent/resolver/default/tests/test_legacy_peer.py b/acapy_agent/resolver/default/tests/test_legacy_peer.py similarity index 99% rename from aries_cloudagent/resolver/default/tests/test_legacy_peer.py rename to acapy_agent/resolver/default/tests/test_legacy_peer.py index 7e27470c2b..f15f80b214 100644 --- a/aries_cloudagent/resolver/default/tests/test_legacy_peer.py +++ b/acapy_agent/resolver/default/tests/test_legacy_peer.py @@ -3,7 +3,7 @@ import pydid import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ....cache.base import BaseCache from ....cache.in_memory import InMemoryCache diff --git a/aries_cloudagent/resolver/default/tests/test_peer2.py b/acapy_agent/resolver/default/tests/test_peer2.py similarity index 100% rename from aries_cloudagent/resolver/default/tests/test_peer2.py rename to acapy_agent/resolver/default/tests/test_peer2.py diff --git a/aries_cloudagent/resolver/default/tests/test_peer3.py b/acapy_agent/resolver/default/tests/test_peer3.py similarity index 95% rename from aries_cloudagent/resolver/default/tests/test_peer3.py rename to acapy_agent/resolver/default/tests/test_peer3.py index 9cdf949d10..aa6cf3b8f0 100644 --- a/aries_cloudagent/resolver/default/tests/test_peer3.py +++ b/acapy_agent/resolver/default/tests/test_peer3.py @@ -3,8 +3,8 @@ import pytest from did_peer_2 import peer2to3 -from aries_cloudagent.connections.models.conn_record import ConnRecord -from aries_cloudagent.core.event_bus import EventBus +from acapy_agent.connections.models.conn_record import ConnRecord +from acapy_agent.core.event_bus import EventBus from ....core.in_memory import InMemoryProfile from ....core.profile import Profile diff --git a/aries_cloudagent/resolver/default/tests/test_peer4.py b/acapy_agent/resolver/default/tests/test_peer4.py similarity index 98% rename from aries_cloudagent/resolver/default/tests/test_peer4.py rename to acapy_agent/resolver/default/tests/test_peer4.py index a08ea9b96f..4f1ebd16e8 100644 --- a/aries_cloudagent/resolver/default/tests/test_peer4.py +++ b/acapy_agent/resolver/default/tests/test_peer4.py @@ -2,7 +2,7 @@ import pytest -from aries_cloudagent.core.event_bus import EventBus +from acapy_agent.core.event_bus import EventBus from ....core.in_memory import InMemoryProfile from ....core.profile import Profile diff --git a/aries_cloudagent/resolver/default/tests/test_universal.py b/acapy_agent/resolver/default/tests/test_universal.py similarity index 99% rename from aries_cloudagent/resolver/default/tests/test_universal.py rename to acapy_agent/resolver/default/tests/test_universal.py index f6c9979925..80e07b08c5 100644 --- a/aries_cloudagent/resolver/default/tests/test_universal.py +++ b/acapy_agent/resolver/default/tests/test_universal.py @@ -5,7 +5,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ....config.settings import Settings from ....core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/resolver/default/tests/test_web.py b/acapy_agent/resolver/default/tests/test_web.py similarity index 100% rename from aries_cloudagent/resolver/default/tests/test_web.py rename to acapy_agent/resolver/default/tests/test_web.py diff --git a/aries_cloudagent/resolver/default/universal.py b/acapy_agent/resolver/default/universal.py similarity index 100% rename from aries_cloudagent/resolver/default/universal.py rename to acapy_agent/resolver/default/universal.py diff --git a/aries_cloudagent/resolver/default/web.py b/acapy_agent/resolver/default/web.py similarity index 100% rename from aries_cloudagent/resolver/default/web.py rename to acapy_agent/resolver/default/web.py diff --git a/aries_cloudagent/resolver/did_resolver.py b/acapy_agent/resolver/did_resolver.py similarity index 100% rename from aries_cloudagent/resolver/did_resolver.py rename to acapy_agent/resolver/did_resolver.py diff --git a/aries_cloudagent/resolver/routes.py b/acapy_agent/resolver/routes.py similarity index 100% rename from aries_cloudagent/resolver/routes.py rename to acapy_agent/resolver/routes.py diff --git a/aries_cloudagent/resolver/tests/__init__.py b/acapy_agent/resolver/tests/__init__.py similarity index 100% rename from aries_cloudagent/resolver/tests/__init__.py rename to acapy_agent/resolver/tests/__init__.py diff --git a/aries_cloudagent/resolver/tests/test_base.py b/acapy_agent/resolver/tests/test_base.py similarity index 100% rename from aries_cloudagent/resolver/tests/test_base.py rename to acapy_agent/resolver/tests/test_base.py diff --git a/aries_cloudagent/resolver/tests/test_did_resolver.py b/acapy_agent/resolver/tests/test_did_resolver.py similarity index 100% rename from aries_cloudagent/resolver/tests/test_did_resolver.py rename to acapy_agent/resolver/tests/test_did_resolver.py diff --git a/aries_cloudagent/resolver/tests/test_routes.py b/acapy_agent/resolver/tests/test_routes.py similarity index 99% rename from aries_cloudagent/resolver/tests/test_routes.py rename to acapy_agent/resolver/tests/test_routes.py index 311f60fbb2..185476d307 100644 --- a/aries_cloudagent/resolver/tests/test_routes.py +++ b/acapy_agent/resolver/tests/test_routes.py @@ -5,7 +5,7 @@ import pytest from pydid import DIDDocument -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...core.in_memory import InMemoryProfile from .. import routes as test_module diff --git a/aries_cloudagent/revocation/__init__.py b/acapy_agent/revocation/__init__.py similarity index 100% rename from aries_cloudagent/revocation/__init__.py rename to acapy_agent/revocation/__init__.py diff --git a/aries_cloudagent/revocation/error.py b/acapy_agent/revocation/error.py similarity index 100% rename from aries_cloudagent/revocation/error.py rename to acapy_agent/revocation/error.py diff --git a/aries_cloudagent/revocation/indy.py b/acapy_agent/revocation/indy.py similarity index 100% rename from aries_cloudagent/revocation/indy.py rename to acapy_agent/revocation/indy.py diff --git a/aries_cloudagent/revocation/manager.py b/acapy_agent/revocation/manager.py similarity index 100% rename from aries_cloudagent/revocation/manager.py rename to acapy_agent/revocation/manager.py diff --git a/aries_cloudagent/revocation/models/__init__.py b/acapy_agent/revocation/models/__init__.py similarity index 100% rename from aries_cloudagent/revocation/models/__init__.py rename to acapy_agent/revocation/models/__init__.py diff --git a/aries_cloudagent/revocation/models/indy.py b/acapy_agent/revocation/models/indy.py similarity index 100% rename from aries_cloudagent/revocation/models/indy.py rename to acapy_agent/revocation/models/indy.py diff --git a/aries_cloudagent/revocation/models/issuer_cred_rev_record.py b/acapy_agent/revocation/models/issuer_cred_rev_record.py similarity index 100% rename from aries_cloudagent/revocation/models/issuer_cred_rev_record.py rename to acapy_agent/revocation/models/issuer_cred_rev_record.py diff --git a/aries_cloudagent/revocation/models/issuer_rev_reg_record.py b/acapy_agent/revocation/models/issuer_rev_reg_record.py similarity index 99% rename from aries_cloudagent/revocation/models/issuer_rev_reg_record.py rename to acapy_agent/revocation/models/issuer_rev_reg_record.py index c0206c044a..25c5b5f52a 100644 --- a/aries_cloudagent/revocation/models/issuer_rev_reg_record.py +++ b/acapy_agent/revocation/models/issuer_rev_reg_record.py @@ -323,7 +323,7 @@ async def send_entry( except LedgerTransactionError as err: if "InvalidClientRequest" in err.roll_up: # ... if the ledger write fails (with "InvalidClientRequest") - # e.g. aries_cloudagent.ledger.error.LedgerTransactionError: + # e.g. acapy_agent.ledger.error.LedgerTransactionError: # Ledger rejected transaction request: client request invalid: # InvalidClientRequest(...) # In this scenario we try to post a correction @@ -338,7 +338,7 @@ async def send_entry( LOGGER.warning("Ledger update/fix applied") elif "InvalidClientTaaAcceptanceError" in err.roll_up: # if no write access (with "InvalidClientTaaAcceptanceError") - # e.g. aries_cloudagent.ledger.error.LedgerTransactionError: + # e.g. acapy_agent.ledger.error.LedgerTransactionError: # Ledger rejected transaction request: client request invalid: # InvalidClientTaaAcceptanceError(...) LOGGER.error("Ledger update failed due to TAA issue") diff --git a/aries_cloudagent/revocation/models/revocation_registry.py b/acapy_agent/revocation/models/revocation_registry.py similarity index 100% rename from aries_cloudagent/revocation/models/revocation_registry.py rename to acapy_agent/revocation/models/revocation_registry.py diff --git a/aries_cloudagent/revocation/models/tests/__init__.py b/acapy_agent/revocation/models/tests/__init__.py similarity index 100% rename from aries_cloudagent/revocation/models/tests/__init__.py rename to acapy_agent/revocation/models/tests/__init__.py diff --git a/aries_cloudagent/revocation/models/tests/test_indy.py b/acapy_agent/revocation/models/tests/test_indy.py similarity index 100% rename from aries_cloudagent/revocation/models/tests/test_indy.py rename to acapy_agent/revocation/models/tests/test_indy.py diff --git a/aries_cloudagent/revocation/models/tests/test_issuer_cred_rev_record.py b/acapy_agent/revocation/models/tests/test_issuer_cred_rev_record.py similarity index 100% rename from aries_cloudagent/revocation/models/tests/test_issuer_cred_rev_record.py rename to acapy_agent/revocation/models/tests/test_issuer_cred_rev_record.py diff --git a/aries_cloudagent/revocation/models/tests/test_issuer_rev_reg_record.py b/acapy_agent/revocation/models/tests/test_issuer_rev_reg_record.py similarity index 99% rename from aries_cloudagent/revocation/models/tests/test_issuer_rev_reg_record.py rename to acapy_agent/revocation/models/tests/test_issuer_rev_reg_record.py index e0f7978a86..705ed5a49f 100644 --- a/aries_cloudagent/revocation/models/tests/test_issuer_rev_reg_record.py +++ b/acapy_agent/revocation/models/tests/test_issuer_rev_reg_record.py @@ -4,7 +4,7 @@ from typing import Any, Mapping, Optional, Type from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ....config.injection_context import InjectionContext from ....core.in_memory import InMemoryProfile, InMemoryProfileSession diff --git a/aries_cloudagent/revocation/models/tests/test_revocation_registry.py b/acapy_agent/revocation/models/tests/test_revocation_registry.py similarity index 100% rename from aries_cloudagent/revocation/models/tests/test_revocation_registry.py rename to acapy_agent/revocation/models/tests/test_revocation_registry.py diff --git a/aries_cloudagent/revocation/recover.py b/acapy_agent/revocation/recover.py similarity index 100% rename from aries_cloudagent/revocation/recover.py rename to acapy_agent/revocation/recover.py diff --git a/aries_cloudagent/revocation/routes.py b/acapy_agent/revocation/routes.py similarity index 100% rename from aries_cloudagent/revocation/routes.py rename to acapy_agent/revocation/routes.py diff --git a/aries_cloudagent/revocation/tests/__init__.py b/acapy_agent/revocation/tests/__init__.py similarity index 100% rename from aries_cloudagent/revocation/tests/__init__.py rename to acapy_agent/revocation/tests/__init__.py diff --git a/aries_cloudagent/revocation/tests/test_indy.py b/acapy_agent/revocation/tests/test_indy.py similarity index 95% rename from aries_cloudagent/revocation/tests/test_indy.py rename to acapy_agent/revocation/tests/test_indy.py index 482bb9ba49..0ccb161051 100644 --- a/aries_cloudagent/revocation/tests/test_indy.py +++ b/acapy_agent/revocation/tests/test_indy.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...core.in_memory import InMemoryProfile from ...ledger.base import BaseLedger @@ -252,7 +252,7 @@ async def test_get_ledger_registry(self): ) @mock.patch( - "aries_cloudagent.revocation.indy.IndyRevocation.get_active_issuer_rev_reg_record", + "acapy_agent.revocation.indy.IndyRevocation.get_active_issuer_rev_reg_record", mock.CoroutineMock( return_value=mock.MagicMock( get_registry=mock.MagicMock( @@ -270,11 +270,11 @@ async def test_get_or_create_active_registry_has_active_registry(self, *_): assert isinstance(result, tuple) @mock.patch( - "aries_cloudagent.revocation.indy.IndyRevocation.get_active_issuer_rev_reg_record", + "acapy_agent.revocation.indy.IndyRevocation.get_active_issuer_rev_reg_record", mock.CoroutineMock(side_effect=StorageNotFoundError("No such record")), ) @mock.patch( - "aries_cloudagent.revocation.indy.IndyRevocation.init_issuer_registry", + "acapy_agent.revocation.indy.IndyRevocation.init_issuer_registry", mock.CoroutineMock(return_value=None), ) @mock.patch.object( @@ -291,11 +291,11 @@ async def test_get_or_create_active_registry_has_no_active_and_only_full_registi assert self.revoc.init_issuer_registry.call_args.kwargs["max_cred_num"] == 3 @mock.patch( - "aries_cloudagent.revocation.indy.IndyRevocation.get_active_issuer_rev_reg_record", + "acapy_agent.revocation.indy.IndyRevocation.get_active_issuer_rev_reg_record", mock.CoroutineMock(side_effect=StorageNotFoundError("No such record")), ) @mock.patch( - "aries_cloudagent.revocation.indy.IndyRevocation.init_issuer_registry", + "acapy_agent.revocation.indy.IndyRevocation.init_issuer_registry", mock.CoroutineMock(return_value=None), ) @mock.patch.object(IssuerRevRegRecord, "query_by_cred_def_id", side_effect=[[], []]) @@ -304,11 +304,11 @@ async def test_get_or_create_active_registry_has_no_active_or_any_registry(self, await self.revoc.get_or_create_active_registry("cred_def_id") @mock.patch( - "aries_cloudagent.revocation.indy.IndyRevocation.get_active_issuer_rev_reg_record", + "acapy_agent.revocation.indy.IndyRevocation.get_active_issuer_rev_reg_record", mock.CoroutineMock(side_effect=StorageNotFoundError("No such record")), ) @mock.patch( - "aries_cloudagent.revocation.indy.IndyRevocation._set_registry_status", + "acapy_agent.revocation.indy.IndyRevocation._set_registry_status", mock.CoroutineMock(return_value=None), ) @mock.patch.object( diff --git a/aries_cloudagent/revocation/tests/test_manager.py b/acapy_agent/revocation/tests/test_manager.py similarity index 99% rename from aries_cloudagent/revocation/tests/test_manager.py rename to acapy_agent/revocation/tests/test_manager.py index 074253975c..801f14f941 100644 --- a/aries_cloudagent/revocation/tests/test_manager.py +++ b/acapy_agent/revocation/tests/test_manager.py @@ -1,10 +1,10 @@ import json from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.revocation.models.issuer_cred_rev_record import ( +from acapy_agent.revocation.models.issuer_cred_rev_record import ( IssuerCredRevRecord, ) -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...connections.models.conn_record import ConnRecord from ...core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/revocation/tests/test_routes.py b/acapy_agent/revocation/tests/test_routes.py similarity index 99% rename from aries_cloudagent/revocation/tests/test_routes.py rename to acapy_agent/revocation/tests/test_routes.py index 44714eb76c..216e770964 100644 --- a/aries_cloudagent/revocation/tests/test_routes.py +++ b/acapy_agent/revocation/tests/test_routes.py @@ -5,9 +5,9 @@ import pytest from aiohttp.web import HTTPBadRequest, HTTPNotFound -from aries_cloudagent.core.in_memory import InMemoryProfile -from aries_cloudagent.revocation.error import RevocationError -from aries_cloudagent.tests import mock +from acapy_agent.core.in_memory import InMemoryProfile +from acapy_agent.revocation.error import RevocationError +from acapy_agent.tests import mock from ...admin.request_context import AdminRequestContext from ...askar.profile_anon import AskarAnoncredsProfile diff --git a/aries_cloudagent/revocation/util.py b/acapy_agent/revocation/util.py similarity index 100% rename from aries_cloudagent/revocation/util.py rename to acapy_agent/revocation/util.py diff --git a/aries_cloudagent/revocation_anoncreds/__init__.py b/acapy_agent/revocation_anoncreds/__init__.py similarity index 100% rename from aries_cloudagent/revocation_anoncreds/__init__.py rename to acapy_agent/revocation_anoncreds/__init__.py diff --git a/aries_cloudagent/revocation_anoncreds/manager.py b/acapy_agent/revocation_anoncreds/manager.py similarity index 100% rename from aries_cloudagent/revocation_anoncreds/manager.py rename to acapy_agent/revocation_anoncreds/manager.py diff --git a/aries_cloudagent/revocation_anoncreds/models/__init__.py b/acapy_agent/revocation_anoncreds/models/__init__.py similarity index 100% rename from aries_cloudagent/revocation_anoncreds/models/__init__.py rename to acapy_agent/revocation_anoncreds/models/__init__.py diff --git a/aries_cloudagent/revocation_anoncreds/models/issuer_cred_rev_record.py b/acapy_agent/revocation_anoncreds/models/issuer_cred_rev_record.py similarity index 100% rename from aries_cloudagent/revocation_anoncreds/models/issuer_cred_rev_record.py rename to acapy_agent/revocation_anoncreds/models/issuer_cred_rev_record.py diff --git a/aries_cloudagent/revocation_anoncreds/models/tests/__init__.py b/acapy_agent/revocation_anoncreds/models/tests/__init__.py similarity index 100% rename from aries_cloudagent/revocation_anoncreds/models/tests/__init__.py rename to acapy_agent/revocation_anoncreds/models/tests/__init__.py diff --git a/aries_cloudagent/revocation_anoncreds/models/tests/test_issuer_cred_rev_record.py b/acapy_agent/revocation_anoncreds/models/tests/test_issuer_cred_rev_record.py similarity index 100% rename from aries_cloudagent/revocation_anoncreds/models/tests/test_issuer_cred_rev_record.py rename to acapy_agent/revocation_anoncreds/models/tests/test_issuer_cred_rev_record.py diff --git a/aries_cloudagent/revocation_anoncreds/recover.py b/acapy_agent/revocation_anoncreds/recover.py similarity index 100% rename from aries_cloudagent/revocation_anoncreds/recover.py rename to acapy_agent/revocation_anoncreds/recover.py diff --git a/aries_cloudagent/revocation_anoncreds/routes.py b/acapy_agent/revocation_anoncreds/routes.py similarity index 100% rename from aries_cloudagent/revocation_anoncreds/routes.py rename to acapy_agent/revocation_anoncreds/routes.py diff --git a/aries_cloudagent/revocation_anoncreds/tests/__init__.py b/acapy_agent/revocation_anoncreds/tests/__init__.py similarity index 100% rename from aries_cloudagent/revocation_anoncreds/tests/__init__.py rename to acapy_agent/revocation_anoncreds/tests/__init__.py diff --git a/aries_cloudagent/revocation_anoncreds/tests/test_manager.py b/acapy_agent/revocation_anoncreds/tests/test_manager.py similarity index 99% rename from aries_cloudagent/revocation_anoncreds/tests/test_manager.py rename to acapy_agent/revocation_anoncreds/tests/test_manager.py index 187ba9953d..5c2332f13d 100644 --- a/aries_cloudagent/revocation_anoncreds/tests/test_manager.py +++ b/acapy_agent/revocation_anoncreds/tests/test_manager.py @@ -3,10 +3,10 @@ import pytest -from aries_cloudagent.revocation.models.issuer_cred_rev_record import ( +from acapy_agent.revocation.models.issuer_cred_rev_record import ( IssuerCredRevRecord, ) -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...anoncreds.issuer import AnonCredsIssuer from ...core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/revocation_anoncreds/tests/test_routes.py b/acapy_agent/revocation_anoncreds/tests/test_routes.py similarity index 99% rename from aries_cloudagent/revocation_anoncreds/tests/test_routes.py rename to acapy_agent/revocation_anoncreds/tests/test_routes.py index a332654fa2..a46ce56e12 100644 --- a/aries_cloudagent/revocation_anoncreds/tests/test_routes.py +++ b/acapy_agent/revocation_anoncreds/tests/test_routes.py @@ -5,7 +5,7 @@ import pytest from aiohttp.web import HTTPNotFound -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...admin.request_context import AdminRequestContext from ...anoncreds.models.anoncreds_revocation import RevRegDef, RevRegDefValue diff --git a/aries_cloudagent/settings/__init__.py b/acapy_agent/settings/__init__.py similarity index 100% rename from aries_cloudagent/settings/__init__.py rename to acapy_agent/settings/__init__.py diff --git a/aries_cloudagent/settings/routes.py b/acapy_agent/settings/routes.py similarity index 100% rename from aries_cloudagent/settings/routes.py rename to acapy_agent/settings/routes.py diff --git a/aries_cloudagent/settings/tests/__init__.py b/acapy_agent/settings/tests/__init__.py similarity index 100% rename from aries_cloudagent/settings/tests/__init__.py rename to acapy_agent/settings/tests/__init__.py diff --git a/aries_cloudagent/settings/tests/test_routes.py b/acapy_agent/settings/tests/test_routes.py similarity index 99% rename from aries_cloudagent/settings/tests/test_routes.py rename to acapy_agent/settings/tests/test_routes.py index 3b2e3eb76b..308a4dfac1 100644 --- a/aries_cloudagent/settings/tests/test_routes.py +++ b/acapy_agent/settings/tests/test_routes.py @@ -4,7 +4,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...admin.request_context import AdminRequestContext from ...core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/storage/__init__.py b/acapy_agent/storage/__init__.py similarity index 100% rename from aries_cloudagent/storage/__init__.py rename to acapy_agent/storage/__init__.py diff --git a/aries_cloudagent/storage/askar.py b/acapy_agent/storage/askar.py similarity index 100% rename from aries_cloudagent/storage/askar.py rename to acapy_agent/storage/askar.py diff --git a/aries_cloudagent/storage/base.py b/acapy_agent/storage/base.py similarity index 100% rename from aries_cloudagent/storage/base.py rename to acapy_agent/storage/base.py diff --git a/aries_cloudagent/storage/error.py b/acapy_agent/storage/error.py similarity index 100% rename from aries_cloudagent/storage/error.py rename to acapy_agent/storage/error.py diff --git a/aries_cloudagent/storage/in_memory.py b/acapy_agent/storage/in_memory.py similarity index 100% rename from aries_cloudagent/storage/in_memory.py rename to acapy_agent/storage/in_memory.py diff --git a/aries_cloudagent/storage/record.py b/acapy_agent/storage/record.py similarity index 100% rename from aries_cloudagent/storage/record.py rename to acapy_agent/storage/record.py diff --git a/aries_cloudagent/storage/tests/__init__.py b/acapy_agent/storage/tests/__init__.py similarity index 100% rename from aries_cloudagent/storage/tests/__init__.py rename to acapy_agent/storage/tests/__init__.py diff --git a/aries_cloudagent/storage/tests/conftest.py b/acapy_agent/storage/tests/conftest.py similarity index 100% rename from aries_cloudagent/storage/tests/conftest.py rename to acapy_agent/storage/tests/conftest.py diff --git a/aries_cloudagent/storage/tests/test_askar_storage.py b/acapy_agent/storage/tests/test_askar_storage.py similarity index 99% rename from aries_cloudagent/storage/tests/test_askar_storage.py rename to acapy_agent/storage/tests/test_askar_storage.py index acfe4cc5dd..cd98324716 100644 --- a/aries_cloudagent/storage/tests/test_askar_storage.py +++ b/acapy_agent/storage/tests/test_askar_storage.py @@ -4,7 +4,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...askar.profile import AskarProfileManager from ...config.injection_context import InjectionContext @@ -360,7 +360,7 @@ class TestAskarStorageSearchSession(IsolatedAsyncioTestCase): async def test_askar_storage_search_session(self): profile = "profileId" - with mock.patch("aries_cloudagent.storage.askar.AskarProfile") as AskarProfile: + with mock.patch("acapy_agent.storage.askar.AskarProfile") as AskarProfile: askar_profile = AskarProfile(None, True) askar_profile_scan = mock.MagicMock() askar_profile.store.scan.return_value = askar_profile_scan diff --git a/aries_cloudagent/storage/tests/test_in_memory_storage.py b/acapy_agent/storage/tests/test_in_memory_storage.py similarity index 99% rename from aries_cloudagent/storage/tests/test_in_memory_storage.py rename to acapy_agent/storage/tests/test_in_memory_storage.py index 2bc777a77e..4398ffe1dc 100644 --- a/aries_cloudagent/storage/tests/test_in_memory_storage.py +++ b/acapy_agent/storage/tests/test_in_memory_storage.py @@ -1,6 +1,6 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...core.in_memory import InMemoryProfile from ...storage.error import ( diff --git a/aries_cloudagent/storage/tests/test_storage_record.py b/acapy_agent/storage/tests/test_storage_record.py similarity index 100% rename from aries_cloudagent/storage/tests/test_storage_record.py rename to acapy_agent/storage/tests/test_storage_record.py diff --git a/aries_cloudagent/storage/type.py b/acapy_agent/storage/type.py similarity index 100% rename from aries_cloudagent/storage/type.py rename to acapy_agent/storage/type.py diff --git a/aries_cloudagent/storage/vc_holder/__init__.py b/acapy_agent/storage/vc_holder/__init__.py similarity index 100% rename from aries_cloudagent/storage/vc_holder/__init__.py rename to acapy_agent/storage/vc_holder/__init__.py diff --git a/aries_cloudagent/storage/vc_holder/askar.py b/acapy_agent/storage/vc_holder/askar.py similarity index 100% rename from aries_cloudagent/storage/vc_holder/askar.py rename to acapy_agent/storage/vc_holder/askar.py diff --git a/aries_cloudagent/storage/vc_holder/base.py b/acapy_agent/storage/vc_holder/base.py similarity index 100% rename from aries_cloudagent/storage/vc_holder/base.py rename to acapy_agent/storage/vc_holder/base.py diff --git a/aries_cloudagent/storage/vc_holder/in_memory.py b/acapy_agent/storage/vc_holder/in_memory.py similarity index 100% rename from aries_cloudagent/storage/vc_holder/in_memory.py rename to acapy_agent/storage/vc_holder/in_memory.py diff --git a/aries_cloudagent/storage/vc_holder/tests/__init__.py b/acapy_agent/storage/vc_holder/tests/__init__.py similarity index 100% rename from aries_cloudagent/storage/vc_holder/tests/__init__.py rename to acapy_agent/storage/vc_holder/tests/__init__.py diff --git a/aries_cloudagent/storage/vc_holder/tests/conftest.py b/acapy_agent/storage/vc_holder/tests/conftest.py similarity index 100% rename from aries_cloudagent/storage/vc_holder/tests/conftest.py rename to acapy_agent/storage/vc_holder/tests/conftest.py diff --git a/aries_cloudagent/storage/vc_holder/tests/test_askar_vc_holder.py b/acapy_agent/storage/vc_holder/tests/test_askar_vc_holder.py similarity index 100% rename from aries_cloudagent/storage/vc_holder/tests/test_askar_vc_holder.py rename to acapy_agent/storage/vc_holder/tests/test_askar_vc_holder.py diff --git a/aries_cloudagent/storage/vc_holder/tests/test_in_memory_vc_holder.py b/acapy_agent/storage/vc_holder/tests/test_in_memory_vc_holder.py similarity index 100% rename from aries_cloudagent/storage/vc_holder/tests/test_in_memory_vc_holder.py rename to acapy_agent/storage/vc_holder/tests/test_in_memory_vc_holder.py diff --git a/aries_cloudagent/storage/vc_holder/tests/test_vc_record.py b/acapy_agent/storage/vc_holder/tests/test_vc_record.py similarity index 100% rename from aries_cloudagent/storage/vc_holder/tests/test_vc_record.py rename to acapy_agent/storage/vc_holder/tests/test_vc_record.py diff --git a/aries_cloudagent/storage/vc_holder/vc_record.py b/acapy_agent/storage/vc_holder/vc_record.py similarity index 100% rename from aries_cloudagent/storage/vc_holder/vc_record.py rename to acapy_agent/storage/vc_holder/vc_record.py diff --git a/aries_cloudagent/storage/vc_holder/xform.py b/acapy_agent/storage/vc_holder/xform.py similarity index 100% rename from aries_cloudagent/storage/vc_holder/xform.py rename to acapy_agent/storage/vc_holder/xform.py diff --git a/aries_cloudagent/tails/__init__.py b/acapy_agent/tails/__init__.py similarity index 100% rename from aries_cloudagent/tails/__init__.py rename to acapy_agent/tails/__init__.py diff --git a/aries_cloudagent/tails/anoncreds_tails_server.py b/acapy_agent/tails/anoncreds_tails_server.py similarity index 100% rename from aries_cloudagent/tails/anoncreds_tails_server.py rename to acapy_agent/tails/anoncreds_tails_server.py diff --git a/aries_cloudagent/tails/base.py b/acapy_agent/tails/base.py similarity index 100% rename from aries_cloudagent/tails/base.py rename to acapy_agent/tails/base.py diff --git a/aries_cloudagent/tails/error.py b/acapy_agent/tails/error.py similarity index 100% rename from aries_cloudagent/tails/error.py rename to acapy_agent/tails/error.py diff --git a/aries_cloudagent/tails/indy_tails_server.py b/acapy_agent/tails/indy_tails_server.py similarity index 100% rename from aries_cloudagent/tails/indy_tails_server.py rename to acapy_agent/tails/indy_tails_server.py diff --git a/aries_cloudagent/tails/tests/__init__.py b/acapy_agent/tails/tests/__init__.py similarity index 100% rename from aries_cloudagent/tails/tests/__init__.py rename to acapy_agent/tails/tests/__init__.py diff --git a/aries_cloudagent/tails/tests/test_indy.py b/acapy_agent/tails/tests/test_indy.py similarity index 98% rename from aries_cloudagent/tails/tests/test_indy.py rename to acapy_agent/tails/tests/test_indy.py index dec660e2b2..89bd637f5d 100644 --- a/aries_cloudagent/tails/tests/test_indy.py +++ b/acapy_agent/tails/tests/test_indy.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...config.injection_context import InjectionContext from ...core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/tests/__init__.py b/acapy_agent/tests/__init__.py similarity index 100% rename from aries_cloudagent/tests/__init__.py rename to acapy_agent/tests/__init__.py diff --git a/aries_cloudagent/tests/mock.py b/acapy_agent/tests/mock.py similarity index 100% rename from aries_cloudagent/tests/mock.py rename to acapy_agent/tests/mock.py diff --git a/aries_cloudagent/tests/test_main.py b/acapy_agent/tests/test_main.py similarity index 92% rename from aries_cloudagent/tests/test_main.py rename to acapy_agent/tests/test_main.py index c7093b80b0..ea2d7b0573 100644 --- a/aries_cloudagent/tests/test_main.py +++ b/acapy_agent/tests/test_main.py @@ -16,14 +16,14 @@ def test_main(self): mock_run.assert_called_once_with(args) def test_run(self): - with mock.patch("aries_cloudagent.commands.run_command") as mock_run_command: + with mock.patch("acapy_agent.commands.run_command") as mock_run_command: args = ["aca-py", "--version"] test_module.run(args) mock_run_command.assert_called_once_with(None, args[1:]) def test_run_command(self): - with mock.patch("aries_cloudagent.commands.run_command") as mock_run_command: + with mock.patch("acapy_agent.commands.run_command") as mock_run_command: args = ["aca-py", "dummy-command", "--dummy-arg"] test_module.run(args) diff --git a/aries_cloudagent/transport/__init__.py b/acapy_agent/transport/__init__.py similarity index 100% rename from aries_cloudagent/transport/__init__.py rename to acapy_agent/transport/__init__.py diff --git a/aries_cloudagent/transport/error.py b/acapy_agent/transport/error.py similarity index 100% rename from aries_cloudagent/transport/error.py rename to acapy_agent/transport/error.py diff --git a/aries_cloudagent/transport/inbound/__init__.py b/acapy_agent/transport/inbound/__init__.py similarity index 100% rename from aries_cloudagent/transport/inbound/__init__.py rename to acapy_agent/transport/inbound/__init__.py diff --git a/aries_cloudagent/transport/inbound/base.py b/acapy_agent/transport/inbound/base.py similarity index 100% rename from aries_cloudagent/transport/inbound/base.py rename to acapy_agent/transport/inbound/base.py diff --git a/aries_cloudagent/transport/inbound/delivery_queue.py b/acapy_agent/transport/inbound/delivery_queue.py similarity index 100% rename from aries_cloudagent/transport/inbound/delivery_queue.py rename to acapy_agent/transport/inbound/delivery_queue.py diff --git a/aries_cloudagent/transport/inbound/http.py b/acapy_agent/transport/inbound/http.py similarity index 100% rename from aries_cloudagent/transport/inbound/http.py rename to acapy_agent/transport/inbound/http.py diff --git a/aries_cloudagent/transport/inbound/manager.py b/acapy_agent/transport/inbound/manager.py similarity index 99% rename from aries_cloudagent/transport/inbound/manager.py rename to acapy_agent/transport/inbound/manager.py index cdc3806aa6..0560f63097 100644 --- a/aries_cloudagent/transport/inbound/manager.py +++ b/acapy_agent/transport/inbound/manager.py @@ -21,7 +21,7 @@ from .session import InboundSession LOGGER = logging.getLogger(__name__) -MODULE_BASE_PATH = "aries_cloudagent.transport.inbound" +MODULE_BASE_PATH = "acapy_agent.transport.inbound" class InboundTransportManager: diff --git a/aries_cloudagent/transport/inbound/message.py b/acapy_agent/transport/inbound/message.py similarity index 100% rename from aries_cloudagent/transport/inbound/message.py rename to acapy_agent/transport/inbound/message.py diff --git a/aries_cloudagent/transport/inbound/receipt.py b/acapy_agent/transport/inbound/receipt.py similarity index 100% rename from aries_cloudagent/transport/inbound/receipt.py rename to acapy_agent/transport/inbound/receipt.py diff --git a/aries_cloudagent/transport/inbound/session.py b/acapy_agent/transport/inbound/session.py similarity index 100% rename from aries_cloudagent/transport/inbound/session.py rename to acapy_agent/transport/inbound/session.py diff --git a/aries_cloudagent/transport/inbound/tests/__init__.py b/acapy_agent/transport/inbound/tests/__init__.py similarity index 100% rename from aries_cloudagent/transport/inbound/tests/__init__.py rename to acapy_agent/transport/inbound/tests/__init__.py diff --git a/aries_cloudagent/transport/inbound/tests/test_delivery_queue.py b/acapy_agent/transport/inbound/tests/test_delivery_queue.py similarity index 100% rename from aries_cloudagent/transport/inbound/tests/test_delivery_queue.py rename to acapy_agent/transport/inbound/tests/test_delivery_queue.py diff --git a/aries_cloudagent/transport/inbound/tests/test_http_transport.py b/acapy_agent/transport/inbound/tests/test_http_transport.py similarity index 99% rename from aries_cloudagent/transport/inbound/tests/test_http_transport.py rename to acapy_agent/transport/inbound/tests/test_http_transport.py index bca3b4beb2..28fe64ee5d 100644 --- a/aries_cloudagent/transport/inbound/tests/test_http_transport.py +++ b/acapy_agent/transport/inbound/tests/test_http_transport.py @@ -4,7 +4,7 @@ import pytest from aiohttp.test_utils import AioHTTPTestCase, unused_port -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ....core.in_memory import InMemoryProfile from ....core.profile import Profile diff --git a/aries_cloudagent/transport/inbound/tests/test_manager.py b/acapy_agent/transport/inbound/tests/test_manager.py similarity index 99% rename from aries_cloudagent/transport/inbound/tests/test_manager.py rename to acapy_agent/transport/inbound/tests/test_manager.py index 1856bb9183..a47028a80f 100644 --- a/aries_cloudagent/transport/inbound/tests/test_manager.py +++ b/acapy_agent/transport/inbound/tests/test_manager.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ....core.in_memory import InMemoryProfile from ...outbound.message import OutboundMessage diff --git a/aries_cloudagent/transport/inbound/tests/test_message.py b/acapy_agent/transport/inbound/tests/test_message.py similarity index 100% rename from aries_cloudagent/transport/inbound/tests/test_message.py rename to acapy_agent/transport/inbound/tests/test_message.py diff --git a/aries_cloudagent/transport/inbound/tests/test_session.py b/acapy_agent/transport/inbound/tests/test_session.py similarity index 99% rename from aries_cloudagent/transport/inbound/tests/test_session.py rename to acapy_agent/transport/inbound/tests/test_session.py index 0c937756d3..039dc6dc3a 100644 --- a/aries_cloudagent/transport/inbound/tests/test_session.py +++ b/acapy_agent/transport/inbound/tests/test_session.py @@ -3,7 +3,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ....admin.server import AdminResponder from ....core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/transport/inbound/tests/test_ws_transport.py b/acapy_agent/transport/inbound/tests/test_ws_transport.py similarity index 98% rename from aries_cloudagent/transport/inbound/tests/test_ws_transport.py rename to acapy_agent/transport/inbound/tests/test_ws_transport.py index 7a64732c52..8a916f0dd0 100644 --- a/aries_cloudagent/transport/inbound/tests/test_ws_transport.py +++ b/acapy_agent/transport/inbound/tests/test_ws_transport.py @@ -4,7 +4,7 @@ import pytest from aiohttp.test_utils import AioHTTPTestCase, unused_port -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ....config.injection_context import InjectionContext from ....core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/transport/inbound/ws.py b/acapy_agent/transport/inbound/ws.py similarity index 100% rename from aries_cloudagent/transport/inbound/ws.py rename to acapy_agent/transport/inbound/ws.py diff --git a/aries_cloudagent/transport/outbound/__init__.py b/acapy_agent/transport/outbound/__init__.py similarity index 100% rename from aries_cloudagent/transport/outbound/__init__.py rename to acapy_agent/transport/outbound/__init__.py diff --git a/aries_cloudagent/transport/outbound/base.py b/acapy_agent/transport/outbound/base.py similarity index 100% rename from aries_cloudagent/transport/outbound/base.py rename to acapy_agent/transport/outbound/base.py diff --git a/aries_cloudagent/transport/outbound/http.py b/acapy_agent/transport/outbound/http.py similarity index 100% rename from aries_cloudagent/transport/outbound/http.py rename to acapy_agent/transport/outbound/http.py diff --git a/aries_cloudagent/transport/outbound/manager.py b/acapy_agent/transport/outbound/manager.py similarity index 99% rename from aries_cloudagent/transport/outbound/manager.py rename to acapy_agent/transport/outbound/manager.py index e76c1ea779..2b8712eeb7 100644 --- a/aries_cloudagent/transport/outbound/manager.py +++ b/acapy_agent/transport/outbound/manager.py @@ -23,7 +23,7 @@ from .message import OutboundMessage LOGGER = logging.getLogger(__name__) -MODULE_BASE_PATH = "aries_cloudagent.transport.outbound" +MODULE_BASE_PATH = "acapy_agent.transport.outbound" class OutboundTransportManager: diff --git a/aries_cloudagent/transport/outbound/message.py b/acapy_agent/transport/outbound/message.py similarity index 100% rename from aries_cloudagent/transport/outbound/message.py rename to acapy_agent/transport/outbound/message.py diff --git a/aries_cloudagent/transport/outbound/status.py b/acapy_agent/transport/outbound/status.py similarity index 100% rename from aries_cloudagent/transport/outbound/status.py rename to acapy_agent/transport/outbound/status.py diff --git a/aries_cloudagent/transport/outbound/tests/__init__.py b/acapy_agent/transport/outbound/tests/__init__.py similarity index 100% rename from aries_cloudagent/transport/outbound/tests/__init__.py rename to acapy_agent/transport/outbound/tests/__init__.py diff --git a/aries_cloudagent/transport/outbound/tests/test_http_transport.py b/acapy_agent/transport/outbound/tests/test_http_transport.py similarity index 99% rename from aries_cloudagent/transport/outbound/tests/test_http_transport.py rename to acapy_agent/transport/outbound/tests/test_http_transport.py index 5e164ff88f..7fda474769 100644 --- a/aries_cloudagent/transport/outbound/tests/test_http_transport.py +++ b/acapy_agent/transport/outbound/tests/test_http_transport.py @@ -4,7 +4,7 @@ from aiohttp import web from aiohttp.test_utils import AioHTTPTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ....core.in_memory import InMemoryProfile from ....utils.stats import Collector diff --git a/aries_cloudagent/transport/outbound/tests/test_manager.py b/acapy_agent/transport/outbound/tests/test_manager.py similarity index 99% rename from aries_cloudagent/transport/outbound/tests/test_manager.py rename to acapy_agent/transport/outbound/tests/test_manager.py index aaad6dd2d1..1b79f6739f 100644 --- a/aries_cloudagent/transport/outbound/tests/test_manager.py +++ b/acapy_agent/transport/outbound/tests/test_manager.py @@ -1,7 +1,7 @@ import json from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ....connections.models.connection_target import ConnectionTarget from ....core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/transport/outbound/tests/test_ws_transport.py b/acapy_agent/transport/outbound/tests/test_ws_transport.py similarity index 100% rename from aries_cloudagent/transport/outbound/tests/test_ws_transport.py rename to acapy_agent/transport/outbound/tests/test_ws_transport.py diff --git a/aries_cloudagent/transport/outbound/ws.py b/acapy_agent/transport/outbound/ws.py similarity index 100% rename from aries_cloudagent/transport/outbound/ws.py rename to acapy_agent/transport/outbound/ws.py diff --git a/aries_cloudagent/transport/pack_format.py b/acapy_agent/transport/pack_format.py similarity index 100% rename from aries_cloudagent/transport/pack_format.py rename to acapy_agent/transport/pack_format.py diff --git a/aries_cloudagent/transport/queue/__init__.py b/acapy_agent/transport/queue/__init__.py similarity index 100% rename from aries_cloudagent/transport/queue/__init__.py rename to acapy_agent/transport/queue/__init__.py diff --git a/aries_cloudagent/transport/queue/base.py b/acapy_agent/transport/queue/base.py similarity index 100% rename from aries_cloudagent/transport/queue/base.py rename to acapy_agent/transport/queue/base.py diff --git a/aries_cloudagent/transport/queue/basic.py b/acapy_agent/transport/queue/basic.py similarity index 100% rename from aries_cloudagent/transport/queue/basic.py rename to acapy_agent/transport/queue/basic.py diff --git a/aries_cloudagent/transport/queue/tests/__init__.py b/acapy_agent/transport/queue/tests/__init__.py similarity index 100% rename from aries_cloudagent/transport/queue/tests/__init__.py rename to acapy_agent/transport/queue/tests/__init__.py diff --git a/aries_cloudagent/transport/queue/tests/test_basic_queue.py b/acapy_agent/transport/queue/tests/test_basic_queue.py similarity index 99% rename from aries_cloudagent/transport/queue/tests/test_basic_queue.py rename to acapy_agent/transport/queue/tests/test_basic_queue.py index e29c42794c..6d54899f69 100644 --- a/aries_cloudagent/transport/queue/tests/test_basic_queue.py +++ b/acapy_agent/transport/queue/tests/test_basic_queue.py @@ -1,7 +1,7 @@ import asyncio from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from .. import basic as test_module from ..basic import BasicMessageQueue diff --git a/aries_cloudagent/transport/stats.py b/acapy_agent/transport/stats.py similarity index 100% rename from aries_cloudagent/transport/stats.py rename to acapy_agent/transport/stats.py diff --git a/aries_cloudagent/transport/tests/__init__.py b/acapy_agent/transport/tests/__init__.py similarity index 100% rename from aries_cloudagent/transport/tests/__init__.py rename to acapy_agent/transport/tests/__init__.py diff --git a/aries_cloudagent/transport/tests/test_pack_format.py b/acapy_agent/transport/tests/test_pack_format.py similarity index 99% rename from aries_cloudagent/transport/tests/test_pack_format.py rename to acapy_agent/transport/tests/test_pack_format.py index 4a7c95b929..8468389cd0 100644 --- a/aries_cloudagent/transport/tests/test_pack_format.py +++ b/acapy_agent/transport/tests/test_pack_format.py @@ -5,8 +5,8 @@ from didcomm_messaging import DIDCommMessaging, PackResult from didcomm_messaging.crypto.backend.askar import CryptoServiceError -from aries_cloudagent.tests import mock -from aries_cloudagent.transport.v2_pack_format import V2PackWireFormat +from acapy_agent.tests import mock +from acapy_agent.transport.v2_pack_format import V2PackWireFormat from ...core.in_memory import InMemoryProfile from ...protocols.didcomm_prefix import DIDCommPrefix diff --git a/aries_cloudagent/transport/tests/test_stats.py b/acapy_agent/transport/tests/test_stats.py similarity index 100% rename from aries_cloudagent/transport/tests/test_stats.py rename to acapy_agent/transport/tests/test_stats.py diff --git a/aries_cloudagent/transport/tests/test_wire_format.py b/acapy_agent/transport/tests/test_wire_format.py similarity index 100% rename from aries_cloudagent/transport/tests/test_wire_format.py rename to acapy_agent/transport/tests/test_wire_format.py diff --git a/aries_cloudagent/transport/v2_pack_format.py b/acapy_agent/transport/v2_pack_format.py similarity index 100% rename from aries_cloudagent/transport/v2_pack_format.py rename to acapy_agent/transport/v2_pack_format.py diff --git a/aries_cloudagent/transport/wire_format.py b/acapy_agent/transport/wire_format.py similarity index 100% rename from aries_cloudagent/transport/wire_format.py rename to acapy_agent/transport/wire_format.py diff --git a/aries_cloudagent/utils/__init__.py b/acapy_agent/utils/__init__.py similarity index 100% rename from aries_cloudagent/utils/__init__.py rename to acapy_agent/utils/__init__.py diff --git a/aries_cloudagent/utils/classloader.py b/acapy_agent/utils/classloader.py similarity index 100% rename from aries_cloudagent/utils/classloader.py rename to acapy_agent/utils/classloader.py diff --git a/aries_cloudagent/utils/dependencies.py b/acapy_agent/utils/dependencies.py similarity index 100% rename from aries_cloudagent/utils/dependencies.py rename to acapy_agent/utils/dependencies.py diff --git a/aries_cloudagent/utils/endorsement_setup.py b/acapy_agent/utils/endorsement_setup.py similarity index 100% rename from aries_cloudagent/utils/endorsement_setup.py rename to acapy_agent/utils/endorsement_setup.py diff --git a/aries_cloudagent/utils/env.py b/acapy_agent/utils/env.py similarity index 87% rename from aries_cloudagent/utils/env.py rename to acapy_agent/utils/env.py index ef2a507a00..e42823cff5 100644 --- a/aries_cloudagent/utils/env.py +++ b/acapy_agent/utils/env.py @@ -10,7 +10,7 @@ def storage_path(*subpaths, create: bool = False) -> Path: if custom: path = Path(custom) else: - path = Path.home().joinpath(".aries_cloudagent") + path = Path.home().joinpath(".acapy_agent") if subpaths: path = path.joinpath(*subpaths) if create: diff --git a/aries_cloudagent/utils/general.py b/acapy_agent/utils/general.py similarity index 100% rename from aries_cloudagent/utils/general.py rename to acapy_agent/utils/general.py diff --git a/aries_cloudagent/utils/http.py b/acapy_agent/utils/http.py similarity index 100% rename from aries_cloudagent/utils/http.py rename to acapy_agent/utils/http.py diff --git a/aries_cloudagent/utils/jwe.py b/acapy_agent/utils/jwe.py similarity index 100% rename from aries_cloudagent/utils/jwe.py rename to acapy_agent/utils/jwe.py diff --git a/aries_cloudagent/utils/multi_ledger.py b/acapy_agent/utils/multi_ledger.py similarity index 100% rename from aries_cloudagent/utils/multi_ledger.py rename to acapy_agent/utils/multi_ledger.py diff --git a/aries_cloudagent/utils/multiformats/__init__.py b/acapy_agent/utils/multiformats/__init__.py similarity index 100% rename from aries_cloudagent/utils/multiformats/__init__.py rename to acapy_agent/utils/multiformats/__init__.py diff --git a/aries_cloudagent/utils/multiformats/multibase.py b/acapy_agent/utils/multiformats/multibase.py similarity index 100% rename from aries_cloudagent/utils/multiformats/multibase.py rename to acapy_agent/utils/multiformats/multibase.py diff --git a/aries_cloudagent/utils/multiformats/multicodec.py b/acapy_agent/utils/multiformats/multicodec.py similarity index 100% rename from aries_cloudagent/utils/multiformats/multicodec.py rename to acapy_agent/utils/multiformats/multicodec.py diff --git a/aries_cloudagent/utils/outofband.py b/acapy_agent/utils/outofband.py similarity index 100% rename from aries_cloudagent/utils/outofband.py rename to acapy_agent/utils/outofband.py diff --git a/aries_cloudagent/utils/profiles.py b/acapy_agent/utils/profiles.py similarity index 100% rename from aries_cloudagent/utils/profiles.py rename to acapy_agent/utils/profiles.py diff --git a/aries_cloudagent/utils/repeat.py b/acapy_agent/utils/repeat.py similarity index 100% rename from aries_cloudagent/utils/repeat.py rename to acapy_agent/utils/repeat.py diff --git a/aries_cloudagent/utils/stats.py b/acapy_agent/utils/stats.py similarity index 100% rename from aries_cloudagent/utils/stats.py rename to acapy_agent/utils/stats.py diff --git a/aries_cloudagent/utils/task_queue.py b/acapy_agent/utils/task_queue.py similarity index 100% rename from aries_cloudagent/utils/task_queue.py rename to acapy_agent/utils/task_queue.py diff --git a/aries_cloudagent/utils/tests/__init__.py b/acapy_agent/utils/tests/__init__.py similarity index 100% rename from aries_cloudagent/utils/tests/__init__.py rename to acapy_agent/utils/tests/__init__.py diff --git a/aries_cloudagent/utils/tests/test_classloader.py b/acapy_agent/utils/tests/test_classloader.py similarity index 58% rename from aries_cloudagent/utils/tests/test_classloader.py rename to acapy_agent/utils/tests/test_classloader.py index 7d86ae5744..5a9c8be5e5 100644 --- a/aries_cloudagent/utils/tests/test_classloader.py +++ b/acapy_agent/utils/tests/test_classloader.py @@ -12,34 +12,34 @@ def test_import_loaded(self): def test_import_local(self): with mock.patch.object(test_module.sys, "modules", {}): assert ( - ClassLoader.load_module("aries_cloudagent.transport").__name__ - == "aries_cloudagent.transport" + ClassLoader.load_module("acapy_agent.transport").__name__ + == "acapy_agent.transport" ) def test_import_relative(self): with mock.patch.object(test_module.sys, "modules", {}): assert ( - ClassLoader.load_module("transport", "aries_cloudagent").__name__ - == "aries_cloudagent.transport" + ClassLoader.load_module("transport", "acapy_agent").__name__ + == "acapy_agent.transport" ) with mock.patch.object(test_module.sys, "modules", {}): assert ( - ClassLoader.load_module(".transport", "aries_cloudagent").__name__ - == "aries_cloudagent.transport" + ClassLoader.load_module(".transport", "acapy_agent").__name__ + == "acapy_agent.transport" ) with mock.patch.object(test_module.sys, "modules", {}): assert ( - ClassLoader.load_module("..transport", "aries_cloudagent.config").__name__ - == "aries_cloudagent.transport" + ClassLoader.load_module("..transport", "acapy_agent.config").__name__ + == "acapy_agent.transport" ) def test_import_missing(self): with mock.patch.object(test_module.sys, "modules", {}): - assert ClassLoader.load_module("aries_cloudagent.not") is None + assert ClassLoader.load_module("acapy_agent.not") is None with mock.patch.object(test_module.sys, "modules", {}): - assert ClassLoader.load_module("aries_cloudagent.not.a-module") is None + assert ClassLoader.load_module("acapy_agent.not.a-module") is None with mock.patch.object(test_module.sys, "modules", {}): - assert ClassLoader.load_module("aries_cloudagent", "not.a-module") is None + assert ClassLoader.load_module("acapy_agent", "not.a-module") is None def test_import_error(self): with mock.patch.object( @@ -47,7 +47,7 @@ def test_import_error(self): ) as import_module, mock.patch.object(test_module.sys, "modules", {}): import_module.side_effect = ModuleNotFoundError with self.assertRaises(ModuleLoadError): - ClassLoader.load_module("aries_cloudagent.config") + ClassLoader.load_module("acapy_agent.config") def test_load_class(self): assert ClassLoader.load_class("TestCase", "unittest") is TestCase @@ -58,28 +58,28 @@ def test_load_class_missing(self): # with no default module assert ClassLoader.load_class("NotAClass") with self.assertRaises(ClassNotFoundError): - assert ClassLoader.load_class("aries_cloudagent.NotAClass") + assert ClassLoader.load_class("acapy_agent.NotAClass") with self.assertRaises(ClassNotFoundError): assert ClassLoader.load_class("not-a-module.NotAClass") with self.assertRaises(ClassNotFoundError): # should be a string, not a type - assert ClassLoader.load_class("aries_cloudagent.version.__version__") + assert ClassLoader.load_class("acapy_agent.version.__version__") def test_load_subclass(self): - assert ClassLoader.load_subclass_of(BaseError, "aries_cloudagent.config.base") + assert ClassLoader.load_subclass_of(BaseError, "acapy_agent.config.base") def test_load_subclass_missing(self): with self.assertRaises(ClassNotFoundError): - assert ClassLoader.load_subclass_of(TestCase, "aries_cloudagent.config.base") + assert ClassLoader.load_subclass_of(TestCase, "acapy_agent.config.base") with self.assertRaises(ClassNotFoundError): - assert ClassLoader.load_subclass_of(TestCase, "aries_cloudagent.not-a-module") + assert ClassLoader.load_subclass_of(TestCase, "acapy_agent.not-a-module") def test_scan_packages(self): - pkgs = ClassLoader.scan_subpackages("aries_cloudagent") - assert "aries_cloudagent.transport" in pkgs - pkgs = ClassLoader.scan_subpackages("aries_cloudagent.transport") - assert "aries_cloudagent.transport.inbound" in pkgs + pkgs = ClassLoader.scan_subpackages("acapy_agent") + assert "acapy_agent.transport" in pkgs + pkgs = ClassLoader.scan_subpackages("acapy_agent.transport") + assert "acapy_agent.transport.inbound" in pkgs def test_scan_packages_missing(self): with self.assertRaises(ModuleLoadError): - ClassLoader.scan_subpackages("aries_cloudagent.not-a-module") + ClassLoader.scan_subpackages("acapy_agent.not-a-module") diff --git a/aries_cloudagent/utils/tests/test_endorsement_setup.py b/acapy_agent/utils/tests/test_endorsement_setup.py similarity index 98% rename from aries_cloudagent/utils/tests/test_endorsement_setup.py rename to acapy_agent/utils/tests/test_endorsement_setup.py index 3e4f17de5b..80164dd42f 100644 --- a/aries_cloudagent/utils/tests/test_endorsement_setup.py +++ b/acapy_agent/utils/tests/test_endorsement_setup.py @@ -1,6 +1,6 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ...connections.models.conn_record import ConnRecord from ...core.in_memory.profile import InMemoryProfile diff --git a/aries_cloudagent/utils/tests/test_http.py b/acapy_agent/utils/tests/test_http.py similarity index 100% rename from aries_cloudagent/utils/tests/test_http.py rename to acapy_agent/utils/tests/test_http.py diff --git a/aries_cloudagent/utils/tests/test_jwe.py b/acapy_agent/utils/tests/test_jwe.py similarity index 100% rename from aries_cloudagent/utils/tests/test_jwe.py rename to acapy_agent/utils/tests/test_jwe.py diff --git a/aries_cloudagent/utils/tests/test_multiformats.py b/acapy_agent/utils/tests/test_multiformats.py similarity index 100% rename from aries_cloudagent/utils/tests/test_multiformats.py rename to acapy_agent/utils/tests/test_multiformats.py diff --git a/aries_cloudagent/utils/tests/test_outofband.py b/acapy_agent/utils/tests/test_outofband.py similarity index 100% rename from aries_cloudagent/utils/tests/test_outofband.py rename to acapy_agent/utils/tests/test_outofband.py diff --git a/aries_cloudagent/utils/tests/test_repeat.py b/acapy_agent/utils/tests/test_repeat.py similarity index 100% rename from aries_cloudagent/utils/tests/test_repeat.py rename to acapy_agent/utils/tests/test_repeat.py diff --git a/aries_cloudagent/utils/tests/test_stats.py b/acapy_agent/utils/tests/test_stats.py similarity index 100% rename from aries_cloudagent/utils/tests/test_stats.py rename to acapy_agent/utils/tests/test_stats.py diff --git a/aries_cloudagent/utils/tests/test_task_queue.py b/acapy_agent/utils/tests/test_task_queue.py similarity index 99% rename from aries_cloudagent/utils/tests/test_task_queue.py rename to acapy_agent/utils/tests/test_task_queue.py index 3b7d052249..26815e87cc 100644 --- a/aries_cloudagent/utils/tests/test_task_queue.py +++ b/acapy_agent/utils/tests/test_task_queue.py @@ -1,7 +1,7 @@ import asyncio from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ..task_queue import CompletedTask, PendingTask, TaskQueue, task_exc_info diff --git a/aries_cloudagent/utils/tests/test_tracing.py b/acapy_agent/utils/tests/test_tracing.py similarity index 100% rename from aries_cloudagent/utils/tests/test_tracing.py rename to acapy_agent/utils/tests/test_tracing.py diff --git a/aries_cloudagent/utils/tracing.py b/acapy_agent/utils/tracing.py similarity index 100% rename from aries_cloudagent/utils/tracing.py rename to acapy_agent/utils/tracing.py diff --git a/aries_cloudagent/vc/__init__.py b/acapy_agent/vc/__init__.py similarity index 100% rename from aries_cloudagent/vc/__init__.py rename to acapy_agent/vc/__init__.py diff --git a/aries_cloudagent/vc/data_integrity/__init__.py b/acapy_agent/vc/data_integrity/__init__.py similarity index 100% rename from aries_cloudagent/vc/data_integrity/__init__.py rename to acapy_agent/vc/data_integrity/__init__.py diff --git a/aries_cloudagent/vc/data_integrity/cryptosuites/__init__.py b/acapy_agent/vc/data_integrity/cryptosuites/__init__.py similarity index 100% rename from aries_cloudagent/vc/data_integrity/cryptosuites/__init__.py rename to acapy_agent/vc/data_integrity/cryptosuites/__init__.py diff --git a/aries_cloudagent/vc/data_integrity/cryptosuites/eddsa_jcs_2022.py b/acapy_agent/vc/data_integrity/cryptosuites/eddsa_jcs_2022.py similarity index 100% rename from aries_cloudagent/vc/data_integrity/cryptosuites/eddsa_jcs_2022.py rename to acapy_agent/vc/data_integrity/cryptosuites/eddsa_jcs_2022.py diff --git a/aries_cloudagent/vc/data_integrity/errors.py b/acapy_agent/vc/data_integrity/errors.py similarity index 100% rename from aries_cloudagent/vc/data_integrity/errors.py rename to acapy_agent/vc/data_integrity/errors.py diff --git a/aries_cloudagent/vc/data_integrity/manager.py b/acapy_agent/vc/data_integrity/manager.py similarity index 100% rename from aries_cloudagent/vc/data_integrity/manager.py rename to acapy_agent/vc/data_integrity/manager.py diff --git a/aries_cloudagent/vc/data_integrity/models/__init__.py b/acapy_agent/vc/data_integrity/models/__init__.py similarity index 100% rename from aries_cloudagent/vc/data_integrity/models/__init__.py rename to acapy_agent/vc/data_integrity/models/__init__.py diff --git a/aries_cloudagent/vc/data_integrity/models/options.py b/acapy_agent/vc/data_integrity/models/options.py similarity index 100% rename from aries_cloudagent/vc/data_integrity/models/options.py rename to acapy_agent/vc/data_integrity/models/options.py diff --git a/aries_cloudagent/vc/data_integrity/models/proof.py b/acapy_agent/vc/data_integrity/models/proof.py similarity index 100% rename from aries_cloudagent/vc/data_integrity/models/proof.py rename to acapy_agent/vc/data_integrity/models/proof.py diff --git a/aries_cloudagent/vc/data_integrity/models/verification_response.py b/acapy_agent/vc/data_integrity/models/verification_response.py similarity index 100% rename from aries_cloudagent/vc/data_integrity/models/verification_response.py rename to acapy_agent/vc/data_integrity/models/verification_response.py diff --git a/aries_cloudagent/vc/data_integrity/routes.py b/acapy_agent/vc/data_integrity/routes.py similarity index 100% rename from aries_cloudagent/vc/data_integrity/routes.py rename to acapy_agent/vc/data_integrity/routes.py diff --git a/aries_cloudagent/vc/data_integrity/tests/test_cryptosuites.py b/acapy_agent/vc/data_integrity/tests/test_cryptosuites.py similarity index 83% rename from aries_cloudagent/vc/data_integrity/tests/test_cryptosuites.py rename to acapy_agent/vc/data_integrity/tests/test_cryptosuites.py index 405076324c..4983a4856f 100644 --- a/aries_cloudagent/vc/data_integrity/tests/test_cryptosuites.py +++ b/acapy_agent/vc/data_integrity/tests/test_cryptosuites.py @@ -1,13 +1,14 @@ """Test Data Integrity Cryptosuites.""" from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.wallet.keys.manager import MultikeyManager -from aries_cloudagent.vc.data_integrity.cryptosuites import EddsaJcs2022 -from aries_cloudagent.core.in_memory import InMemoryProfile -from aries_cloudagent.vc.data_integrity.models.options import DataIntegrityProofOptions -from aries_cloudagent.resolver.default.key import KeyDIDResolver -from aries_cloudagent.resolver.default.web import WebDIDResolver -from aries_cloudagent.resolver.did_resolver import DIDResolver + +from acapy_agent.core.in_memory import InMemoryProfile +from acapy_agent.resolver.default.key import KeyDIDResolver +from acapy_agent.resolver.default.web import WebDIDResolver +from acapy_agent.resolver.did_resolver import DIDResolver +from acapy_agent.vc.data_integrity.cryptosuites import EddsaJcs2022 +from acapy_agent.vc.data_integrity.models.options import DataIntegrityProofOptions +from acapy_agent.wallet.keys.manager import MultikeyManager class TestEddsaJcs2022(IsolatedAsyncioTestCase): diff --git a/aries_cloudagent/vc/data_integrity/tests/test_manager.py b/acapy_agent/vc/data_integrity/tests/test_manager.py similarity index 90% rename from aries_cloudagent/vc/data_integrity/tests/test_manager.py rename to acapy_agent/vc/data_integrity/tests/test_manager.py index 65f266f93c..c52669f841 100644 --- a/aries_cloudagent/vc/data_integrity/tests/test_manager.py +++ b/acapy_agent/vc/data_integrity/tests/test_manager.py @@ -1,13 +1,14 @@ """Test DataIntegrityManager.""" from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.wallet.keys.manager import MultikeyManager -from aries_cloudagent.core.in_memory import InMemoryProfile -from aries_cloudagent.vc.data_integrity.manager import DataIntegrityManager -from aries_cloudagent.vc.data_integrity.models.options import DataIntegrityProofOptions -from aries_cloudagent.resolver.default.key import KeyDIDResolver -from aries_cloudagent.resolver.default.web import WebDIDResolver -from aries_cloudagent.resolver.did_resolver import DIDResolver + +from acapy_agent.core.in_memory import InMemoryProfile +from acapy_agent.resolver.default.key import KeyDIDResolver +from acapy_agent.resolver.default.web import WebDIDResolver +from acapy_agent.resolver.did_resolver import DIDResolver +from acapy_agent.vc.data_integrity.manager import DataIntegrityManager +from acapy_agent.vc.data_integrity.models.options import DataIntegrityProofOptions +from acapy_agent.wallet.keys.manager import MultikeyManager class TestDiManager(IsolatedAsyncioTestCase): diff --git a/aries_cloudagent/vc/ld_proofs/__init__.py b/acapy_agent/vc/ld_proofs/__init__.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/__init__.py rename to acapy_agent/vc/ld_proofs/__init__.py diff --git a/aries_cloudagent/vc/ld_proofs/check.py b/acapy_agent/vc/ld_proofs/check.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/check.py rename to acapy_agent/vc/ld_proofs/check.py diff --git a/aries_cloudagent/vc/ld_proofs/constants.py b/acapy_agent/vc/ld_proofs/constants.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/constants.py rename to acapy_agent/vc/ld_proofs/constants.py diff --git a/aries_cloudagent/vc/ld_proofs/crypto/__init__.py b/acapy_agent/vc/ld_proofs/crypto/__init__.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/crypto/__init__.py rename to acapy_agent/vc/ld_proofs/crypto/__init__.py diff --git a/aries_cloudagent/vc/ld_proofs/crypto/key_pair.py b/acapy_agent/vc/ld_proofs/crypto/key_pair.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/crypto/key_pair.py rename to acapy_agent/vc/ld_proofs/crypto/key_pair.py diff --git a/aries_cloudagent/vc/ld_proofs/crypto/tests/__init__.py b/acapy_agent/vc/ld_proofs/crypto/tests/__init__.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/crypto/tests/__init__.py rename to acapy_agent/vc/ld_proofs/crypto/tests/__init__.py diff --git a/aries_cloudagent/vc/ld_proofs/crypto/tests/test_wallet_key_pair.py b/acapy_agent/vc/ld_proofs/crypto/tests/test_wallet_key_pair.py similarity index 96% rename from aries_cloudagent/vc/ld_proofs/crypto/tests/test_wallet_key_pair.py rename to acapy_agent/vc/ld_proofs/crypto/tests/test_wallet_key_pair.py index 026df73b26..59eaaf6026 100644 --- a/aries_cloudagent/vc/ld_proofs/crypto/tests/test_wallet_key_pair.py +++ b/acapy_agent/vc/ld_proofs/crypto/tests/test_wallet_key_pair.py @@ -1,7 +1,7 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock -from aries_cloudagent.wallet.key_type import ED25519 +from acapy_agent.tests import mock +from acapy_agent.wallet.key_type import ED25519 from .....core.in_memory import InMemoryProfile from .....wallet.in_memory import InMemoryWallet diff --git a/aries_cloudagent/vc/ld_proofs/crypto/wallet_key_pair.py b/acapy_agent/vc/ld_proofs/crypto/wallet_key_pair.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/crypto/wallet_key_pair.py rename to acapy_agent/vc/ld_proofs/crypto/wallet_key_pair.py diff --git a/aries_cloudagent/vc/ld_proofs/document_downloader.py b/acapy_agent/vc/ld_proofs/document_downloader.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/document_downloader.py rename to acapy_agent/vc/ld_proofs/document_downloader.py diff --git a/aries_cloudagent/vc/ld_proofs/document_loader.py b/acapy_agent/vc/ld_proofs/document_loader.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/document_loader.py rename to acapy_agent/vc/ld_proofs/document_loader.py diff --git a/aries_cloudagent/vc/ld_proofs/error.py b/acapy_agent/vc/ld_proofs/error.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/error.py rename to acapy_agent/vc/ld_proofs/error.py diff --git a/aries_cloudagent/vc/ld_proofs/ld_proofs.py b/acapy_agent/vc/ld_proofs/ld_proofs.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/ld_proofs.py rename to acapy_agent/vc/ld_proofs/ld_proofs.py diff --git a/aries_cloudagent/vc/ld_proofs/proof_set.py b/acapy_agent/vc/ld_proofs/proof_set.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/proof_set.py rename to acapy_agent/vc/ld_proofs/proof_set.py diff --git a/aries_cloudagent/vc/ld_proofs/purposes/__init__.py b/acapy_agent/vc/ld_proofs/purposes/__init__.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/purposes/__init__.py rename to acapy_agent/vc/ld_proofs/purposes/__init__.py diff --git a/aries_cloudagent/vc/ld_proofs/purposes/assertion_proof_purpose.py b/acapy_agent/vc/ld_proofs/purposes/assertion_proof_purpose.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/purposes/assertion_proof_purpose.py rename to acapy_agent/vc/ld_proofs/purposes/assertion_proof_purpose.py diff --git a/aries_cloudagent/vc/ld_proofs/purposes/authentication_proof_purpose.py b/acapy_agent/vc/ld_proofs/purposes/authentication_proof_purpose.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/purposes/authentication_proof_purpose.py rename to acapy_agent/vc/ld_proofs/purposes/authentication_proof_purpose.py diff --git a/aries_cloudagent/vc/ld_proofs/purposes/controller_proof_purpose.py b/acapy_agent/vc/ld_proofs/purposes/controller_proof_purpose.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/purposes/controller_proof_purpose.py rename to acapy_agent/vc/ld_proofs/purposes/controller_proof_purpose.py diff --git a/aries_cloudagent/vc/ld_proofs/purposes/credential_issuance_purpose.py b/acapy_agent/vc/ld_proofs/purposes/credential_issuance_purpose.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/purposes/credential_issuance_purpose.py rename to acapy_agent/vc/ld_proofs/purposes/credential_issuance_purpose.py diff --git a/aries_cloudagent/vc/ld_proofs/purposes/proof_purpose.py b/acapy_agent/vc/ld_proofs/purposes/proof_purpose.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/purposes/proof_purpose.py rename to acapy_agent/vc/ld_proofs/purposes/proof_purpose.py diff --git a/aries_cloudagent/vc/ld_proofs/purposes/tests/__init__.py b/acapy_agent/vc/ld_proofs/purposes/tests/__init__.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/purposes/tests/__init__.py rename to acapy_agent/vc/ld_proofs/purposes/tests/__init__.py diff --git a/aries_cloudagent/vc/ld_proofs/purposes/tests/test_authentication_proof_purpose.py b/acapy_agent/vc/ld_proofs/purposes/tests/test_authentication_proof_purpose.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/purposes/tests/test_authentication_proof_purpose.py rename to acapy_agent/vc/ld_proofs/purposes/tests/test_authentication_proof_purpose.py diff --git a/aries_cloudagent/vc/ld_proofs/purposes/tests/test_controller_proof_purpose.py b/acapy_agent/vc/ld_proofs/purposes/tests/test_controller_proof_purpose.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/purposes/tests/test_controller_proof_purpose.py rename to acapy_agent/vc/ld_proofs/purposes/tests/test_controller_proof_purpose.py diff --git a/aries_cloudagent/vc/ld_proofs/purposes/tests/test_credential_issuance_purpose.py b/acapy_agent/vc/ld_proofs/purposes/tests/test_credential_issuance_purpose.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/purposes/tests/test_credential_issuance_purpose.py rename to acapy_agent/vc/ld_proofs/purposes/tests/test_credential_issuance_purpose.py diff --git a/aries_cloudagent/vc/ld_proofs/purposes/tests/test_proof_purpose.py b/acapy_agent/vc/ld_proofs/purposes/tests/test_proof_purpose.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/purposes/tests/test_proof_purpose.py rename to acapy_agent/vc/ld_proofs/purposes/tests/test_proof_purpose.py diff --git a/aries_cloudagent/vc/ld_proofs/resources/__init__.py b/acapy_agent/vc/ld_proofs/resources/__init__.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/resources/__init__.py rename to acapy_agent/vc/ld_proofs/resources/__init__.py diff --git a/aries_cloudagent/vc/ld_proofs/resources/bbs-v1-context.jsonld b/acapy_agent/vc/ld_proofs/resources/bbs-v1-context.jsonld similarity index 100% rename from aries_cloudagent/vc/ld_proofs/resources/bbs-v1-context.jsonld rename to acapy_agent/vc/ld_proofs/resources/bbs-v1-context.jsonld diff --git a/aries_cloudagent/vc/ld_proofs/resources/credentials_context.jsonld b/acapy_agent/vc/ld_proofs/resources/credentials_context.jsonld similarity index 100% rename from aries_cloudagent/vc/ld_proofs/resources/credentials_context.jsonld rename to acapy_agent/vc/ld_proofs/resources/credentials_context.jsonld diff --git a/aries_cloudagent/vc/ld_proofs/resources/did_documents_context.jsonld b/acapy_agent/vc/ld_proofs/resources/did_documents_context.jsonld similarity index 100% rename from aries_cloudagent/vc/ld_proofs/resources/did_documents_context.jsonld rename to acapy_agent/vc/ld_proofs/resources/did_documents_context.jsonld diff --git a/aries_cloudagent/vc/ld_proofs/resources/dif-presentation-exchange-submission-v1.jsonld b/acapy_agent/vc/ld_proofs/resources/dif-presentation-exchange-submission-v1.jsonld similarity index 100% rename from aries_cloudagent/vc/ld_proofs/resources/dif-presentation-exchange-submission-v1.jsonld rename to acapy_agent/vc/ld_proofs/resources/dif-presentation-exchange-submission-v1.jsonld diff --git a/aries_cloudagent/vc/ld_proofs/resources/ed25519-2020-context.jsonld b/acapy_agent/vc/ld_proofs/resources/ed25519-2020-context.jsonld similarity index 100% rename from aries_cloudagent/vc/ld_proofs/resources/ed25519-2020-context.jsonld rename to acapy_agent/vc/ld_proofs/resources/ed25519-2020-context.jsonld diff --git a/aries_cloudagent/vc/ld_proofs/resources/security-v1-context.jsonld b/acapy_agent/vc/ld_proofs/resources/security-v1-context.jsonld similarity index 100% rename from aries_cloudagent/vc/ld_proofs/resources/security-v1-context.jsonld rename to acapy_agent/vc/ld_proofs/resources/security-v1-context.jsonld diff --git a/aries_cloudagent/vc/ld_proofs/resources/security-v2-context.jsonld b/acapy_agent/vc/ld_proofs/resources/security-v2-context.jsonld similarity index 100% rename from aries_cloudagent/vc/ld_proofs/resources/security-v2-context.jsonld rename to acapy_agent/vc/ld_proofs/resources/security-v2-context.jsonld diff --git a/aries_cloudagent/vc/ld_proofs/resources/status_list_context.jsonld b/acapy_agent/vc/ld_proofs/resources/status_list_context.jsonld similarity index 100% rename from aries_cloudagent/vc/ld_proofs/resources/status_list_context.jsonld rename to acapy_agent/vc/ld_proofs/resources/status_list_context.jsonld diff --git a/aries_cloudagent/vc/ld_proofs/suites/__init__.py b/acapy_agent/vc/ld_proofs/suites/__init__.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/suites/__init__.py rename to acapy_agent/vc/ld_proofs/suites/__init__.py diff --git a/aries_cloudagent/vc/ld_proofs/suites/bbs_bls_signature_2020.py b/acapy_agent/vc/ld_proofs/suites/bbs_bls_signature_2020.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/suites/bbs_bls_signature_2020.py rename to acapy_agent/vc/ld_proofs/suites/bbs_bls_signature_2020.py diff --git a/aries_cloudagent/vc/ld_proofs/suites/bbs_bls_signature_2020_base.py b/acapy_agent/vc/ld_proofs/suites/bbs_bls_signature_2020_base.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/suites/bbs_bls_signature_2020_base.py rename to acapy_agent/vc/ld_proofs/suites/bbs_bls_signature_2020_base.py diff --git a/aries_cloudagent/vc/ld_proofs/suites/bbs_bls_signature_proof_2020.py b/acapy_agent/vc/ld_proofs/suites/bbs_bls_signature_proof_2020.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/suites/bbs_bls_signature_proof_2020.py rename to acapy_agent/vc/ld_proofs/suites/bbs_bls_signature_proof_2020.py diff --git a/aries_cloudagent/vc/ld_proofs/suites/ed25519_signature_2018.py b/acapy_agent/vc/ld_proofs/suites/ed25519_signature_2018.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/suites/ed25519_signature_2018.py rename to acapy_agent/vc/ld_proofs/suites/ed25519_signature_2018.py diff --git a/aries_cloudagent/vc/ld_proofs/suites/ed25519_signature_2020.py b/acapy_agent/vc/ld_proofs/suites/ed25519_signature_2020.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/suites/ed25519_signature_2020.py rename to acapy_agent/vc/ld_proofs/suites/ed25519_signature_2020.py diff --git a/aries_cloudagent/vc/ld_proofs/suites/jws_linked_data_signature.py b/acapy_agent/vc/ld_proofs/suites/jws_linked_data_signature.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/suites/jws_linked_data_signature.py rename to acapy_agent/vc/ld_proofs/suites/jws_linked_data_signature.py diff --git a/aries_cloudagent/vc/ld_proofs/suites/linked_data_proof.py b/acapy_agent/vc/ld_proofs/suites/linked_data_proof.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/suites/linked_data_proof.py rename to acapy_agent/vc/ld_proofs/suites/linked_data_proof.py diff --git a/aries_cloudagent/vc/ld_proofs/suites/linked_data_signature.py b/acapy_agent/vc/ld_proofs/suites/linked_data_signature.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/suites/linked_data_signature.py rename to acapy_agent/vc/ld_proofs/suites/linked_data_signature.py diff --git a/aries_cloudagent/vc/ld_proofs/suites/tests/__init__.py b/acapy_agent/vc/ld_proofs/suites/tests/__init__.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/suites/tests/__init__.py rename to acapy_agent/vc/ld_proofs/suites/tests/__init__.py diff --git a/aries_cloudagent/vc/ld_proofs/suites/tests/test_bbs_bls_signature_2020.py b/acapy_agent/vc/ld_proofs/suites/tests/test_bbs_bls_signature_2020.py similarity index 98% rename from aries_cloudagent/vc/ld_proofs/suites/tests/test_bbs_bls_signature_2020.py rename to acapy_agent/vc/ld_proofs/suites/tests/test_bbs_bls_signature_2020.py index bc32f17e35..cf20098ce4 100644 --- a/aries_cloudagent/vc/ld_proofs/suites/tests/test_bbs_bls_signature_2020.py +++ b/acapy_agent/vc/ld_proofs/suites/tests/test_bbs_bls_signature_2020.py @@ -2,7 +2,7 @@ import pytest -from aries_cloudagent.wallet.key_type import BLS12381G2 +from acapy_agent.wallet.key_type import BLS12381G2 from .....core.in_memory import InMemoryProfile from .....did.did_key import DIDKey diff --git a/aries_cloudagent/vc/ld_proofs/suites/tests/test_bbs_bls_signature_proof_2020.py b/acapy_agent/vc/ld_proofs/suites/tests/test_bbs_bls_signature_proof_2020.py similarity index 99% rename from aries_cloudagent/vc/ld_proofs/suites/tests/test_bbs_bls_signature_proof_2020.py rename to acapy_agent/vc/ld_proofs/suites/tests/test_bbs_bls_signature_proof_2020.py index 7cb69a7d82..483e8b403f 100644 --- a/aries_cloudagent/vc/ld_proofs/suites/tests/test_bbs_bls_signature_proof_2020.py +++ b/acapy_agent/vc/ld_proofs/suites/tests/test_bbs_bls_signature_proof_2020.py @@ -2,7 +2,7 @@ import pytest -from aries_cloudagent.wallet.key_type import BLS12381G2 +from acapy_agent.wallet.key_type import BLS12381G2 from .....core.in_memory import InMemoryProfile from .....did.did_key import DIDKey diff --git a/aries_cloudagent/vc/ld_proofs/suites/tests/test_ed25519_signature_2018.py b/acapy_agent/vc/ld_proofs/suites/tests/test_ed25519_signature_2018.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/suites/tests/test_ed25519_signature_2018.py rename to acapy_agent/vc/ld_proofs/suites/tests/test_ed25519_signature_2018.py diff --git a/aries_cloudagent/vc/ld_proofs/suites/tests/test_ed25519_signature_2020.py b/acapy_agent/vc/ld_proofs/suites/tests/test_ed25519_signature_2020.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/suites/tests/test_ed25519_signature_2020.py rename to acapy_agent/vc/ld_proofs/suites/tests/test_ed25519_signature_2020.py diff --git a/aries_cloudagent/vc/ld_proofs/tests/__init__.py b/acapy_agent/vc/ld_proofs/tests/__init__.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/tests/__init__.py rename to acapy_agent/vc/ld_proofs/tests/__init__.py diff --git a/aries_cloudagent/vc/ld_proofs/tests/test_check.py b/acapy_agent/vc/ld_proofs/tests/test_check.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/tests/test_check.py rename to acapy_agent/vc/ld_proofs/tests/test_check.py diff --git a/aries_cloudagent/vc/ld_proofs/tests/test_doc.py b/acapy_agent/vc/ld_proofs/tests/test_doc.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/tests/test_doc.py rename to acapy_agent/vc/ld_proofs/tests/test_doc.py diff --git a/aries_cloudagent/vc/ld_proofs/tests/test_document_downloader.py b/acapy_agent/vc/ld_proofs/tests/test_document_downloader.py similarity index 90% rename from aries_cloudagent/vc/ld_proofs/tests/test_document_downloader.py rename to acapy_agent/vc/ld_proofs/tests/test_document_downloader.py index ba3a9cf41b..bd8fc50281 100644 --- a/aries_cloudagent/vc/ld_proofs/tests/test_document_downloader.py +++ b/acapy_agent/vc/ld_proofs/tests/test_document_downloader.py @@ -1,6 +1,6 @@ from unittest.mock import Mock -from aries_cloudagent.vc.ld_proofs.document_downloader import ( +from acapy_agent.vc.ld_proofs.document_downloader import ( StaticCacheJsonLdDownloader, ) diff --git a/aries_cloudagent/vc/ld_proofs/tests/test_ld_proofs.py b/acapy_agent/vc/ld_proofs/tests/test_ld_proofs.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/tests/test_ld_proofs.py rename to acapy_agent/vc/ld_proofs/tests/test_ld_proofs.py diff --git a/aries_cloudagent/vc/ld_proofs/validation_result.py b/acapy_agent/vc/ld_proofs/validation_result.py similarity index 100% rename from aries_cloudagent/vc/ld_proofs/validation_result.py rename to acapy_agent/vc/ld_proofs/validation_result.py diff --git a/aries_cloudagent/vc/routes.py b/acapy_agent/vc/routes.py similarity index 100% rename from aries_cloudagent/vc/routes.py rename to acapy_agent/vc/routes.py diff --git a/aries_cloudagent/vc/tests/__init__.py b/acapy_agent/vc/tests/__init__.py similarity index 100% rename from aries_cloudagent/vc/tests/__init__.py rename to acapy_agent/vc/tests/__init__.py diff --git a/aries_cloudagent/vc/tests/contexts/__init__.py b/acapy_agent/vc/tests/contexts/__init__.py similarity index 100% rename from aries_cloudagent/vc/tests/contexts/__init__.py rename to acapy_agent/vc/tests/contexts/__init__.py diff --git a/aries_cloudagent/vc/tests/contexts/bbs_v1.py b/acapy_agent/vc/tests/contexts/bbs_v1.py similarity index 100% rename from aries_cloudagent/vc/tests/contexts/bbs_v1.py rename to acapy_agent/vc/tests/contexts/bbs_v1.py diff --git a/aries_cloudagent/vc/tests/contexts/citizenship_v1.py b/acapy_agent/vc/tests/contexts/citizenship_v1.py similarity index 100% rename from aries_cloudagent/vc/tests/contexts/citizenship_v1.py rename to acapy_agent/vc/tests/contexts/citizenship_v1.py diff --git a/aries_cloudagent/vc/tests/contexts/credentials_v1.py b/acapy_agent/vc/tests/contexts/credentials_v1.py similarity index 100% rename from aries_cloudagent/vc/tests/contexts/credentials_v1.py rename to acapy_agent/vc/tests/contexts/credentials_v1.py diff --git a/aries_cloudagent/vc/tests/contexts/did_v1.py b/acapy_agent/vc/tests/contexts/did_v1.py similarity index 100% rename from aries_cloudagent/vc/tests/contexts/did_v1.py rename to acapy_agent/vc/tests/contexts/did_v1.py diff --git a/aries_cloudagent/vc/tests/contexts/dif_presentation_submission_v1.py b/acapy_agent/vc/tests/contexts/dif_presentation_submission_v1.py similarity index 100% rename from aries_cloudagent/vc/tests/contexts/dif_presentation_submission_v1.py rename to acapy_agent/vc/tests/contexts/dif_presentation_submission_v1.py diff --git a/aries_cloudagent/vc/tests/contexts/ed25519_2020_v1.py b/acapy_agent/vc/tests/contexts/ed25519_2020_v1.py similarity index 100% rename from aries_cloudagent/vc/tests/contexts/ed25519_2020_v1.py rename to acapy_agent/vc/tests/contexts/ed25519_2020_v1.py diff --git a/aries_cloudagent/vc/tests/contexts/examples_v1.py b/acapy_agent/vc/tests/contexts/examples_v1.py similarity index 100% rename from aries_cloudagent/vc/tests/contexts/examples_v1.py rename to acapy_agent/vc/tests/contexts/examples_v1.py diff --git a/aries_cloudagent/vc/tests/contexts/odrl.py b/acapy_agent/vc/tests/contexts/odrl.py similarity index 100% rename from aries_cloudagent/vc/tests/contexts/odrl.py rename to acapy_agent/vc/tests/contexts/odrl.py diff --git a/aries_cloudagent/vc/tests/contexts/schema_org.py b/acapy_agent/vc/tests/contexts/schema_org.py similarity index 100% rename from aries_cloudagent/vc/tests/contexts/schema_org.py rename to acapy_agent/vc/tests/contexts/schema_org.py diff --git a/aries_cloudagent/vc/tests/contexts/security_v1.py b/acapy_agent/vc/tests/contexts/security_v1.py similarity index 100% rename from aries_cloudagent/vc/tests/contexts/security_v1.py rename to acapy_agent/vc/tests/contexts/security_v1.py diff --git a/aries_cloudagent/vc/tests/contexts/security_v2.py b/acapy_agent/vc/tests/contexts/security_v2.py similarity index 100% rename from aries_cloudagent/vc/tests/contexts/security_v2.py rename to acapy_agent/vc/tests/contexts/security_v2.py diff --git a/aries_cloudagent/vc/tests/contexts/security_v3_unstable.py b/acapy_agent/vc/tests/contexts/security_v3_unstable.py similarity index 100% rename from aries_cloudagent/vc/tests/contexts/security_v3_unstable.py rename to acapy_agent/vc/tests/contexts/security_v3_unstable.py diff --git a/aries_cloudagent/vc/tests/contexts/vaccination_v1.py b/acapy_agent/vc/tests/contexts/vaccination_v1.py similarity index 100% rename from aries_cloudagent/vc/tests/contexts/vaccination_v1.py rename to acapy_agent/vc/tests/contexts/vaccination_v1.py diff --git a/aries_cloudagent/vc/tests/data/__init__.py b/acapy_agent/vc/tests/data/__init__.py similarity index 100% rename from aries_cloudagent/vc/tests/data/__init__.py rename to acapy_agent/vc/tests/data/__init__.py diff --git a/aries_cloudagent/vc/tests/data/bbs_nested_vc_full_reveal_document_mattr.py b/acapy_agent/vc/tests/data/bbs_nested_vc_full_reveal_document_mattr.py similarity index 100% rename from aries_cloudagent/vc/tests/data/bbs_nested_vc_full_reveal_document_mattr.py rename to acapy_agent/vc/tests/data/bbs_nested_vc_full_reveal_document_mattr.py diff --git a/aries_cloudagent/vc/tests/data/bbs_nested_vc_mattr.py b/acapy_agent/vc/tests/data/bbs_nested_vc_mattr.py similarity index 100% rename from aries_cloudagent/vc/tests/data/bbs_nested_vc_mattr.py rename to acapy_agent/vc/tests/data/bbs_nested_vc_mattr.py diff --git a/aries_cloudagent/vc/tests/data/bbs_nested_vc_reveal_document_mattr.py b/acapy_agent/vc/tests/data/bbs_nested_vc_reveal_document_mattr.py similarity index 100% rename from aries_cloudagent/vc/tests/data/bbs_nested_vc_reveal_document_mattr.py rename to acapy_agent/vc/tests/data/bbs_nested_vc_reveal_document_mattr.py diff --git a/aries_cloudagent/vc/tests/data/bbs_partial_proof_nested_vc_mattr.py b/acapy_agent/vc/tests/data/bbs_partial_proof_nested_vc_mattr.py similarity index 100% rename from aries_cloudagent/vc/tests/data/bbs_partial_proof_nested_vc_mattr.py rename to acapy_agent/vc/tests/data/bbs_partial_proof_nested_vc_mattr.py diff --git a/aries_cloudagent/vc/tests/data/bbs_partial_proof_vc_mattr.py b/acapy_agent/vc/tests/data/bbs_partial_proof_vc_mattr.py similarity index 100% rename from aries_cloudagent/vc/tests/data/bbs_partial_proof_vc_mattr.py rename to acapy_agent/vc/tests/data/bbs_partial_proof_vc_mattr.py diff --git a/aries_cloudagent/vc/tests/data/bbs_proof_nested_vc_mattr.py b/acapy_agent/vc/tests/data/bbs_proof_nested_vc_mattr.py similarity index 100% rename from aries_cloudagent/vc/tests/data/bbs_proof_nested_vc_mattr.py rename to acapy_agent/vc/tests/data/bbs_proof_nested_vc_mattr.py diff --git a/aries_cloudagent/vc/tests/data/bbs_proof_vc_mattr.py b/acapy_agent/vc/tests/data/bbs_proof_vc_mattr.py similarity index 100% rename from aries_cloudagent/vc/tests/data/bbs_proof_vc_mattr.py rename to acapy_agent/vc/tests/data/bbs_proof_vc_mattr.py diff --git a/aries_cloudagent/vc/tests/data/bbs_signed_nested_vc_mattr.py b/acapy_agent/vc/tests/data/bbs_signed_nested_vc_mattr.py similarity index 100% rename from aries_cloudagent/vc/tests/data/bbs_signed_nested_vc_mattr.py rename to acapy_agent/vc/tests/data/bbs_signed_nested_vc_mattr.py diff --git a/aries_cloudagent/vc/tests/data/bbs_signed_vc_mattr.py b/acapy_agent/vc/tests/data/bbs_signed_vc_mattr.py similarity index 100% rename from aries_cloudagent/vc/tests/data/bbs_signed_vc_mattr.py rename to acapy_agent/vc/tests/data/bbs_signed_vc_mattr.py diff --git a/aries_cloudagent/vc/tests/data/bbs_vc_mattr.py b/acapy_agent/vc/tests/data/bbs_vc_mattr.py similarity index 100% rename from aries_cloudagent/vc/tests/data/bbs_vc_mattr.py rename to acapy_agent/vc/tests/data/bbs_vc_mattr.py diff --git a/aries_cloudagent/vc/tests/data/bbs_vc_reveal_document_mattr.py b/acapy_agent/vc/tests/data/bbs_vc_reveal_document_mattr.py similarity index 100% rename from aries_cloudagent/vc/tests/data/bbs_vc_reveal_document_mattr.py rename to acapy_agent/vc/tests/data/bbs_vc_reveal_document_mattr.py diff --git a/aries_cloudagent/vc/tests/data/test_ld_document.py b/acapy_agent/vc/tests/data/test_ld_document.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_ld_document.py rename to acapy_agent/vc/tests/data/test_ld_document.py diff --git a/aries_cloudagent/vc/tests/data/test_ld_document_bad_partial_proof_bbs.py b/acapy_agent/vc/tests/data/test_ld_document_bad_partial_proof_bbs.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_ld_document_bad_partial_proof_bbs.py rename to acapy_agent/vc/tests/data/test_ld_document_bad_partial_proof_bbs.py diff --git a/aries_cloudagent/vc/tests/data/test_ld_document_bad_signed_bbs.py b/acapy_agent/vc/tests/data/test_ld_document_bad_signed_bbs.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_ld_document_bad_signed_bbs.py rename to acapy_agent/vc/tests/data/test_ld_document_bad_signed_bbs.py diff --git a/aries_cloudagent/vc/tests/data/test_ld_document_bad_signed_ed25519.py b/acapy_agent/vc/tests/data/test_ld_document_bad_signed_ed25519.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_ld_document_bad_signed_ed25519.py rename to acapy_agent/vc/tests/data/test_ld_document_bad_signed_ed25519.py diff --git a/aries_cloudagent/vc/tests/data/test_ld_document_bad_signed_ed25519_2020.py b/acapy_agent/vc/tests/data/test_ld_document_bad_signed_ed25519_2020.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_ld_document_bad_signed_ed25519_2020.py rename to acapy_agent/vc/tests/data/test_ld_document_bad_signed_ed25519_2020.py diff --git a/aries_cloudagent/vc/tests/data/test_ld_document_partial_proof_bbs.py b/acapy_agent/vc/tests/data/test_ld_document_partial_proof_bbs.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_ld_document_partial_proof_bbs.py rename to acapy_agent/vc/tests/data/test_ld_document_partial_proof_bbs.py diff --git a/aries_cloudagent/vc/tests/data/test_ld_document_proof_bbs.py b/acapy_agent/vc/tests/data/test_ld_document_proof_bbs.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_ld_document_proof_bbs.py rename to acapy_agent/vc/tests/data/test_ld_document_proof_bbs.py diff --git a/aries_cloudagent/vc/tests/data/test_ld_document_reveal.py b/acapy_agent/vc/tests/data/test_ld_document_reveal.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_ld_document_reveal.py rename to acapy_agent/vc/tests/data/test_ld_document_reveal.py diff --git a/aries_cloudagent/vc/tests/data/test_ld_document_reveal_all.py b/acapy_agent/vc/tests/data/test_ld_document_reveal_all.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_ld_document_reveal_all.py rename to acapy_agent/vc/tests/data/test_ld_document_reveal_all.py diff --git a/aries_cloudagent/vc/tests/data/test_ld_document_signed_bbs.py b/acapy_agent/vc/tests/data/test_ld_document_signed_bbs.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_ld_document_signed_bbs.py rename to acapy_agent/vc/tests/data/test_ld_document_signed_bbs.py diff --git a/aries_cloudagent/vc/tests/data/test_ld_document_signed_ed25519.py b/acapy_agent/vc/tests/data/test_ld_document_signed_ed25519.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_ld_document_signed_ed25519.py rename to acapy_agent/vc/tests/data/test_ld_document_signed_ed25519.py diff --git a/aries_cloudagent/vc/tests/data/test_ld_document_signed_ed25519_2020.py b/acapy_agent/vc/tests/data/test_ld_document_signed_ed25519_2020.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_ld_document_signed_ed25519_2020.py rename to acapy_agent/vc/tests/data/test_ld_document_signed_ed25519_2020.py diff --git a/aries_cloudagent/vc/tests/data/test_vc_document.py b/acapy_agent/vc/tests/data/test_vc_document.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_vc_document.py rename to acapy_agent/vc/tests/data/test_vc_document.py diff --git a/aries_cloudagent/vc/tests/data/test_vc_document_did_key_ed25519.py b/acapy_agent/vc/tests/data/test_vc_document_did_key_ed25519.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_vc_document_did_key_ed25519.py rename to acapy_agent/vc/tests/data/test_vc_document_did_key_ed25519.py diff --git a/aries_cloudagent/vc/tests/data/test_vc_document_nested.py b/acapy_agent/vc/tests/data/test_vc_document_nested.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_vc_document_nested.py rename to acapy_agent/vc/tests/data/test_vc_document_nested.py diff --git a/aries_cloudagent/vc/tests/data/test_vc_document_nested_partial_proof_bbs.py b/acapy_agent/vc/tests/data/test_vc_document_nested_partial_proof_bbs.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_vc_document_nested_partial_proof_bbs.py rename to acapy_agent/vc/tests/data/test_vc_document_nested_partial_proof_bbs.py diff --git a/aries_cloudagent/vc/tests/data/test_vc_document_nested_proof_bbs.py b/acapy_agent/vc/tests/data/test_vc_document_nested_proof_bbs.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_vc_document_nested_proof_bbs.py rename to acapy_agent/vc/tests/data/test_vc_document_nested_proof_bbs.py diff --git a/aries_cloudagent/vc/tests/data/test_vc_document_nested_reveal.py b/acapy_agent/vc/tests/data/test_vc_document_nested_reveal.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_vc_document_nested_reveal.py rename to acapy_agent/vc/tests/data/test_vc_document_nested_reveal.py diff --git a/aries_cloudagent/vc/tests/data/test_vc_document_nested_signed_bbs.py b/acapy_agent/vc/tests/data/test_vc_document_nested_signed_bbs.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_vc_document_nested_signed_bbs.py rename to acapy_agent/vc/tests/data/test_vc_document_nested_signed_bbs.py diff --git a/aries_cloudagent/vc/tests/data/test_vc_document_partial_proof_bbs.py b/acapy_agent/vc/tests/data/test_vc_document_partial_proof_bbs.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_vc_document_partial_proof_bbs.py rename to acapy_agent/vc/tests/data/test_vc_document_partial_proof_bbs.py diff --git a/aries_cloudagent/vc/tests/data/test_vc_document_reveal.py b/acapy_agent/vc/tests/data/test_vc_document_reveal.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_vc_document_reveal.py rename to acapy_agent/vc/tests/data/test_vc_document_reveal.py diff --git a/aries_cloudagent/vc/tests/data/test_vc_document_signed_bbs.py b/acapy_agent/vc/tests/data/test_vc_document_signed_bbs.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_vc_document_signed_bbs.py rename to acapy_agent/vc/tests/data/test_vc_document_signed_bbs.py diff --git a/aries_cloudagent/vc/tests/data/test_vc_document_signed_did_key_ed25519.py b/acapy_agent/vc/tests/data/test_vc_document_signed_did_key_ed25519.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_vc_document_signed_did_key_ed25519.py rename to acapy_agent/vc/tests/data/test_vc_document_signed_did_key_ed25519.py diff --git a/aries_cloudagent/vc/tests/data/test_vc_document_signed_ed25519.py b/acapy_agent/vc/tests/data/test_vc_document_signed_ed25519.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_vc_document_signed_ed25519.py rename to acapy_agent/vc/tests/data/test_vc_document_signed_ed25519.py diff --git a/aries_cloudagent/vc/tests/data/test_vc_document_signed_ed25519_2020.py b/acapy_agent/vc/tests/data/test_vc_document_signed_ed25519_2020.py similarity index 100% rename from aries_cloudagent/vc/tests/data/test_vc_document_signed_ed25519_2020.py rename to acapy_agent/vc/tests/data/test_vc_document_signed_ed25519_2020.py diff --git a/aries_cloudagent/vc/tests/dids/__init__.py b/acapy_agent/vc/tests/dids/__init__.py similarity index 100% rename from aries_cloudagent/vc/tests/dids/__init__.py rename to acapy_agent/vc/tests/dids/__init__.py diff --git a/aries_cloudagent/vc/tests/dids/did_example_489398593.py b/acapy_agent/vc/tests/dids/did_example_489398593.py similarity index 100% rename from aries_cloudagent/vc/tests/dids/did_example_489398593.py rename to acapy_agent/vc/tests/dids/did_example_489398593.py diff --git a/aries_cloudagent/vc/tests/dids/did_sov_QqEfJxe752NCmWqR5TssZ5.py b/acapy_agent/vc/tests/dids/did_sov_QqEfJxe752NCmWqR5TssZ5.py similarity index 100% rename from aries_cloudagent/vc/tests/dids/did_sov_QqEfJxe752NCmWqR5TssZ5.py rename to acapy_agent/vc/tests/dids/did_sov_QqEfJxe752NCmWqR5TssZ5.py diff --git a/aries_cloudagent/vc/tests/dids/did_z6Mkgg342Ycpuk263R9d8Aq6MUaxPn1DDeHyGo38EefXmgDL.py b/acapy_agent/vc/tests/dids/did_z6Mkgg342Ycpuk263R9d8Aq6MUaxPn1DDeHyGo38EefXmgDL.py similarity index 100% rename from aries_cloudagent/vc/tests/dids/did_z6Mkgg342Ycpuk263R9d8Aq6MUaxPn1DDeHyGo38EefXmgDL.py rename to acapy_agent/vc/tests/dids/did_z6Mkgg342Ycpuk263R9d8Aq6MUaxPn1DDeHyGo38EefXmgDL.py diff --git a/aries_cloudagent/vc/tests/dids/did_zUC72Q7XD4PE4CrMiDVXuvZng3sBvMmaGgNeTUJuzavH2BS7ThbHL9FhsZM9QYY5fqAQ4MB8M9oudz3tfuaX36Ajr97QRW7LBt6WWmrtESe6Bs5NYzFtLWEmeVtvRYVAgjFcJSa.py b/acapy_agent/vc/tests/dids/did_zUC72Q7XD4PE4CrMiDVXuvZng3sBvMmaGgNeTUJuzavH2BS7ThbHL9FhsZM9QYY5fqAQ4MB8M9oudz3tfuaX36Ajr97QRW7LBt6WWmrtESe6Bs5NYzFtLWEmeVtvRYVAgjFcJSa.py similarity index 100% rename from aries_cloudagent/vc/tests/dids/did_zUC72Q7XD4PE4CrMiDVXuvZng3sBvMmaGgNeTUJuzavH2BS7ThbHL9FhsZM9QYY5fqAQ4MB8M9oudz3tfuaX36Ajr97QRW7LBt6WWmrtESe6Bs5NYzFtLWEmeVtvRYVAgjFcJSa.py rename to acapy_agent/vc/tests/dids/did_zUC72Q7XD4PE4CrMiDVXuvZng3sBvMmaGgNeTUJuzavH2BS7ThbHL9FhsZM9QYY5fqAQ4MB8M9oudz3tfuaX36Ajr97QRW7LBt6WWmrtESe6Bs5NYzFtLWEmeVtvRYVAgjFcJSa.py diff --git a/aries_cloudagent/vc/tests/document_loader.py b/acapy_agent/vc/tests/document_loader.py similarity index 100% rename from aries_cloudagent/vc/tests/document_loader.py rename to acapy_agent/vc/tests/document_loader.py diff --git a/aries_cloudagent/vc/tests/test_bbs_mattr_interop.py b/acapy_agent/vc/tests/test_bbs_mattr_interop.py similarity index 100% rename from aries_cloudagent/vc/tests/test_bbs_mattr_interop.py rename to acapy_agent/vc/tests/test_bbs_mattr_interop.py diff --git a/aries_cloudagent/vc/vc_di/__init__.py b/acapy_agent/vc/vc_di/__init__.py similarity index 100% rename from aries_cloudagent/vc/vc_di/__init__.py rename to acapy_agent/vc/vc_di/__init__.py diff --git a/aries_cloudagent/vc/vc_di/manager.py b/acapy_agent/vc/vc_di/manager.py similarity index 100% rename from aries_cloudagent/vc/vc_di/manager.py rename to acapy_agent/vc/vc_di/manager.py diff --git a/aries_cloudagent/vc/vc_di/prove.py b/acapy_agent/vc/vc_di/prove.py similarity index 98% rename from aries_cloudagent/vc/vc_di/prove.py rename to acapy_agent/vc/vc_di/prove.py index 940e7ec76c..33c94fa544 100644 --- a/aries_cloudagent/vc/vc_di/prove.py +++ b/acapy_agent/vc/vc_di/prove.py @@ -12,8 +12,8 @@ W3cCredential, ) -from aries_cloudagent.anoncreds.registry import AnonCredsRegistry -from aries_cloudagent.revocation.models.revocation_registry import RevocationRegistry +from acapy_agent.anoncreds.registry import AnonCredsRegistry +from acapy_agent.revocation.models.revocation_registry import RevocationRegistry from ...anoncreds.holder import AnonCredsHolder, AnonCredsHolderError from ...anoncreds.verifier import AnonCredsVerifier diff --git a/aries_cloudagent/vc/vc_di/tests/__init__.py b/acapy_agent/vc/vc_di/tests/__init__.py similarity index 100% rename from aries_cloudagent/vc/vc_di/tests/__init__.py rename to acapy_agent/vc/vc_di/tests/__init__.py diff --git a/aries_cloudagent/vc/vc_di/tests/test_manager.py b/acapy_agent/vc/vc_di/tests/test_manager.py similarity index 99% rename from aries_cloudagent/vc/vc_di/tests/test_manager.py rename to acapy_agent/vc/vc_di/tests/test_manager.py index 2bbf1b3a98..23d9045e59 100644 --- a/aries_cloudagent/vc/vc_di/tests/test_manager.py +++ b/acapy_agent/vc/vc_di/tests/test_manager.py @@ -3,8 +3,8 @@ import pytest from anoncreds import W3cPresentation -from aries_cloudagent.anoncreds.registry import AnonCredsRegistry -from aries_cloudagent.tests import mock +from acapy_agent.anoncreds.registry import AnonCredsRegistry +from acapy_agent.tests import mock from ....core.in_memory.profile import InMemoryProfile from ....core.profile import Profile diff --git a/aries_cloudagent/vc/vc_di/tests/test_prove.py b/acapy_agent/vc/vc_di/tests/test_prove.py similarity index 98% rename from aries_cloudagent/vc/vc_di/tests/test_prove.py rename to acapy_agent/vc/vc_di/tests/test_prove.py index 404c3f621c..8ff4ceb973 100644 --- a/aries_cloudagent/vc/vc_di/tests/test_prove.py +++ b/acapy_agent/vc/vc_di/tests/test_prove.py @@ -3,12 +3,12 @@ import pytest from anoncreds import CredentialRevocationState, RevocationStatusList -from aries_cloudagent.anoncreds.holder import AnonCredsHolder, AnonCredsHolderError -from aries_cloudagent.anoncreds.registry import AnonCredsRegistry -from aries_cloudagent.anoncreds.tests.mock_objects import MOCK_W3CPRES -from aries_cloudagent.revocation.models.revocation_registry import RevocationRegistry -from aries_cloudagent.tests import mock -from aries_cloudagent.vc.ld_proofs.error import LinkedDataProofException +from acapy_agent.anoncreds.holder import AnonCredsHolder, AnonCredsHolderError +from acapy_agent.anoncreds.registry import AnonCredsRegistry +from acapy_agent.anoncreds.tests.mock_objects import MOCK_W3CPRES +from acapy_agent.revocation.models.revocation_registry import RevocationRegistry +from acapy_agent.tests import mock +from acapy_agent.vc.ld_proofs.error import LinkedDataProofException from ....core.in_memory.profile import InMemoryProfile from ....core.profile import Profile diff --git a/aries_cloudagent/vc/vc_di/verify.py b/acapy_agent/vc/vc_di/verify.py similarity index 97% rename from aries_cloudagent/vc/vc_di/verify.py rename to acapy_agent/vc/vc_di/verify.py index daac9355f3..2c6616f4ec 100644 --- a/aries_cloudagent/vc/vc_di/verify.py +++ b/acapy_agent/vc/vc_di/verify.py @@ -4,7 +4,7 @@ from anoncreds import AnoncredsError -from aries_cloudagent.anoncreds.holder import AnonCredsHolderError +from acapy_agent.anoncreds.holder import AnonCredsHolderError from ...anoncreds.verifier import AnonCredsVerifier from ...core.profile import Profile diff --git a/aries_cloudagent/vc/vc_ld/__init__.py b/acapy_agent/vc/vc_ld/__init__.py similarity index 100% rename from aries_cloudagent/vc/vc_ld/__init__.py rename to acapy_agent/vc/vc_ld/__init__.py diff --git a/aries_cloudagent/vc/vc_ld/external_suite.py b/acapy_agent/vc/vc_ld/external_suite.py similarity index 100% rename from aries_cloudagent/vc/vc_ld/external_suite.py rename to acapy_agent/vc/vc_ld/external_suite.py diff --git a/aries_cloudagent/vc/vc_ld/issue.py b/acapy_agent/vc/vc_ld/issue.py similarity index 100% rename from aries_cloudagent/vc/vc_ld/issue.py rename to acapy_agent/vc/vc_ld/issue.py diff --git a/aries_cloudagent/vc/vc_ld/manager.py b/acapy_agent/vc/vc_ld/manager.py similarity index 100% rename from aries_cloudagent/vc/vc_ld/manager.py rename to acapy_agent/vc/vc_ld/manager.py diff --git a/aries_cloudagent/vc/vc_ld/models/__init__.py b/acapy_agent/vc/vc_ld/models/__init__.py similarity index 100% rename from aries_cloudagent/vc/vc_ld/models/__init__.py rename to acapy_agent/vc/vc_ld/models/__init__.py diff --git a/aries_cloudagent/vc/vc_ld/models/credential.py b/acapy_agent/vc/vc_ld/models/credential.py similarity index 100% rename from aries_cloudagent/vc/vc_ld/models/credential.py rename to acapy_agent/vc/vc_ld/models/credential.py diff --git a/aries_cloudagent/vc/vc_ld/models/linked_data_proof.py b/acapy_agent/vc/vc_ld/models/linked_data_proof.py similarity index 100% rename from aries_cloudagent/vc/vc_ld/models/linked_data_proof.py rename to acapy_agent/vc/vc_ld/models/linked_data_proof.py diff --git a/aries_cloudagent/vc/vc_ld/models/options.py b/acapy_agent/vc/vc_ld/models/options.py similarity index 99% rename from aries_cloudagent/vc/vc_ld/models/options.py rename to acapy_agent/vc/vc_ld/models/options.py index 8bb7d93e75..2d7adbe4e2 100644 --- a/aries_cloudagent/vc/vc_ld/models/options.py +++ b/acapy_agent/vc/vc_ld/models/options.py @@ -4,7 +4,7 @@ from marshmallow import INCLUDE, Schema, fields -from aries_cloudagent.messaging.valid import ( +from acapy_agent.messaging.valid import ( INDY_ISO8601_DATETIME_EXAMPLE, INDY_ISO8601_DATETIME_VALIDATE, UUID4_EXAMPLE, diff --git a/aries_cloudagent/vc/vc_ld/models/presentation.py b/acapy_agent/vc/vc_ld/models/presentation.py similarity index 100% rename from aries_cloudagent/vc/vc_ld/models/presentation.py rename to acapy_agent/vc/vc_ld/models/presentation.py diff --git a/aries_cloudagent/vc/vc_ld/models/tests/__init__.py b/acapy_agent/vc/vc_ld/models/tests/__init__.py similarity index 100% rename from aries_cloudagent/vc/vc_ld/models/tests/__init__.py rename to acapy_agent/vc/vc_ld/models/tests/__init__.py diff --git a/aries_cloudagent/vc/vc_ld/models/tests/test_credential.py b/acapy_agent/vc/vc_ld/models/tests/test_credential.py similarity index 100% rename from aries_cloudagent/vc/vc_ld/models/tests/test_credential.py rename to acapy_agent/vc/vc_ld/models/tests/test_credential.py diff --git a/aries_cloudagent/vc/vc_ld/models/web_schemas.py b/acapy_agent/vc/vc_ld/models/web_schemas.py similarity index 100% rename from aries_cloudagent/vc/vc_ld/models/web_schemas.py rename to acapy_agent/vc/vc_ld/models/web_schemas.py diff --git a/aries_cloudagent/vc/vc_ld/prove.py b/acapy_agent/vc/vc_ld/prove.py similarity index 100% rename from aries_cloudagent/vc/vc_ld/prove.py rename to acapy_agent/vc/vc_ld/prove.py diff --git a/aries_cloudagent/vc/vc_ld/tests/__init__.py b/acapy_agent/vc/vc_ld/tests/__init__.py similarity index 100% rename from aries_cloudagent/vc/vc_ld/tests/__init__.py rename to acapy_agent/vc/vc_ld/tests/__init__.py diff --git a/aries_cloudagent/vc/vc_ld/tests/test_credential.py b/acapy_agent/vc/vc_ld/tests/test_credential.py similarity index 100% rename from aries_cloudagent/vc/vc_ld/tests/test_credential.py rename to acapy_agent/vc/vc_ld/tests/test_credential.py diff --git a/aries_cloudagent/vc/vc_ld/tests/test_manager.py b/acapy_agent/vc/vc_ld/tests/test_manager.py similarity index 99% rename from aries_cloudagent/vc/vc_ld/tests/test_manager.py rename to acapy_agent/vc/vc_ld/tests/test_manager.py index 677cad3a1f..a6b1b51626 100644 --- a/aries_cloudagent/vc/vc_ld/tests/test_manager.py +++ b/acapy_agent/vc/vc_ld/tests/test_manager.py @@ -2,7 +2,7 @@ import pytest -from aries_cloudagent.tests import mock +from acapy_agent.tests import mock from ....core.in_memory.profile import InMemoryProfile from ....core.profile import Profile diff --git a/aries_cloudagent/vc/vc_ld/tests/test_validation_result.py b/acapy_agent/vc/vc_ld/tests/test_validation_result.py similarity index 100% rename from aries_cloudagent/vc/vc_ld/tests/test_validation_result.py rename to acapy_agent/vc/vc_ld/tests/test_validation_result.py diff --git a/aries_cloudagent/vc/vc_ld/tests/test_vc_ld.py b/acapy_agent/vc/vc_ld/tests/test_vc_ld.py similarity index 100% rename from aries_cloudagent/vc/vc_ld/tests/test_vc_ld.py rename to acapy_agent/vc/vc_ld/tests/test_vc_ld.py diff --git a/aries_cloudagent/vc/vc_ld/validation_result.py b/acapy_agent/vc/vc_ld/validation_result.py similarity index 100% rename from aries_cloudagent/vc/vc_ld/validation_result.py rename to acapy_agent/vc/vc_ld/validation_result.py diff --git a/aries_cloudagent/vc/vc_ld/verify.py b/acapy_agent/vc/vc_ld/verify.py similarity index 100% rename from aries_cloudagent/vc/vc_ld/verify.py rename to acapy_agent/vc/vc_ld/verify.py diff --git a/aries_cloudagent/version.py b/acapy_agent/version.py similarity index 68% rename from aries_cloudagent/version.py rename to acapy_agent/version.py index c6432013b7..f0b415185b 100644 --- a/aries_cloudagent/version.py +++ b/acapy_agent/version.py @@ -2,5 +2,5 @@ from importlib import metadata -__version__ = metadata.version("aries-cloudagent") +__version__ = metadata.version("acapy-agent") RECORD_TYPE_ACAPY_VERSION = "acapy_version" diff --git a/aries_cloudagent/wallet/__init__.py b/acapy_agent/wallet/__init__.py similarity index 100% rename from aries_cloudagent/wallet/__init__.py rename to acapy_agent/wallet/__init__.py diff --git a/aries_cloudagent/wallet/anoncreds_upgrade.py b/acapy_agent/wallet/anoncreds_upgrade.py similarity index 100% rename from aries_cloudagent/wallet/anoncreds_upgrade.py rename to acapy_agent/wallet/anoncreds_upgrade.py diff --git a/aries_cloudagent/wallet/askar.py b/acapy_agent/wallet/askar.py similarity index 100% rename from aries_cloudagent/wallet/askar.py rename to acapy_agent/wallet/askar.py diff --git a/aries_cloudagent/wallet/base.py b/acapy_agent/wallet/base.py similarity index 100% rename from aries_cloudagent/wallet/base.py rename to acapy_agent/wallet/base.py diff --git a/aries_cloudagent/wallet/bbs.py b/acapy_agent/wallet/bbs.py similarity index 100% rename from aries_cloudagent/wallet/bbs.py rename to acapy_agent/wallet/bbs.py diff --git a/aries_cloudagent/wallet/crypto.py b/acapy_agent/wallet/crypto.py similarity index 100% rename from aries_cloudagent/wallet/crypto.py rename to acapy_agent/wallet/crypto.py diff --git a/aries_cloudagent/wallet/default_verification_key_strategy.py b/acapy_agent/wallet/default_verification_key_strategy.py similarity index 93% rename from aries_cloudagent/wallet/default_verification_key_strategy.py rename to acapy_agent/wallet/default_verification_key_strategy.py index bd0202ac8e..9d9f47b040 100644 --- a/aries_cloudagent/wallet/default_verification_key_strategy.py +++ b/acapy_agent/wallet/default_verification_key_strategy.py @@ -3,9 +3,9 @@ from abc import ABC, abstractmethod from typing import List, Optional -from aries_cloudagent.core.profile import Profile -from aries_cloudagent.did.did_key import DIDKey -from aries_cloudagent.wallet.key_type import KeyType +from acapy_agent.core.profile import Profile +from acapy_agent.did.did_key import DIDKey +from acapy_agent.wallet.key_type import KeyType class BaseVerificationKeyStrategy(ABC): diff --git a/aries_cloudagent/wallet/did_info.py b/acapy_agent/wallet/did_info.py similarity index 100% rename from aries_cloudagent/wallet/did_info.py rename to acapy_agent/wallet/did_info.py diff --git a/aries_cloudagent/wallet/did_method.py b/acapy_agent/wallet/did_method.py similarity index 100% rename from aries_cloudagent/wallet/did_method.py rename to acapy_agent/wallet/did_method.py diff --git a/aries_cloudagent/wallet/did_parameters_validation.py b/acapy_agent/wallet/did_parameters_validation.py similarity index 89% rename from aries_cloudagent/wallet/did_parameters_validation.py rename to acapy_agent/wallet/did_parameters_validation.py index f5e79c27f5..baf492a080 100644 --- a/aries_cloudagent/wallet/did_parameters_validation.py +++ b/acapy_agent/wallet/did_parameters_validation.py @@ -2,17 +2,17 @@ from typing import Optional -from aries_cloudagent.did.did_key import DIDKey -from aries_cloudagent.wallet.did_method import ( +from acapy_agent.did.did_key import DIDKey +from acapy_agent.wallet.did_method import ( KEY, SOV, DIDMethod, DIDMethods, HolderDefinedDid, ) -from aries_cloudagent.wallet.error import WalletError -from aries_cloudagent.wallet.key_type import KeyType -from aries_cloudagent.wallet.util import bytes_to_b58 +from acapy_agent.wallet.error import WalletError +from acapy_agent.wallet.key_type import KeyType +from acapy_agent.wallet.util import bytes_to_b58 class DIDParametersValidation: diff --git a/aries_cloudagent/wallet/did_posture.py b/acapy_agent/wallet/did_posture.py similarity index 100% rename from aries_cloudagent/wallet/did_posture.py rename to acapy_agent/wallet/did_posture.py diff --git a/aries_cloudagent/wallet/error.py b/acapy_agent/wallet/error.py similarity index 100% rename from aries_cloudagent/wallet/error.py rename to acapy_agent/wallet/error.py diff --git a/aries_cloudagent/wallet/in_memory.py b/acapy_agent/wallet/in_memory.py similarity index 100% rename from aries_cloudagent/wallet/in_memory.py rename to acapy_agent/wallet/in_memory.py diff --git a/aries_cloudagent/wallet/jwt.py b/acapy_agent/wallet/jwt.py similarity index 100% rename from aries_cloudagent/wallet/jwt.py rename to acapy_agent/wallet/jwt.py diff --git a/aries_cloudagent/wallet/key_type.py b/acapy_agent/wallet/key_type.py similarity index 100% rename from aries_cloudagent/wallet/key_type.py rename to acapy_agent/wallet/key_type.py diff --git a/aries_cloudagent/wallet/keys/__init__.py b/acapy_agent/wallet/keys/__init__.py similarity index 100% rename from aries_cloudagent/wallet/keys/__init__.py rename to acapy_agent/wallet/keys/__init__.py diff --git a/aries_cloudagent/wallet/keys/manager.py b/acapy_agent/wallet/keys/manager.py similarity index 100% rename from aries_cloudagent/wallet/keys/manager.py rename to acapy_agent/wallet/keys/manager.py diff --git a/aries_cloudagent/wallet/keys/routes.py b/acapy_agent/wallet/keys/routes.py similarity index 100% rename from aries_cloudagent/wallet/keys/routes.py rename to acapy_agent/wallet/keys/routes.py diff --git a/aries_cloudagent/wallet/keys/tests/test_key_operations.py b/acapy_agent/wallet/keys/tests/test_key_operations.py similarity index 93% rename from aries_cloudagent/wallet/keys/tests/test_key_operations.py rename to acapy_agent/wallet/keys/tests/test_key_operations.py index 3d57b73dc7..5fcfd717a3 100644 --- a/aries_cloudagent/wallet/keys/tests/test_key_operations.py +++ b/acapy_agent/wallet/keys/tests/test_key_operations.py @@ -1,12 +1,13 @@ """Test MultikeypManager.""" from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.wallet.keys.manager import ( + +from acapy_agent.core.in_memory import InMemoryProfile +from acapy_agent.wallet.keys.manager import ( MultikeyManager, multikey_to_verkey, verkey_to_multikey, ) -from aries_cloudagent.core.in_memory import InMemoryProfile class TestKeyOperations(IsolatedAsyncioTestCase): diff --git a/aries_cloudagent/wallet/models/__init__.py b/acapy_agent/wallet/models/__init__.py similarity index 100% rename from aries_cloudagent/wallet/models/__init__.py rename to acapy_agent/wallet/models/__init__.py diff --git a/aries_cloudagent/wallet/models/tests/__init__.py b/acapy_agent/wallet/models/tests/__init__.py similarity index 100% rename from aries_cloudagent/wallet/models/tests/__init__.py rename to acapy_agent/wallet/models/tests/__init__.py diff --git a/aries_cloudagent/wallet/models/tests/test_wallet_record.py b/acapy_agent/wallet/models/tests/test_wallet_record.py similarity index 100% rename from aries_cloudagent/wallet/models/tests/test_wallet_record.py rename to acapy_agent/wallet/models/tests/test_wallet_record.py diff --git a/aries_cloudagent/wallet/models/wallet_record.py b/acapy_agent/wallet/models/wallet_record.py similarity index 100% rename from aries_cloudagent/wallet/models/wallet_record.py rename to acapy_agent/wallet/models/wallet_record.py diff --git a/aries_cloudagent/wallet/routes.py b/acapy_agent/wallet/routes.py similarity index 99% rename from aries_cloudagent/wallet/routes.py rename to acapy_agent/wallet/routes.py index 1f9f0b46e6..594a44680a 100644 --- a/aries_cloudagent/wallet/routes.py +++ b/acapy_agent/wallet/routes.py @@ -9,7 +9,7 @@ from aiohttp_apispec import docs, querystring_schema, request_schema, response_schema from marshmallow import fields, validate -from aries_cloudagent.connections.base_manager import BaseConnectionManager +from acapy_agent.connections.base_manager import BaseConnectionManager from ..admin.decorators.auth import tenant_authentication from ..admin.request_context import AdminRequestContext diff --git a/aries_cloudagent/wallet/sd_jwt.py b/acapy_agent/wallet/sd_jwt.py similarity index 100% rename from aries_cloudagent/wallet/sd_jwt.py rename to acapy_agent/wallet/sd_jwt.py diff --git a/aries_cloudagent/wallet/singletons.py b/acapy_agent/wallet/singletons.py similarity index 100% rename from aries_cloudagent/wallet/singletons.py rename to acapy_agent/wallet/singletons.py diff --git a/aries_cloudagent/wallet/tests/__init__.py b/acapy_agent/wallet/tests/__init__.py similarity index 100% rename from aries_cloudagent/wallet/tests/__init__.py rename to acapy_agent/wallet/tests/__init__.py diff --git a/aries_cloudagent/wallet/tests/conftest.py b/acapy_agent/wallet/tests/conftest.py similarity index 92% rename from aries_cloudagent/wallet/tests/conftest.py rename to acapy_agent/wallet/tests/conftest.py index 2f83179484..d67928145a 100644 --- a/aries_cloudagent/wallet/tests/conftest.py +++ b/acapy_agent/wallet/tests/conftest.py @@ -1,8 +1,8 @@ import pytest -from aries_cloudagent.resolver.did_resolver import DIDResolver -from aries_cloudagent.resolver.tests.test_did_resolver import MockResolver -from aries_cloudagent.wallet.default_verification_key_strategy import ( +from acapy_agent.resolver.did_resolver import DIDResolver +from acapy_agent.resolver.tests.test_did_resolver import MockResolver +from acapy_agent.wallet.default_verification_key_strategy import ( BaseVerificationKeyStrategy, DefaultVerificationKeyStrategy, ) diff --git a/aries_cloudagent/wallet/tests/test_anoncreds_upgrade.py b/acapy_agent/wallet/tests/test_anoncreds_upgrade.py similarity index 99% rename from aries_cloudagent/wallet/tests/test_anoncreds_upgrade.py rename to acapy_agent/wallet/tests/test_anoncreds_upgrade.py index 5ad8a34c88..a937ddbe96 100644 --- a/aries_cloudagent/wallet/tests/test_anoncreds_upgrade.py +++ b/acapy_agent/wallet/tests/test_anoncreds_upgrade.py @@ -2,8 +2,8 @@ from time import time from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.tests import mock -from aries_cloudagent.wallet import singletons +from acapy_agent.tests import mock +from acapy_agent.wallet import singletons from ...anoncreds.issuer import CATEGORY_CRED_DEF_PRIVATE from ...cache.base import BaseCache diff --git a/aries_cloudagent/wallet/tests/test_bbs.py b/acapy_agent/wallet/tests/test_bbs.py similarity index 100% rename from aries_cloudagent/wallet/tests/test_bbs.py rename to acapy_agent/wallet/tests/test_bbs.py diff --git a/aries_cloudagent/wallet/tests/test_crypto.py b/acapy_agent/wallet/tests/test_crypto.py similarity index 100% rename from aries_cloudagent/wallet/tests/test_crypto.py rename to acapy_agent/wallet/tests/test_crypto.py diff --git a/aries_cloudagent/wallet/tests/test_default_verification_key_strategy.py b/acapy_agent/wallet/tests/test_default_verification_key_strategy.py similarity index 86% rename from aries_cloudagent/wallet/tests/test_default_verification_key_strategy.py rename to acapy_agent/wallet/tests/test_default_verification_key_strategy.py index 82fbe603ec..c7bdbcb592 100644 --- a/aries_cloudagent/wallet/tests/test_default_verification_key_strategy.py +++ b/acapy_agent/wallet/tests/test_default_verification_key_strategy.py @@ -1,8 +1,8 @@ from unittest import IsolatedAsyncioTestCase -from aries_cloudagent.core.in_memory import InMemoryProfile -from aries_cloudagent.did.did_key import DIDKey -from aries_cloudagent.wallet.default_verification_key_strategy import ( +from acapy_agent.core.in_memory import InMemoryProfile +from acapy_agent.did.did_key import DIDKey +from acapy_agent.wallet.default_verification_key_strategy import ( DefaultVerificationKeyStrategy, ) diff --git a/aries_cloudagent/wallet/tests/test_did_method.py b/acapy_agent/wallet/tests/test_did_method.py similarity index 100% rename from aries_cloudagent/wallet/tests/test_did_method.py rename to acapy_agent/wallet/tests/test_did_method.py diff --git a/aries_cloudagent/wallet/tests/test_did_parameters_validation.py b/acapy_agent/wallet/tests/test_did_parameters_validation.py similarity index 88% rename from aries_cloudagent/wallet/tests/test_did_parameters_validation.py rename to acapy_agent/wallet/tests/test_did_parameters_validation.py index ad67f8c825..bfabf254e2 100644 --- a/aries_cloudagent/wallet/tests/test_did_parameters_validation.py +++ b/acapy_agent/wallet/tests/test_did_parameters_validation.py @@ -1,9 +1,9 @@ import pytest -from aries_cloudagent.wallet.did_method import DIDMethod, DIDMethods, HolderDefinedDid -from aries_cloudagent.wallet.did_parameters_validation import DIDParametersValidation -from aries_cloudagent.wallet.error import WalletError -from aries_cloudagent.wallet.key_type import BLS12381G1, ED25519 +from acapy_agent.wallet.did_method import DIDMethod, DIDMethods, HolderDefinedDid +from acapy_agent.wallet.did_parameters_validation import DIDParametersValidation +from acapy_agent.wallet.error import WalletError +from acapy_agent.wallet.key_type import BLS12381G1, ED25519 @pytest.fixture diff --git a/aries_cloudagent/wallet/tests/test_did_posture.py b/acapy_agent/wallet/tests/test_did_posture.py similarity index 100% rename from aries_cloudagent/wallet/tests/test_did_posture.py rename to acapy_agent/wallet/tests/test_did_posture.py diff --git a/aries_cloudagent/wallet/tests/test_in_memory_wallet.py b/acapy_agent/wallet/tests/test_in_memory_wallet.py similarity index 100% rename from aries_cloudagent/wallet/tests/test_in_memory_wallet.py rename to acapy_agent/wallet/tests/test_in_memory_wallet.py diff --git a/aries_cloudagent/wallet/tests/test_jwt.py b/acapy_agent/wallet/tests/test_jwt.py similarity index 98% rename from aries_cloudagent/wallet/tests/test_jwt.py rename to acapy_agent/wallet/tests/test_jwt.py index f84feb9700..a11b28cd5f 100644 --- a/aries_cloudagent/wallet/tests/test_jwt.py +++ b/acapy_agent/wallet/tests/test_jwt.py @@ -1,6 +1,6 @@ import pytest -from aries_cloudagent.wallet.key_type import ED25519 +from acapy_agent.wallet.key_type import ED25519 from ...wallet.did_method import KEY from ..jwt import jwt_sign, jwt_verify, resolve_public_key_by_kid_for_verify diff --git a/aries_cloudagent/wallet/tests/test_key_type.py b/acapy_agent/wallet/tests/test_key_type.py similarity index 100% rename from aries_cloudagent/wallet/tests/test_key_type.py rename to acapy_agent/wallet/tests/test_key_type.py diff --git a/aries_cloudagent/wallet/tests/test_routes.py b/acapy_agent/wallet/tests/test_routes.py similarity index 99% rename from aries_cloudagent/wallet/tests/test_routes.py rename to acapy_agent/wallet/tests/test_routes.py index 1e4a272ae7..c24ae77ef2 100644 --- a/aries_cloudagent/wallet/tests/test_routes.py +++ b/acapy_agent/wallet/tests/test_routes.py @@ -2,8 +2,8 @@ from aiohttp.web import HTTPForbidden -from aries_cloudagent.tests import mock -from aries_cloudagent.wallet import singletons +from acapy_agent.tests import mock +from acapy_agent.wallet import singletons from ...admin.request_context import AdminRequestContext from ...core.in_memory import InMemoryProfile diff --git a/aries_cloudagent/wallet/tests/test_sd_jwt.py b/acapy_agent/wallet/tests/test_sd_jwt.py similarity index 100% rename from aries_cloudagent/wallet/tests/test_sd_jwt.py rename to acapy_agent/wallet/tests/test_sd_jwt.py diff --git a/aries_cloudagent/wallet/tests/test_util.py b/acapy_agent/wallet/tests/test_util.py similarity index 100% rename from aries_cloudagent/wallet/tests/test_util.py rename to acapy_agent/wallet/tests/test_util.py diff --git a/aries_cloudagent/wallet/util.py b/acapy_agent/wallet/util.py similarity index 100% rename from aries_cloudagent/wallet/util.py rename to acapy_agent/wallet/util.py diff --git a/aries_cloudagent/config/tests/test-acapy-upgrade-config.yaml b/aries_cloudagent/config/tests/test-acapy-upgrade-config.yaml deleted file mode 100644 index 1e114b2bc3..0000000000 --- a/aries_cloudagent/config/tests/test-acapy-upgrade-config.yaml +++ /dev/null @@ -1,9 +0,0 @@ -v0.6.0: - update_existing_records: false -v0.7.2: - resave_records: - base_record_path: - - "aries_cloudagent.connections.models.conn_record.ConnRecord" - base_exch_record_path: - - "aries_cloudagent.protocols.issue_credential.v1_0.models.credential_exchange.V10CredentialExchange" - update_existing_records: false \ No newline at end of file diff --git a/demo/run_demo b/demo/run_demo index b8b87029b6..49c32e2a11 100755 --- a/demo/run_demo +++ b/demo/run_demo @@ -310,7 +310,7 @@ $DOCKER run --name $AGENT --rm -it ${DOCKER_OPTS} \ -p 0.0.0.0:$AGENT_PORT_RANGE:$AGENT_PORT_RANGE \ ${DOCKER_VOL} \ $(if [ "$DOCKER_RESOLUTION" = "run" ]; then - echo "-v $(pwd)/../aries_cloudagent:/home/aries/aries_cloudagent \ + echo "-v $(pwd)/../acapy_agent:/home/aries/acapy_agent \ -v $(pwd)/../scripts:/home/aries/scripts \ -v $(pwd)/../demo:/home/aries/demo" fi) \ diff --git a/demo/runners/support/agent.py b/demo/runners/support/agent.py index 19587d668e..2905ad4912 100644 --- a/demo/runners/support/agent.py +++ b/demo/runners/support/agent.py @@ -915,7 +915,7 @@ def _process(self, args, env, loop): def get_process_args(self): return list( - flatten(([PYTHON, "-m", "aries_cloudagent", "start"], self.get_agent_args())) + flatten(([PYTHON, "-m", "acapy_agent", "start"], self.get_agent_args())) ) async def start_process(self, python_path: str = None, wait: bool = True): diff --git a/docker/Dockerfile b/docker/Dockerfile index a76fb21266..ab9dc1861a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -76,15 +76,15 @@ RUN usermod -a -G 0 $user # Create standard directories to allow volume mounting and set permissions # Note: PIP_NO_CACHE_DIR environment variable should be cleared to allow caching RUN mkdir -p \ - $HOME/.aries_cloudagent \ + $HOME/.acapy_agent \ $HOME/.cache/pip/http \ $HOME/.indy_client \ $HOME/ledger/sandbox/data \ $HOME/log -# The root group needs access the directories under $HOME/.indy_client and $HOME/.aries_cloudagent for the container to function in OpenShift. -RUN chown -R $user:root $HOME/.indy_client $HOME/.aries_cloudagent && \ - chmod -R ug+rw $HOME/log $HOME/ledger $HOME/.aries_cloudagent $HOME/.cache $HOME/.indy_client +# The root group needs access the directories under $HOME/.indy_client and $HOME/.acapy_agent for the container to function in OpenShift. +RUN chown -R $user:root $HOME/.indy_client $HOME/.acapy_agent && \ + chmod -R ug+rw $HOME/log $HOME/ledger $HOME/.acapy_agent $HOME/.cache $HOME/.indy_client # Create /home/indy and symlink .indy_client folder for backwards compatibility with artifacts created on older indy-based images. RUN mkdir -p /home/indy @@ -93,11 +93,11 @@ RUN ln -s /home/aries/.indy_client /home/indy/.indy_client # Install ACA-py from the wheel as $user, # and ensure the permissions on the python 'site-packages' and $HOME/.local folders are set correctly. USER $user -COPY --from=build /src/dist/aries_cloudagent*.whl . -RUN aries_cloudagent_package=$(find ./ -name "aries_cloudagent*.whl" | head -n 1) && \ - echo "Installing ${aries_cloudagent_package} ..." && \ - pip install --no-cache-dir --find-links=. ${aries_cloudagent_package}${acapy_reqs} && \ - rm aries_cloudagent*.whl && \ +COPY --from=build /src/dist/acapy_agent*.whl . +RUN acapy_agent_package=$(find ./ -name "acapy_agent*.whl" | head -n 1) && \ + echo "Installing ${acapy_agent_package} ..." && \ + pip install --no-cache-dir --find-links=. ${acapy_agent_package}${acapy_reqs} && \ + rm acapy_agent*.whl && \ chmod +rx $(python -m site --user-site) $HOME/.local # Clean-up unneccessary build dependencies and reduce final image size diff --git a/docker/Dockerfile.demo b/docker/Dockerfile.demo index 71d51cfd1e..cfb6c6c868 100644 --- a/docker/Dockerfile.demo +++ b/docker/Dockerfile.demo @@ -17,7 +17,7 @@ ADD README.md pyproject.toml poetry.lock ./ ARG all_extras=0 RUN if ! [ -z ${all_extras} ]; then poetry install --no-root --no-directory --all-extras; else poetry install --no-root --no-directory -E "askar didcommv2"; fi -ADD aries_cloudagent ./aries_cloudagent +ADD acapy_agent ./acapy_agent ADD scripts ./scripts RUN pip3 install --no-cache-dir -e . diff --git a/docker/Dockerfile.run b/docker/Dockerfile.run index ae993f31a8..7211df51cb 100644 --- a/docker/Dockerfile.run +++ b/docker/Dockerfile.run @@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -y curl && apt-get clean RUN pip install --no-cache-dir poetry -RUN mkdir -p aries_cloudagent && touch aries_cloudagent/__init__.py +RUN mkdir -p acapy_agent && touch acapy_agent/__init__.py ADD pyproject.toml poetry.lock README.md ./ RUN mkdir -p log && chmod -R ug+rw log diff --git a/docker/Dockerfile.test b/docker/Dockerfile.test index 3002be063a..ad8b66de2a 100644 --- a/docker/Dockerfile.test +++ b/docker/Dockerfile.test @@ -12,7 +12,7 @@ WORKDIR /usr/src/app RUN pip install --no-cache-dir poetry ADD ./README.md pyproject.toml ./poetry.lock ./ -RUN mkdir aries_cloudagent && touch aries_cloudagent/__init__.py +RUN mkdir acapy_agent && touch acapy_agent/__init__.py ARG all_extras=0 RUN if ! [ -z ${all_extras} ]; then poetry install --no-directory --all-extras --with=dev; else poetry install --no-directory -E "askar didcommv2" --with=dev; fi diff --git a/pyproject.toml b/pyproject.toml index f0be6fed4a..ff502963ab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,65 +1,65 @@ [tool.poetry] -name = "aries_cloudagent" +name = "acapy_agent" version = "1.0.1" -description = "Hyperledger Aries Cloud Agent Python (ACA-Py) is a foundation for building decentralized identity applications and services running in non-mobile environments. " -authors = ["Hyperledger Aries "] +description = "(ACA-Py) A Cloud Agent Python is a foundation for building decentralized identity applications and services running in non-mobile environments. " +authors = [] license = "Apache-2.0" readme = "README.md" -packages = [{include = "aries_cloudagent"}] +packages = [{ include = "acapy_agent" }] classifiers = [ - "Programming Language :: Python :: 3", - "License :: OSI Approved :: Apache Software License", - "Operating System :: OS Independent", + "Programming Language :: Python :: 3", + "License :: OSI Approved :: Apache Software License", + "Operating System :: OS Independent", ] -repository = "https://github.com/hyperledger/aries-cloudagent-python" +repository = "https://github.com/openwallet-foundation/acapy" [tool.poetry.dependencies] python = "^3.12" -aiohttp="~3.10.5" -aiohttp-apispec-acapy="~3.0.2" -aiohttp-cors="~0.7.0" -apispec="^6.6.0" -async-timeout="~4.0.2" -base58="~2.1.0" -ConfigArgParse="~1.7" -deepmerge="~0.3.0" -ecdsa="~0.19.0" -jsonpath-ng="1.6.1" -Markdown="~3.7" -markupsafe="2.1.5" -marshmallow="~3.22.0" -nest_asyncio="~1.6.0" -packaging="~23.2" -portalocker="~2.10.1" -prompt_toolkit=">=2.0.9,<2.1.0" -pydid="^0.5.1" -pyjwt="~2.9.0" -pyld="^2.0.4" -pynacl="~1.5.0" -python-dateutil="~2.8.1" -python-json-logger="~2.0.7" -pyyaml="~6.0.2" -qrcode = {version = ">=6.1,<7.0", extras = ["pil"]} -requests="~2.32.3" -rlp="4.0.1" -unflatten="~0.2" +aiohttp = "~3.10.5" +aiohttp-apispec-acapy = "~3.0.2" +aiohttp-cors = "~0.7.0" +apispec = "^6.6.0" +async-timeout = "~4.0.2" +base58 = "~2.1.0" +ConfigArgParse = "~1.7" +deepmerge = "~0.3.0" +ecdsa = "~0.19.0" +jsonpath-ng = "1.6.1" +Markdown = "~3.7" +markupsafe = "2.1.5" +marshmallow = "~3.22.0" +nest_asyncio = "~1.6.0" +packaging = "~23.2" +portalocker = "~2.10.1" +prompt_toolkit = ">=2.0.9,<2.1.0" +pydid = "^0.5.1" +pyjwt = "~2.9.0" +pyld = "^2.0.4" +pynacl = "~1.5.0" +python-dateutil = "~2.8.1" +python-json-logger = "~2.0.7" +pyyaml = "~6.0.2" +qrcode = { version = ">=6.1,<7.0", extras = ["pil"] } +requests = "~2.32.3" +rlp = "4.0.1" +unflatten = "~0.2" sd-jwt = "^0.10.3" did-peer-2 = "^0.1.2" did-peer-4 = "^0.1.4" uuid_utils = "^0.9.0" # askar -aries-askar= { version = "~0.3.2", optional = true } -indy-credx= { version = "~1.1.1", optional = true } -indy-vdr= { version = "~0.4.0", optional = true } -anoncreds= { version = "0.2.0", optional = true } +aries-askar = { version = "~0.3.2", optional = true } +indy-credx = { version = "~1.1.1", optional = true } +indy-vdr = { version = "~0.4.0", optional = true } +anoncreds = { version = "0.2.0", optional = true } # bbs ursa-bbs-signatures = { version = "~1.0.1", optional = true } # didcommv2 -didcomm-messaging = {version = "^0.1.1a0", optional = true } +didcomm-messaging = { version = "^0.1.1a0", optional = true } canonicaljson = "^2.0.0" [tool.poetry.group.dev.dependencies] @@ -67,12 +67,12 @@ pre-commit = "~3.8.0" # Sync with version in .pre-commit-config.yaml ruff = "0.6.9" -sphinx="^5.3.0" -sphinx-rtd-theme=">=0.4.3" +sphinx = "^5.3.0" +sphinx-rtd-theme = ">=0.4.3" -pydevd="1.5.1" +pydevd = "1.5.1" -pydevd-pycharm="~193.7288.30" +pydevd-pycharm = "~193.7288.30" # testing pytest = "^8.3.3" @@ -82,36 +82,37 @@ pytest-ruff = "^0.4.1" debugpy = "^1.8.6" [tool.poetry.extras] -askar = [ - "aries-askar", - "indy-credx", - "indy-vdr", - "anoncreds" -] -bbs = [ - "ursa-bbs-signatures" -] -didcommv2 = [ - "didcomm-messaging" -] +askar = ["aries-askar", "indy-credx", "indy-vdr", "anoncreds"] +bbs = ["ursa-bbs-signatures"] +didcommv2 = ["didcomm-messaging"] [tool.poetry.scripts] -aca-py = "aries_cloudagent.__main__:script_main" +aca-py = "acapy_agent.__main__:script_main" [tool.ruff] lint.select = ["B006", "C", "D", "E", "F"] lint.ignore = [ # Google Python Doc Style - "D203", "D204", "D213", "D215", "D400", "D401", "D404", "D406", "D407", - "D408", "D409", "D413", + "D203", + "D204", + "D213", + "D215", + "D400", + "D401", + "D404", + "D406", + "D407", + "D408", + "D409", + "D413", "D202", # Allow blank line after docstring "D104", # Don't require docstring in public package # Things that we should fix, but are too much work right now "C901", ] -include = ["aries_cloudagent/**/*.py"] +include = ["acapy_agent/**/*.py"] line-length = 90 @@ -119,10 +120,10 @@ line-length = 90 "**/{tests}/*" = ["B006", "D", "E501", "F841"] [tool.pytest.ini_options] -testpaths = "aries_cloudagent" +testpaths = "acapy_agent" addopts = """ --quiet --junitxml=./test-reports/junit.xml - --cov-config .coveragerc --cov=aries_cloudagent --cov-report term --cov-report xml + --cov-config .coveragerc --cov=acapy_agent --cov-report term --cov-report xml --ruff """ markers = [ @@ -132,26 +133,18 @@ markers = [ "indy_credx: Tests specifically relating to Indy-Credx support", "indy_vdr: Tests specifically relating to Indy-VDR support", "ursa_bbs_signatures: Tests specificaly relating to BBS Signatures support", - "postgres: Tests relating to the postgres storage plugin for Indy"] + "postgres: Tests relating to the postgres storage plugin for Indy", +] junit_family = "xunit1" asyncio_mode = "auto" [tool.coverage.run] -omit = [ - "*/tests/*", - "demo/*", - "docker/*", - "docs/*", - "scripts/*", -] +omit = ["*/tests/*", "demo/*", "docker/*", "docs/*", "scripts/*"] data_file = "test-reports/.coverage" [tool.coverage.report] -exclude_lines = [ - "pragma: no cover", - "@abstract" -] +exclude_lines = ["pragma: no cover", "@abstract"] precision = 2 skip_covered = true show_missing = true diff --git a/sonar-project.properties b/sonar-project.properties index 6c87546ee1..92843219a7 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,5 +1,5 @@ -sonar.projectKey=hyperledger_aries-cloudagent-python -sonar.organization=hyperledger -sonar.projectName=aries-cloudagent-python +sonar.projectKey=openwallet-foundation_acapy +sonar.organization=openwallet-foundation +sonar.projectName=acapy sonar.python.version=3.12 \ No newline at end of file