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

WIP #110

Merged
merged 1 commit into from
Aug 19, 2024
Merged

WIP #110

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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: acapy-integration-tests
name: acapy-bdd-integration-tests

on:
schedule:
Expand Down
44 changes: 44 additions & 0 deletions .github/workflows/bdd-interop-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: acapy-bdd-interop-tests

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
pull_request:
branches:
- main
types: [opened, synchronize, reopened, ready_for_review]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

defaults:
run:
shell: bash

jobs:
test:
runs-on: ubuntu-latest
if: (github.event_name == 'pull_request' && github.event.pull_request.draft == false && github.repository == 'hyperledger/aries-cloudagent-python') || (github.event_name != 'pull_request')
outputs:
is_release: ${{ steps.check_if_release.outputs.is_release }}
steps:
- name: checkout-acapy
uses: actions/checkout@v4
with:
fetch-depth: 0
# ----------------------------------------------
# Install docker compose
# ----------------------------------------------
- name: Initialize Docker Compose
uses: isbang/[email protected]
- name: Run BDD Interop Tests
run: |
# Get AATH
git clone https://github.com/hyperledger/aries-agent-test-harness.git
ls -a
cd aries-agent-test-harness
./manage build -a acapy
./manage run -d acapy -t @AcceptanceTest -t ~@wip -t ~@T004-RFC0211 -t ~@DidMethod_orb -t ~@Transport_NoHttpOutbound

6 changes: 3 additions & 3 deletions demo/features/0160-connection.feature
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Feature: RFC 0160 Aries agent connection functions
Then "Acme" has an active connection
And "Bob" has an active connection

@PR @Release @UnqualifiedDids
@UnqualifiedDids
Examples:
| Acme_capabilities | Acme_extra | Bob_capabilities | Bob_extra |
| --public-did --did-exchange --emit-did-peer-2 | | --did-exchange --emit-did-peer-2 | |
Expand Down Expand Up @@ -40,7 +40,7 @@ Feature: RFC 0160 Aries agent connection functions
| --did-exchange --emit-did-peer-4 | | --emit-did-peer-4 | |
| --did-exchange --reuse-connections --emit-did-peer-4 | | --reuse-connections --emit-did-peer-4 | |

@PR @Release @MultiUseConnectionReuse
@MultiUseConnectionReuse
Examples:
| Acme_capabilities | Acme_extra | Bob_capabilities | Bob_extra |
| --did-exchange --multi-use-invitations --emit-did-peer-2 | | --emit-did-peer-2 | |
Expand All @@ -56,7 +56,7 @@ Feature: RFC 0160 Aries agent connection functions
| --public-did --did-exchange --multi-use-invitations --emit-did-peer-4 | | --did-exchange --emit-did-peer-2 | |
| --public-did --did-exchange --multi-use-invitations --reuse-connections --emit-did-peer-2 | | --did-exchange --reuse-connections --emit-did-peer-4 | |

@PR @Release @WalletType_Askar_AnonCreds
@WalletType_Askar_AnonCreds
Examples:
| Acme_capabilities | Acme_extra | Bob_capabilities | Bob_extra |
| --public-did --did-exchange --wallet-type askar-anoncreds --emit-did-peer-2 | | --did-exchange --wallet-type askar-anoncreds --emit-did-peer-2 | |
Expand Down
48 changes: 24 additions & 24 deletions demo/features/0453-issue-credential.feature
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,37 @@ Feature: RFC 0453 Aries agent issue credential
When "Acme" offers a credential with data <Credential_data>
Then "Bob" has the credential issued

@Release @WalletType_Askar @BasicTest
@WalletType_Askar @BasicTest
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Acme_extra | Bob_extra |
| --public-did --did-exchange | --did-exchange | driverslicense | Data_DL_NormalizedValues | | |

@Release @WalletType_Askar @AltTests
@WalletType_Askar @AltTests
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Acme_extra | Bob_extra |
| --public-did | | driverslicense | Data_DL_NormalizedValues | | |
| --public-did --mediation | --mediation | driverslicense | Data_DL_NormalizedValues | | |
| --public-did --multitenant | --multitenant --log-file | driverslicense | Data_DL_NormalizedValues | | |

@Release @WalletType_Askar_AnonCreds @BasicTest @cred_type_vc_di
@WalletType_Askar_AnonCreds @BasicTest @cred_type_vc_di
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Acme_extra | Bob_extra |
| --public-did --wallet-type askar-anoncreds | --wallet-type askar-anoncreds | driverslicense | Data_DL_NormalizedValues | | |
| --public-did --wallet-type askar-anoncreds --cred-type vc_di | --wallet-type askar-anoncreds | driverslicense | Data_DL_NormalizedValues | | |

