Skip to content

Commit

Permalink
Add did:example driver.
Browse files Browse the repository at this point in the history
  • Loading branch information
peacekeeper committed Mar 30, 2021
1 parent b608de3 commit 2fa1e1a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ uniresolver_driver_did_icon_network_id=2

LEDGIS_LIT_ENDPOINT=https://lit.ledgis.io
LEDGIS_LIT_CODE=lit

uniresolver_driver_did_example_exampleSetting=exampleSetting
7 changes: 6 additions & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,11 @@
"pattern": "^(did:lit:(?:[1-9A-HJ-NP-Za-km-z]{21,22}))$",
"url": "http://driver-did-lit:8080/",
"testIdentifiers": [ "did:lit:AEZ87t1bi5bRxmVh3ksMUi" ]
}
},
{
"pattern": "^(did:example:.+)$",
"url": "http://uni-resolver-driver-did-example:8080/",
"testIdentifiers": [ "did:example:0000000000123456", "did:example:0000000000456789" ]
}
]
}
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,3 +204,10 @@ services:
LEDGIS_LIT_CODE: ${LEDGIS_LIT_CODE}
ports:
- "8119:8080"
uni-resolver-driver-did-example:
image: exampleorg/uni-resolver-driver-did-example:latest
environment:
uniresolver_driver_did_example_exampleSetting: ${uniresolver_driver_did_example_exampleSetting}
ports:
- "8120:8080"

0 comments on commit 2fa1e1a

Please sign in to comment.