Skip to content

Commit e880eb7

Browse files
authored
Chore/update 074 acapy (#86)
* chore: update to aca-py version 0.7.4 to create new release Signed-off-by: Moriarty <moritz@animo.id> * chore: code review feedback Signed-off-by: Moriarty <moritz@animo.id> * chore: code review fedback bump version 0.6 instead of minor due to breaking changes Signed-off-by: Moriarty <moritz@animo.id> * chore: code review feedback Signed-off-by: Moriarty <moritz@animo.id> * chore: fix missing import in init generator did not pick up acapyclient to expose via init Signed-off-by: Moriarty <moritz@animo.id> * chore: fix imports Signed-off-by: Moriarty <moritz@animo.id> * chore: fix patch Signed-off-by: Moriarty <moritz@animo.id> Signed-off-by: Moriarty <moritz@animo.id>
1 parent 75f066c commit e880eb7

File tree

7 files changed

+24
-20
lines changed

7 files changed

+24
-20
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Each Cloud Controller version maps to a specific ACA-Py version, which is outlin
4444
| Aries Cloud Controller Version | Aries Cloud Agent Python Version |
4545
| ------------------------------ | -------------------------------- |
4646
| 0.5.1-0.5.2 | 0.7.3 |
47-
| 0.6.0-0.6.2 | 0.7.4 |
47+
| 0.6.0-0.6.3 | 0.7.4 |
4848

4949
## Features
5050

generator/data/__init__.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ index 6a771f1..bef48bc 100644
1515
+ "AcaPyClient",
1616
"AMLRecord",
1717
"ActionMenuFetchResult",
18-
"AdminAPIMessageTracing",
18+
"AdminConfig",

generator/data/openapi.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/generator/data/openapi.yml b/generator/data/openapi.yml
2-
index b438b6c..12ed983 100644
2+
index 6a013a3..3a6608a 100644
33
--- a/generator/data/openapi.yml
44
+++ b/generator/data/openapi.yml
55
@@ -722,7 +722,9 @@ paths:
@@ -165,10 +165,10 @@ index b438b6c..12ed983 100644
165165
- description: Either a DIDComm service object (as per RFC0067) or a DID
166166
- string.
167167
+ oneOf:
168-
+ - type: object
169-
+ description: Either a DIDComm service object (as per RFC0067) or a DID
170-
+ string.
171-
+ - type: string
168+
+ - type: object
169+
+ description: Either a DIDComm service object (as per RFC0067) or a DID
170+
+ string.
171+
+ - type: string
172172
InvitationRecord:
173173
type: object
174174
properties:

generator/data/openapi.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -274,13 +274,13 @@ paths:
274274
type: string
275275
enum:
276276
- request
277-
- start
277+
- response
278+
- invitation
278279
- error
279-
- active
280280
- abandoned
281281
- init
282-
- invitation
283-
- response
282+
- active
283+
- start
284284
- completed
285285
- name: their_did
286286
in: query
@@ -6835,10 +6835,10 @@ components:
68356835
- did:sov:WgWxqztrNooG92RXvxSTWv
68366836
items:
68376837
oneOf:
6838-
- type: object
6839-
description: Either a DIDComm service object (as per RFC0067) or a DID
6840-
string.
6841-
- type: string
6838+
- type: object
6839+
description: Either a DIDComm service object (as per RFC0067) or a DID
6840+
string.
6841+
- type: string
68426842
InvitationRecord:
68436843
type: object
68446844
properties:

generator/data/swagger.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

generator/scripts/generate-client.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ java -ea -server -Duser.timezone=UTC -jar "$(pwd)/../../openapi-generator/modul
1313
cp -r ../generated/aries_cloudcontroller/ ../aries_cloudcontroller/
1414

1515
# Apply the patches required
16-
cd .. && git apply --verbose generator/data/__init__.patch
17-
18-
black .
16+
cd ..
17+
git apply --verbose generator/data/__init__.patch || {
18+
# git apply failed! Warn the user
19+
echo -e "$(tput setaf 1)\n\nFailed to apply patch. Client generation INCOMPLETE!\n\nPlease, ensure to fix this before proceeding.\n\n\n"
20+
exit 1
21+
}
22+
black .

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def parse_requirements(filename: str):
1818
if __name__ == "__main__":
1919
setup(
2020
name=PACKAGE_NAME,
21-
version="0.6.2",
21+
version="0.6.3",
2222
description="A simple python package for controlling an aries agent through the admin-api interface",
2323
long_description=long_description,
2424
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)