@Release @WalletType_Askar_AnonCreds @AltTests
@WalletType_Askar_AnonCreds @AltTests
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Acme_extra | Bob_extra |
| --public-did --wallet-type askar-anoncreds | | driverslicense | Data_DL_NormalizedValues | | |
| --public-did | --wallet-type askar-anoncreds | driverslicense | Data_DL_NormalizedValues | | |

@PR @Release @WalletType_Askar @ConnectionTests
@WalletType_Askar @ConnectionTests
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Acme_extra | Bob_extra |
| --did-exchange --emit-did-peer-4 | --did-exchange --emit-did-peer-4 | driverslicense | Data_DL_NormalizedValues | | |
| --did-exchange --reuse-connections --emit-did-peer-4 | --did-exchange --reuse-connections --emit-did-peer-4 | driverslicense | Data_DL_NormalizedValues | | |

@PR @Release @WalletType_Askar_AnonCreds @ConnectionTests
@WalletType_Askar_AnonCreds @ConnectionTests
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Acme_extra | Bob_extra |
| --did-exchange --wallet-type askar-anoncreds --emit-did-peer-4 | --did-exchange --wallet-type askar-anoncreds --emit-did-peer-4 | driverslicense | Data_DL_NormalizedValues | | |
Expand Down Expand Up @@ -82,7 +82,7 @@ Feature: RFC 0453 Aries agent issue credential
And "Acme" offers and deletes a credential with data <Credential_data>
Then "Bob" has the exchange abandoned

@PR @Release @WalletType_Askar
@WalletType_Askar
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data |
| --public-did | | driverslicense | Data_DL_NormalizedValues |
Expand Down Expand Up @@ -110,7 +110,7 @@ Feature: RFC 0453 Aries agent issue credential
And "Acme" is ready to issue a credential for <Schema_name>
When "Bob" requests a credential with data <Credential_data> from "Acme" it fails

@PR @Release @WalletType_Askar
@WalletType_Askar
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data |
| --public-did | | driverslicense | Data_DL_NormalizedValues |
Expand Down Expand Up @@ -141,13 +141,13 @@ Feature: RFC 0453 Aries agent issue credential
Then "Bob" has the json-ld credential issued
And "Acme" has the exchange completed

@PR @Release @WalletType_Askar
@WalletType_Askar
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Key_type | Sig_type |
| --public-did --cred-type json-ld | | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2018 |
| --public-did --cred-type json-ld | | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2020 |

@PR @Release @WalletType_Askar @BBS
@WalletType_Askar @BBS
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Key_type | Sig_type |
| --public-did --cred-type json-ld | | driverslicense | Data_DL_NormalizedValues | bls12381g2 | BbsBlsSignature2020 |
Expand Down Expand Up @@ -193,18 +193,18 @@ Feature: RFC 0453 Aries agent issue credential
When "Acme" offers "Bob" a json-ld credential with data <Credential_data> and <Sig_type>
Then "Bob" has the json-ld credential issued

@PR @Release @WalletType_Askar
@WalletType_Askar
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Key_type | Sig_type |
| --public-did --cred-type json-ld | | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2018 |
| --public-did --cred-type json-ld | | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2020 |

@PR @Release @WalletType_Askar @BBS
@WalletType_Askar @BBS
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Key_type | Sig_type |
| --public-did --cred-type json-ld | | driverslicense | Data_DL_NormalizedValues | bls12381g2 | BbsBlsSignature2020 |

@Release @WalletType_Askar
@WalletType_Askar
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Key_type | Sig_type |
| --public-did --cred-type json-ld --did-exchange | --did-exchange | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2018 |
Expand All @@ -214,22 +214,22 @@ Feature: RFC 0453 Aries agent issue credential
| --public-did --cred-type json-ld --mediation | --mediation | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2020 |
| --public-did --cred-type json-ld --multitenant --log-file | --multitenant | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2020 |

@Release @WalletType_Askar @BBS
@WalletType_Askar @BBS
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Key_type | Sig_type |
| --public-did --cred-type json-ld --did-exchange | --did-exchange | driverslicense | Data_DL_NormalizedValues | bls12381g2 | BbsBlsSignature2020 |
| --public-did --cred-type json-ld --mediation | --mediation | driverslicense | Data_DL_NormalizedValues | bls12381g2 | BbsBlsSignature2020 |
| --public-did --cred-type json-ld --multitenant --log-file | --multitenant | driverslicense | Data_DL_NormalizedValues | bls12381g2 | BbsBlsSignature2020 |

