From 94f4b9bf8661ad75628163b46518e902b6abc834 Mon Sep 17 00:00:00 2001 From: "Singal, Kapil (ks220y)" Date: Tue, 2 Mar 2021 20:00:49 -0500 Subject: 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) Change-Id: Ic9c7cfd76bd98e6a101ec7788841d96316508735 --- .../jtest/org/onap/ccsdk/sli/plugins/prop/TestPropertiesNode.java | 4 ++-- .../properties-node/provider/src/test/resources/test-invalid.xml | 8 ++++---- plugins/properties-node/provider/src/test/resources/test.xml | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'plugins/properties-node/provider/src/test') 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.RESTAPI"),"Call Node - Provider"); + assertEquals(ctx.getAttribute("NotFileBased.ccsdk-sli-plugins"),": properties-node-provider :: test.xml"); assertEquals(ctx.getAttribute("NotFileBased."); 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 @@ org.onap.ccsdk.sli.plugins restapi-call-node - 6.0.0-SNAPSHOT + 0.0.0-SNAPSHOT restapi-call-node-provider bundle - RESTAPI Call Node - Provider + ccsdk-sli-plugins :: properties-node-provider :: test-invalid.xml http://maven.apache.org UTF-8 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 @@ org.onap.ccsdk.sli.plugins restapi-call-node - 6.0.0-SNAPSHOT + 0.0.0-SNAPSHOT restapi-call-node-provider bundle - RESTAPI Call Node - Provider + ccsdk-sli-plugins :: properties-node-provider :: test.xml http://maven.apache.org UTF-8 -- cgit 1.2.3-korg