Skip to content

Commit 53040f0

Browse files
committed
add readme and fix tennant typos
2 parents 6dc2cbf + 664bdb5 commit 53040f0

File tree

9 files changed

+378
-232
lines changed

9 files changed

+378
-232
lines changed

libs/aries-basic-controller/aries_basic_controller/aries_controller.py

Lines changed: 247 additions & 110 deletions
Large diffs are not rendered by default.

libs/aries-basic-controller/aries_basic_controller/controllers/proof.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,17 @@ async def get_presentation_credentials(self, pres_ex_id, count: int = None, wql_
6767

6868

6969
# Send a problem report for presentation exchange
70-
async def send_problem_report(self, request, pres_ex_id):
70+
async def send_problem_report(self, pres_ex_id, request):
7171
return await self.admin_POST(f"{self.base_url}/records/{pres_ex_id}/problem-report", json_data=request)
7272

7373

7474
# Sends a proof presentation
75-
async def send_presentation(self, request, pres_ex_id):
75+
async def send_presentation(self, pres_ex_id, request):
7676
return await self.admin_POST(f"{self.base_url}/records/{pres_ex_id}/send-presentation", json_data=request)
7777

7878

7979
# Sends a presentation request in reference to a proposal
80-
async def send_request_for_proposal(self, request, pres_ex_id):
80+
async def send_request_for_proposal(self, pres_ex_id, request):
8181
return await self.admin_POST(f"{self.base_url}/records/{pres_ex_id}/send-request", json_data=request)
8282

8383

tutorials/1. Learning Aries, ACA-Py and the Basic Controller/notebooks/alice/3 Messages/Part 1 - Basic Message.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
"metadata": {},
122122
"outputs": [],
123123
"source": [
124-
"await agent_controller.messaging.trust_ping(id)"
124+
"await agent_controller.messaging.trust_ping(id, \"hello, world!\")"
125125
]
126126
},
127127
{

tutorials/1. Learning Aries, ACA-Py and the Basic Controller/notebooks/bob/3 Messages/Part 1 - Basic Message.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
"name": "python",
167167
"nbconvert_exporter": "python",
168168
"pygments_lexer": "ipython3",
169-
"version": "3.7.6"
169+
"version": "3.8.5"
170170
}
171171
},
172172
"nbformat": 4,

tutorials/4. Multitenancy/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Multitenancy Tutorial
2+
3+
In this tutorial you will learn how to use an ACA-Py instance in multi-tenant mode. This will include:
4+
5+
* Managing subwallets (create, update, delete)
6+
* Interacting with the ACA-Py instance as a subwallet
7+
* Establishing a mediator
8+
9+
**Note: This tutorial also uses a postgres db for the wallet storage of the multi-tenant agent. It is highly recommended to have a look through the docker-compose.yml file to see the additional configuration needed for this (see wallets-db service). As well as the additional ACA-Py flags used by the multitenant-agent service**

tutorials/4. Multitenancy/notebooks/external/Configure External Agent.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"source": [
77
"# Configure External Agent as Issuer\n",
88
"\n",
9-
"In this notebook we configure the external agent as an issuer of PyDentity Multi-Tennant Course certificates by register a public DID onto the Sovrin StagingNet and writing a Credential Definition for the PyDentity Multi-Tennant Tutorial credential schema which is already on the ledger.\n"
9+
"In this notebook we configure the external agent as an issuer of PyDentity Multi-Tenant Course certificates by register a public DID onto the Sovrin StagingNet and writing a Credential Definition for the PyDentity Multi-Tenant Tutorial credential schema which is already on the ledger.\n"
1010
]
1111
},
1212
{
@@ -258,7 +258,7 @@
258258
"source": [
259259
"## 5. Write Credential Definition to Ledger\n",
260260
"\n",
261-
"This is creating the key pair required for the External agent to issue PyDentity Multi-Tennant Tutorial certificates. See schema on the ledger through [IndyScan](https://indyscan.io/tx/SOVRIN_STAGINGNET/domain/195790)"
261+
"This is creating the key pair required for the External agent to issue PyDentity Multi-Tenant Tutorial certificates. See schema on the ledger through [IndyScan](https://indyscan.io/tx/SOVRIN_STAGINGNET/domain/195790)"
262262
]
263263
},
264264
{
@@ -267,7 +267,7 @@
267267
"metadata": {},
268268
"outputs": [],
269269
"source": [
270-
"schema_id = '7DfSpFJMUThna1uQoR1mtY:2:PyDentity Multi-Tennant Tutorial:0.0.1'"
270+
"schema_id = '7DfSpFJMUThna1uQoR1mtY:2:PyDentity Multi-Tenant Tutorial:0.0.1'"
271271
]
272272
},
273273
{

0 commit comments

Comments
 (0)