-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Major refactor of tutorial folder structure. #70
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
acf6edb
Major refactor of tutorial folder structure.
morrieinmaas 94dc203
Restructure tutorial notebooks.
morrieinmaas 5c05e34
Renamed folder and fixed all links for 2. Public Ledgers and Mobile
morrieinmaas 9fe4851
WIP adding multitenancy tutorial
morrieinmaas 5be2c7b
WIP Basic notebook setup
morrieinmaas c27c398
Remove multitenant args file
morrieinmaas 0c48e72
Merge branch 'master' into issue_61
morrieinmaas bf40bfc
Add basic multitenant functionality and notebook examples
morrieinmaas 155b586
Address MR feedback to restructure tutorials folders
morrieinmaas e108029
WIP trying to establish mediation with Alice and Bob on the same agent
morrieinmaas e0f4eb5
fix jwt_token
lohanspies 51337de
clean up jtw debug prints
lohanspies a47d533
minor fixes in mediation.py
lohanspies 85bd135
delete stale notebook
lohanspies d5579e8
rename and updated notebooks
lohanspies aa3bd7a
added reuse address and port
lohanspies 5e5c05f
WIP updating multitenancy notebooks
morrieinmaas d40c1e2
WIP Wee update in Bob Tutorial NB. Websocket showcase
morrieinmaas 23713fb
add mediator agent
wip-abramson 3e52ab5
update tutorial
wip-abramson 68a50a6
Fixing bug in aries controller ClientSession so it does not get
morrieinmaas 6e6691f
Properly working tutorials Part 1 and 2 for mediation
morrieinmaas e086d73
WIP Almost finished with notebooks
morrieinmaas 53338b1
Multitenant tutorial working
morrieinmaas 9fb582c
Clean up notebooks
morrieinmaas 65c1483
Merge branch 'master' into issue_61
morrieinmaas d47519b
Minor fixes and tidying
morrieinmaas eefd4af
Working complete multiteant tutorials
morrieinmaas cf7cad5
Remove redundant dependency
morrieinmaas 890f059
Tidying up and fixing logical error in token assignment in aries
morrieinmaas b74af56
Remove unwanted tutorial notebooks of om pki lesson
morrieinmaas 5b60f4b
clean multi-tennant tutorial
wip-abramson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# see: https://pypi.org/project/ConfigArgParse/ for file format overview | ||
# before running aca-py, run the following (the commands are embedded below, next to the related parameters): | ||
# - run a local postgres database | ||
# - run a local instance of von-network | ||
# - register your did (seed) on the network | ||
# run aca-py as: | ||
# ACAPY_WALLET_SEED=my_seed_000000000000000000000000 ACAPY_WALLET_KEY=key ./bin/aca-py start --arg-file ./demo/local-indy-args.yaml | ||
|
||
log-level: info | ||
genesis-url: !ENV ${GENESIS_URL} | ||
# Admin insecure mode and api key will come from the following two variables | ||
# which is parsed and used automatically by ACA-Py | ||
# ACAPY_ADMIN_API_KEY | ||
# ACAPY_ADMIN_INSECURE_MODE | ||
admin: [0.0.0.0, !ENV '${ADMIN_PORT}'] | ||
label: !ENV ${AGENT_NAME} | ||
# the following is the callback url for your controller | ||
webhook-url: !ENV ${WEBHOOK_URL} | ||
# assumes you are running a local von-network, like: | ||
# cd von-network | ||
# ./manage start <my local ip> | ||
inbound-transport: | ||
- [http, 0.0.0.0, !ENV '${HTTP_PORT}'] | ||
# - [ws, 0.0.0.0, !ENV '${HTTP_PORT}'] | ||
outbound-transport: http | ||
# the following is the public endpoint advertised by the agent | ||
endpoint: !ENV ${AGENT_ENDPOINT} | ||
auto-ping-connection: true | ||
# register your did using (this example is for von-network): | ||
# curl -d '{"seed":"my_seed_000000000000000000000000", "role":"TRUST_ANCHOR", "alias":"My Agent"}' -X POST http://localhost:9000/register | ||
# note that the env var name is configured in argparse.py | ||
# seed = comes from ACAPY_WALLET_SEED | ||
wallet-type: !ENV ${WALLET_TYPE} | ||
wallet-name: !ENV ${WALLET_NAME} | ||
wallet-key: !ENV ${WALLET_KEY} | ||
seed: !ENV ${WALLET_SEED} | ||
|
||
## run a local postgres (docker) like: | ||
## docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -d -p 5432:5432 postgres:10 | ||
#wallet-storage-type: postgres_storage | ||
## could be sent using env var ACAPY_WALLET_STORAGE_CONFIG | ||
#wallet-storage-config: '{"url":"localhost:5432","max_connections":5}' | ||
## could be sent using env var ACAPY_WALLET_STORAGE_CREDS | ||
#wallet-storage-creds: '{"account":"postgres","password":"mysecretpassword","admin_account":"postgres","admin_password":"mysecretpassword"}' | ||
|
||
|
||
auto-accept-requests: true | ||
auto-provision: true | ||
auto-respond-credential-proposal: false | ||
auto-respond-credential-offer: false | ||
auto-respond-credential-request: false | ||
auto-store-credential: false | ||
auto-respond-presentation-proposal: true | ||
auto-respond-presentation-request: true | ||
preserve-exchange-records: true | ||
debug-connections: true | ||
debug-credentials: true | ||
debug-presentations: true | ||
enable-undelivered-queue: true | ||
open-mediation: true | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
aiohttp~=3.6.2 | ||
aiohttp~=3.7.3 | ||
asyncio | ||
prompt_toolkit | ||
pygments | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
python3 ./scripts/parse_yml_env_variables.py -c ./configuration/aries-args-advanced.yaml;aca-py start --arg-file /tmp/agent_conf.yml | ||
if [[ -z "${MULTITENANT_TUTORIAL}" ]]; then | ||
echo $MULTITENANT_TUTORIAL | ||
python3 ./scripts/parse_yml_env_variables.py -c ./configuration/aries-args-multitenant.yaml;aca-py start --arg-file /tmp/agent_conf.yml | ||
else | ||
python3 ./scripts/parse_yml_env_variables.py -c ./configuration/aries-args-advanced.yaml;aca-py start --arg-file /tmp/agent_conf.yml | ||
fi |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should move this out of here