summaryrefslogtreecommitdiffstats
path: root/src/test/java
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2022-10-10 14:31:26 -0400
committerVijay Venkatesh Kumar <vv770d@att.com>2022-10-27 15:27:22 +0000
commita4507ff06bdf9d667ce3c91ef984c841d77351b8 (patch)
tree06d99816067764fa6051465d9813c32c5745e3fd /src/test/java
parent2a642a5a8f5a236b0afa29108a4409ce39465012 (diff)
Revise SDK version for CBSClient updates
SDK 1.9.x removes CBS/Consul parameters Change-Id: I527cafdbe5a9b2aca1a15df8edd19f9e03dff5de Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-3295 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/onap/dcae/configuration/cbs/CbsClientConfigurationProviderTest.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/test/java/org/onap/dcae/configuration/cbs/CbsClientConfigurationProviderTest.java b/src/test/java/org/onap/dcae/configuration/cbs/CbsClientConfigurationProviderTest.java
index b3c06d9c..9cdd9973 100644
--- a/src/test/java/org/onap/dcae/configuration/cbs/CbsClientConfigurationProviderTest.java
+++ b/src/test/java/org/onap/dcae/configuration/cbs/CbsClientConfigurationProviderTest.java
@@ -3,6 +3,7 @@
* org.onap.dcaegen2.collectors.ves
* ================================================================================
* Copyright (C) 2020 Nokia. All rights reserved.
+ * Copyright (C) 2022 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,9 +28,6 @@ import org.onap.dcaegen2.services.sdk.rest.services.cbs.client.model.CbsClientCo
public class CbsClientConfigurationProviderTest {
- private static final String DEFAULT_PROTOCOL = "http";
- private static final String DEFAULT_HOSTNAME = "config-binding-service";
- private static final int DEFAULT_PORT = 10000;
private static final String DEFAULT_APP_NAME = "dcae-ves-collector";
@Test
@@ -39,9 +37,6 @@ public class CbsClientConfigurationProviderTest {
CbsClientConfiguration configuration = new CbsClientConfigurationProvider().get();
// then
- assertThat(configuration.protocol()).isEqualTo(DEFAULT_PROTOCOL);
- assertThat(configuration.hostname()).isEqualTo(DEFAULT_HOSTNAME);
- assertThat(configuration.port()).isEqualTo(DEFAULT_PORT);
assertThat(configuration.appName()).isEqualTo(DEFAULT_APP_NAME);
}
}