From ddb4c7751e3a40091abb8055aa5e224eb30c2d4b Mon Sep 17 00:00:00 2001 From: Sonoko Mizuki Date: Mon, 20 Nov 2023 16:46:32 +0900 Subject: [PATCH] update: write spec about did:content --- README.md | 2 ++ docker-compose.yml | 4 ++++ uni-resolver-web/src/main/resources/application.yml | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/README.md b/README.md index eb04a094a..53f551ffe 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,7 @@ You should then be able to resolve identifiers locally using simple `curl` reque curl -X GET http://localhost:8080/1.0/identifiers/did:evrc:issuer:ethereum:246d9b34-09e1-496e-ad5b-fb5ea889d96b curl -X GET http://localhost:8080/1.0/identifiers/did:keri:EKYGGh-FtAphGmSZbsuBs_t4qpsjYJ2ZqvMKluq9OxmP curl -X GET http://localhost:8080/1.0/identifiers/did:webs:peacekeeper.github.io:did-webs-iiw-tutorial:EKYGGh-FtAphGmSZbsuBs_t4qpsjYJ2ZqvMKluq9OxmP + curl -X GET http://localhost:8080/1.0/identifiers/did:content:3SqTXtoMpiPeNo5vEP2p7yNGQUeCGjqW1wnctv8yaCWXojD29GYcUEo You can also use an "Accept" header to request the DID document in a specific representation, e.g.: @@ -173,6 +174,7 @@ Are you developing a DID method and Universal Resolver driver? Click [Driver Dev | [did-evrc](https://github.com/vcian/uni-resolver-driver-did-evrc) | 1.0 | 1.0 | [viitorcloud/uni-resolver-driver-did-evrc](https://hub.docker.com/r/viitorcloud/uni-resolver-driver-did-evrc) | EveryCRED DID Method | | [did-keri](https://github.com/hyperledger-labs/did-webs-resolver) | 0.1 | [0.1](https://trustoverip.github.io/tswg-did-method-webs-specification/) | [gleif/did-keri-resolver](https://hub.docker.com/r/gleif/did-keri-resolver) | KERI | | [did-webs](https://github.com/hyperledger-labs/did-webs-resolver) | 0.1 | [0.1](https://trustoverip.github.io/tswg-did-method-webs-specification/) | [gleif/did-webs-resolver](https://hub.docker.com/r/gleif/did-webs-resolver) | KER, Web | +| [did-content](https://github.com/KataruInc/did-content-spec) | 0.1 | [0.1](https://github.com/KataruInc/did-content-spec) | [kataru/content-did-driver](https://hub.docker.com/repository/docker/kataru/content-did-driver) | Content DID | ## More Information diff --git a/docker-compose.yml b/docker-compose.yml index df92c1485..935fbcbf8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -283,4 +283,8 @@ services: image: gleif/did-webs-resolver-service:latest ports: - "8147:7677" + driver-did-content: + image: KataruInc/did-content-service:latest + ports: + - "8148:8888" diff --git a/uni-resolver-web/src/main/resources/application.yml b/uni-resolver-web/src/main/resources/application.yml index bc9a8c320..9672844c3 100644 --- a/uni-resolver-web/src/main/resources/application.yml +++ b/uni-resolver-web/src/main/resources/application.yml @@ -318,3 +318,7 @@ uniresolver: url: http://driver-did-webs:7677/ testIdentifiers: - did:webs:peacekeeper.github.io:did-webs-iiw37-tutorial:EKYGGh-FtAphGmSZbsuBs_t4qpsjYJ2ZqvMKluq9OxmP + - pattern: "^(did:content:.+)$" + url: http://driver-did-content:8888/ + testIdentifiers: + - did:content:3SqTXtoMpiPeNo5vEP2p7yNGQUeCGjqW1wnctv8yaCWXojD29GYcUEo \ No newline at end of file