Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
JanLin committed Jan 29, 2021
2 parents 8122a51 + 7a3f335 commit caae1f0
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 19 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [2020] [LCubed AB, Sweden]
Copyright [2020] [LCubed AB (iGrant.io), Sweden]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
29 changes: 17 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ You can always change this to your ledger of choice by updating *GENESIS_URL* en
1. Clone repository
2. Create a docker network `docker network create aries-playground-nw` (If not already created)
3. Run `docker-compose up`, it will serve:
* agent1.localhost (Agent1 service endpoint)
* agent1.swagger.localhost (Administration API(s) with swagger UI)
* agent2.localhost (Agent2 service endpoint)
* agent2.swagger.localhost (Administration API(s) with swagger UI)
* agent3.localhost (Agent3 service endpoint)
* agent3.swagger.localhost (Administration API(s) with swagger UI)
* agent1.webhook (For capturing webhook events)
* agent2.webhook (For capturing webhook events)
* agent3.webhook (For capturing webhook events)
* test-center.localhost (Agent1 service endpoint)
* test-center.swagger.localhost (Administration API(s) with swagger UI)
* data4life-user.localhost (Agent2 service endpoint)
* data4life-user.swagger.localhost (Administration API(s) with swagger UI)
* travel-company.localhost (Agent3 service endpoint)
* travel-company.swagger.localhost (Administration API(s) with swagger UI)
* test-center.webhook (For capturing webhook events)
* data4life-user.webhook (For capturing webhook events)
* travel-company.webhook (For capturing webhook events)

#### Webhooks

A webhook interceptor is provided to debug the webhook events. It can be accessed by tailing demo.log file.

1. `docker exec -it agent1.webhook tail -f demo.log` - For viewing webhook events for agent1
2. `docker exec -it agent2.webhook tail -f demo.log` - For viewing webhook events for agent2
3. `docker exec -it agent3.webhook tail -f demo.log` - For viewing webhook events for agent3
1. `docker exec -it test-center.webhook tail -f demo.log` - For viewing webhook events for agent1
2. `docker exec -it data4life-user.webhook tail -f demo.log` - For viewing webhook events for agent2
3. `docker exec -it travel-company.webhook tail -f demo.log` - For viewing webhook events for agent3

Please refer the [user guide executing on the credential issue and verification](https://github.com/decentralised-dataexchange/aries-playground/blob/master/credential-issue-and-verification-api-user-guide.md) for the above reference system.

Expand All @@ -32,3 +32,8 @@ The startup.sh file inside cloud-agent folder contains the `aca-py` startup comm
#### Todo

1. Providing a web interface for webhook event interceptor

#### Resources

1. Docker images used in the aries-playground project is publicly available at https://hub.docker.com/u/igrantio
2. Dockerfile for building the docker image for aries-cloudagent-python with operator capabilities is available at https://github.com/decentralised-dataexchange/aries-cloudagent-python/blob/wip/igrantio-operator/docker/Dockerfile.scratch
12 changes: 6 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
- aries-playground-nw

test-center.localhost:
image: georgejpadayatti/aries-cloudagent:0.5.4
image: igrantio/aries-cloudagent:0.5.6_v0.1
command: /bin/bash -c "./startup.sh"
container_name: test-center.localhost
ports:
Expand All @@ -27,15 +27,15 @@ services:
- aries-playground-nw

test-center.webhook:
image: georgejpadayatti/aries-webhook-interceptor:0.1
image: igrantio/aries-webhook-interceptor:0.1
container_name: test-center.webhook
ports:
- 8081:8080
networks:
- aries-playground-nw

data4Life-user.localhost:
image: georgejpadayatti/aries-cloudagent:0.5.4
image: igrantio/aries-cloudagent:0.5.6_v0.1
command: /bin/bash -c "./startup.sh"
container_name: data4Life-user.localhost
ports:
Expand All @@ -51,15 +51,15 @@ services:
- aries-playground-nw

data4Life-user.webhook:
image: georgejpadayatti/aries-webhook-interceptor:0.1
image: igrantio/aries-webhook-interceptor:0.1
container_name: data4Life-user.webhook
ports:
- 8082:8080
networks:
- aries-playground-nw

travel-company.localhost:
image: georgejpadayatti/aries-cloudagent:0.5.4
image: igrantio/aries-cloudagent:0.5.6_v0.1
command: /bin/bash -c "./startup.sh"
container_name: travel-company.localhost
ports:
Expand All @@ -75,7 +75,7 @@ services:
- aries-playground-nw

travel-company.webhook:
image: georgejpadayatti/aries-webhook-interceptor:0.1
image: igrantio/aries-webhook-interceptor:0.1
container_name: travel-company.webhook
ports:
- 8083:8080
Expand Down

0 comments on commit caae1f0

Please sign in to comment.