From 122a42a959de49a0f9fcc817d9e75ab8ef908cf5 Mon Sep 17 00:00:00 2001 From: Alexis de Talhouët Date: Mon, 2 Sep 2019 15:22:48 -0400 Subject: Do not duplicate model types and data dictionaries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I960e9ce040490dea82bd9afa9133ed982fe08d14 Issue-ID: CCSDK-1663 Signed-off-by: Alexis de Talhouët --- .../controllerblueprints/resource/dict/ResourceDefinitionTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ms/controllerblueprints/modules/resource-dict/src/test') diff --git a/ms/controllerblueprints/modules/resource-dict/src/test/java/org/onap/ccsdk/cds/controllerblueprints/resource/dict/ResourceDefinitionTest.java b/ms/controllerblueprints/modules/resource-dict/src/test/java/org/onap/ccsdk/cds/controllerblueprints/resource/dict/ResourceDefinitionTest.java index 26a3a2871..fd38db0bf 100644 --- a/ms/controllerblueprints/modules/resource-dict/src/test/java/org/onap/ccsdk/cds/controllerblueprints/resource/dict/ResourceDefinitionTest.java +++ b/ms/controllerblueprints/modules/resource-dict/src/test/java/org/onap/ccsdk/cds/controllerblueprints/resource/dict/ResourceDefinitionTest.java @@ -25,7 +25,7 @@ import org.slf4j.LoggerFactory; public class ResourceDefinitionTest { private Logger log = LoggerFactory.getLogger(ResourceDefinitionTest.class); - private String basePath = "load/resource_dictionary"; + private String basePath = "./../../../../components/model-catalog/resource-dictionary/starter-dictionary"; @Test public void testDictionaryDefinitionInputSource(){ @@ -46,7 +46,7 @@ public class ResourceDefinitionTest { @Test public void testDictionaryDefinitionDBSource(){ - String fileName = basePath + "/processor-db-source.json"; + String fileName = basePath + "/db-source.json"; ResourceDefinition resourceDefinition = JacksonUtils.Companion.readValueFromFile(fileName, ResourceDefinition.class); Assert.assertNotNull("Failed to populate dictionaryDefinition for processor-db type", resourceDefinition); } -- cgit 1.2.3-korg