diff options
author | root1 <vidyashree.rama@huawei.com> | 2020-08-11 18:44:29 +0530 |
---|---|---|
committer | root1 <vidyashree.rama@huawei.com> | 2020-08-28 12:01:34 +0530 |
commit | 2d9f989e0d37002c758bdf66a3f25fcfdac35b62 (patch) | |
tree | f498e3895bd048c9542ec1b0356013481dd5e74a /src/test/java/org/onap | |
parent | f095a271b67b3f2be3dbdcd00924cac3dd3209ec (diff) |
CLAMP should not display all CDS workflow properties
CLAMP should not display all CDS workflow properties
Issue-ID: CLAMP-856
Signed-off-by: root1 <vidyashree.rama@huawei.com>
Change-Id: I98fc46c9c9ba574a3606740921d74743cb6f38ea
Diffstat (limited to 'src/test/java/org/onap')
2 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/org/onap/clamp/clds/tosca/update/ToscaConverterWithDictionarySupportItCase.java b/src/test/java/org/onap/clamp/clds/tosca/update/ToscaConverterWithDictionarySupportItCase.java index 7f0e57602..f7774214c 100644 --- a/src/test/java/org/onap/clamp/clds/tosca/update/ToscaConverterWithDictionarySupportItCase.java +++ b/src/test/java/org/onap/clamp/clds/tosca/update/ToscaConverterWithDictionarySupportItCase.java @@ -128,7 +128,7 @@ public class ToscaConverterWithDictionarySupportItCase { @Transactional public final void testMetadataClampPossibleValueWithExecutor() throws IOException, UnknownComponentException { Service service = new Service(ResourceFileUtil.getResourceAsString("tosca/service-details.json"), - ResourceFileUtil.getResourceAsString("tosca/resource-details.json")); + ResourceFileUtil.getResourceAsString("tosca/resource-details-cds.json")); JsonTemplateManager jsonTemplateManager = new JsonTemplateManager( ResourceFileUtil.getResourceAsString("http-cache/example/policy/api/v1/policytypes/onap" diff --git a/src/test/java/org/onap/clamp/policy/operational/OperationalPolicyRepresentationBuilderTest.java b/src/test/java/org/onap/clamp/policy/operational/OperationalPolicyRepresentationBuilderTest.java index b90a28616..4f728b44a 100644 --- a/src/test/java/org/onap/clamp/policy/operational/OperationalPolicyRepresentationBuilderTest.java +++ b/src/test/java/org/onap/clamp/policy/operational/OperationalPolicyRepresentationBuilderTest.java @@ -37,8 +37,8 @@ public class OperationalPolicyRepresentationBuilderTest { @Test public void testOperationalPolicyPayloadConstruction() throws IOException { - JsonObject jsonModel = new GsonBuilder().create() - .fromJson(ResourceFileUtil.getResourceAsString("tosca/model-properties.json"), JsonObject.class); + JsonObject jsonModel = new GsonBuilder().create().fromJson(ResourceFileUtil + .getResourceAsString("tosca/model-properties-operational-policy.json"), JsonObject.class); Service service = new Service(jsonModel.get("serviceDetails").getAsJsonObject(), jsonModel.get("resourceDetails").getAsJsonObject(), "1.0"); |