From a472f40284a862079edbef78cb5a5bd055edbb63 Mon Sep 17 00:00:00 2001 From: vasraz Date: Thu, 21 Apr 2022 11:29:43 +0100 Subject: Update sdc-tosca to 1.7.0 version Change-Id: I20efc080f2411ceadca5972c8e892b0f85e320c1 Signed-off-by: Vasyl Razinkov Issue-ID: SDC-3978 --- .../sdc/frontend/ci/tests/execute/sanity/ToscaValidationTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'integration-tests/src/test/java') 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 generateServiceNodeTemplateMetadataToExpectedObject = generateServiceNodeTemplateMetadataToExpectedObject(resourceReqDetails, resource, componentInstanceDefinition); List serviceNodeTemplates = fdntCsarHelper.getServiceNodeTemplates(); - Metadata serviceNodeTemplateMetadata = serviceNodeTemplates.get(0).getMetaData(); + Metadata serviceNodeTemplateMetadata = serviceNodeTemplates.get(0).getMetadata(); Either> serviceNodeTemplateToscaMetadataValidatorAgainstParser = ToscaValidation.serviceToscaMetadataValidatorAgainstParser(generateServiceNodeTemplateMetadataToExpectedObject, serviceNodeTemplateMetadata); if (serviceNodeTemplateToscaMetadataValidatorAgainstParser.isRight()) { status.add(false); @@ -498,7 +498,7 @@ public class ToscaValidationTest extends SetupCDTest { public List validateServiceModuleMetadataUsingParser(ISdcCsarHelper fdntCsarHelper, Map expectedToscaServiceGroupsDefinitionObject, String vnfFile, List status) { reportStartTestPrint("validateServiceModuleMetadataUsingParser", vnfFile); - String customizationUUID = fdntCsarHelper.getServiceNodeTemplates().get(0).getMetaData().getValue("customizationUUID"); + String customizationUUID = fdntCsarHelper.getServiceNodeTemplates().get(0).getMetadata().getValue("customizationUUID"); List actualGroups = fdntCsarHelper.getVfModulesByVf(customizationUUID); Either> toscaServiceModuleMetadataValidator = ToscaValidation.serviceToscaGroupMetadataValidatorUsingParser(expectedToscaServiceGroupsDefinitionObject, actualGroups); if (toscaServiceModuleMetadataValidator.isRight()) { @@ -509,7 +509,7 @@ public class ToscaValidationTest extends SetupCDTest { public List validateServiceModulePropertyUsingParser(ISdcCsarHelper fdntCsarHelper, Map expectedToscaServiceGroupsDefinitionObject, String vnfFile, List status) { reportStartTestPrint("validateServiceModuleMetadataUsingParser", vnfFile); - String customizationUUID = fdntCsarHelper.getServiceNodeTemplates().get(0).getMetaData().getValue("customizationUUID"); + String customizationUUID = fdntCsarHelper.getServiceNodeTemplates().get(0).getMetadata().getValue("customizationUUID"); List actualGroups = fdntCsarHelper.getVfModulesByVf(customizationUUID); Either> toscaServiceModuleMetadataValidator = ToscaValidation.serviceToscaGroupPropertyValidatorUsingParser(expectedToscaServiceGroupsDefinitionObject, actualGroups); if (toscaServiceModuleMetadataValidator.isRight()) { -- cgit 1.2.3-korg