Skip to content
This repository has been archived by the owner on Oct 18, 2021. It is now read-only.

Commit

Permalink
Merge pull request #5 from Nike-Inc/archaius-url-resolver
Browse files Browse the repository at this point in the history
Update URL Resolver In Credentials Chain
  • Loading branch information
fieldju authored Feb 23, 2017
2 parents c459b49 + e82d4d5 commit 999adff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.
#

version=2.1.0
version=2.1.1
groupId=com.nike
artifactId=cerberus-archaius-client

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ public class ArchaiusCerberusClientFactory {
* @return Vault client
*/
public static VaultClient getClient() {
return VaultClientFactory.getClient(new ArchaiusCerberusUrlResolver(), new DefaultCerberusCredentialsProviderChain());
final ArchaiusCerberusUrlResolver archaiusUrlResolver = new ArchaiusCerberusUrlResolver();

return VaultClientFactory.getClient(archaiusUrlResolver, new DefaultCerberusCredentialsProviderChain(archaiusUrlResolver));
}
}

0 comments on commit 999adff

Please sign in to comment.