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 ACA-Py 0.12.0 #169

Merged
merged 62 commits into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
6d7de1e
Upgrade version to 0.12.0
ff137 Apr 17, 2024
083967a
:art: Update `@type` is no longer read-only
ff137 Apr 17, 2024
d200342
:sparkles: New API: VcApiApi (to be renamed to VcApi)
ff137 Apr 18, 2024
a2a180a
:sparkles: New API: AnoncredsSchemasApi
ff137 Apr 18, 2024
b6f79b1
:warning: Deprecations:
ff137 Apr 18, 2024
422cd5e
:sparkles: multi_use option in OobRecord
ff137 Apr 18, 2024
9ecfbd9
:sparkles: ConnectionList and MediationList no longer returns an Opti…
ff137 Apr 18, 2024
51702ac
:sparkles: connection_id is now required in ConnRecord
ff137 Apr 18, 2024
c28303a
:sparkles: new wallet_type: `askar-anoncreds`. Note: "must be same as…
ff137 Apr 18, 2024
8144323
:sparkles: new field for Credential: `credential_status`
ff137 Apr 18, 2024
87c8313
:sparkles: fields no longer optional:
ff137 Apr 18, 2024
6e64336
:sparkles: all fields in InvitationResult are no longer optional
ff137 Apr 18, 2024
3d3d7a3
:sparkles: new optional fields for InvitationCreateRequest:
ff137 Apr 18, 2024
5ec381f
:sparkles: new query params for DidExchange.create_request:
ff137 Apr 18, 2024
6a857b9
:sparkles: new query params for DidExchange.accept_invitation:
ff137 Apr 18, 2024
a337420
:warning: Deprecations:
ff137 Apr 18, 2024
de5ee90
:sparkles: new connection protocol available for ConnRecord:
ff137 Apr 18, 2024
5d0c989
:sparkles: expanded did validator regex expression for my_did and the…
ff137 Apr 18, 2024
c1acebe
:sparkles: new query param `create_unique_did` for OutOfBand.create_i…
ff137 Apr 18, 2024
f38f6ca
:sparkles: new method for OutOfBandApi: Delete records associated wit…
ff137 Apr 18, 2024
79391fe
:sparkles: new query params for `publish_revocations` and `revoke_cre…
ff137 Apr 18, 2024
65ac9f0
:art: Update cspell dictionary
ff137 Apr 23, 2024
9d2b3f5
:sparkles: New API: DidRotate
ff137 Apr 23, 2024
b695381
:sparkles: New API: AnoncredsCredentialDefinitionsApi
ff137 Apr 23, 2024
6a32079
:sparkles: Models for VcApi
ff137 Apr 23, 2024
6c51c6a
:sparkles: Models for VcApi
ff137 Apr 23, 2024
db36160
:sparkles: New API: AnoncredsRevocationApi
ff137 Apr 23, 2024
5df0823
:warning: Rename of options model: `LDProofVCDetailOptions` to `LDPro…
ff137 Apr 23, 2024
f698eee
:art: `prover_did` is no longer validated to regex match a DID. See #…
ff137 Apr 23, 2024
51b638b
:warning: DID fields are now marked as required
ff137 Apr 23, 2024
6d1eb35
:art: Update init
ff137 Apr 23, 2024
657d2e6
:art: add operation ids for anoncreds route
ff137 Apr 23, 2024
bf72a19
:art: add operation ids for /credential-definitions/{cred_def_id}/wri…
ff137 Apr 23, 2024
5c83af3
:art: add operation ids for did-rotate
ff137 Apr 23, 2024
cc255fd
:art: add operation ids for /didexchange/{conn_id}/reject
ff137 Apr 23, 2024
35335aa
:art: add operation ids for discover-features
ff137 Apr 23, 2024
7d901ee
:warning: rename operation ids for /issue-credential-2.0/create-offer
ff137 Apr 23, 2024
2318005
:art: add operation ids for some /ledger endpoints
ff137 Apr 23, 2024
6a72d15
:art: add operation id for /mediation/update-keylist/{conn_id}
ff137 Apr 23, 2024
bc053a9
:art: add operation id for /out-of-band/invitations/{invi_msg_id}
ff137 Apr 23, 2024
5587cf1
:art: add operation ids for /revocation methods. update one
ff137 Apr 23, 2024
3c90eaa
:art: add operation ids for /settings
ff137 Apr 23, 2024
ce14375
:art: add operation ids for /vc/
ff137 Apr 23, 2024
0a13d70
:warning: rename operation ids for sign and verify in /wallet/sd-jwt …
ff137 Apr 23, 2024
6e46dc9
:art: modify script to save missing operation ids
ff137 Apr 23, 2024
5714d04
:art: applied renaming of operation ids
ff137 Apr 23, 2024
f9c8b75
:art: Updated descriptions from latest aca-py changes
ff137 Apr 23, 2024
2b7fd2a
:art:
ff137 Apr 23, 2024
11a6d81
:art: Updated descriptions from latest aca-py changes
ff137 Apr 23, 2024
282e61e
:art: fields are now required
ff137 Apr 23, 2024
fd273c1
:sparkles: DID now returns optional metadata associated with the DID
ff137 Apr 23, 2024
7df9201
:art: update cspell dictionary
ff137 Apr 23, 2024
4b8d993
:art: latest openapi specs
ff137 Apr 23, 2024
bc4ba34
:art: add new apis to readme
ff137 Apr 23, 2024
1582f39
:construction_worker: Use python 3.10
ff137 Apr 23, 2024
e7102f2
:pushpin: Pin aiohttp >= 3.9.4
ff137 Apr 23, 2024
60995b4
:white_check_mark: fix test to support required fields for new DID model
ff137 Apr 23, 2024
bb03128
:sparkles: script to remove unwanted methods
ff137 Apr 23, 2024
d53ea93
:art: Applied removal of unwanted methods (_with_http_info and _witho…
ff137 Apr 23, 2024
863dbc7
:sparkles: add step to rename "vc-api" to "vc"
ff137 Apr 23, 2024
d07f082
:art: renamed VcApiApi to VcApi
ff137 Apr 23, 2024
1d89a9a
:construction_worker: Use python 3.10
ff137 Apr 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install Python 3
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -28,10 +28,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
- name: Set up Python "3.10"
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -53,7 +53,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/python-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install Python 3
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -30,10 +30,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
- name: Set up Python "3.10"
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -55,7 +55,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
24 changes: 24 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,46 +2,70 @@
"cSpell.words": [
"acapy",
"Accum",
"acked",
"aiohttp",
"anoncreds",
"askar",
"asyncio",
"Basicmessage",
"binhex",
"cafile",
"Camenisch",
"canonicalized",
"cloudcontroller",
"codegen",
"conn",
"cred",
"credentialsattach",
"Creds",
"crid",
"datetime",
"dateutil",
"deepmerge",
"didcomm",
"didexchange",
"dids",
"DIDX",
"docattach",
"errormsg",
"filtersattach",
"htilde",
"Hyperledger",
"invi",
"JSESSIONID",
"Jsonld",
"Keylist",
"keylists",
"keypair",
"klass",
"lastmod",
"levelname",
"Lysyanskaya",
"Mand",
"Multitenancy",
"Multitenant",
"offersattach",
"oneof",
"openapi",
"Precis",
"Pred",
"Pres",
"presentationsattach",
"proposalsattach",
"prover",
"pydantic",
"pyversion",
"rctxt",
"recs",
"refs",
"Regs",
"requestsattach",
"Revoc",
"rrid",
"SDJWS",
"subwallet",
"subwallets",
"tran",
"Trustping",
"Verkey"
]
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ For legacy versions, please review our release history to found the version comp
Aries CloudController Python provides a robust client for interacting with Aries Cloud Agents (ACA-Py).

- **Fully Typed**: Offers a strongly-typed wrapper around the Aries Cloud Agent Python, enhancing developer experience and reducing errors.
- **Up-to-Date Support**: Compatible with the latest ACA-Py version (0.11.0), ensuring access to the most recent features and improvements.
- **Up-to-Date Support**: Compatible with the latest ACA-Py version (0.12.0), ensuring access to the most recent features and improvements.
- **Auto-Generated Client**: Utilizes OpenAPI definitions for automatic generation, ensuring timely updates in line with new ACA-Py releases.
- **Multi-Tenancy and Authentication Support**: Facilitates working with multi-tenant APIs and integrates various authentication mechanisms.
- **Asynchronous API**: Supports asynchronous operations, enabling efficient handling of I/O-bound tasks.
Expand Down Expand Up @@ -110,12 +110,16 @@ connection = await client.connection.receive_invitation(body=invitation.invitati
The client encompasses various APIs, each corresponding to ACA-Py Swagger UI topics:

- `action_menu`
- `anoncreds_credential_definitions`
- `anoncreds_revocation`
- `anoncreds_schemas`
- `basicmessage`
- `connection`
- `credential_definition`
- `credentials`
- `default`
- `did_exchange`
- `did_rotate`
- `discover_features`
- `discover_features_v2_0`
- `endorse_transaction`
Expand All @@ -135,6 +139,7 @@ The client encompasses various APIs, each corresponding to ACA-Py Swagger UI top
- `server`
- `settings`
- `trustping`
- `vc`
- `wallet`

## Contributing
Expand Down
72 changes: 69 additions & 3 deletions aries_cloudcontroller/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,30 @@

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

The version of the OpenAPI document: v0.11.0
The version of the OpenAPI document: v0.12.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
""" # noqa: E501


__version__ = "0.11.0"
__version__ = "0.12.0"

from aries_cloudcontroller.acapy_client import AcaPyClient

# import apis into sdk package
from aries_cloudcontroller.api import (
ActionMenuApi,
AnoncredsCredentialDefinitionsApi,
AnoncredsRevocationApi,
AnoncredsSchemasApi,
BasicmessageApi,
ConnectionApi,
CredentialDefinitionApi,
CredentialsApi,
DefaultApi,
DidExchangeApi,
DidRotateApi,
DiscoverFeaturesApi,
DiscoverFeaturesV20Api,
EndorseTransactionApi,
Expand All @@ -46,6 +50,7 @@
ServerApi,
SettingsApi,
TrustpingApi,
VcApi,
WalletApi,
)
from aries_cloudcontroller.api_client import ApiClient
Expand All @@ -72,6 +77,7 @@
AdminStatusLiveliness,
AdminStatusReadiness,
AMLRecord,
AnonCredsSchema,
AttachDecorator,
AttachDecoratorData,
AttachDecoratorData1JWS,
Expand All @@ -96,9 +102,17 @@
CreateWalletTokenRequest,
CreateWalletTokenResponse,
CredAttrSpec,
CredDef,
CredDefPostOptions,
CredDefPostRequest,
CredDefResult,
CredDefState,
CredDefValue,
CredDefValuePrimary,
CredDefValuePrimarySchemaAnoncreds,
CredDefValueRevocation,
CredDefValueRevocationSchemaAnoncreds,
CredDefValueSchemaAnoncreds,
Credential,
CredentialDefinition,
CredentialDefinitionGetResult,
Expand All @@ -111,15 +125,19 @@
CredentialStatusOptions,
CredInfoList,
CredRevIndyRecordsResult,
CredRevIndyRecordsResultSchemaAnoncreds,
CredRevokedResult,
CredRevRecordDetailsResult,
CredRevRecordDetailsResultSchemaAnoncreds,
CredRevRecordResult,
CredRevRecordResultSchemaAnoncreds,
DIDCreate,
DIDCreateOptions,
DIDEndpoint,
DIDEndpointWithType,
DIDList,
DIDResult,
DIDRotateRequestJSON,
DIDXRejectRequest,
DIDXRequest,
DIFField,
Expand All @@ -131,13 +149,20 @@
Disclose,
Disclosures,
Doc,
DocumentVerificationResult,
EndorserInfo,
EndpointsResult,
FetchCredentialResponse,
Filter,
Generated,
GetCredDefResult,
GetCredDefsResponse,
GetDIDEndpointResponse,
GetDIDVerkeyResponse,
GetNymRoleResponse,
GetSchemaResult,
GetSchemasResponse,
Hangup,
IndyAttrValue,
IndyCredAbstract,
IndyCredential,
Expand Down Expand Up @@ -180,12 +205,17 @@
IndyRevRegDefValuePublicKeysAccumKey,
IndyRevRegEntry,
IndyRevRegEntryValue,
InnerCredDef,
InnerRevRegDef,
InputDescriptors,
InvitationCreateRequest,
InvitationMessage,
InvitationRecord,
InvitationResult,
IssueCredentialRequest,
IssueCredentialResponse,
IssuerCredRevRecord,
IssuerCredRevRecordSchemaAnoncreds,
IssuerRevRegRecord,
JWSCreate,
JWSVerify,
Expand All @@ -198,7 +228,7 @@
KeylistUpdateRequest,
KeylistUpdateRule,
LDProofVCDetail,
LDProofVCDetailOptions,
LDProofVCOptions,
LedgerConfigInstance,
LedgerConfigList,
LinkedDataProof,
Expand All @@ -218,33 +248,63 @@
PerformRequest,
PingRequest,
PingRequestResponse,
Presentation,
PresentationDefinition,
PresentationProposal,
PresentationRequest,
PresentationVerificationResult,
ProfileSettings,
ProofResult,
ProtocolDescriptor,
ProvePresentationRequest,
ProvePresentationResponse,
PublishRevocations,
PublishRevocationsOptions,
PublishRevocationsResult,
PublishRevocationsSchemaAnoncreds,
PurposeResult,
Queries,
Query,
QueryItem,
RawEncoded,
ReceiveInvitationRequest,
RemoveWalletRequest,
ResolutionResult,
RevList,
RevListCreateRequest,
RevListOptions,
RevListResult,
RevListState,
RevokeRequest,
RevokeRequestSchemaAnoncreds,
RevRegCreateRequest,
RevRegCreateRequestSchemaAnoncreds,
RevRegDef,
RevRegDefOptions,
RevRegDefResult,
RevRegDefState,
RevRegDefValue,
RevRegIssuedResult,
RevRegIssuedResultSchemaAnoncreds,
RevRegResult,
RevRegResultSchemaAnoncreds,
RevRegsCreated,
RevRegsCreatedSchemaAnoncreds,
RevRegUpdateTailsFileUri,
RevRegWalletUpdatedResult,
RevRegWalletUpdatedResultSchemaAnoncreds,
Rotate,
RouteRecord,
SchemaGetResult,
SchemaInputDescriptor,
SchemaPostOption,
SchemaPostRequest,
SchemaResult,
SchemasCreatedResult,
SchemaSendRequest,
SchemaSendResult,
SchemasInputDescriptorFilter,
SchemaState,
SDJWSCreate,
SDJWSVerify,
SDJWSVerifyResponse,
Expand Down Expand Up @@ -340,6 +400,12 @@
V20PresSpecByFormatRequest,
VCRecord,
VCRecordList,
VerifiableCredential,
VerifiablePresentation,
VerifyCredentialRequest,
VerifyCredentialResponse,
VerifyPresentationRequest,
VerifyPresentationResponse,
VerifyRequest,
VerifyResponse,
W3CCredentialsListRequest,
Expand Down
Loading