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

changes for aca-py version 0.10.5 #90

Merged
merged 10 commits into from
Nov 24, 2023
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
33 changes: 22 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Convenience library based on okhttp and gson to interact with [aries cloud agent
<dependency>
<groupId>network.idu.acapy</groupId>
<artifactId>aries-client-python</artifactId>
<version>0.8.0</version>
<version>0.10.0</version>
</dependency>
```

Expand All @@ -35,6 +35,8 @@ Convenience library based on okhttp and gson to interact with [aries cloud agent

| Client Version | ACA-PY Version |
|----------------|----------------|
| 0.10.0 | 0.10.x |
| 0.8.0 | 0.8.0 |
| 0.7.0 | 0.7.0 |
| 0.7.6 | 0.7.1, 0.7.2 |
| \>= 0.7.18 | 0.7.3 |
Expand Down Expand Up @@ -85,6 +87,7 @@ Convenience library based on okhttp and gson to interact with [aries cloud agent
| POST | /didexchange/receive-request | :white_check_mark: |
| POST | /didexchange/{conn_id}/accept-invitation | :white_check_mark: |
| POST | /didexchange/{conn_id}/accept-request | :white_check_mark: |
| POST | /didexchange/{conn_id}/reject | :white_check_mark: |
| | **discover-features** | |
| GET | /discover-features/query | :white_check_mark: |
| GET | /discover-features/records | :white_check_mark: |
Expand Down Expand Up @@ -137,15 +140,17 @@ Convenience library based on okhttp and gson to interact with [aries cloud agent
| POST | /jsonld/sign | :white_check_mark: |
| POST | /jsonld/verify | :white_check_mark: |
| | **ledger** | |
| GET | /ledger/config | :white_check_mark: |
| GET | /ledger/did-endpoint | :white_check_mark: |
| GET | /ledger/did-verkey | :white_check_mark: |
| GET | /ledger/get-nym-role | :white_check_mark: |
| GET | /ledger/multiple/config | :white_check_mark: |
| GET | /ledger/multiple/get-write-ledger | :white_check_mark: |
| GET | /ledger/get-write-ledger | :white_check_mark: |
| GET | /ledger/get-write-ledgers | :white_check_mark: |
| POST | /ledger/register-nym | :white_check_mark: |
| PATCH | /ledger/rotate-public-did-keypair | :white_check_mark: |
| GET | /ledger/taa | :white_check_mark: |
| POST | /ledger/taa/accept | :white_check_mark: |
| POST | /ledger/{ledger_id}/set-write-ledger | :white_check_mark: |
| | **mediation** | |
| GET | /mediation/default-mediator | :white_check_mark: |
| DELETE | /mediation/default-mediator | :white_check_mark: |
Expand Down Expand Up @@ -198,6 +203,7 @@ Convenience library based on okhttp and gson to interact with [aries cloud agent
| GET | /resolver/resolve/{did} | :white_check_mark: |
| | **revocation** | |
| GET | /revocation/active-registry/{cred_def_id} | :white_check_mark: |
| POST | /revocation/active-registry/{cred_def_id}/rotate | :white_check_mark: |
| POST | /revocation/clear-pending-revocations | :white_check_mark: |
| POST | /revocation/create-registry | :white_check_mark: |
| GET | /revocation/credential-record | :white_check_mark: |
Expand All @@ -221,14 +227,9 @@ Convenience library based on okhttp and gson to interact with [aries cloud agent
| GET | /schemas/created | :white_check_mark: |
| GET | /schemas/{schema_id} | :white_check_mark: |
| POST | /schemas/{schema_id}/write_record | :white_check_mark: |
| | **server** | |
| GET | /plugins | :white_check_mark: |
| GET | /shutdown | :white_check_mark: |
| GET | /status | :white_check_mark: |
| GET | /status/config | :white_check_mark: |
| GET | /status/live | :white_check_mark: |
| GET | /status/ready | :white_check_mark: |
| POST | /status/reset | :white_check_mark: |
| | **settings** | |
| PUT | /settings | :white_check_mark: |
| GET | /settings | :white_check_mark: |
| | **trustping** | |
| POST | /connections/{conn_id}/send-ping | :white_check_mark: |
| | **wallet** | |
Expand All @@ -238,7 +239,17 @@ Convenience library based on okhttp and gson to interact with [aries cloud agent
| GET | /wallet/did/public | :white_check_mark: |
| POST | /wallet/did/public | :white_check_mark: |
| GET | /wallet/get-did-endpoint | :white_check_mark: |
| POST | /wallet/jwt/sign | :white_check_mark: |
| POST | /wallet/jwt/verify | :white_check_mark: |
| POST | /wallet/set-did-endpoint | :white_check_mark: |
| | **server** | |
| GET | /plugins | :white_check_mark: |
| GET | /shutdown | :white_check_mark: |
| GET | /status | :white_check_mark: |
| GET | /status/config | :white_check_mark: |
| GET | /status/live | :white_check_mark: |
| GET | /status/ready | :white_check_mark: |
| POST | /status/reset | :white_check_mark: |

## Client Examples

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>network.idu.acapy</groupId>
<artifactId>aries-client-python</artifactId>
<version>0.8.1-SNAPSHOT</version>
<version>0.10.1-SNAPSHOT</version>
<packaging>jar</packaging>

<name>${project.groupId}:${project.artifactId}</name>
Expand Down Expand Up @@ -201,7 +201,7 @@
<!-- aca-py still uses v2 definition file -->
<configuration>
<skip>true</skip>
<inputSpec>${project.basedir}/swagger/0_8_0.json</inputSpec>
<inputSpec>${project.basedir}/swagger/0_10_5.json</inputSpec>
<generatorName>java</generatorName>
<output>${project.basedir}</output>
<generateApis>false</generateApis>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
* aca-py client
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v0.7.3
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

package org.hyperledger.acy_py.generated.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
* ConfigurableWriteLedgers
*/

@lombok.Data
@lombok.AllArgsConstructor
@lombok.NoArgsConstructor
@lombok.Builder
public class ConfigurableWriteLedgers {
public static final String SERIALIZED_NAME_WRITE_LEDGERS = "write_ledgers";
@SerializedName(SERIALIZED_NAME_WRITE_LEDGERS)
private List<String> writeLedgers = null;
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
@lombok.NoArgsConstructor
@lombok.Builder
public class CreateWalletRequest {
public static final String SERIALIZED_NAME_EXTRA_SETTINGS = "extra_settings";
@SerializedName(SERIALIZED_NAME_EXTRA_SETTINGS)
private Object extraSettings;
public static final String SERIALIZED_NAME_IMAGE_URL = "image_url";
@SerializedName(SERIALIZED_NAME_IMAGE_URL)
private String imageUrl;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
import com.google.gson.annotations.SerializedName;

/**
* V10DiscoveryExchangeResult
* DIDXRejectRequest
*/

@lombok.Data
@lombok.AllArgsConstructor
@lombok.NoArgsConstructor
@lombok.Builder
public class V10DiscoveryExchangeResult {
public static final String SERIALIZED_NAME_RESULTS = "results";
@SerializedName(SERIALIZED_NAME_RESULTS)
private V10DiscoveryRecord results;
public class DIDXRejectRequest {
public static final String SERIALIZED_NAME_REASON = "reason";
@SerializedName(SERIALIZED_NAME_REASON)
private String reason;
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ public class DIDXRequest {
public static final String SERIALIZED_NAME_DID_DOC_TILDE_ATTACH = "did_doc~attach";
@SerializedName(SERIALIZED_NAME_DID_DOC_TILDE_ATTACH)
private AttachDecorator didDocTildeAttach;
public static final String SERIALIZED_NAME_GOAL = "goal";
@SerializedName(SERIALIZED_NAME_GOAL)
private String goal;
public static final String SERIALIZED_NAME_GOAL_CODE = "goal_code";
@SerializedName(SERIALIZED_NAME_GOAL_CODE)
private String goalCode;
public static final String SERIALIZED_NAME_LABEL = "label";
@SerializedName(SERIALIZED_NAME_LABEL)
private String label;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ public class InvitationCreateRequest {
public static final String SERIALIZED_NAME_ATTACHMENTS = "attachments";
@SerializedName(SERIALIZED_NAME_ATTACHMENTS)
private List<AttachmentDef> attachments = null;
public static final String SERIALIZED_NAME_GOAL = "goal";
@SerializedName(SERIALIZED_NAME_GOAL)
private String goal;
public static final String SERIALIZED_NAME_GOAL_CODE = "goal_code";
@SerializedName(SERIALIZED_NAME_GOAL_CODE)
private String goalCode;
public static final String SERIALIZED_NAME_HANDSHAKE_PROTOCOLS = "handshake_protocols";
@SerializedName(SERIALIZED_NAME_HANDSHAKE_PROTOCOLS)
private List<String> handshakeProtocols = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ public class InvitationMessage {
public static final String SERIALIZED_NAME_ACCEPT = "accept";
@SerializedName(SERIALIZED_NAME_ACCEPT)
private List<String> accept = null;
public static final String SERIALIZED_NAME_GOAL = "goal";
@SerializedName(SERIALIZED_NAME_GOAL)
private String goal;
public static final String SERIALIZED_NAME_GOAL_CODE = "goal_code";
@SerializedName(SERIALIZED_NAME_GOAL_CODE)
private String goalCode;
public static final String SERIALIZED_NAME_HANDSHAKE_PROTOCOLS = "handshake_protocols";
@SerializedName(SERIALIZED_NAME_HANDSHAKE_PROTOCOLS)
private List<String> handshakeProtocols = null;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/*
* aca-py client
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v0.7.3
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

package org.hyperledger.acy_py.generated.model;

import com.google.gson.annotations.SerializedName;

/**
* JWSCreate
*/

@lombok.Data
@lombok.AllArgsConstructor
@lombok.NoArgsConstructor
@lombok.Builder
public class JWSCreate {
public static final String SERIALIZED_NAME_DID = "did";
@SerializedName(SERIALIZED_NAME_DID)
private String did;
public static final String SERIALIZED_NAME_HEADERS = "headers";
@SerializedName(SERIALIZED_NAME_HEADERS)
private Object headers;
public static final String SERIALIZED_NAME_PAYLOAD = "payload";
@SerializedName(SERIALIZED_NAME_PAYLOAD)
private Object payload;
public static final String SERIALIZED_NAME_VERIFICATION_METHOD = "verificationMethod";
@SerializedName(SERIALIZED_NAME_VERIFICATION_METHOD)
private String verificationMethod;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
* aca-py client
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v0.7.3
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

package org.hyperledger.acy_py.generated.model;

import com.google.gson.annotations.SerializedName;

/**
* JWSVerify
*/

@lombok.Data
@lombok.AllArgsConstructor
@lombok.NoArgsConstructor
@lombok.Builder
public class JWSVerify {
public static final String SERIALIZED_NAME_JWT = "jwt";
@SerializedName(SERIALIZED_NAME_JWT)
private String jwt;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/*
* aca-py client
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v0.7.3
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

package org.hyperledger.acy_py.generated.model;

import com.google.gson.annotations.SerializedName;

/**
* JWSVerifyResponse
*/

@lombok.Data
@lombok.AllArgsConstructor
@lombok.NoArgsConstructor
@lombok.Builder
public class JWSVerifyResponse {
public static final String SERIALIZED_NAME_ERROR = "error";
@SerializedName(SERIALIZED_NAME_ERROR)
private String error;
public static final String SERIALIZED_NAME_HEADERS = "headers";
@SerializedName(SERIALIZED_NAME_HEADERS)
private Object headers;
public static final String SERIALIZED_NAME_KID = "kid";
@SerializedName(SERIALIZED_NAME_KID)
private String kid;
public static final String SERIALIZED_NAME_PAYLOAD = "payload";
@SerializedName(SERIALIZED_NAME_PAYLOAD)
private Object payload;
public static final String SERIALIZED_NAME_VALID = "valid";
@SerializedName(SERIALIZED_NAME_VALID)
private Boolean valid;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
* aca-py client
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v0.7.3
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

package org.hyperledger.acy_py.generated.model;

import com.google.gson.annotations.SerializedName;

/**
* ProfileSettings
*/

@lombok.Data
@lombok.AllArgsConstructor
@lombok.NoArgsConstructor
@lombok.Builder
public class ProfileSettings {
public static final String SERIALIZED_NAME_SETTINGS = "settings";
@SerializedName(SERIALIZED_NAME_SETTINGS)
private Object settings;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
* aca-py client
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v0.7.3
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

package org.hyperledger.acy_py.generated.model;

import com.google.gson.annotations.SerializedName;

/**
* UpdateProfileSettings
*/

@lombok.Data
@lombok.AllArgsConstructor
@lombok.NoArgsConstructor
@lombok.Builder
public class UpdateProfileSettings {
public static final String SERIALIZED_NAME_EXTRA_SETTINGS = "extra_settings";
@SerializedName(SERIALIZED_NAME_EXTRA_SETTINGS)
private Object extraSettings;
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
@lombok.NoArgsConstructor
@lombok.Builder
public class UpdateWalletRequest {
public static final String SERIALIZED_NAME_EXTRA_SETTINGS = "extra_settings";
@SerializedName(SERIALIZED_NAME_EXTRA_SETTINGS)
private Object extraSettings;
public static final String SERIALIZED_NAME_IMAGE_URL = "image_url";
@SerializedName(SERIALIZED_NAME_IMAGE_URL)
private String imageUrl;
Expand Down
Loading