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

⬆️ Upgrade to our 1.1.1b0 acapy release #1136

Merged
merged 5 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The FastAPI app serves as a wrapper around common workflows, facilitating
real-life applications of the stack. It acts as a form of middleware or interface
for client applications (e.g., a mobile app) and the backend stack, using
[Aries CloudController](https://github.com/didx-xyz/aries-cloudcontroller-python)
and [ACA-Py](https://github.com/hyperledger/aries-cloudagent-python). The aim is
and [ACA-Py](https://github.com/openwallet-foundation/acapy). The aim is
to streamline a client's workflow by providing convenient API endpoints for
common workflows, such as creating wallets, managing connections, credentials,
proofs, and workflows.
Expand Down
2 changes: 1 addition & 1 deletion app/services/acapy_ledger.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ async def schema_id_from_credential_definition_id(
From a credential definition, get the identifier for its schema.

Taken from ACA-Py implementation:
https://github.com/hyperledger/aries-cloudagent-python/blob/f9506df755e46c5be93b228c8811276b743a1adc/aries_cloudagent/ledger/indy.py#L790
https://github.com/openwallet-foundation/acapy/blob/f9506df755e46c5be93b228c8811276b743a1adc/aries_cloudagent/ledger/indy.py#L790

Parameters:
----------
Expand Down
2 changes: 1 addition & 1 deletion app/tests/e2e/verifier/test_many_revocations.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async def test_revoke_many_credentials(
acme_and_alice_connection: AcmeAliceConnect,
):
time.sleep(10) # moment for revocation registry to update
# todo: remove sleep when issue resolved: https://github.com/hyperledger/aries-cloudagent-python/issues/3018
# todo: remove sleep when issue resolved: https://github.com/openwallet-foundation/acapy/issues/3018

# Do proof request
request_body = {
Expand Down
4 changes: 2 additions & 2 deletions app/tests/e2e/verifier/test_proof_revoked_credential.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async def test_proof_revoked_credential(
acme_and_alice_connection: AcmeAliceConnect,
):
time.sleep(10) # moment for revocation registry to update
# todo: remove sleep when issue resolved: https://github.com/hyperledger/aries-cloudagent-python/issues/3018
# todo: remove sleep when issue resolved: https://github.com/openwallet-foundation/acapy/issues/3018

# Do proof request
request_body = {
Expand Down Expand Up @@ -125,7 +125,7 @@ async def test_regression_proof_revoked_credential(
acme_and_alice_connection: AcmeAliceConnect,
):
time.sleep(10) # moment for revocation registry to update
# todo: remove sleep when issue resolved: https://github.com/hyperledger/aries-cloudagent-python/issues/3018
# todo: remove sleep when issue resolved: https://github.com/openwallet-foundation/acapy/issues/3018

referent = get_or_issue_regression_cred_revoked.referent
credential_definition_id_revocable = (
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/agents/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/didx-xyz/aries-cloudagent-bbs:py3.12-1.0.0b1
FROM ghcr.io/didx-xyz/acapy-agent-bbs:py3.12-1.1.1b0

COPY configuration ./configuration
COPY scripts ./scripts
5 changes: 2 additions & 3 deletions dockerfiles/agents/Dockerfile.agent
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/didx-xyz/aries-cloudagent-bbs:py3.12-1.0.0b1
FROM ghcr.io/didx-xyz/acapy-agent-bbs:py3.12-1.1.1b0

USER root

Expand All @@ -7,8 +7,7 @@ ARG PROTOBUF_VERSION=5.28.1
RUN pip install --no-cache-dir protobuf==${PROTOBUF_VERSION}

# install nats-events plugin
RUN pip install --no-cache-dir git+https://github.com/didx-xyz/aries-acapy-plugins@v1-2024-10-09#subdirectory=nats_events

RUN pip install --no-cache-dir git+https://github.com/didx-xyz/aries-acapy-plugins@v1-2024-10-22#subdirectory=nats_events

COPY scripts/startup.sh startup.sh
RUN chmod +x ./startup.sh
Expand Down
6 changes: 3 additions & 3 deletions dockerfiles/agents/Dockerfile.author.agent
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/didx-xyz/aries-cloudagent-bbs:py3.12-1.0.0b1
FROM ghcr.io/didx-xyz/acapy-agent-bbs:py3.12-1.1.1b0

USER root

Expand All @@ -7,10 +7,10 @@ ARG PROTOBUF_VERSION=5.28.1
RUN pip install --no-cache-dir protobuf==${PROTOBUF_VERSION}

# Install wallet group id plugin
RUN pip install --no-cache-dir git+https://github.com/didx-xyz/acapy-wallet-groups-plugin@1.0.0b1
RUN pip install --no-cache-dir git+https://github.com/didx-xyz/acapy-wallet-groups-plugin@1.1.1b0

# install nats-events plugin
RUN pip install --no-cache-dir git+https://github.com/didx-xyz/aries-acapy-plugins@v1-2024-10-09#subdirectory=nats_events
RUN pip install --no-cache-dir git+https://github.com/didx-xyz/aries-acapy-plugins@v1-2024-10-22#subdirectory=nats_events

COPY scripts/startup.sh startup.sh
RUN chmod +x ./startup.sh
Expand Down
2 changes: 1 addition & 1 deletion docs/Aries Cloud API Architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ Like the Admin Agent, the Multi-tenant Agent is also exposed via the same Swagge

The Multi-tenant Agent is designed for sub-wallet and tenant management from the tenant's perspective.

For a more comprehensive understanding of multi-tenancy, please refer to the [ACA-Py docs](https://github.com/hyperledger/aries-cloudagent-python/blob/main/Multitenancy.md).
For a more comprehensive understanding of multi-tenancy, please refer to the [ACA-Py docs](https://github.com/openwallet-foundation/acapy/blob/main/docs/features/Multitenancy.md).
2 changes: 1 addition & 1 deletion docs/Governance as Code.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ credentials to holders. The Trust Authority, which administers the trust ecosyst
the Indy Ledger, acts as the `Transaction Endorser` of the Trust Ecosystem. Meanwhile, Issuers serve as
`Transaction Authors` within the Trust Ecosystem. For additional information on `Transaction Endorsers` and
`Transaction Authors`, please refer to
[Aries Transaction Endorser Support](https://github.com/hyperledger/aries-cloudagent-python/blob/main/Endorser.md).
[Aries Transaction Endorser Support](https://github.com/openwallet-foundation/acapy/blob/main/docs/features/Endorser.md).

To create credential definitions through the `Transaction Endorser Protocol` for trust ecosystem _issuers_,
follow the steps below:
Expand Down
4 changes: 2 additions & 2 deletions environments/governance-ga/aca-py-agent.default.env
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ AGENT_ENDPOINT=http://governance-ga-agent:3020
# ## DO NOT CHANGE VARIABLES BELOW
# ## Unless you know exactly what you are doing
# ## Changes will probably break CloudAPI
# Optional Helper Configurations - See https://github.com/hyperledger/aries-cloudagent-python/blob/main/aries_cloudagent/config/argparse.py
# Optional Helper Configurations - See https://github.com/openwallet-foundation/acapy/blob/main/acapy_agent/config/argparse.py
ACAPY_AUTO_ACCEPT_INVITES=false
ACAPY_AUTO_ACCEPT_REQUESTS=false
ACAPY_AUTO_PING_CONNECTION=true
Expand All @@ -77,7 +77,7 @@ ACAPY_AUTO_ENDORSE_TRANSACTIONS=false
ACAPY_PUBLIC_INVITES=true

# Enable Public DID Connections. This is required for the CloudAPI to work
# This is a breaking change in AcaPy 0.8.0 - see https://github.com/hyperledger/aries-cloudagent-python/pull/2034
# This is a breaking change in AcaPy 0.8.0 - see https://github.com/openwallet-foundation/acapy/pull/2034
ACAPY_REQUESTS_THROUGH_PUBLIC_DID=true
#Emit protocol messages with new DIDComm prefix; i.e.https://didcomm.org/' instead of (default) prefix "'did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/'."
ACAPY_EMIT_NEW_DIDCOMM_PREFIX=true
Expand Down
4 changes: 2 additions & 2 deletions environments/governance-multitenant/aca-py-agent.default.env
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ AGENT_ENDPOINT=http://governance-multitenant-agent:3020
# ## DO NOT CHANGE VARIABLES BELOW
# ## Unless you know exactly what you are doing
# ## Changes will probably break CloudAPI
# Optional Helper Configurations - See https://github.com/hyperledger/aries-cloudagent-python/blob/main/aries_cloudagent/config/argparse.py
# Optional Helper Configurations - See https://github.com/openwallet-foundation/acapy/blob/main/aries_cloudagent/config/argparse.py
ACAPY_AUTO_ACCEPT_INVITES=true
ACAPY_AUTO_ACCEPT_REQUESTS=true
ACAPY_AUTO_PING_CONNECTION=true
Expand Down Expand Up @@ -81,7 +81,7 @@ ACAPY_ENDORSER_ALIAS=endorser
ACAPY_PUBLIC_INVITES=true

# Enable Public DID Connections. This is required for the CloudAPI to work
# This is a breaking change in AcaPy 0.8.0 - see https://github.com/hyperledger/aries-cloudagent-python/pull/2034
# This is a breaking change in AcaPy 0.8.0 - see https://github.com/openwallet-foundation/acapy/pull/2034
ACAPY_REQUESTS_THROUGH_PUBLIC_DID=true
#Emit protocol messages with new DIDComm prefix; i.e.https://didcomm.org/' instead of (default) prefix "'did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/'."
ACAPY_EMIT_NEW_DIDCOMM_PREFIX=true
Expand Down
2 changes: 1 addition & 1 deletion shared/models/endorsement.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def extract_operation_type_from_endorsement_payload(


class TransactionTypes:
# See aries-cloudagent-python/aries_cloudagent/ledger/merkel_validation/constants.py
# See acapy-agent-python/aries_cloudagent/ledger/merkel_validation/constants.py
ATTRIB = "100"
CLAIM_DEF = "102"
REVOC_REG_DEF = "113"
Expand Down
Loading