Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Move agents to new root (aries) as per #1045 #1061

Merged
merged 4 commits into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -374,13 +374,13 @@ jobs:
- name: "Run wrapper integration tests"
run: (cd wrappers/node && npm run test:integration)
- name: "Install vcxagent-core dependencies"
run: (cd agents/node/vcxagent-core && npm install)
run: (cd aries/agents/node/vcxagent-core && npm install)
- name: "Run demo"
run: (cd agents/node/vcxagent-core && AGENCY_URL=http://localhost:8080 npm run demo)
run: (cd aries/agents/node/vcxagent-core && AGENCY_URL=http://localhost:8080 npm run demo)
- name: "Run demo with revocation"
run: (cd agents/node/vcxagent-core && AGENCY_URL=http://localhost:8080 npm run demo:revocation)
run: (cd aries/agents/node/vcxagent-core && AGENCY_URL=http://localhost:8080 npm run demo:revocation)
- name: "Run integration tests"
run: (cd agents/node/vcxagent-core && AGENCY_URL=http://localhost:8080 npm run test:integration)
run: (cd aries/agents/node/vcxagent-core && AGENCY_URL=http://localhost:8080 npm run test:integration)



Expand Down Expand Up @@ -431,7 +431,7 @@ jobs:
run: |
if [[ "$PUBLISH_VERSION" ]]
then
NPMJS_TOKEN=${{ secrets.NPMJS_TOKEN }} PUBLISH_VERSION=${{ env.PUBLISH_VERSION }} ./agents/node/vcxagent-core/publish.sh
NPMJS_TOKEN=${{ secrets.NPMJS_TOKEN }} PUBLISH_VERSION=${{ env.PUBLISH_VERSION }} ./aries/agents/node/vcxagent-core/publish.sh
else
echo "New version was not defined, skipping release."
fi
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mediator.pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
branches:
- "**"
paths:
- 'agents/rust/mediator/**'
- 'aries/agents/rust/mediator/**'

env:
DOCKER_BUILDKIT: 1
Expand Down Expand Up @@ -51,6 +51,6 @@ jobs:
# uses: Swatinem/rust-cache@v2
run: cargo install sqlx-cli
- name: Setup database
run: DATABASE_URL=${MYSQL_URL} sqlx migrate run --source agents/rust/mediator/mediation/migrations
run: DATABASE_URL=${MYSQL_URL} sqlx migrate run --source aries/agents/rust/mediator/mediation/migrations
- name: "Run mediator integration tests"
run: cargo run --bin mediator & sleep 5 && cargo test --verbose --package mediator -- --nocapture;
15 changes: 8 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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 <[email protected]>"]
authors = [
"Absa Group Limited",
"Hyperledger Indy Contributors <[email protected]>",
]
description = "Library to work with Aries protocols & collection of supporting components"
license = "Apache-2.0"
edition = "2021"
Expand Down Expand Up @@ -72,5 +75,3 @@ unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
let_underscore_drop = "allow"


File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"sovrin-networks": "git+https://github.com/AbsaOSS/sovrin-networks#0.1.0",
"@hyperledger/node-vcx-wrapper": "file:../../../wrappers/node",
"@hyperledger/node-vcx-wrapper": "file:../../../../wrappers/node",
"@hyperledger/vcxagent-core": "file:../vcxagent-core",
"command-line-args": "^5.1.1",
"command-line-usage": "^5.0.5",
Expand All @@ -20,4 +20,4 @@
},
"author": "Absa Group Limited",
"license": "Apache-2.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"test:integration:connection": "jest --forceExit --env=node --runInBand test/connection.spec.js"
},
"dependencies": {
"@hyperledger/node-vcx-wrapper": "file:../../../wrappers/node",
"@hyperledger/node-vcx-wrapper": "file:../../../../wrappers/node",
"axios": "^1.6.0",
"ffi-napi": "^4.0.3",
"fs-extra": "^4.0.3",
Expand All @@ -68,4 +68,4 @@
"standard": "^16.0.4",
"winston": "^3.3.3"
}
}
}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
File renamed without changes.
Loading