summaryrefslogtreecommitdiffstats
path: root/plugins/properties-node/provider/src
diff options
context:
space:
mode:
authorSingal, Kapil (ks220y) <ks220y@att.com>2021-03-02 20:00:49 -0500
committerKAPIL SINGAL <ks220y@att.com>2021-03-09 15:41:39 +0000
commit94f4b9bf8661ad75628163b46518e902b6abc834 (patch)
treea269b56f643b30b6f9d0c3e264ab6a49a11447bd /plugins/properties-node/provider/src
parent3f3e689bb5940b93d52fe543d9cc0a814c576475 (diff)
Refactoring pom's name tag
Indenting pom's and running mvn tidy:pom to rearrange items Issue-ID: CCSDK-3198 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: Ic9c7cfd76bd98e6a101ec7788841d96316508735
Diffstat (limited to 'plugins/properties-node/provider/src')
-rw-r--r--plugins/properties-node/provider/src/test/java/jtest/org/onap/ccsdk/sli/plugins/prop/TestPropertiesNode.java4
-rw-r--r--plugins/properties-node/provider/src/test/resources/test-invalid.xml8
-rw-r--r--plugins/properties-node/provider/src/test/resources/test.xml8
3 files changed, 10 insertions, 10 deletions
diff --git a/plugins/properties-node/provider/src/test/java/jtest/org/onap/ccsdk/sli/plugins/prop/TestPropertiesNode.java b/plugins/properties-node/provider/src/test/java/jtest/org/onap/ccsdk/sli/plugins/prop/TestPropertiesNode.java
index a858c49b3..34ac4685f 100644
--- a/plugins/properties-node/provider/src/test/java/jtest/org/onap/ccsdk/sli/plugins/prop/TestPropertiesNode.java
+++ b/plugins/properties-node/provider/src/test/java/jtest/org/onap/ccsdk/sli/plugins/prop/TestPropertiesNode.java
@@ -20,7 +20,7 @@ public class TestPropertiesNode {
private static final Logger log = LoggerFactory.getLogger(TestPropertiesNode.class);
@Rule
public EnvironmentVariables environmentVariables = new EnvironmentVariables();
-
+
@Test
public void testJSONFileParsing() throws SvcLogicException {
SvcLogicContext ctx = new SvcLogicContext();
@@ -535,7 +535,7 @@ public class TestPropertiesNode {
PropertiesNode rcn = new PropertiesNode();
rcn.readProperties(p, ctx);
- assertEquals(ctx.getAttribute("NotFileBased.<name>RESTAPI"),"Call Node - Provider</name>");
+ assertEquals(ctx.getAttribute("NotFileBased.<name>ccsdk-sli-plugins"),": properties-node-provider :: test.xml</name>");
assertEquals(ctx.getAttribute("NotFileBased.<project"),
"xmlns=\"http://maven.apache.org/POM/4.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"" +
" xsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd\">");
diff --git a/plugins/properties-node/provider/src/test/resources/test-invalid.xml b/plugins/properties-node/provider/src/test/resources/test-invalid.xml
index 50bd0fff2..3e4bd3b2d 100644
--- a/plugins/properties-node/provider/src/test/resources/test-invalid.xml
+++ b/plugins/properties-node/provider/src/test/resources/test-invalid.xml
@@ -9,9 +9,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -25,11 +25,11 @@
<parent>
<groupId>org.onap.ccsdk.sli.plugins</groupId>
<artifactId>restapi-call-node</artifactId>
- <version>6.0.0-SNAPSHOT</version>
+ <version>0.0.0-SNAPSHOT</version>
</parent>
<artifactId>restapi-call-node-provider</artifactId>
<packaging>bundle</packaging>
- <name>RESTAPI Call Node - Provider</name>
+ <name>ccsdk-sli-plugins :: properties-node-provider :: test-invalid.xml</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
diff --git a/plugins/properties-node/provider/src/test/resources/test.xml b/plugins/properties-node/provider/src/test/resources/test.xml
index 19e3b7139..b3e1164e4 100644
--- a/plugins/properties-node/provider/src/test/resources/test.xml
+++ b/plugins/properties-node/provider/src/test/resources/test.xml
@@ -9,9 +9,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -25,11 +25,11 @@
<parent>
<groupId>org.onap.ccsdk.sli.plugins</groupId>
<artifactId>restapi-call-node</artifactId>
- <version>6.0.0-SNAPSHOT</version>
+ <version>0.0.0-SNAPSHOT</version>
</parent>
<artifactId>restapi-call-node-provider</artifactId>
<packaging>bundle</packaging>
- <name>RESTAPI Call Node - Provider</name>
+ <name>ccsdk-sli-plugins :: properties-node-provider :: test.xml</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>