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

Commit

Permalink
Add debug logging (#7)
Browse files Browse the repository at this point in the history
Updates Cerberus client version (adds additional debug logging).
  • Loading branch information
sdford authored Mar 1, 2017
1 parent 999adff commit 674c47b
Show file tree
Hide file tree
Showing 4 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.1
version=2.2.0
groupId=com.nike
artifactId=cerberus-archaius-client

Expand Down
2 changes: 1 addition & 1 deletion gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repositories {

dependencies {
compile 'com.netflix.archaius:archaius-aws:0.6.5'
compile 'com.nike:cerberus-client:1.3.1'
compile 'com.nike:cerberus-client:1.4.0'

compile "org.apache.commons:commons-lang3:3.5"
compile "com.squareup.okhttp3:okhttp:3.6.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public PollResult poll(final boolean initial, final Object checkPoint) {

final Map<String, Object> config = Maps.newHashMap();
for (final String path : getPaths()) {
logger.debug("poll: reading vault path '{}'...", path);
final VaultResponse vaultResponse = getVaultClient().read(path);
config.putAll(vaultResponse.getData());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public PollResult poll(final boolean initial, final Object checkPoint) {

final Map<String, Object> config = Maps.newHashMap();
for (final String path : getPaths()) {
logger.debug("poll: reading vault path '{}'...", path);
config.putAll(buildEntriesMap(path));
}
return PollResult.createFull(config);
Expand Down

0 comments on commit 674c47b

Please sign in to comment.