From a22e8ad270f3c10ddceb92254b671f340637824b Mon Sep 17 00:00:00 2001 From: Melana Hammel <42477256+melanahammel@users.noreply.github.com> Date: Fri, 9 Oct 2020 15:28:33 -0700 Subject: [PATCH] feat: update java client to v7.3.2 (#27) --- README.md | 2 +- gradle.properties | 2 +- gradle/dependencies.gradle | 2 +- .../archaius/client/ArchaiusClientIntegrationTests.java | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a9990bf..38a5b3d 100644 --- a/README.md +++ b/README.md @@ -252,7 +252,7 @@ First, make sure the following environment variables are set before running the ``` bash export CERBERUS_ADDR=https://example.cerberus.com - export TEST_REGION=us-west-2 + export CERBERUS_REGION=us-west-2 export CERBERUS_ROOT_SDB_PATH=example/integration-tests-sdb/ ``` diff --git a/gradle.properties b/gradle.properties index cd8d12a..dbf4c3c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,7 +14,7 @@ # limitations under the License. # -version=7.1.0 +version=7.1.1 groupId=com.nike artifactId=cerberus-archaius-client diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle index c566f5b..9dbaae5 100644 --- a/gradle/dependencies.gradle +++ b/gradle/dependencies.gradle @@ -43,7 +43,7 @@ configurations.all { dependencies { compile 'com.netflix.archaius:archaius-aws:0.6.5' - compile 'com.nike:cerberus-client:7.3.1' + compile 'com.nike:cerberus-client:7.3.2' compile "org.apache.commons:commons-lang3:3.5" compile "com.squareup.okhttp3:okhttp:3.9.0" diff --git a/src/integration/java/com/nike/cerberus/archaius/client/ArchaiusClientIntegrationTests.java b/src/integration/java/com/nike/cerberus/archaius/client/ArchaiusClientIntegrationTests.java index 0250b90..2da4ffd 100644 --- a/src/integration/java/com/nike/cerberus/archaius/client/ArchaiusClientIntegrationTests.java +++ b/src/integration/java/com/nike/cerberus/archaius/client/ArchaiusClientIntegrationTests.java @@ -22,7 +22,6 @@ import com.fieldju.commons.EnvUtils; import com.nike.cerberus.client.CerberusClient; import com.nike.cerberus.client.CerberusServerApiException; -import com.nike.cerberus.client.CerberusServerException; import com.nike.cerberus.client.model.CerberusListFilesResponse; import com.nike.cerberus.client.model.CerberusListResponse; import com.nike.cerberus.client.model.CerberusResponse; @@ -108,7 +107,7 @@ public void test_client_secret_functionality() { // confirm secret is deleted try { cerberusClient.read(sdbFullSecretPath); - } catch (CerberusServerException cse) { + } catch (CerberusServerApiException cse) { assertEquals(404, cse.getCode()); } }