From 03c798d541d03c9047377b3a7239b9c1fe219269 Mon Sep 17 00:00:00 2001 From: Naian <126972030+nain-F49FF806@users.noreply.github.com> Date: Mon, 13 Nov 2023 14:47:54 +0100 Subject: [PATCH] refactor: Move agents to new root as per #1045 Signed-off-by: Naian <126972030+nain-F49FF806@users.noreply.github.com> --- Cargo.toml | 15 ++++++++------- {agents => aries/agents}/node/.gitignore | 0 .../agents}/node/vcxagent-cli/logger.js | 0 .../agents}/node/vcxagent-cli/package.json | 0 .../agents}/node/vcxagent-cli/readme.md | 0 .../agents}/node/vcxagent-cli/script-common.js | 0 .../agents}/node/vcxagent-cli/vcxclient-cli.js | 0 .../node/vcxagent-cli/vcxclient-interactive.js | 0 .../agents}/node/vcxagent-core/demo/alice.js | 0 .../agents}/node/vcxagent-core/demo/faber.js | 0 .../node/vcxagent-core/demo/integration-test.js | 0 .../agents}/node/vcxagent-core/demo/logger.js | 0 .../vcxagent-core/demo/notification-server.js | 0 .../node/vcxagent-core/demo/script-common.js | 0 .../node/vcxagent-core/demo/wallet-common.js | 0 .../agents}/node/vcxagent-core/package.json | 0 .../agents}/node/vcxagent-core/publish.sh | 0 .../agents}/node/vcxagent-core/readme.md | 0 .../node/vcxagent-core/resources/docker.txn | 0 .../agents}/node/vcxagent-core/src/agent.js | 0 .../agents}/node/vcxagent-core/src/common.js | 0 .../agents}/node/vcxagent-core/src/index.js | 0 .../src/services/service-connections.js | 0 .../src/services/service-cred-holder.js | 0 .../src/services/service-cred-issuer.js | 0 .../src/services/service-ledger-creddef.js | 0 .../src/services/service-ledger-schema.js | 0 .../src/services/service-mediated-connections.js | 0 .../src/services/service-out-of-band.js | 0 .../vcxagent-core/src/services/service-prover.js | 0 .../src/services/service-revocation-registry.js | 0 .../src/services/service-verifier.js | 0 .../vcxagent-core/src/storage/storage-file.js | 0 .../vcxagent-core/src/storage/storage-service.js | 0 .../node/vcxagent-core/src/utils/credentials.js | 0 .../node/vcxagent-core/src/utils/messages.js | 0 .../node/vcxagent-core/src/utils/proofs.js | 0 .../node/vcxagent-core/src/utils/vcx-workflows.js | 0 .../node/vcxagent-core/test/connection.spec.js | 0 .../vcxagent-core/test/distribute-tails.spec.js | 0 .../node/vcxagent-core/test/endpoint.spec.js | 0 .../node/vcxagent-core/test/issue-verify.spec.js | 0 .../node/vcxagent-core/test/messaging.spec.js | 0 .../node/vcxagent-core/test/out-of-band.spec.js | 0 .../node/vcxagent-core/test/public-invite.spec.js | 0 .../node/vcxagent-core/test/sign-verify.spec.js | 0 .../node/vcxagent-core/test/trustping.spec.js | 0 .../node/vcxagent-core/test/utils/alice.js | 0 .../agents}/node/vcxagent-core/test/utils/data.js | 0 .../node/vcxagent-core/test/utils/faber.js | 0 .../node/vcxagent-core/test/utils/utils.js | 0 {agents => aries/agents}/rust/README.md | 0 .../agents}/rust/aries-vcx-agent/.gitignore | 0 .../agents}/rust/aries-vcx-agent/Cargo.toml | 9 ++++++--- .../aries-vcx-agent/src/agent/agent_config.rs | 0 .../aries-vcx-agent/src/agent/agent_struct.rs | 0 .../rust/aries-vcx-agent/src/agent/init.rs | 0 .../agents}/rust/aries-vcx-agent/src/agent/mod.rs | 0 .../rust/aries-vcx-agent/src/error/convertors.rs | 0 .../rust/aries-vcx-agent/src/error/error_kind.rs | 0 .../aries-vcx-agent/src/error/error_struct.rs | 0 .../agents}/rust/aries-vcx-agent/src/error/mod.rs | 0 .../rust/aries-vcx-agent/src/error/result.rs | 0 .../agents}/rust/aries-vcx-agent/src/http.rs | 0 .../agents}/rust/aries-vcx-agent/src/lib.rs | 0 .../aries-vcx-agent/src/services/connection.rs | 0 .../src/services/credential_definition.rs | 0 .../rust/aries-vcx-agent/src/services/holder.rs | 0 .../rust/aries-vcx-agent/src/services/issuer.rs | 0 .../rust/aries-vcx-agent/src/services/mod.rs | 0 .../rust/aries-vcx-agent/src/services/prover.rs | 0 .../src/services/revocation_registry.rs | 0 .../rust/aries-vcx-agent/src/services/schema.rs | 0 .../rust/aries-vcx-agent/src/services/verifier.rs | 0 .../rust/aries-vcx-agent/src/storage/mod.rs | 0 .../aries-vcx-agent/src/storage/object_cache.rs | 0 .../agents}/rust/mediator/.cargo/config.toml | 0 {agents => aries/agents}/rust/mediator/.gitignore | 0 {agents => aries/agents}/rust/mediator/Cargo.toml | 10 +++++----- {agents => aries/agents}/rust/mediator/README.md | 0 .../agents}/rust/mediator/client-tui/Cargo.toml | 4 ++-- .../agents}/rust/mediator/client-tui/src/lib.rs | 0 .../agents}/rust/mediator/client-tui/src/main.rs | 0 .../agents}/rust/mediator/client-tui/src/tui.rs | 0 .../mediation/.github/workflows/rust-basic.yml | 0 .../agents}/rust/mediator/mediation/.gitignore | 0 .../agents}/rust/mediator/mediation/Cargo.lock | 0 .../agents}/rust/mediator/mediation/Cargo.toml | 2 +- .../agents}/rust/mediator/mediation/README.md | 0 .../agents}/rust/mediator/mediation/build.rs | 0 ...part-data-(accounts,_recipients,_messages).sql | 0 .../rust/mediator/mediation/src/didcomm_types.rs | 0 .../agents}/rust/mediator/mediation/src/lib.rs | 0 .../rust/mediator/mediation/src/logging.rs | 0 .../agents}/rust/mediator/mediation/src/main.rs | 0 .../agents}/rust/mediator/mediation/src/router.rs | 0 .../mediator/mediation/src/routes/coordination.rs | 0 .../rust/mediator/mediation/src/routes/forward.rs | 0 .../mediator/mediation/src/routes/hello_world.rs | 0 .../rust/mediator/mediation/src/routes/json.rs | 0 .../rust/mediator/mediation/src/routes/mod.rs | 0 .../rust/mediator/mediation/src/routes/pickup.rs | 0 .../agents}/rust/mediator/mediation/src/server.rs | 0 .../mediation/src/storage/database/any.rs | 0 .../mediation/src/storage/database/mod.rs | 0 .../mediation/src/storage/database/mysql.rs | 0 .../mediation/src/storage/database/postgres.rs | 0 .../rust/mediator/mediation/src/storage/mod.rs | 0 .../mediator/mediation/tests/e2e-hello-test.rs | 0 .../mediator/mediation/tests/e2e-persistence.rs | 0 .../rust/mediator/mediation/tests/e2e-pickup.rs | 0 .../rust/mediator/src/aries_agent/client/mod.rs | 0 .../mediator/src/aries_agent/client/transports.rs | 0 .../agents}/rust/mediator/src/aries_agent/mod.rs | 0 .../rust/mediator/src/aries_agent/utils.rs | 0 .../agents}/rust/mediator/src/bin/mediator.rs | 0 .../mediator/src/didcomm_handlers/connection.rs | 0 .../rust/mediator/src/didcomm_handlers/forward.rs | 0 .../src/didcomm_handlers/mediator_coord.rs | 0 .../rust/mediator/src/didcomm_handlers/mod.rs | 0 .../rust/mediator/src/didcomm_handlers/pickup.rs | 0 .../rust/mediator/src/didcomm_handlers/utils.rs | 0 .../agents}/rust/mediator/src/http_routes/mod.rs | 0 {agents => aries/agents}/rust/mediator/src/lib.rs | 0 .../rust/mediator/src/utils/binary_utils.rs | 0 .../agents}/rust/mediator/src/utils/mod.rs | 0 .../agents}/rust/mediator/src/utils/prelude.rs | 0 .../agents}/rust/mediator/src/utils/structs.rs | 0 .../tests/common/agent_and_transport_utils.rs | 0 .../agents}/rust/mediator/tests/common/mod.rs | 0 .../mediator/tests/mediator-aries-connection.rs | 0 .../mediator/tests/mediator-coord-protocol.rs | 0 .../mediator/tests/mediator-oob-invitation.rs | 0 .../mediator/tests/mediator-protocol-pickup.rs | 0 .../mediator/tests/mediator-routing-forward.rs | 0 135 files changed, 22 insertions(+), 18 deletions(-) rename {agents => aries/agents}/node/.gitignore (100%) rename {agents => aries/agents}/node/vcxagent-cli/logger.js (100%) rename {agents => aries/agents}/node/vcxagent-cli/package.json (100%) rename {agents => aries/agents}/node/vcxagent-cli/readme.md (100%) rename {agents => aries/agents}/node/vcxagent-cli/script-common.js (100%) rename {agents => aries/agents}/node/vcxagent-cli/vcxclient-cli.js (100%) rename {agents => aries/agents}/node/vcxagent-cli/vcxclient-interactive.js (100%) rename {agents => aries/agents}/node/vcxagent-core/demo/alice.js (100%) rename {agents => aries/agents}/node/vcxagent-core/demo/faber.js (100%) rename {agents => aries/agents}/node/vcxagent-core/demo/integration-test.js (100%) rename {agents => aries/agents}/node/vcxagent-core/demo/logger.js (100%) rename {agents => aries/agents}/node/vcxagent-core/demo/notification-server.js (100%) rename {agents => aries/agents}/node/vcxagent-core/demo/script-common.js (100%) rename {agents => aries/agents}/node/vcxagent-core/demo/wallet-common.js (100%) rename {agents => aries/agents}/node/vcxagent-core/package.json (100%) rename {agents => aries/agents}/node/vcxagent-core/publish.sh (100%) rename {agents => aries/agents}/node/vcxagent-core/readme.md (100%) rename {agents => aries/agents}/node/vcxagent-core/resources/docker.txn (100%) rename {agents => aries/agents}/node/vcxagent-core/src/agent.js (100%) rename {agents => aries/agents}/node/vcxagent-core/src/common.js (100%) rename {agents => aries/agents}/node/vcxagent-core/src/index.js (100%) rename {agents => aries/agents}/node/vcxagent-core/src/services/service-connections.js (100%) rename {agents => aries/agents}/node/vcxagent-core/src/services/service-cred-holder.js (100%) rename {agents => aries/agents}/node/vcxagent-core/src/services/service-cred-issuer.js (100%) rename {agents => aries/agents}/node/vcxagent-core/src/services/service-ledger-creddef.js (100%) rename {agents => aries/agents}/node/vcxagent-core/src/services/service-ledger-schema.js (100%) rename {agents => aries/agents}/node/vcxagent-core/src/services/service-mediated-connections.js (100%) rename {agents => aries/agents}/node/vcxagent-core/src/services/service-out-of-band.js (100%) rename {agents => aries/agents}/node/vcxagent-core/src/services/service-prover.js (100%) rename {agents => aries/agents}/node/vcxagent-core/src/services/service-revocation-registry.js (100%) rename {agents => aries/agents}/node/vcxagent-core/src/services/service-verifier.js (100%) rename {agents => aries/agents}/node/vcxagent-core/src/storage/storage-file.js (100%) rename {agents => aries/agents}/node/vcxagent-core/src/storage/storage-service.js (100%) rename {agents => aries/agents}/node/vcxagent-core/src/utils/credentials.js (100%) rename {agents => aries/agents}/node/vcxagent-core/src/utils/messages.js (100%) rename {agents => aries/agents}/node/vcxagent-core/src/utils/proofs.js (100%) rename {agents => aries/agents}/node/vcxagent-core/src/utils/vcx-workflows.js (100%) rename {agents => aries/agents}/node/vcxagent-core/test/connection.spec.js (100%) rename {agents => aries/agents}/node/vcxagent-core/test/distribute-tails.spec.js (100%) rename {agents => aries/agents}/node/vcxagent-core/test/endpoint.spec.js (100%) rename {agents => aries/agents}/node/vcxagent-core/test/issue-verify.spec.js (100%) rename {agents => aries/agents}/node/vcxagent-core/test/messaging.spec.js (100%) rename {agents => aries/agents}/node/vcxagent-core/test/out-of-band.spec.js (100%) rename {agents => aries/agents}/node/vcxagent-core/test/public-invite.spec.js (100%) rename {agents => aries/agents}/node/vcxagent-core/test/sign-verify.spec.js (100%) rename {agents => aries/agents}/node/vcxagent-core/test/trustping.spec.js (100%) rename {agents => aries/agents}/node/vcxagent-core/test/utils/alice.js (100%) rename {agents => aries/agents}/node/vcxagent-core/test/utils/data.js (100%) rename {agents => aries/agents}/node/vcxagent-core/test/utils/faber.js (100%) rename {agents => aries/agents}/node/vcxagent-core/test/utils/utils.js (100%) rename {agents => aries/agents}/rust/README.md (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/.gitignore (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/Cargo.toml (62%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/agent/agent_config.rs (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/agent/agent_struct.rs (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/agent/init.rs (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/agent/mod.rs (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/error/convertors.rs (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/error/error_kind.rs (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/error/error_struct.rs (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/error/mod.rs (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/error/result.rs (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/http.rs (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/lib.rs (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/services/connection.rs (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/services/credential_definition.rs (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/services/holder.rs (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/services/issuer.rs (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/services/mod.rs (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/services/prover.rs (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/services/revocation_registry.rs (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/services/schema.rs (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/services/verifier.rs (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/storage/mod.rs (100%) rename {agents => aries/agents}/rust/aries-vcx-agent/src/storage/object_cache.rs (100%) rename {agents => aries/agents}/rust/mediator/.cargo/config.toml (100%) rename {agents => aries/agents}/rust/mediator/.gitignore (100%) rename {agents => aries/agents}/rust/mediator/Cargo.toml (76%) rename {agents => aries/agents}/rust/mediator/README.md (100%) rename {agents => aries/agents}/rust/mediator/client-tui/Cargo.toml (80%) rename {agents => aries/agents}/rust/mediator/client-tui/src/lib.rs (100%) rename {agents => aries/agents}/rust/mediator/client-tui/src/main.rs (100%) rename {agents => aries/agents}/rust/mediator/client-tui/src/tui.rs (100%) rename {agents => aries/agents}/rust/mediator/mediation/.github/workflows/rust-basic.yml (100%) rename {agents => aries/agents}/rust/mediator/mediation/.gitignore (100%) rename {agents => aries/agents}/rust/mediator/mediation/Cargo.lock (100%) rename {agents => aries/agents}/rust/mediator/mediation/Cargo.toml (96%) rename {agents => aries/agents}/rust/mediator/mediation/README.md (100%) rename {agents => aries/agents}/rust/mediator/mediation/build.rs (100%) rename {agents => aries/agents}/rust/mediator/mediation/migrations/20230810132416_3-part-data-(accounts,_recipients,_messages).sql (100%) rename {agents => aries/agents}/rust/mediator/mediation/src/didcomm_types.rs (100%) rename {agents => aries/agents}/rust/mediator/mediation/src/lib.rs (100%) rename {agents => aries/agents}/rust/mediator/mediation/src/logging.rs (100%) rename {agents => aries/agents}/rust/mediator/mediation/src/main.rs (100%) rename {agents => aries/agents}/rust/mediator/mediation/src/router.rs (100%) rename {agents => aries/agents}/rust/mediator/mediation/src/routes/coordination.rs (100%) rename {agents => aries/agents}/rust/mediator/mediation/src/routes/forward.rs (100%) rename {agents => aries/agents}/rust/mediator/mediation/src/routes/hello_world.rs (100%) rename {agents => aries/agents}/rust/mediator/mediation/src/routes/json.rs (100%) rename {agents => aries/agents}/rust/mediator/mediation/src/routes/mod.rs (100%) rename {agents => aries/agents}/rust/mediator/mediation/src/routes/pickup.rs (100%) rename {agents => aries/agents}/rust/mediator/mediation/src/server.rs (100%) rename {agents => aries/agents}/rust/mediator/mediation/src/storage/database/any.rs (100%) rename {agents => aries/agents}/rust/mediator/mediation/src/storage/database/mod.rs (100%) rename {agents => aries/agents}/rust/mediator/mediation/src/storage/database/mysql.rs (100%) rename {agents => aries/agents}/rust/mediator/mediation/src/storage/database/postgres.rs (100%) rename {agents => aries/agents}/rust/mediator/mediation/src/storage/mod.rs (100%) rename {agents => aries/agents}/rust/mediator/mediation/tests/e2e-hello-test.rs (100%) rename {agents => aries/agents}/rust/mediator/mediation/tests/e2e-persistence.rs (100%) rename {agents => aries/agents}/rust/mediator/mediation/tests/e2e-pickup.rs (100%) rename {agents => aries/agents}/rust/mediator/src/aries_agent/client/mod.rs (100%) rename {agents => aries/agents}/rust/mediator/src/aries_agent/client/transports.rs (100%) rename {agents => aries/agents}/rust/mediator/src/aries_agent/mod.rs (100%) rename {agents => aries/agents}/rust/mediator/src/aries_agent/utils.rs (100%) rename {agents => aries/agents}/rust/mediator/src/bin/mediator.rs (100%) rename {agents => aries/agents}/rust/mediator/src/didcomm_handlers/connection.rs (100%) rename {agents => aries/agents}/rust/mediator/src/didcomm_handlers/forward.rs (100%) rename {agents => aries/agents}/rust/mediator/src/didcomm_handlers/mediator_coord.rs (100%) rename {agents => aries/agents}/rust/mediator/src/didcomm_handlers/mod.rs (100%) rename {agents => aries/agents}/rust/mediator/src/didcomm_handlers/pickup.rs (100%) rename {agents => aries/agents}/rust/mediator/src/didcomm_handlers/utils.rs (100%) rename {agents => aries/agents}/rust/mediator/src/http_routes/mod.rs (100%) rename {agents => aries/agents}/rust/mediator/src/lib.rs (100%) rename {agents => aries/agents}/rust/mediator/src/utils/binary_utils.rs (100%) rename {agents => aries/agents}/rust/mediator/src/utils/mod.rs (100%) rename {agents => aries/agents}/rust/mediator/src/utils/prelude.rs (100%) rename {agents => aries/agents}/rust/mediator/src/utils/structs.rs (100%) rename {agents => aries/agents}/rust/mediator/tests/common/agent_and_transport_utils.rs (100%) rename {agents => aries/agents}/rust/mediator/tests/common/mod.rs (100%) rename {agents => aries/agents}/rust/mediator/tests/mediator-aries-connection.rs (100%) rename {agents => aries/agents}/rust/mediator/tests/mediator-coord-protocol.rs (100%) rename {agents => aries/agents}/rust/mediator/tests/mediator-oob-invitation.rs (100%) rename {agents => aries/agents}/rust/mediator/tests/mediator-protocol-pickup.rs (100%) rename {agents => aries/agents}/rust/mediator/tests/mediator-routing-forward.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index b99e8e14d6..cda3566e01 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,9 +10,9 @@ members = [ "messages", "shared_vcx", "diddoc_legacy", - "agents/rust/mediator", - "agents/rust/mediator/client-tui", - "agents/rust/aries-vcx-agent", + "aries/agents/rust/mediator", + "aries/agents/rust/mediator/client-tui", + "aries/agents/rust/aries-vcx-agent", "wrappers/vcx-napi-rs", "aries_vcx_core", "uniffi_aries_vcx/core", @@ -31,12 +31,15 @@ members = [ "tools/simple_message_relay", "tools/test_utils", "tools/libvcx_logger", - "tools/display_as_json" + "tools/display_as_json", ] [workspace.package] version = "0.61.0" -authors = ["Absa Group Limited", "Hyperledger Indy Contributors "] +authors = [ + "Absa Group Limited", + "Hyperledger Indy Contributors ", +] description = "Library to work with Aries protocols & collection of supporting components" license = "Apache-2.0" edition = "2021" @@ -72,5 +75,3 @@ unused_import_braces = "warn" unused_lifetimes = "warn" unused_qualifications = "warn" let_underscore_drop = "allow" - - diff --git a/agents/node/.gitignore b/aries/agents/node/.gitignore similarity index 100% rename from agents/node/.gitignore rename to aries/agents/node/.gitignore diff --git a/agents/node/vcxagent-cli/logger.js b/aries/agents/node/vcxagent-cli/logger.js similarity index 100% rename from agents/node/vcxagent-cli/logger.js rename to aries/agents/node/vcxagent-cli/logger.js diff --git a/agents/node/vcxagent-cli/package.json b/aries/agents/node/vcxagent-cli/package.json similarity index 100% rename from agents/node/vcxagent-cli/package.json rename to aries/agents/node/vcxagent-cli/package.json diff --git a/agents/node/vcxagent-cli/readme.md b/aries/agents/node/vcxagent-cli/readme.md similarity index 100% rename from agents/node/vcxagent-cli/readme.md rename to aries/agents/node/vcxagent-cli/readme.md diff --git a/agents/node/vcxagent-cli/script-common.js b/aries/agents/node/vcxagent-cli/script-common.js similarity index 100% rename from agents/node/vcxagent-cli/script-common.js rename to aries/agents/node/vcxagent-cli/script-common.js diff --git a/agents/node/vcxagent-cli/vcxclient-cli.js b/aries/agents/node/vcxagent-cli/vcxclient-cli.js similarity index 100% rename from agents/node/vcxagent-cli/vcxclient-cli.js rename to aries/agents/node/vcxagent-cli/vcxclient-cli.js diff --git a/agents/node/vcxagent-cli/vcxclient-interactive.js b/aries/agents/node/vcxagent-cli/vcxclient-interactive.js similarity index 100% rename from agents/node/vcxagent-cli/vcxclient-interactive.js rename to aries/agents/node/vcxagent-cli/vcxclient-interactive.js diff --git a/agents/node/vcxagent-core/demo/alice.js b/aries/agents/node/vcxagent-core/demo/alice.js similarity index 100% rename from agents/node/vcxagent-core/demo/alice.js rename to aries/agents/node/vcxagent-core/demo/alice.js diff --git a/agents/node/vcxagent-core/demo/faber.js b/aries/agents/node/vcxagent-core/demo/faber.js similarity index 100% rename from agents/node/vcxagent-core/demo/faber.js rename to aries/agents/node/vcxagent-core/demo/faber.js diff --git a/agents/node/vcxagent-core/demo/integration-test.js b/aries/agents/node/vcxagent-core/demo/integration-test.js similarity index 100% rename from agents/node/vcxagent-core/demo/integration-test.js rename to aries/agents/node/vcxagent-core/demo/integration-test.js diff --git a/agents/node/vcxagent-core/demo/logger.js b/aries/agents/node/vcxagent-core/demo/logger.js similarity index 100% rename from agents/node/vcxagent-core/demo/logger.js rename to aries/agents/node/vcxagent-core/demo/logger.js diff --git a/agents/node/vcxagent-core/demo/notification-server.js b/aries/agents/node/vcxagent-core/demo/notification-server.js similarity index 100% rename from agents/node/vcxagent-core/demo/notification-server.js rename to aries/agents/node/vcxagent-core/demo/notification-server.js diff --git a/agents/node/vcxagent-core/demo/script-common.js b/aries/agents/node/vcxagent-core/demo/script-common.js similarity index 100% rename from agents/node/vcxagent-core/demo/script-common.js rename to aries/agents/node/vcxagent-core/demo/script-common.js diff --git a/agents/node/vcxagent-core/demo/wallet-common.js b/aries/agents/node/vcxagent-core/demo/wallet-common.js similarity index 100% rename from agents/node/vcxagent-core/demo/wallet-common.js rename to aries/agents/node/vcxagent-core/demo/wallet-common.js diff --git a/agents/node/vcxagent-core/package.json b/aries/agents/node/vcxagent-core/package.json similarity index 100% rename from agents/node/vcxagent-core/package.json rename to aries/agents/node/vcxagent-core/package.json diff --git a/agents/node/vcxagent-core/publish.sh b/aries/agents/node/vcxagent-core/publish.sh similarity index 100% rename from agents/node/vcxagent-core/publish.sh rename to aries/agents/node/vcxagent-core/publish.sh diff --git a/agents/node/vcxagent-core/readme.md b/aries/agents/node/vcxagent-core/readme.md similarity index 100% rename from agents/node/vcxagent-core/readme.md rename to aries/agents/node/vcxagent-core/readme.md diff --git a/agents/node/vcxagent-core/resources/docker.txn b/aries/agents/node/vcxagent-core/resources/docker.txn similarity index 100% rename from agents/node/vcxagent-core/resources/docker.txn rename to aries/agents/node/vcxagent-core/resources/docker.txn diff --git a/agents/node/vcxagent-core/src/agent.js b/aries/agents/node/vcxagent-core/src/agent.js similarity index 100% rename from agents/node/vcxagent-core/src/agent.js rename to aries/agents/node/vcxagent-core/src/agent.js diff --git a/agents/node/vcxagent-core/src/common.js b/aries/agents/node/vcxagent-core/src/common.js similarity index 100% rename from agents/node/vcxagent-core/src/common.js rename to aries/agents/node/vcxagent-core/src/common.js diff --git a/agents/node/vcxagent-core/src/index.js b/aries/agents/node/vcxagent-core/src/index.js similarity index 100% rename from agents/node/vcxagent-core/src/index.js rename to aries/agents/node/vcxagent-core/src/index.js diff --git a/agents/node/vcxagent-core/src/services/service-connections.js b/aries/agents/node/vcxagent-core/src/services/service-connections.js similarity index 100% rename from agents/node/vcxagent-core/src/services/service-connections.js rename to aries/agents/node/vcxagent-core/src/services/service-connections.js diff --git a/agents/node/vcxagent-core/src/services/service-cred-holder.js b/aries/agents/node/vcxagent-core/src/services/service-cred-holder.js similarity index 100% rename from agents/node/vcxagent-core/src/services/service-cred-holder.js rename to aries/agents/node/vcxagent-core/src/services/service-cred-holder.js diff --git a/agents/node/vcxagent-core/src/services/service-cred-issuer.js b/aries/agents/node/vcxagent-core/src/services/service-cred-issuer.js similarity index 100% rename from agents/node/vcxagent-core/src/services/service-cred-issuer.js rename to aries/agents/node/vcxagent-core/src/services/service-cred-issuer.js diff --git a/agents/node/vcxagent-core/src/services/service-ledger-creddef.js b/aries/agents/node/vcxagent-core/src/services/service-ledger-creddef.js similarity index 100% rename from agents/node/vcxagent-core/src/services/service-ledger-creddef.js rename to aries/agents/node/vcxagent-core/src/services/service-ledger-creddef.js diff --git a/agents/node/vcxagent-core/src/services/service-ledger-schema.js b/aries/agents/node/vcxagent-core/src/services/service-ledger-schema.js similarity index 100% rename from agents/node/vcxagent-core/src/services/service-ledger-schema.js rename to aries/agents/node/vcxagent-core/src/services/service-ledger-schema.js diff --git a/agents/node/vcxagent-core/src/services/service-mediated-connections.js b/aries/agents/node/vcxagent-core/src/services/service-mediated-connections.js similarity index 100% rename from agents/node/vcxagent-core/src/services/service-mediated-connections.js rename to aries/agents/node/vcxagent-core/src/services/service-mediated-connections.js diff --git a/agents/node/vcxagent-core/src/services/service-out-of-band.js b/aries/agents/node/vcxagent-core/src/services/service-out-of-band.js similarity index 100% rename from agents/node/vcxagent-core/src/services/service-out-of-band.js rename to aries/agents/node/vcxagent-core/src/services/service-out-of-band.js diff --git a/agents/node/vcxagent-core/src/services/service-prover.js b/aries/agents/node/vcxagent-core/src/services/service-prover.js similarity index 100% rename from agents/node/vcxagent-core/src/services/service-prover.js rename to aries/agents/node/vcxagent-core/src/services/service-prover.js diff --git a/agents/node/vcxagent-core/src/services/service-revocation-registry.js b/aries/agents/node/vcxagent-core/src/services/service-revocation-registry.js similarity index 100% rename from agents/node/vcxagent-core/src/services/service-revocation-registry.js rename to aries/agents/node/vcxagent-core/src/services/service-revocation-registry.js diff --git a/agents/node/vcxagent-core/src/services/service-verifier.js b/aries/agents/node/vcxagent-core/src/services/service-verifier.js similarity index 100% rename from agents/node/vcxagent-core/src/services/service-verifier.js rename to aries/agents/node/vcxagent-core/src/services/service-verifier.js diff --git a/agents/node/vcxagent-core/src/storage/storage-file.js b/aries/agents/node/vcxagent-core/src/storage/storage-file.js similarity index 100% rename from agents/node/vcxagent-core/src/storage/storage-file.js rename to aries/agents/node/vcxagent-core/src/storage/storage-file.js diff --git a/agents/node/vcxagent-core/src/storage/storage-service.js b/aries/agents/node/vcxagent-core/src/storage/storage-service.js similarity index 100% rename from agents/node/vcxagent-core/src/storage/storage-service.js rename to aries/agents/node/vcxagent-core/src/storage/storage-service.js diff --git a/agents/node/vcxagent-core/src/utils/credentials.js b/aries/agents/node/vcxagent-core/src/utils/credentials.js similarity index 100% rename from agents/node/vcxagent-core/src/utils/credentials.js rename to aries/agents/node/vcxagent-core/src/utils/credentials.js diff --git a/agents/node/vcxagent-core/src/utils/messages.js b/aries/agents/node/vcxagent-core/src/utils/messages.js similarity index 100% rename from agents/node/vcxagent-core/src/utils/messages.js rename to aries/agents/node/vcxagent-core/src/utils/messages.js diff --git a/agents/node/vcxagent-core/src/utils/proofs.js b/aries/agents/node/vcxagent-core/src/utils/proofs.js similarity index 100% rename from agents/node/vcxagent-core/src/utils/proofs.js rename to aries/agents/node/vcxagent-core/src/utils/proofs.js diff --git a/agents/node/vcxagent-core/src/utils/vcx-workflows.js b/aries/agents/node/vcxagent-core/src/utils/vcx-workflows.js similarity index 100% rename from agents/node/vcxagent-core/src/utils/vcx-workflows.js rename to aries/agents/node/vcxagent-core/src/utils/vcx-workflows.js diff --git a/agents/node/vcxagent-core/test/connection.spec.js b/aries/agents/node/vcxagent-core/test/connection.spec.js similarity index 100% rename from agents/node/vcxagent-core/test/connection.spec.js rename to aries/agents/node/vcxagent-core/test/connection.spec.js diff --git a/agents/node/vcxagent-core/test/distribute-tails.spec.js b/aries/agents/node/vcxagent-core/test/distribute-tails.spec.js similarity index 100% rename from agents/node/vcxagent-core/test/distribute-tails.spec.js rename to aries/agents/node/vcxagent-core/test/distribute-tails.spec.js diff --git a/agents/node/vcxagent-core/test/endpoint.spec.js b/aries/agents/node/vcxagent-core/test/endpoint.spec.js similarity index 100% rename from agents/node/vcxagent-core/test/endpoint.spec.js rename to aries/agents/node/vcxagent-core/test/endpoint.spec.js diff --git a/agents/node/vcxagent-core/test/issue-verify.spec.js b/aries/agents/node/vcxagent-core/test/issue-verify.spec.js similarity index 100% rename from agents/node/vcxagent-core/test/issue-verify.spec.js rename to aries/agents/node/vcxagent-core/test/issue-verify.spec.js diff --git a/agents/node/vcxagent-core/test/messaging.spec.js b/aries/agents/node/vcxagent-core/test/messaging.spec.js similarity index 100% rename from agents/node/vcxagent-core/test/messaging.spec.js rename to aries/agents/node/vcxagent-core/test/messaging.spec.js diff --git a/agents/node/vcxagent-core/test/out-of-band.spec.js b/aries/agents/node/vcxagent-core/test/out-of-band.spec.js similarity index 100% rename from agents/node/vcxagent-core/test/out-of-band.spec.js rename to aries/agents/node/vcxagent-core/test/out-of-band.spec.js diff --git a/agents/node/vcxagent-core/test/public-invite.spec.js b/aries/agents/node/vcxagent-core/test/public-invite.spec.js similarity index 100% rename from agents/node/vcxagent-core/test/public-invite.spec.js rename to aries/agents/node/vcxagent-core/test/public-invite.spec.js diff --git a/agents/node/vcxagent-core/test/sign-verify.spec.js b/aries/agents/node/vcxagent-core/test/sign-verify.spec.js similarity index 100% rename from agents/node/vcxagent-core/test/sign-verify.spec.js rename to aries/agents/node/vcxagent-core/test/sign-verify.spec.js diff --git a/agents/node/vcxagent-core/test/trustping.spec.js b/aries/agents/node/vcxagent-core/test/trustping.spec.js similarity index 100% rename from agents/node/vcxagent-core/test/trustping.spec.js rename to aries/agents/node/vcxagent-core/test/trustping.spec.js diff --git a/agents/node/vcxagent-core/test/utils/alice.js b/aries/agents/node/vcxagent-core/test/utils/alice.js similarity index 100% rename from agents/node/vcxagent-core/test/utils/alice.js rename to aries/agents/node/vcxagent-core/test/utils/alice.js diff --git a/agents/node/vcxagent-core/test/utils/data.js b/aries/agents/node/vcxagent-core/test/utils/data.js similarity index 100% rename from agents/node/vcxagent-core/test/utils/data.js rename to aries/agents/node/vcxagent-core/test/utils/data.js diff --git a/agents/node/vcxagent-core/test/utils/faber.js b/aries/agents/node/vcxagent-core/test/utils/faber.js similarity index 100% rename from agents/node/vcxagent-core/test/utils/faber.js rename to aries/agents/node/vcxagent-core/test/utils/faber.js diff --git a/agents/node/vcxagent-core/test/utils/utils.js b/aries/agents/node/vcxagent-core/test/utils/utils.js similarity index 100% rename from agents/node/vcxagent-core/test/utils/utils.js rename to aries/agents/node/vcxagent-core/test/utils/utils.js diff --git a/agents/rust/README.md b/aries/agents/rust/README.md similarity index 100% rename from agents/rust/README.md rename to aries/agents/rust/README.md diff --git a/agents/rust/aries-vcx-agent/.gitignore b/aries/agents/rust/aries-vcx-agent/.gitignore similarity index 100% rename from agents/rust/aries-vcx-agent/.gitignore rename to aries/agents/rust/aries-vcx-agent/.gitignore diff --git a/agents/rust/aries-vcx-agent/Cargo.toml b/aries/agents/rust/aries-vcx-agent/Cargo.toml similarity index 62% rename from agents/rust/aries-vcx-agent/Cargo.toml rename to aries/agents/rust/aries-vcx-agent/Cargo.toml index 4c9e710cc9..62e334e366 100644 --- a/agents/rust/aries-vcx-agent/Cargo.toml +++ b/aries/agents/rust/aries-vcx-agent/Cargo.toml @@ -7,9 +7,12 @@ edition.workspace = true [dependencies] serde = "1.0.145" -aries_vcx = { path = "../../../aries_vcx" } -aries_vcx_core = { path = "../../../aries_vcx_core", features = ["credx", "vdrtools_wallet"] } -shared_vcx = { path = "../../../shared_vcx" } +aries_vcx = { path = "../../../../aries_vcx" } +aries_vcx_core = { path = "../../../../aries_vcx_core", features = [ + "credx", + "vdrtools_wallet", +] } +shared_vcx = { path = "../../../../shared_vcx" } async-trait = "0.1.64" derive_builder = "0.12.0" serde_json = "1.0.85" diff --git a/agents/rust/aries-vcx-agent/src/agent/agent_config.rs b/aries/agents/rust/aries-vcx-agent/src/agent/agent_config.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/agent/agent_config.rs rename to aries/agents/rust/aries-vcx-agent/src/agent/agent_config.rs diff --git a/agents/rust/aries-vcx-agent/src/agent/agent_struct.rs b/aries/agents/rust/aries-vcx-agent/src/agent/agent_struct.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/agent/agent_struct.rs rename to aries/agents/rust/aries-vcx-agent/src/agent/agent_struct.rs diff --git a/agents/rust/aries-vcx-agent/src/agent/init.rs b/aries/agents/rust/aries-vcx-agent/src/agent/init.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/agent/init.rs rename to aries/agents/rust/aries-vcx-agent/src/agent/init.rs diff --git a/agents/rust/aries-vcx-agent/src/agent/mod.rs b/aries/agents/rust/aries-vcx-agent/src/agent/mod.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/agent/mod.rs rename to aries/agents/rust/aries-vcx-agent/src/agent/mod.rs diff --git a/agents/rust/aries-vcx-agent/src/error/convertors.rs b/aries/agents/rust/aries-vcx-agent/src/error/convertors.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/error/convertors.rs rename to aries/agents/rust/aries-vcx-agent/src/error/convertors.rs diff --git a/agents/rust/aries-vcx-agent/src/error/error_kind.rs b/aries/agents/rust/aries-vcx-agent/src/error/error_kind.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/error/error_kind.rs rename to aries/agents/rust/aries-vcx-agent/src/error/error_kind.rs diff --git a/agents/rust/aries-vcx-agent/src/error/error_struct.rs b/aries/agents/rust/aries-vcx-agent/src/error/error_struct.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/error/error_struct.rs rename to aries/agents/rust/aries-vcx-agent/src/error/error_struct.rs diff --git a/agents/rust/aries-vcx-agent/src/error/mod.rs b/aries/agents/rust/aries-vcx-agent/src/error/mod.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/error/mod.rs rename to aries/agents/rust/aries-vcx-agent/src/error/mod.rs diff --git a/agents/rust/aries-vcx-agent/src/error/result.rs b/aries/agents/rust/aries-vcx-agent/src/error/result.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/error/result.rs rename to aries/agents/rust/aries-vcx-agent/src/error/result.rs diff --git a/agents/rust/aries-vcx-agent/src/http.rs b/aries/agents/rust/aries-vcx-agent/src/http.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/http.rs rename to aries/agents/rust/aries-vcx-agent/src/http.rs diff --git a/agents/rust/aries-vcx-agent/src/lib.rs b/aries/agents/rust/aries-vcx-agent/src/lib.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/lib.rs rename to aries/agents/rust/aries-vcx-agent/src/lib.rs diff --git a/agents/rust/aries-vcx-agent/src/services/connection.rs b/aries/agents/rust/aries-vcx-agent/src/services/connection.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/services/connection.rs rename to aries/agents/rust/aries-vcx-agent/src/services/connection.rs diff --git a/agents/rust/aries-vcx-agent/src/services/credential_definition.rs b/aries/agents/rust/aries-vcx-agent/src/services/credential_definition.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/services/credential_definition.rs rename to aries/agents/rust/aries-vcx-agent/src/services/credential_definition.rs diff --git a/agents/rust/aries-vcx-agent/src/services/holder.rs b/aries/agents/rust/aries-vcx-agent/src/services/holder.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/services/holder.rs rename to aries/agents/rust/aries-vcx-agent/src/services/holder.rs diff --git a/agents/rust/aries-vcx-agent/src/services/issuer.rs b/aries/agents/rust/aries-vcx-agent/src/services/issuer.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/services/issuer.rs rename to aries/agents/rust/aries-vcx-agent/src/services/issuer.rs diff --git a/agents/rust/aries-vcx-agent/src/services/mod.rs b/aries/agents/rust/aries-vcx-agent/src/services/mod.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/services/mod.rs rename to aries/agents/rust/aries-vcx-agent/src/services/mod.rs diff --git a/agents/rust/aries-vcx-agent/src/services/prover.rs b/aries/agents/rust/aries-vcx-agent/src/services/prover.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/services/prover.rs rename to aries/agents/rust/aries-vcx-agent/src/services/prover.rs diff --git a/agents/rust/aries-vcx-agent/src/services/revocation_registry.rs b/aries/agents/rust/aries-vcx-agent/src/services/revocation_registry.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/services/revocation_registry.rs rename to aries/agents/rust/aries-vcx-agent/src/services/revocation_registry.rs diff --git a/agents/rust/aries-vcx-agent/src/services/schema.rs b/aries/agents/rust/aries-vcx-agent/src/services/schema.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/services/schema.rs rename to aries/agents/rust/aries-vcx-agent/src/services/schema.rs diff --git a/agents/rust/aries-vcx-agent/src/services/verifier.rs b/aries/agents/rust/aries-vcx-agent/src/services/verifier.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/services/verifier.rs rename to aries/agents/rust/aries-vcx-agent/src/services/verifier.rs diff --git a/agents/rust/aries-vcx-agent/src/storage/mod.rs b/aries/agents/rust/aries-vcx-agent/src/storage/mod.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/storage/mod.rs rename to aries/agents/rust/aries-vcx-agent/src/storage/mod.rs diff --git a/agents/rust/aries-vcx-agent/src/storage/object_cache.rs b/aries/agents/rust/aries-vcx-agent/src/storage/object_cache.rs similarity index 100% rename from agents/rust/aries-vcx-agent/src/storage/object_cache.rs rename to aries/agents/rust/aries-vcx-agent/src/storage/object_cache.rs diff --git a/agents/rust/mediator/.cargo/config.toml b/aries/agents/rust/mediator/.cargo/config.toml similarity index 100% rename from agents/rust/mediator/.cargo/config.toml rename to aries/agents/rust/mediator/.cargo/config.toml diff --git a/agents/rust/mediator/.gitignore b/aries/agents/rust/mediator/.gitignore similarity index 100% rename from agents/rust/mediator/.gitignore rename to aries/agents/rust/mediator/.gitignore diff --git a/agents/rust/mediator/Cargo.toml b/aries/agents/rust/mediator/Cargo.toml similarity index 76% rename from agents/rust/mediator/Cargo.toml rename to aries/agents/rust/mediator/Cargo.toml index 5d6393d447..6d89d5bfb2 100644 --- a/agents/rust/mediator/Cargo.toml +++ b/aries/agents/rust/mediator/Cargo.toml @@ -11,20 +11,20 @@ client = [] [dependencies] anyhow = "1.0.75" -aries_vcx = { path = "../../../aries_vcx" } -aries_vcx_core = { path = "../../../aries_vcx_core", features = [ +aries_vcx = { path = "../../../../aries_vcx" } +aries_vcx_core = { path = "../../../../aries_vcx_core", features = [ "vdrtools_wallet", ] } async-trait = "0.1.73" axum = "0.6" axum-macros = "0.3.8" -diddoc_legacy = { path = "../../../diddoc_legacy" } +diddoc_legacy = { path = "../../../../diddoc_legacy" } dotenvy = "0.15" env_logger = "0.10.0" fast_qr = { version = "0.10.2", features = ["svg"] } futures = "0.3.28" log = "0.4.20" -messages = { path = "../../../messages" } +messages = { path = "../../../../messages" } reqwest = { version = "0.11.20", features = ["json"] } serde = "1.0.188" serde_json = "1.0.106" @@ -35,7 +35,7 @@ tower-http = { version = "0.4.4", features = ["catch-panic"] } url = "2.4.1" uuid = "1.4.1" mediation = { path = "./mediation" } -test_utils = { path = "../../../tools/test_utils" } +test_utils = { path = "../../../../tools/test_utils" } [dev-dependencies] base64-url = "2.0.0" diff --git a/agents/rust/mediator/README.md b/aries/agents/rust/mediator/README.md similarity index 100% rename from agents/rust/mediator/README.md rename to aries/agents/rust/mediator/README.md diff --git a/agents/rust/mediator/client-tui/Cargo.toml b/aries/agents/rust/mediator/client-tui/Cargo.toml similarity index 80% rename from agents/rust/mediator/client-tui/Cargo.toml rename to aries/agents/rust/mediator/client-tui/Cargo.toml index 10dbbac948..ed55ef457e 100644 --- a/agents/rust/mediator/client-tui/Cargo.toml +++ b/aries/agents/rust/mediator/client-tui/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -aries_vcx_core = { path = "../../../../aries_vcx_core", features = [ +aries_vcx_core = { path = "../../../../../aries_vcx_core", features = [ "vdrtools_wallet", ] } axum = "0.6.20" @@ -15,7 +15,7 @@ futures = "0.3.28" log = "0.4.20" mediation = { path = "../mediation" } mediator = { path = ".." } -messages = { path = "../../../../messages" } +messages = { path = "../../../../../messages" } reqwest = "0.11.22" serde_json = "1.0.107" diff --git a/agents/rust/mediator/client-tui/src/lib.rs b/aries/agents/rust/mediator/client-tui/src/lib.rs similarity index 100% rename from agents/rust/mediator/client-tui/src/lib.rs rename to aries/agents/rust/mediator/client-tui/src/lib.rs diff --git a/agents/rust/mediator/client-tui/src/main.rs b/aries/agents/rust/mediator/client-tui/src/main.rs similarity index 100% rename from agents/rust/mediator/client-tui/src/main.rs rename to aries/agents/rust/mediator/client-tui/src/main.rs diff --git a/agents/rust/mediator/client-tui/src/tui.rs b/aries/agents/rust/mediator/client-tui/src/tui.rs similarity index 100% rename from agents/rust/mediator/client-tui/src/tui.rs rename to aries/agents/rust/mediator/client-tui/src/tui.rs diff --git a/agents/rust/mediator/mediation/.github/workflows/rust-basic.yml b/aries/agents/rust/mediator/mediation/.github/workflows/rust-basic.yml similarity index 100% rename from agents/rust/mediator/mediation/.github/workflows/rust-basic.yml rename to aries/agents/rust/mediator/mediation/.github/workflows/rust-basic.yml diff --git a/agents/rust/mediator/mediation/.gitignore b/aries/agents/rust/mediator/mediation/.gitignore similarity index 100% rename from agents/rust/mediator/mediation/.gitignore rename to aries/agents/rust/mediator/mediation/.gitignore diff --git a/agents/rust/mediator/mediation/Cargo.lock b/aries/agents/rust/mediator/mediation/Cargo.lock similarity index 100% rename from agents/rust/mediator/mediation/Cargo.lock rename to aries/agents/rust/mediator/mediation/Cargo.lock diff --git a/agents/rust/mediator/mediation/Cargo.toml b/aries/agents/rust/mediator/mediation/Cargo.toml similarity index 96% rename from agents/rust/mediator/mediation/Cargo.toml rename to aries/agents/rust/mediator/mediation/Cargo.toml index 7a3598d838..977aede451 100644 --- a/agents/rust/mediator/mediation/Cargo.toml +++ b/aries/agents/rust/mediator/mediation/Cargo.toml @@ -22,7 +22,7 @@ dotenvy = "0.15.7" env_logger = "0.10.0" futures = "0.3.28" log = "0.4.19" -messages = { path = "../../../../messages" } +messages = { path = "../../../../../messages" } serde = { version = "1.0.164", features = ["derive"] } serde_json = "1.0.104" serde_with = { version = "3.1.0", features = ["base64"] } diff --git a/agents/rust/mediator/mediation/README.md b/aries/agents/rust/mediator/mediation/README.md similarity index 100% rename from agents/rust/mediator/mediation/README.md rename to aries/agents/rust/mediator/mediation/README.md diff --git a/agents/rust/mediator/mediation/build.rs b/aries/agents/rust/mediator/mediation/build.rs similarity index 100% rename from agents/rust/mediator/mediation/build.rs rename to aries/agents/rust/mediator/mediation/build.rs diff --git a/agents/rust/mediator/mediation/migrations/20230810132416_3-part-data-(accounts,_recipients,_messages).sql b/aries/agents/rust/mediator/mediation/migrations/20230810132416_3-part-data-(accounts,_recipients,_messages).sql similarity index 100% rename from agents/rust/mediator/mediation/migrations/20230810132416_3-part-data-(accounts,_recipients,_messages).sql rename to aries/agents/rust/mediator/mediation/migrations/20230810132416_3-part-data-(accounts,_recipients,_messages).sql diff --git a/agents/rust/mediator/mediation/src/didcomm_types.rs b/aries/agents/rust/mediator/mediation/src/didcomm_types.rs similarity index 100% rename from agents/rust/mediator/mediation/src/didcomm_types.rs rename to aries/agents/rust/mediator/mediation/src/didcomm_types.rs diff --git a/agents/rust/mediator/mediation/src/lib.rs b/aries/agents/rust/mediator/mediation/src/lib.rs similarity index 100% rename from agents/rust/mediator/mediation/src/lib.rs rename to aries/agents/rust/mediator/mediation/src/lib.rs diff --git a/agents/rust/mediator/mediation/src/logging.rs b/aries/agents/rust/mediator/mediation/src/logging.rs similarity index 100% rename from agents/rust/mediator/mediation/src/logging.rs rename to aries/agents/rust/mediator/mediation/src/logging.rs diff --git a/agents/rust/mediator/mediation/src/main.rs b/aries/agents/rust/mediator/mediation/src/main.rs similarity index 100% rename from agents/rust/mediator/mediation/src/main.rs rename to aries/agents/rust/mediator/mediation/src/main.rs diff --git a/agents/rust/mediator/mediation/src/router.rs b/aries/agents/rust/mediator/mediation/src/router.rs similarity index 100% rename from agents/rust/mediator/mediation/src/router.rs rename to aries/agents/rust/mediator/mediation/src/router.rs diff --git a/agents/rust/mediator/mediation/src/routes/coordination.rs b/aries/agents/rust/mediator/mediation/src/routes/coordination.rs similarity index 100% rename from agents/rust/mediator/mediation/src/routes/coordination.rs rename to aries/agents/rust/mediator/mediation/src/routes/coordination.rs diff --git a/agents/rust/mediator/mediation/src/routes/forward.rs b/aries/agents/rust/mediator/mediation/src/routes/forward.rs similarity index 100% rename from agents/rust/mediator/mediation/src/routes/forward.rs rename to aries/agents/rust/mediator/mediation/src/routes/forward.rs diff --git a/agents/rust/mediator/mediation/src/routes/hello_world.rs b/aries/agents/rust/mediator/mediation/src/routes/hello_world.rs similarity index 100% rename from agents/rust/mediator/mediation/src/routes/hello_world.rs rename to aries/agents/rust/mediator/mediation/src/routes/hello_world.rs diff --git a/agents/rust/mediator/mediation/src/routes/json.rs b/aries/agents/rust/mediator/mediation/src/routes/json.rs similarity index 100% rename from agents/rust/mediator/mediation/src/routes/json.rs rename to aries/agents/rust/mediator/mediation/src/routes/json.rs diff --git a/agents/rust/mediator/mediation/src/routes/mod.rs b/aries/agents/rust/mediator/mediation/src/routes/mod.rs similarity index 100% rename from agents/rust/mediator/mediation/src/routes/mod.rs rename to aries/agents/rust/mediator/mediation/src/routes/mod.rs diff --git a/agents/rust/mediator/mediation/src/routes/pickup.rs b/aries/agents/rust/mediator/mediation/src/routes/pickup.rs similarity index 100% rename from agents/rust/mediator/mediation/src/routes/pickup.rs rename to aries/agents/rust/mediator/mediation/src/routes/pickup.rs diff --git a/agents/rust/mediator/mediation/src/server.rs b/aries/agents/rust/mediator/mediation/src/server.rs similarity index 100% rename from agents/rust/mediator/mediation/src/server.rs rename to aries/agents/rust/mediator/mediation/src/server.rs diff --git a/agents/rust/mediator/mediation/src/storage/database/any.rs b/aries/agents/rust/mediator/mediation/src/storage/database/any.rs similarity index 100% rename from agents/rust/mediator/mediation/src/storage/database/any.rs rename to aries/agents/rust/mediator/mediation/src/storage/database/any.rs diff --git a/agents/rust/mediator/mediation/src/storage/database/mod.rs b/aries/agents/rust/mediator/mediation/src/storage/database/mod.rs similarity index 100% rename from agents/rust/mediator/mediation/src/storage/database/mod.rs rename to aries/agents/rust/mediator/mediation/src/storage/database/mod.rs diff --git a/agents/rust/mediator/mediation/src/storage/database/mysql.rs b/aries/agents/rust/mediator/mediation/src/storage/database/mysql.rs similarity index 100% rename from agents/rust/mediator/mediation/src/storage/database/mysql.rs rename to aries/agents/rust/mediator/mediation/src/storage/database/mysql.rs diff --git a/agents/rust/mediator/mediation/src/storage/database/postgres.rs b/aries/agents/rust/mediator/mediation/src/storage/database/postgres.rs similarity index 100% rename from agents/rust/mediator/mediation/src/storage/database/postgres.rs rename to aries/agents/rust/mediator/mediation/src/storage/database/postgres.rs diff --git a/agents/rust/mediator/mediation/src/storage/mod.rs b/aries/agents/rust/mediator/mediation/src/storage/mod.rs similarity index 100% rename from agents/rust/mediator/mediation/src/storage/mod.rs rename to aries/agents/rust/mediator/mediation/src/storage/mod.rs diff --git a/agents/rust/mediator/mediation/tests/e2e-hello-test.rs b/aries/agents/rust/mediator/mediation/tests/e2e-hello-test.rs similarity index 100% rename from agents/rust/mediator/mediation/tests/e2e-hello-test.rs rename to aries/agents/rust/mediator/mediation/tests/e2e-hello-test.rs diff --git a/agents/rust/mediator/mediation/tests/e2e-persistence.rs b/aries/agents/rust/mediator/mediation/tests/e2e-persistence.rs similarity index 100% rename from agents/rust/mediator/mediation/tests/e2e-persistence.rs rename to aries/agents/rust/mediator/mediation/tests/e2e-persistence.rs diff --git a/agents/rust/mediator/mediation/tests/e2e-pickup.rs b/aries/agents/rust/mediator/mediation/tests/e2e-pickup.rs similarity index 100% rename from agents/rust/mediator/mediation/tests/e2e-pickup.rs rename to aries/agents/rust/mediator/mediation/tests/e2e-pickup.rs diff --git a/agents/rust/mediator/src/aries_agent/client/mod.rs b/aries/agents/rust/mediator/src/aries_agent/client/mod.rs similarity index 100% rename from agents/rust/mediator/src/aries_agent/client/mod.rs rename to aries/agents/rust/mediator/src/aries_agent/client/mod.rs diff --git a/agents/rust/mediator/src/aries_agent/client/transports.rs b/aries/agents/rust/mediator/src/aries_agent/client/transports.rs similarity index 100% rename from agents/rust/mediator/src/aries_agent/client/transports.rs rename to aries/agents/rust/mediator/src/aries_agent/client/transports.rs diff --git a/agents/rust/mediator/src/aries_agent/mod.rs b/aries/agents/rust/mediator/src/aries_agent/mod.rs similarity index 100% rename from agents/rust/mediator/src/aries_agent/mod.rs rename to aries/agents/rust/mediator/src/aries_agent/mod.rs diff --git a/agents/rust/mediator/src/aries_agent/utils.rs b/aries/agents/rust/mediator/src/aries_agent/utils.rs similarity index 100% rename from agents/rust/mediator/src/aries_agent/utils.rs rename to aries/agents/rust/mediator/src/aries_agent/utils.rs diff --git a/agents/rust/mediator/src/bin/mediator.rs b/aries/agents/rust/mediator/src/bin/mediator.rs similarity index 100% rename from agents/rust/mediator/src/bin/mediator.rs rename to aries/agents/rust/mediator/src/bin/mediator.rs diff --git a/agents/rust/mediator/src/didcomm_handlers/connection.rs b/aries/agents/rust/mediator/src/didcomm_handlers/connection.rs similarity index 100% rename from agents/rust/mediator/src/didcomm_handlers/connection.rs rename to aries/agents/rust/mediator/src/didcomm_handlers/connection.rs diff --git a/agents/rust/mediator/src/didcomm_handlers/forward.rs b/aries/agents/rust/mediator/src/didcomm_handlers/forward.rs similarity index 100% rename from agents/rust/mediator/src/didcomm_handlers/forward.rs rename to aries/agents/rust/mediator/src/didcomm_handlers/forward.rs diff --git a/agents/rust/mediator/src/didcomm_handlers/mediator_coord.rs b/aries/agents/rust/mediator/src/didcomm_handlers/mediator_coord.rs similarity index 100% rename from agents/rust/mediator/src/didcomm_handlers/mediator_coord.rs rename to aries/agents/rust/mediator/src/didcomm_handlers/mediator_coord.rs diff --git a/agents/rust/mediator/src/didcomm_handlers/mod.rs b/aries/agents/rust/mediator/src/didcomm_handlers/mod.rs similarity index 100% rename from agents/rust/mediator/src/didcomm_handlers/mod.rs rename to aries/agents/rust/mediator/src/didcomm_handlers/mod.rs diff --git a/agents/rust/mediator/src/didcomm_handlers/pickup.rs b/aries/agents/rust/mediator/src/didcomm_handlers/pickup.rs similarity index 100% rename from agents/rust/mediator/src/didcomm_handlers/pickup.rs rename to aries/agents/rust/mediator/src/didcomm_handlers/pickup.rs diff --git a/agents/rust/mediator/src/didcomm_handlers/utils.rs b/aries/agents/rust/mediator/src/didcomm_handlers/utils.rs similarity index 100% rename from agents/rust/mediator/src/didcomm_handlers/utils.rs rename to aries/agents/rust/mediator/src/didcomm_handlers/utils.rs diff --git a/agents/rust/mediator/src/http_routes/mod.rs b/aries/agents/rust/mediator/src/http_routes/mod.rs similarity index 100% rename from agents/rust/mediator/src/http_routes/mod.rs rename to aries/agents/rust/mediator/src/http_routes/mod.rs diff --git a/agents/rust/mediator/src/lib.rs b/aries/agents/rust/mediator/src/lib.rs similarity index 100% rename from agents/rust/mediator/src/lib.rs rename to aries/agents/rust/mediator/src/lib.rs diff --git a/agents/rust/mediator/src/utils/binary_utils.rs b/aries/agents/rust/mediator/src/utils/binary_utils.rs similarity index 100% rename from agents/rust/mediator/src/utils/binary_utils.rs rename to aries/agents/rust/mediator/src/utils/binary_utils.rs diff --git a/agents/rust/mediator/src/utils/mod.rs b/aries/agents/rust/mediator/src/utils/mod.rs similarity index 100% rename from agents/rust/mediator/src/utils/mod.rs rename to aries/agents/rust/mediator/src/utils/mod.rs diff --git a/agents/rust/mediator/src/utils/prelude.rs b/aries/agents/rust/mediator/src/utils/prelude.rs similarity index 100% rename from agents/rust/mediator/src/utils/prelude.rs rename to aries/agents/rust/mediator/src/utils/prelude.rs diff --git a/agents/rust/mediator/src/utils/structs.rs b/aries/agents/rust/mediator/src/utils/structs.rs similarity index 100% rename from agents/rust/mediator/src/utils/structs.rs rename to aries/agents/rust/mediator/src/utils/structs.rs diff --git a/agents/rust/mediator/tests/common/agent_and_transport_utils.rs b/aries/agents/rust/mediator/tests/common/agent_and_transport_utils.rs similarity index 100% rename from agents/rust/mediator/tests/common/agent_and_transport_utils.rs rename to aries/agents/rust/mediator/tests/common/agent_and_transport_utils.rs diff --git a/agents/rust/mediator/tests/common/mod.rs b/aries/agents/rust/mediator/tests/common/mod.rs similarity index 100% rename from agents/rust/mediator/tests/common/mod.rs rename to aries/agents/rust/mediator/tests/common/mod.rs diff --git a/agents/rust/mediator/tests/mediator-aries-connection.rs b/aries/agents/rust/mediator/tests/mediator-aries-connection.rs similarity index 100% rename from agents/rust/mediator/tests/mediator-aries-connection.rs rename to aries/agents/rust/mediator/tests/mediator-aries-connection.rs diff --git a/agents/rust/mediator/tests/mediator-coord-protocol.rs b/aries/agents/rust/mediator/tests/mediator-coord-protocol.rs similarity index 100% rename from agents/rust/mediator/tests/mediator-coord-protocol.rs rename to aries/agents/rust/mediator/tests/mediator-coord-protocol.rs diff --git a/agents/rust/mediator/tests/mediator-oob-invitation.rs b/aries/agents/rust/mediator/tests/mediator-oob-invitation.rs similarity index 100% rename from agents/rust/mediator/tests/mediator-oob-invitation.rs rename to aries/agents/rust/mediator/tests/mediator-oob-invitation.rs diff --git a/agents/rust/mediator/tests/mediator-protocol-pickup.rs b/aries/agents/rust/mediator/tests/mediator-protocol-pickup.rs similarity index 100% rename from agents/rust/mediator/tests/mediator-protocol-pickup.rs rename to aries/agents/rust/mediator/tests/mediator-protocol-pickup.rs diff --git a/agents/rust/mediator/tests/mediator-routing-forward.rs b/aries/agents/rust/mediator/tests/mediator-routing-forward.rs similarity index 100% rename from agents/rust/mediator/tests/mediator-routing-forward.rs rename to aries/agents/rust/mediator/tests/mediator-routing-forward.rs