summaryrefslogtreecommitdiffstats
path: root/ms/controllerblueprints/modules/resource-dict/src
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2019-09-02 15:22:48 -0400
committerAlexis de Talhouët <adetalhouet89@gmail.com>2019-09-03 13:04:52 +0000
commit122a42a959de49a0f9fcc817d9e75ab8ef908cf5 (patch)
tree0c1be4b9b89b2bc1e19ffae1088312632e94f78a /ms/controllerblueprints/modules/resource-dict/src
parentcd29a05ccd4279d7fb740d03bbeee6a0839b287e (diff)
Do not duplicate model types and data dictionaries
Change-Id: I960e9ce040490dea82bd9afa9133ed982fe08d14 Issue-ID: CCSDK-1663 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'ms/controllerblueprints/modules/resource-dict/src')
-rw-r--r--ms/controllerblueprints/modules/resource-dict/src/test/java/org/onap/ccsdk/cds/controllerblueprints/resource/dict/ResourceDefinitionTest.java4
1 files changed, 2 insertions, 2 deletions
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);
}