Skip to content

Commit

Permalink
fix resolver broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
hello2mao committed Oct 23, 2019
1 parent 0145005 commit 96b2262
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions resolver/java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Then run:

## Local Resolver

You can use a [Local Resolver](https://github.com/decentralized-identity/universal-resolver-java/tree/master/uni-resolver-client) in your Java project that invokes drivers locally (either directly via their JAVA API or via a Docker REST API).
You can use a [Local Resolver](https://github.com/decentralized-identity/universal-resolver/tree/master/resolver/java/uni-resolver-client) in your Java project that invokes drivers locally (either directly via their JAVA API or via a Docker REST API).

Dependency:

Expand All @@ -28,7 +28,7 @@ Dependency:
<version>0.1-SNAPSHOT</version>
</dependency>

[Example Use](https://github.com/decentralized-identity/universal-resolver-java/blob/master/examples/src/main/java/uniresolver/examples/TestLocalUniResolver.java):
[Example Use](https://github.com/decentralized-identity/universal-resolver/blob/master/resolver/java/examples/src/main/java/uniresolver/examples/TestLocalUniResolver.java):

LocalUniResolver uniResolver = LocalUniResolver.getDefault();
uniResolver.getDriver(DidSovDriver.class).setLibIndyPath("./sovrin/lib/");
Expand All @@ -47,17 +47,17 @@ Dependency:

## Web Resolver

You can deploy a [Web Resolver](https://github.com/decentralized-identity/universal-resolver-java/tree/master/uni-resolver-web) that can be called by clients and invokes drivers locally (either directly via their JAVA API or via a Docker REST API).
You can deploy a [Web Resolver](https://github.com/decentralized-identity/universal-resolver/tree/master/resolver/java/uni-resolver-web) that can be called by clients and invokes drivers locally (either directly via their JAVA API or via a Docker REST API).

See the [Example Configuration](https://github.com/decentralized-identity/universal-resolver-java/blob/master/uni-resolver-web/src/main/webapp/WEB-INF/applicationContext.xml).
See the [Example Configuration](https://github.com/decentralized-identity/universal-resolver/blob/master/resolver/java/uni-resolver-web/src/main/webapp/WEB-INF/applicationContext.xml).

How to run:

mvn jetty:run

## Client Resolver

You can use a [Client Resolver](https://github.com/decentralized-identity/universal-resolver-java/tree/master/uni-resolver-client) in your Java project that calls a remote Web Resolver.
You can use a [Client Resolver](https://github.com/decentralized-identity/universal-resolver/tree/master/resolver/java/uni-resolver-client) in your Java project that calls a remote Web Resolver.

Dependency:

Expand All @@ -67,7 +67,7 @@ Dependency:
<version>0.1-SNAPSHOT</version>
</dependency>

[Example Use](https://github.com/decentralized-identity/universal-resolver-java/blob/master/examples/src/main/java/uniresolver/examples/TestClientUniResolver.java):
[Example Use](https://github.com/decentralized-identity/universal-resolver/blob/master/resolver/java/examples/src/main/java/uniresolver/examples/TestClientUniResolver.java):

ClientUniResolver uniResolver = new ClientUniResolver();
uniResolver.setResolveUri("https://uniresolver.danubetech.com/1.0/identifiers/");
Expand Down

0 comments on commit 96b2262

Please sign in to comment.