summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authoramitjai <amitjai@amdocs.com>2018-05-09 11:20:19 +0530
committeramitjai <amitjai@amdocs.com>2018-05-09 11:20:41 +0530
commit738df130864363bcb8b18c3b726f0587acaf74fd (patch)
tree137f202d34020af44736de22f1efb5db67e3fd2a /common
parent60c47df2499a98a1d0bd54ef4feb3316ae738e05 (diff)
Rename packages from openecomp to onap
Updating classes with correct package names used in reflection. Change-Id: Ib9568b58c2b7ebd14f4cfc91cda57c44db9b377f Issue-ID: SDC-1272 Signed-off-by: amitjai <amitjai@amdocs.com>
Diffstat (limited to 'common')
-rw-r--r--common/onap-common-configuration-management/onap-configuration-management-test/src/test/java/org/onap/config/test/CLIFallbackAndLookupTest.java4
-rw-r--r--common/onap-common-configuration-management/onap-configuration-management-test/src/test/java/org/onap/config/test/CLITest.java6
-rw-r--r--common/onap-common-configuration-management/onap-configuration-management-test/src/test/java/org/onap/config/test/NodeSpecificCLITest.java8
3 files changed, 9 insertions, 9 deletions
diff --git a/common/onap-common-configuration-management/onap-configuration-management-test/src/test/java/org/onap/config/test/CLIFallbackAndLookupTest.java b/common/onap-common-configuration-management/onap-configuration-management-test/src/test/java/org/onap/config/test/CLIFallbackAndLookupTest.java
index f4598be0d0..1e345aee3d 100644
--- a/common/onap-common-configuration-management/onap-configuration-management-test/src/test/java/org/onap/config/test/CLIFallbackAndLookupTest.java
+++ b/common/onap-common-configuration-management/onap-configuration-management-test/src/test/java/org/onap/config/test/CLIFallbackAndLookupTest.java
@@ -41,7 +41,7 @@ public class CLIFallbackAndLookupTest {
//Verify without fallback
Map<String, Object> input = new HashMap<>();
- input.put("ImplClass", "org.openecomp.config.type.ConfigurationQuery");
+ input.put("ImplClass", "org.onap.config.type.ConfigurationQuery");
input.put("tenant", TENANT);
input.put("namespace", NAMESPACE);
input.put("key", ConfigTestConstant.ARTIFACT_MAXSIZE);
@@ -66,7 +66,7 @@ public class CLIFallbackAndLookupTest {
//Verify with fallback
Map<String, Object> fallbackInput = new HashMap<>();
- fallbackInput.put("ImplClass", "org.openecomp.config.type.ConfigurationQuery");
+ fallbackInput.put("ImplClass", "org.onap.config.type.ConfigurationQuery");
fallbackInput.put("fallback", true);
fallbackInput.put("tenant", TENANT);
fallbackInput.put("namespace", NAMESPACE);
diff --git a/common/onap-common-configuration-management/onap-configuration-management-test/src/test/java/org/onap/config/test/CLITest.java b/common/onap-common-configuration-management/onap-configuration-management-test/src/test/java/org/onap/config/test/CLITest.java
index 5a3f39fd16..de863efe5b 100644
--- a/common/onap-common-configuration-management/onap-configuration-management-test/src/test/java/org/onap/config/test/CLITest.java
+++ b/common/onap-common-configuration-management/onap-configuration-management-test/src/test/java/org/onap/config/test/CLITest.java
@@ -39,7 +39,7 @@ public class CLITest {
public void testCLIApi() throws Exception{
//Verify without fallback
Map<String, Object> input = new HashMap<>();
- input.put("ImplClass", "org.openecomp.config.type.ConfigurationQuery");
+ input.put("ImplClass", "org.onap.config.type.ConfigurationQuery");
input.put("tenant", TENANT);
input.put("namespace", NAMESPACE);
input.put("key", ConfigTestConstant.ARTIFACT_NAME_MAXLENGTH);
@@ -54,7 +54,7 @@ public class CLITest {
//Update maxlength
- input.put("ImplClass", "org.openecomp.config.type.ConfigurationUpdate");
+ input.put("ImplClass", "org.onap.config.type.ConfigurationUpdate");
input.put("value", "24");
conf.updateConfigurationValue(input);
@@ -64,7 +64,7 @@ public class CLITest {
//Reset value and fetch updated value again
input.put("value", "");
- input.put("ImplClass", "org.openecomp.config.type.ConfigurationQuery");
+ input.put("ImplClass", "org.onap.config.type.ConfigurationQuery");
String updatedMaxLength = conf.getConfigurationValue(input);
Assert.assertEquals("24",updatedMaxLength);
diff --git a/common/onap-common-configuration-management/onap-configuration-management-test/src/test/java/org/onap/config/test/NodeSpecificCLITest.java b/common/onap-common-configuration-management/onap-configuration-management-test/src/test/java/org/onap/config/test/NodeSpecificCLITest.java
index 59848f1dba..41745d36ff 100644
--- a/common/onap-common-configuration-management/onap-configuration-management-test/src/test/java/org/onap/config/test/NodeSpecificCLITest.java
+++ b/common/onap-common-configuration-management/onap-configuration-management-test/src/test/java/org/onap/config/test/NodeSpecificCLITest.java
@@ -35,7 +35,7 @@ public class NodeSpecificCLITest {
public void testCLIApi() throws Exception{
//Verify without fallback
Map<String, Object> input = new HashMap<>();
- input.put("ImplClass", "org.openecomp.config.type.ConfigurationQuery");
+ input.put("ImplClass", "org.onap.config.type.ConfigurationQuery");
input.put("namespace", NAMESPACE);
input.put("key", ConfigTestConstant.ARTIFACT_NAME_MAXLENGTH);
@@ -67,7 +67,7 @@ public class NodeSpecificCLITest {
conf.addConfigurationChangeListener(NAMESPACE, ConfigTestConstant.ARTIFACT_NAME_MAXLENGTH, new CLINodeListener());
//Update maxlength
- input.put("ImplClass", "org.openecomp.config.type.ConfigurationUpdate");
+ input.put("ImplClass", "org.onap.config.type.ConfigurationUpdate");
input.put("nodeOverride", true);
input.put("nodeSpecific", false);
input.put("value", "60");
@@ -80,7 +80,7 @@ public class NodeSpecificCLITest {
//Fetch the updated nodespecific value
input.put("nodeOverride", false);
input.put("nodeSpecific", true);
- input.put("ImplClass", "org.openecomp.config.type.ConfigurationQuery");
+ input.put("ImplClass", "org.onap.config.type.ConfigurationQuery");
String updatedMaxLength = conf.getConfigurationValue(input);
Assert.assertEquals("60",updatedMaxLength);
@@ -91,7 +91,7 @@ public class NodeSpecificCLITest {
Thread.sleep(35000);
- input.put("ImplClass", "org.openecomp.config.type.ConfigurationQuery");
+ input.put("ImplClass", "org.onap.config.type.ConfigurationQuery");
input.put("nodeOverride", false);
input.put("nodeSpecific", false);
System.out.println("val on other node is::"+conf.getConfigurationValue(input));