Add declarative acceptance tests 30/92530/6
authorEliezio Oliveira <eliezio.oliveira@est.tech>
Wed, 31 Jul 2019 10:50:26 +0000 (11:50 +0100)
committerDan Timoney <dtimoney@att.com>
Fri, 9 Aug 2019 19:46:17 +0000 (19:46 +0000)
commit1e7e4a53684df04ba248c20d884ba907ca7c2870
treed75f0c3b55ada932c42cff18ba120e3c337c37f4
parent1596f69d2e59a158ae509e798448a398b2c9559f
Add declarative acceptance tests

First two UATs are for blueprints Echo and "PNF Configuration".

The body of the ODL mount request was changed from XML to JSON,
so it can be represented in a YAML file.

Initial documentation about the UATs can be found at
components/model-catalog/blueprint-model/uat-blueprints/README.md

BluePrintArchiveUtils.recurseFiles() replaced by compressFolder() that
uses native Java 7. Removed commons-compress as dependency since is no
longer used.

Change-Id: I96a584ae12ca009f90fe8fe9485eb57ce05e8add
Issue-ID: CCSDK-1569
Signed-off-by: Eliezio Oliveira <eliezio.oliveira@est.tech>
48 files changed:
components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Templates/config-deploy-restconf-mount-template.vtl [deleted file]
components/model-catalog/blueprint-model/uat-blueprints/README.md [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/echo/Definitions/artifact_types.json [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/echo/Definitions/data_types.json [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/echo/Definitions/echo-mapping.json [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/echo/Definitions/echo-test.json [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/echo/Definitions/node_types.json [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/echo/Definitions/policy_types.json [moved from components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Definitions/policy_types.json with 100% similarity]
components/model-catalog/blueprint-model/uat-blueprints/echo/Definitions/relationship_types.json [moved from components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Definitions/relationship_types.json with 100% similarity]
components/model-catalog/blueprint-model/uat-blueprints/echo/Definitions/resources_definition_types.json [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/echo/Plans/TEST_echo.xml [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/echo/TOSCA-Metadata/TOSCA.meta [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/echo/Templates/echo-template.vtl [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/echo/Tests/uat.yaml [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/activation-blueprint.json [moved from components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Definitions/activation-blueprint.json with 100% similarity]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/artifact_types.json [moved from components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Definitions/artifact_types.json with 100% similarity]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/config-assign-pnf-mapping.json [moved from components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Definitions/config-assign-pnf-mapping.json with 100% similarity]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/config-deploy-pnf-mapping.json [moved from components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Definitions/config-deploy-pnf-mapping.json with 100% similarity]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/data_types.json [moved from components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Definitions/data_types.json with 100% similarity]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/node_types.json [moved from components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Definitions/node_types.json with 100% similarity]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/policy_types.json [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/relationship_types.json [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Definitions/resources_definition_types.json [moved from components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Definitions/resources_definition_types.json with 100% similarity]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Plans/CONFIG_configAssign.xml [moved from components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Plans/CONFIG_configAssign.xml with 100% similarity]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Plans/CONFIG_configDeploy.xml [moved from components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Plans/CONFIG_configDeploy.xml with 100% similarity]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Scripts/python/RestconfConfigDeploy.py [moved from components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Scripts/python/RestconfConfigDeploy.py with 98% similarity]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/TOSCA-Metadata/TOSCA.meta [moved from components/model-catalog/blueprint-model/test-blueprint/capability_restconf/TOSCA-Metadata/TOSCA.meta with 100% similarity]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Templates/config-assign-restconf-configlet-template.vtl [moved from components/model-catalog/blueprint-model/test-blueprint/capability_restconf/Templates/config-assign-restconf-configlet-template.vtl with 100% similarity]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Templates/config-deploy-restconf-mount-template.vtl [new file with mode: 0644]
components/model-catalog/blueprint-model/uat-blueprints/pnf_config/Tests/uat.yaml [new file with mode: 0644]
components/parent/pom.xml
components/scripts/python/ccsdk_restconf/restconf_client.py
ms/blueprintsprocessor/application/pom.xml
ms/blueprintsprocessor/application/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/BlueprintsAcceptanceTests.kt [new file with mode: 0644]
ms/blueprintsprocessor/application/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/CollectionUtils2.kt [new file with mode: 0644]
ms/blueprintsprocessor/application/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/ExtendedTemporaryFolder.kt [new file with mode: 0644]
ms/blueprintsprocessor/application/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/TestSecuritySettings.kt [new file with mode: 0644]
ms/blueprintsprocessor/application/src/test/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/WorkingFoldersInitializer.kt [new file with mode: 0644]
ms/blueprintsprocessor/application/src/test/resources/application-test.properties [new file with mode: 0644]
ms/blueprintsprocessor/application/src/test/resources/logback-test.xml
ms/blueprintsprocessor/modules/commons/rest-lib/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/rest/service/BluePrintRestLibPropertyService.kt
ms/blueprintsprocessor/parent/pom.xml
ms/controllerblueprints/modules/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/FileExtensionFunctions.kt
ms/controllerblueprints/modules/blueprint-core/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/core/utils/BluePrintArchiveUtils.kt
ms/controllerblueprints/modules/db-resources/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/db/resources/BlueprintCatalogServiceImpl.kt
ms/controllerblueprints/modules/service/src/main/kotlin/org/onap/ccsdk/cds/controllerblueprints/service/utils/BluePrintEnhancerUtils.kt
ms/controllerblueprints/modules/service/src/test/kotlin/org/onap/ccsdk/cds/controllerblueprints/service/enhancer/BluePrintEnhancerServiceImplTest.kt
ms/controllerblueprints/parent/pom.xml