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

feat/presentation exchange #4

Open
wants to merge 121 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 105 commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
204d070
Initial refactor of mediator service - create manage script, refactor…
ianco Nov 30, 2021
4611fd7
Remove (separate) ngrok scripts
ianco Nov 30, 2021
20b7aa0
Add support for pwd and wv
ianco Nov 30, 2021
ef5aff9
Fix docker image names
ianco Dec 1, 2021
5720e14
Fix postfres base
ianco Dec 1, 2021
40b785a
Update README, tweak settings
ianco Dec 1, 2021
f1fe84d
Updated README
ianco Dec 1, 2021
9885ff7
Updated README
ianco Dec 1, 2021
a83ad58
Updated README
ianco Dec 1, 2021
27dbcdd
Fix aca-py version
ianco Dec 1, 2021
07ed168
Fix PWD protocol
ianco Dec 1, 2021
5273d74
Initial mediator controller WIP
ianco Dec 2, 2021
b2184ee
A few controller tweaks
ianco Dec 2, 2021
5a40cc7
Update controller to respond to connections webhooks
ianco Dec 3, 2021
f7d681e
feat: add nginx example with ssl
KimEbert42 Dec 7, 2021
3b707a8
feat: update aca-py
KimEbert42 Dec 7, 2021
e6b9c38
Cleanup mediator configs
ianco Dec 7, 2021
a6b655e
Merge pull request #10 from ianco/mediator_refactor
dbluhm Dec 7, 2021
10ff817
Add support for changes to internal Docker networking.
WadeBarnes Dec 7, 2021
47d8894
Merge pull request #13 from WadeBarnes/fix/docker-updates
ianco Dec 7, 2021
f6b3add
fix: add port 80 for certbot
KimEbert42 Dec 7, 2021
eb838aa
fix: store db locally
KimEbert42 Dec 7, 2021
d4cbf8e
Centralize docker host IP script.
WadeBarnes Dec 8, 2021
f2a75bd
Merge pull request #15 from WadeBarnes/fix/docker-updates
swcurran Dec 8, 2021
fbc4585
Merge branch 'main' into ssl
KimEbert42 Dec 15, 2021
4942e0d
feat: add websocket support and alternative tunnel support
KimEbert42 Dec 16, 2021
74b6ec2
feat: add default value to docker-compose.yml. Add example ssl config…
KimEbert42 Dec 16, 2021
d3580c6
Merge pull request #14 from Indicio-tech/ssl
dbluhm Jan 28, 2022
f8b3c72
fixed dependabot alerts
wadeking98 Feb 3, 2022
3c77407
Merge pull request #24 from wadeking98/main
swcurran Feb 3, 2022
1ff4feb
fixed predefine vulnerability
wadeking98 Feb 3, 2022
71374df
Merge pull request #25 from wadeking98/main
swcurran Feb 3, 2022
1244774
build(deps): bump follow-redirects in /acapy/controller
dependabot[bot] Feb 15, 2022
13d7a02
Merge pull request #26 from hyperledger/dependabot/npm_and_yarn/acapy…
swcurran Feb 15, 2022
b60a4e1
Rework project for simple developer usage
jleach Mar 7, 2022
40084a1
Remove submodule wait-for-it
jleach Mar 7, 2022
ea0ee7a
Cleanup
jleach Mar 7, 2022
efce9f5
Mojo to 11
jleach Mar 7, 2022
fe54ad0
Add some more docs
jleach Mar 7, 2022
b91f093
Update FAQ
jleach Mar 7, 2022
5da06ce
Update FAQ
jleach Mar 7, 2022
564d8ba
Tweak db health check
jleach Mar 7, 2022
239f82f
Update docs
jleach Mar 7, 2022
d69d687
Update docs
jleach Mar 8, 2022
8a0357c
Disable the controller service
jleach Mar 28, 2022
481e06a
Fix mediator service dependency
jleach Mar 31, 2022
5930793
Document changing invite reason
jleach Mar 31, 2022
b0077dc
Add external link to docs
jleach Mar 31, 2022
30072de
Lots of project contributors
jleach Mar 31, 2022
f2779c3
Merge pull request #27 from fullboar/main
dbluhm Apr 1, 2022
e5ec260
Add support for new didcomm prefix
jleach Jul 14, 2022
ecbb858
Merge pull request #39 from fullboar/feature/add-modern-didcomm
swcurran Jul 15, 2022
44992e9
Add :z to volumes
jleach Jul 21, 2022
73a9b26
Merge pull request #40 from fullboar/fix/add-selinux-support
dbluhm Jul 21, 2022
e88f460
Fix typography error
realabbas Oct 31, 2022
de88f1f
Merge pull request #42 from realabbas/patch-1
swcurran Oct 31, 2022
131cf3c
build(deps): bump express from 4.17.2 to 4.18.2 in /acapy/controller
dependabot[bot] Dec 15, 2022
b0a9c70
Merge pull request #46 from hyperledger/dependabot/npm_and_yarn/acapy…
swcurran Dec 15, 2022
d27b638
build(deps): bump minimist from 1.2.5 to 1.2.7 in /acapy/controller
dependabot[bot] Dec 15, 2022
deb9589
Merge pull request #47 from hyperledger/dependabot/npm_and_yarn/acapy…
swcurran Dec 15, 2022
79c0f83
build(deps): bump json5 from 2.2.0 to 2.2.3 in /acapy/controller
dependabot[bot] Jan 7, 2023
062d1f5
Merge pull request #48 from hyperledger/dependabot/npm_and_yarn/acapy…
swcurran Jan 7, 2023
02a174e
Fix setting env MEDIATOR_URL in docker-compose
matrixik Jan 12, 2023
753aa89
Merge pull request #49 from matrixik/patch-1
KimEbert42 Jan 12, 2023
c3b9ce1
feat: add load testing using AFJ as client and Locust as load testing…
KimEbert42 Jan 18, 2023
769ab09
fix: fix copyright header
KimEbert42 Jan 18, 2023
e46961b
Merge pull request #50 from reflectivedevelopment/feature/load-tester
swcurran Jan 19, 2023
86846f2
chore: update container base image
jleach Feb 14, 2023
4273161
chore: remove pip requirements
jleach Feb 14, 2023
501d303
chore: combine run
jleach Feb 14, 2023
18f7fe1
chore: add maintainers
jleach Feb 14, 2023
d7676d4
Merge pull request #54 from fullboar/feat/add-maintainers
jleach Feb 15, 2023
5d2f2ac
Merge pull request #52 from fullboar/chore/update-base-img
jleach Feb 16, 2023
69f91f6
updated the openshift dockerfile
wadeking98 Feb 17, 2023
018321f
Update acapy/Dockerfile.acapy
wadeking98 Feb 17, 2023
18e7276
Merge pull request #55 from wadeking98/feat-update-openshift-dockerfile
WadeBarnes Feb 22, 2023
a104f62
Upgrade to aca-py v0.8.0
WadeBarnes Mar 23, 2023
e292c1b
Merge pull request #60 from WadeBarnes/main
swcurran Mar 23, 2023
df1a0df
feat: add additional load tests
KimEbert42 Mar 30, 2023
9ffd500
fix: fix clone url
KimEbert42 Mar 30, 2023
7d26893
fix: fix instructions
KimEbert42 Mar 30, 2023
b428d0b
feat: add revoke test
KimEbert42 Mar 31, 2023
ee1f2c4
Add dev container for use as a consistent local environment
WadeBarnes Apr 3, 2023
0355442
Document how to use the devContainer with the load tests
WadeBarnes Apr 3, 2023
f8f8e19
Merge pull request #65 from WadeBarnes/main
jleach Apr 3, 2023
72ac336
feat: add features to devcontainer
jleach Apr 3, 2023
b33f807
Merge pull request #62 from Indicio-tech/feature/add_more_load_tests
jleach Apr 3, 2023
bb92f54
Merge pull request #66 from fullboar/feat/add-to-devcontainer
WadeBarnes Apr 3, 2023
5d325de
feat: initial work on an AFJ mediator
jleach Mar 29, 2023
33dc38d
chore: udpate docs
jleach Apr 4, 2023
deed61b
chore: udpate docs
jleach Apr 4, 2023
ef112a2
chore: add node support to devcontainer
jleach Apr 4, 2023
b2fac98
chore: code cleanup
jleach Apr 4, 2023
b016a8a
chore: update docs
jleach Apr 4, 2023
7671d43
Merge pull request #61 from fullboar/feat/add-afj-mediator
swcurran Apr 4, 2023
2e77d11
chore: update docs
jleach Apr 4, 2023
51c5d73
Merge pull request #69 from fullboar/feat/add-afj-mediator
swcurran Apr 4, 2023
cc7633a
chore: update docs for clarity (#70)
jleach Apr 5, 2023
22e128d
fix: parameterize node version (#71)
jleach Apr 5, 2023
2e4c302
Update ACA-Py set up to use Askar and Postgres 15 (#73)
swcurran Apr 5, 2023
0f447b2
Update docs and settings in load testing sample.env (#74)
swcurran Apr 7, 2023
d42db37
feat: add presentation_exchange within agent.js, comment out logger f…
anwalker293 Jun 21, 2023
61823fc
fix: Indicio Test Net update
anwalker293 Jun 21, 2023
a7df1a4
feat: add presentation_exchange within locustClient.py
anwalker293 Jun 21, 2023
22d3a67
feat: add locustMediatorPresentProof.py
anwalker293 Jun 21, 2023
98fc40d
debug: add in new VERIFICATION_TIMEOUT_SECONDS var
anwalker293 Aug 24, 2023
c0d0e04
fix: double dollar sign in docker-compose.yml
anwalker293 Aug 24, 2023
1dc5aa5
feat: add clustering capabilities
anwalker293 Aug 24, 2023
569d388
feat: add worker command for clustering
anwalker293 Aug 24, 2023
72ca268
fix: put back in original unclustered command
anwalker293 Aug 24, 2023
21dd96e
feat: add exisitng present proof scenario, add changes to agent.js an…
anwalker293 Aug 24, 2023
e64b1de
fix: indentation
anwalker293 Aug 24, 2023
3b03745
fix: remove extra line
anwalker293 Aug 24, 2023
abbee3f
fix: revert backwards, not working
anwalker293 Aug 25, 2023
256b4ac
fix: presentation scenario didnt update properly
anwalker293 Aug 25, 2023
9932779
fix: default to unclustered, provide clustered commands
anwalker293 Aug 25, 2023
285c326
fix: update existing scenario
anwalker293 Aug 25, 2023
ba0d975
Merge pull request #1 from anwalker293/fix/debug/presentation-exchange
anwalker293 Aug 25, 2023
929e40f
feat: update sample.env
anwalker293 Aug 25, 2023
70913a2
feat: add fractional scenario
anwalker293 Sep 28, 2023
c1c192e
fix: only upload single docker-compose, unclustered
anwalker293 Sep 28, 2023
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
23 changes: 23 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM ghcr.io/findy-network/findy-base:indy-1.16.ubuntu-22.04 AS indy-base

ARG VARIANT="jammy"

FROM mcr.microsoft.com/devcontainers/base:jammy

RUN apt-get update && \
apt-get install -y curl libsodium23 openssl libzmq5 git zsh python3 build-essential ca-certificates

COPY --from=indy-base /usr/include/indy /usr/include/indy
COPY --from=indy-base /usr/lib/libindy.a /usr/lib/libindy.a
COPY --from=indy-base /usr/lib/libindy.so /usr/lib/libindy.so
COPY --from=indy-base /usr/lib/libssl.so.1.1 /usr/lib/libssl.so.1.1
COPY --from=indy-base /usr/lib/libcrypto.so.1.1 /usr/lib/libcrypto.so.1.1

USER vscode

RUN curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash && \
export NVM_DIR="$HOME/.nvm" && \
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \
nvm install v16 && \
npm install yarn -g

7 changes: 7 additions & 0 deletions .devcontainer/devcontainer.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#
# Any environment variables that the container needs
# go in here.
#
# Example(s)
# GENESIS_TXN_PATH=/work/network/genesis/local-genesis.txn
#
15 changes: 15 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
{
"name": "Ubuntu",
"build": {
"dockerfile": "Dockerfile",
"args": { "VARIANT": "bionic" }
},
"runArgs": ["--env-file", ".devcontainer/devcontainer.env"],
"workspaceMount": "source=${localWorkspaceFolder},target=/work,type=bind",
"workspaceFolder": "/work",
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
}
}
7 changes: 6 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
db
caddy
README.md
docker-compose.yml
.env
.env.sample
node_modules
4 changes: 4 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
MEDIATOR_CONTROLLER_ADMIN_API_KEY=insecure-hello-world-1
MEDIATOR_AGENT_ADMIN_API_KEY=insecure-hello-world-2
MEDIATOR_ALIAS=MOON
LOG_LEVEL=INFO
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.aws
*.db-wal
*.db-shm
.env
postgres-db
node_modules/
.DS_Store
afj/dist/
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

8 changes: 0 additions & 8 deletions Dockerfile

This file was deleted.

16 changes: 0 additions & 16 deletions Dockerfile.ngrok

This file was deleted.

69 changes: 69 additions & 0 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Maintainers

## Active Maintainers

<!-- Please keep this sorted alphabetically by github -->

| Name | Github | LFID |
| -------------- | ------ | ---- |
| Ian Costanzo | ianco | |
| Jason C. Leach | jleach | |

## Emeritus Maintainers

| Name | Github | LFID |
| ---- | ------ | ---- |
| | | |

## Becoming a Maintainer

Aries Mediator Service within the Hyperledger Aries community welcomes contributions. Contributors may progress to become a maintainer. To become a
maintainer the following steps occur, roughly in order.

- 3 **significant** changes have been authored by the proposed maintainer and
accepted.
- The proposed maintainer has the sponsorship of at least one other maintainer.
- This sponsoring maintainer will create a PR modifying the list of
maintainers.
- The proposed maintainer accepts the nomination and expresses a willingness
to be a long-term (more than 6 month) maintainer.
- This would be a comment in the above PR.
- This PR will be communicated in all appropriate communication channels. It
should be mentioned in any maintainer/community call. It should also be
posted to the appropriate mailing list or chat channels if they exist.
- Approval by at least 2 current maintainers within two weeks of the proposal or an absolute majority of current maintainers.
- These votes will be recorded in the PR modifying the list of maintainers.
- No veto by another maintainer within two weeks of proposal are recorded.
- All vetoes must be accompanied by a public explanation as a comment in the
PR for adding this maintainer
- The explanation of the veto must be reasonable.
- A veto can be retracted, in that case the approval/veto time-frame is reset.
- It is bad form to veto, retract, and veto again.
- The proposed maintainer becomes a maintainer
- Either two weeks have passed since the third approval,
- Or an absolute majority of maintainers approve.
- In either case, no maintainer presents a veto.

## Removing Maintainers

Being a maintainer is not a status symbol or a title to be maintained
indefinitely. It will occasionally be necessary and appropriate to move a
maintainer to emeritus status. This can occur in the following situations:

- Resignation of a maintainer.
- Violation of the [Hyperledger Code of
Conduct](https://wiki.hyperledger.org/display/HYP/Hyperledger+Code+of+Conduct) warranting removal.
- **Inactivity**.
- A general measure of inactivity will be no commits or code review comments
for one reporting quarter, although this will not be strictly enforced if
the maintainer expresses a reasonable intent to continue contributing.
- Reasonable exceptions to inactivity will be granted for known long term
leave such as parental leave and medical leave.
- Other unspecified circumstances.

Like adding a maintainer the record and governance process for moving a
maintainer to emeritus status is recorded in the github PR making that change.

Returning to active status from emeritus status uses the same steps as adding a
new maintainer. Note that the emeritus maintainer already has the 3 required
significant changes as there is no contribution time horizon for those.
Loading