summaryrefslogtreecommitdiffstats
path: root/integration-tests/src/test/java/org/onap
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2022-04-21 11:29:43 +0100
committerVasyl Razinkov <vasyl.razinkov@est.tech>2022-04-21 15:08:54 +0000
commita472f40284a862079edbef78cb5a5bd055edbb63 (patch)
tree22929888ec8a36e1250c24c8c46dcf9d1bc116f3 /integration-tests/src/test/java/org/onap
parent6c5b28a2ca61aa348f13e11e1236aa0154cdb6c8 (diff)
Update sdc-tosca to 1.7.0 version
Change-Id: I20efc080f2411ceadca5972c8e892b0f85e320c1 Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3978
Diffstat (limited to 'integration-tests/src/test/java/org/onap')
-rw-r--r--integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ToscaValidationTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ToscaValidationTest.java b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ToscaValidationTest.java
index 55d90decb5..81f8006411 100644
--- a/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ToscaValidationTest.java
+++ b/integration-tests/src/test/java/org/onap/sdc/frontend/ci/tests/execute/sanity/ToscaValidationTest.java
@@ -425,7 +425,7 @@ public class ToscaValidationTest extends SetupCDTest {
reportStartTestPrint("validateServiceNodeTemplateMetadataUsingParser", vnfFile);
Map<String, String> generateServiceNodeTemplateMetadataToExpectedObject = generateServiceNodeTemplateMetadataToExpectedObject(resourceReqDetails, resource, componentInstanceDefinition);
List<NodeTemplate> serviceNodeTemplates = fdntCsarHelper.getServiceNodeTemplates();
- Metadata serviceNodeTemplateMetadata = serviceNodeTemplates.get(0).getMetaData();
+ Metadata serviceNodeTemplateMetadata = serviceNodeTemplates.get(0).getMetadata();
Either<Boolean, Map<String, Object>> serviceNodeTemplateToscaMetadataValidatorAgainstParser = ToscaValidation.serviceToscaMetadataValidatorAgainstParser(generateServiceNodeTemplateMetadataToExpectedObject, serviceNodeTemplateMetadata);
if (serviceNodeTemplateToscaMetadataValidatorAgainstParser.isRight()) {
status.add(false);
@@ -498,7 +498,7 @@ public class ToscaValidationTest extends SetupCDTest {
public List<Boolean> validateServiceModuleMetadataUsingParser(ISdcCsarHelper fdntCsarHelper, Map<String, ToscaGroupsTopologyTemplateDefinition> expectedToscaServiceGroupsDefinitionObject, String vnfFile, List<Boolean> status) {
reportStartTestPrint("validateServiceModuleMetadataUsingParser", vnfFile);
- String customizationUUID = fdntCsarHelper.getServiceNodeTemplates().get(0).getMetaData().getValue("customizationUUID");
+ String customizationUUID = fdntCsarHelper.getServiceNodeTemplates().get(0).getMetadata().getValue("customizationUUID");
List<Group> actualGroups = fdntCsarHelper.getVfModulesByVf(customizationUUID);
Either<Boolean, Map<String, Object>> toscaServiceModuleMetadataValidator = ToscaValidation.serviceToscaGroupMetadataValidatorUsingParser(expectedToscaServiceGroupsDefinitionObject, actualGroups);
if (toscaServiceModuleMetadataValidator.isRight()) {
@@ -509,7 +509,7 @@ public class ToscaValidationTest extends SetupCDTest {
public List<Boolean> validateServiceModulePropertyUsingParser(ISdcCsarHelper fdntCsarHelper, Map<String, ToscaGroupsTopologyTemplateDefinition> expectedToscaServiceGroupsDefinitionObject, String vnfFile, List<Boolean> status) {
reportStartTestPrint("validateServiceModuleMetadataUsingParser", vnfFile);
- String customizationUUID = fdntCsarHelper.getServiceNodeTemplates().get(0).getMetaData().getValue("customizationUUID");
+ String customizationUUID = fdntCsarHelper.getServiceNodeTemplates().get(0).getMetadata().getValue("customizationUUID");
List<Group> actualGroups = fdntCsarHelper.getVfModulesByVf(customizationUUID);
Either<Boolean, Map<String, Object>> toscaServiceModuleMetadataValidator = ToscaValidation.serviceToscaGroupPropertyValidatorUsingParser(expectedToscaServiceGroupsDefinitionObject, actualGroups);
if (toscaServiceModuleMetadataValidator.isRight()) {