@Release @WalletType_Askar_AnonCreds
@WalletType_Askar_AnonCreds
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Key_type | Sig_type |
| --public-did --cred-type json-ld --wallet-type askar-anoncreds | --wallet-type askar-anoncreds | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2018 |
| --public-did --cred-type json-ld --did-exchange --wallet-type askar-anoncreds | --did-exchange --wallet-type askar-anoncreds | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2018 |
| --public-did --cred-type json-ld --wallet-type askar-anoncreds | --wallet-type askar-anoncreds | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2020 |
| --public-did --cred-type json-ld --did-exchange --wallet-type askar-anoncreds | --did-exchange --wallet-type askar-anoncreds | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2020 |

@Release @WalletType_Askar_AnonCreds @BBS
@WalletType_Askar_AnonCreds @BBS
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Key_type | Sig_type |
| --public-did --cred-type json-ld --wallet-type askar-anoncreds | --wallet-type askar-anoncreds | driverslicense | Data_DL_NormalizedValues | bls12381g2 | BbsBlsSignature2020 |
Expand Down Expand Up @@ -262,18 +262,18 @@ Feature: RFC 0453 Aries agent issue credential
When "Bob" requests a json-ld credential with data <Credential_data> from "Acme" with <Sig_type>
Then "Bob" has the json-ld credential issued

@PR @Release @WalletType_Askar
@WalletType_Askar
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Key_type | Sig_type |
| --public-did --cred-type json-ld | | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2018 |
| --public-did --cred-type json-ld | | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2020 |

@PR @Release @WalletType_Askar @BBS
@WalletType_Askar @BBS
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Key_type | Sig_type |
| --public-did --cred-type json-ld | | driverslicense | Data_DL_NormalizedValues | bls12381g2 | BbsBlsSignature2020 |

@Release @WalletType_Askar
@WalletType_Askar
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Key_type | Sig_type |
| --public-did --cred-type json-ld --did-exchange | --did-exchange | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2018 |
Expand All @@ -283,20 +283,20 @@ Feature: RFC 0453 Aries agent issue credential
| --public-did --cred-type json-ld --mediation | --mediation | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2020 |
| --public-did --cred-type json-ld --multitenant | --multitenant | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2020 |

@Release @WalletType_Askar @BBS
@WalletType_Askar @BBS
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Key_type | Sig_type |
| --public-did --cred-type json-ld --did-exchange | --did-exchange | driverslicense | Data_DL_NormalizedValues | bls12381g2 | BbsBlsSignature2020 |
| --public-did --cred-type json-ld --mediation | --mediation | driverslicense | Data_DL_NormalizedValues | bls12381g2 | BbsBlsSignature2020 |
| --public-did --cred-type json-ld --multitenant | --multitenant | driverslicense | Data_DL_NormalizedValues | bls12381g2 | BbsBlsSignature2020 |

@PR @Release @WalletType_Askar_AnonCreds
@WalletType_Askar_AnonCreds
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Key_type | Sig_type |
| --public-did --cred-type json-ld --wallet-type askar-anoncreds | --wallet-type askar-anoncreds | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2018 |
| --public-did --cred-type json-ld --wallet-type askar-anoncreds | --wallet-type askar-anoncreds | driverslicense | Data_DL_NormalizedValues | ed25519 | Ed25519Signature2020 |

@PR @Release @WalletType_Askar_AnonCreds @BBS
@WalletType_Askar_AnonCreds @BBS
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data | Key_type | Sig_type |
| --public-did --cred-type json-ld --wallet-type askar-anoncreds | --wallet-type askar-anoncreds | driverslicense | Data_DL_NormalizedValues | bls12381g2 | BbsBlsSignature2020 |
Expand All @@ -313,14 +313,14 @@ Feature: RFC 0453 Aries agent issue credential
Then "Acme" revokes the credential
And "Bob" has the credential issued

@Release @WalletType_Askar
@WalletType_Askar
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data |
| --revocation --public-did | | driverslicense | Data_DL_NormalizedValues |
| --revocation --public-did --did-exchange | --did-exchange | driverslicense | Data_DL_NormalizedValues |
| --revocation --public-did --multitenant | --multitenant | driverslicense | Data_DL_NormalizedValues |

@Release @WalletType_Askar_AnonCreds
@WalletType_Askar_AnonCreds
Examples:
| Acme_capabilities | Bob_capabilities | Schema_name | Credential_data |
| --revocation --public-did --wallet-type askar-anoncreds | --wallet-type askar-anoncreds | driverslicense | Data_DL_NormalizedValues |
Expand Down
Loading