From 866418030975f2ee09a27d144de4e880218e84e8 Mon Sep 17 00:00:00 2001 From: ilanap Date: Tue, 1 Jan 2019 17:22:07 +0200 Subject: docker for cucumber BDD Issue-ID: SDC-2028 Change-Id: I7c1376c449ba7650c3bbc1838726cfd178d2ca40 Signed-off-by: ilanap --- .../resources/json/createActivitySpec.json | 19 ++ .../resources/json/createManualVSP.json | 17 ++ .../resources/json/createVF.json | 50 ++++ .../resources/json/createVLM.json | 1 + .../resources/json/createVSP.json | 11 + .../operation/createOperation-with-workflow.json | 30 ++ .../resources/json/operation/createOperation.json | 14 + .../operation/createOperationWithInputOutput.json | 29 ++ .../resources/json/operation/createService.json | 102 +++++++ .../resources/json/operation/createVF.json | 101 +++++++ .../resources/json/operation/updateOperation.json | 28 ++ .../resources/uploads/BASE_MUX.zip | Bin 0 -> 3779 bytes .../resources/uploads/BASE_MUX_with_no_base.zip | Bin 0 -> 3889 bytes .../resources/uploads/NEW_NC_with_manifest.zip | Bin 0 -> 1545 bytes .../resources/uploads/all-violations.zip | Bin 0 -> 2235 bytes .../resources/uploads/annotationMultVolume.zip | Bin 0 -> 7469 bytes .../resources/uploads/errorHeat.zip | Bin 0 -> 1304 bytes .../resources/uploads/inputsForNestedHeat.zip | Bin 0 -> 3588 bytes .../resources/uploads/multiple-parents.zip | Bin 0 -> 1943 bytes .../resources/uploads/nested-belongs-to-volume.zip | Bin 0 -> 24003 bytes .../resources/uploads/refs_missing.zip | Bin 0 -> 1814 bytes .../resources/uploads/tag_missing.zip | Bin 0 -> 1825 bytes .../resources/uploads/vMME_Ericsson_small_v2.zip | Bin 0 -> 3247 bytes .../resources/uploads/vlan-tagging-positive.zip | Bin 0 -> 2882 bytes .../pattern1a/negativeNotBoundToParentPort.zip | Bin 0 -> 5114 bytes .../pattern1a/regularNestedSubinterface.zip | Bin 0 -> 2915 bytes .../pattern1a/subInterfaceGetAttrInOut.zip | Bin 0 -> 3128 bytes .../pattern1b/diffCompute_SubInterface.zip | Bin 0 -> 2762 bytes .../pattern1b/diffPort_SubInterface.zip | Bin 0 -> 2768 bytes .../vlantagging/pattern1b/diffSubInterfaceFile.zip | Bin 0 -> 3436 bytes .../pattern1b/regularNestedSubInterface.zip | Bin 0 -> 2739 bytes .../pattern1c1/multiplePortsMultipleVlans.zip | Bin 0 -> 4415 bytes .../pattern1c1/regularNestedSubInterface.zip | Bin 0 -> 3170 bytes .../vlantagging/pattern1c2/differentNetwork.zip | Bin 0 -> 2770 bytes .../pattern1c2/differentResourceGroupCount.zip | Bin 0 -> 3101 bytes ...Pattern_4_MultiplePort_MultipleSubInterface.zip | Bin 0 -> 4838 bytes .../Pattern_4_SinglePort_SingleSubInterface.zip | Bin 0 -> 3602 bytes .../pattern4/regularNestedSubInterface.zip | Bin 0 -> 3537 bytes .../Pattern_5ComplexVSPWithDiffSubInfConn.zip | Bin 0 -> 2872 bytes ..._5_NestedResourceWithMultipleComputeAndPort.zip | Bin 0 -> 2191 bytes .../vfcinstancegroup/groupPattern1aHeat.zip | Bin 0 -> 2883 bytes .../vfcinstancegroup/groupPattern1bHeat.zip | Bin 0 -> 3940 bytes .../vfcinstancegroup/groupPattern1c1Heat.zip | Bin 0 -> 4501 bytes .../vfcinstancegroup/groupPattern1c2Heat.zip | Bin 0 -> 2913 bytes .../vfcinstancegroup/groupPattern4Heat.zip | Bin 0 -> 3609 bytes .../resources/uploads/volumeUnderNested.zip | Bin 0 -> 2381 bytes .../resources/uploads/zipWithExternalPort.zip | Bin 0 -> 1453 bytes .../resources/yaml/CB_BASE.yaml | 91 ++++++ .../resources/yaml/Nested_FSB1ServiceTemplate.yaml | 309 +++++++++++++++++++++ 49 files changed, 802 insertions(+) create mode 100644 cucumber-js-test-apis-ci/resources/json/createActivitySpec.json create mode 100644 cucumber-js-test-apis-ci/resources/json/createManualVSP.json create mode 100644 cucumber-js-test-apis-ci/resources/json/createVF.json create mode 100644 cucumber-js-test-apis-ci/resources/json/createVLM.json create mode 100644 cucumber-js-test-apis-ci/resources/json/createVSP.json create mode 100644 cucumber-js-test-apis-ci/resources/json/operation/createOperation-with-workflow.json create mode 100644 cucumber-js-test-apis-ci/resources/json/operation/createOperation.json create mode 100644 cucumber-js-test-apis-ci/resources/json/operation/createOperationWithInputOutput.json create mode 100644 cucumber-js-test-apis-ci/resources/json/operation/createService.json create mode 100644 cucumber-js-test-apis-ci/resources/json/operation/createVF.json create mode 100644 cucumber-js-test-apis-ci/resources/json/operation/updateOperation.json create mode 100644 cucumber-js-test-apis-ci/resources/uploads/BASE_MUX.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/BASE_MUX_with_no_base.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/NEW_NC_with_manifest.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/all-violations.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/annotationMultVolume.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/errorHeat.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/inputsForNestedHeat.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/multiple-parents.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/nested-belongs-to-volume.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/refs_missing.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/tag_missing.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vMME_Ericsson_small_v2.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlan-tagging-positive.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1a/negativeNotBoundToParentPort.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1a/regularNestedSubinterface.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1a/subInterfaceGetAttrInOut.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1b/diffCompute_SubInterface.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1b/diffPort_SubInterface.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1b/diffSubInterfaceFile.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1b/regularNestedSubInterface.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1c1/multiplePortsMultipleVlans.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1c1/regularNestedSubInterface.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1c2/differentNetwork.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1c2/differentResourceGroupCount.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern4/Pattern_4_MultiplePort_MultipleSubInterface.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern4/Pattern_4_SinglePort_SingleSubInterface.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern4/regularNestedSubInterface.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern5/Pattern_5ComplexVSPWithDiffSubInfConn.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern5/Pattern_5_NestedResourceWithMultipleComputeAndPort.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlantagging/vfcinstancegroup/groupPattern1aHeat.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlantagging/vfcinstancegroup/groupPattern1bHeat.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlantagging/vfcinstancegroup/groupPattern1c1Heat.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlantagging/vfcinstancegroup/groupPattern1c2Heat.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/vlantagging/vfcinstancegroup/groupPattern4Heat.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/volumeUnderNested.zip create mode 100644 cucumber-js-test-apis-ci/resources/uploads/zipWithExternalPort.zip create mode 100644 cucumber-js-test-apis-ci/resources/yaml/CB_BASE.yaml create mode 100644 cucumber-js-test-apis-ci/resources/yaml/Nested_FSB1ServiceTemplate.yaml (limited to 'cucumber-js-test-apis-ci/resources') diff --git a/cucumber-js-test-apis-ci/resources/json/createActivitySpec.json b/cucumber-js-test-apis-ci/resources/json/createActivitySpec.json new file mode 100644 index 0000000000..29ad716834 --- /dev/null +++ b/cucumber-js-test-apis-ci/resources/json/createActivitySpec.json @@ -0,0 +1,19 @@ +{ + "name": "RANDOM", + "description": "Start Server", + "categoryList": [ + "Server" + ], + "inputs": [{ + "name": "host", + "type": "string", + "value": "10.1.2.3" + }], + "outputs": [{ + "name": "status", + "type": "string", + "value": "started" + }], + "type": "string", + "content": "test" +} \ No newline at end of file diff --git a/cucumber-js-test-apis-ci/resources/json/createManualVSP.json b/cucumber-js-test-apis-ci/resources/json/createManualVSP.json new file mode 100644 index 0000000000..9ce14f545d --- /dev/null +++ b/cucumber-js-test-apis-ci/resources/json/createManualVSP.json @@ -0,0 +1,17 @@ +{ + "vendorId":"REPLACE", + "name": "RANDOM", + "category":"resourceNewCategory.generic", + "subCategory":"resourceNewCategory.generic.abstract", + "onboardingMethod":"Manual", + "description":"for testing", + "vendorName":"REPLACE", + "icon":"icon", + "licensingVersion": "REPLACE", + "licensingData":{ + "licenseAgreement": "REPLACE", + "featureGroups": [ + "REPLACE" + ] + } +} diff --git a/cucumber-js-test-apis-ci/resources/json/createVF.json b/cucumber-js-test-apis-ci/resources/json/createVF.json new file mode 100644 index 0000000000..2ddd0f5c09 --- /dev/null +++ b/cucumber-js-test-apis-ci/resources/json/createVF.json @@ -0,0 +1,50 @@ +{ + "artifacts": {}, + "toscaArtifacts": {}, + "contactId": "REPLACE USER_ID", + "categories": [ + { + "name": "Generic", + "normalizedName": "generic", + "uniqueId": "REPLACE CATEGORY VSP", + "icons": null, + "subcategories": [ + { + "name": "Abstract", + "normalizedName": "abstract", + "uniqueId": "REPLACE SUBCATEGORY VSP", + "icons": [ + "objectStorage", + "compute" + ], + "groupings": null, + "ownerId": null, + "empty": false + } + ], + "ownerId": null, + "empty": false + } + ], + "description": "REPLACE VSP DESCRIPTION", + "icon": "defaulticon", + "componentInstancesProperties": {}, + "componentInstancesAttributes": {}, + "name": "REPLACE VSP NAME", + "tags": [ + "REPLACE VSP NAME" + ], + "capabilities": {}, + "requirements": {}, + "deploymentArtifacts": {}, + "componentType": "RESOURCE", + "vendorName": "REPLACE VLM NAME", + "vendorRelease": "1.0", + "componentInstances": [], + "properties": [], + "attributes": [], + "groups": [], + "resourceType": "VF", + "csarUUID": "REPLACE VSP ID", + "csarVersion": "1.0" +} \ No newline at end of file diff --git a/cucumber-js-test-apis-ci/resources/json/createVLM.json b/cucumber-js-test-apis-ci/resources/json/createVLM.json new file mode 100644 index 0000000000..9431c070e6 --- /dev/null +++ b/cucumber-js-test-apis-ci/resources/json/createVLM.json @@ -0,0 +1 @@ +{"vendorName":"RANDOM","description":"VLM Description","iconRef":"icon"} diff --git a/cucumber-js-test-apis-ci/resources/json/createVSP.json b/cucumber-js-test-apis-ci/resources/json/createVSP.json new file mode 100644 index 0000000000..6f63261beb --- /dev/null +++ b/cucumber-js-test-apis-ci/resources/json/createVSP.json @@ -0,0 +1,11 @@ +{ + "vendorId":"REPLACE", + "name": "RANDOM", + "category":"resourceNewCategory.generic", + "subCategory":"resourceNewCategory.generic.abstract", + "onboardingMethod":"REPLACE", + "description":"for testing", + "vendorName":"REPLACE", + "icon":"icon", + "licensingData":{} +} diff --git a/cucumber-js-test-apis-ci/resources/json/operation/createOperation-with-workflow.json b/cucumber-js-test-apis-ci/resources/json/operation/createOperation-with-workflow.json new file mode 100644 index 0000000000..e9693adf2a --- /dev/null +++ b/cucumber-js-test-apis-ci/resources/json/operation/createOperation-with-workflow.json @@ -0,0 +1,30 @@ +{ + "interfaceOperations": { + "operation": { + "description": "abcd description", + "inputParams": { + "listToscaDataDefinition": [ + { + "name": "inp1", + "type": "string", + "property": "97477d27-8fe2-45a1-83cb-83368ef2a402.nf_naming_code", + "mandatory": true + } + ] + }, + "outputParams": { + "listToscaDataDefinition": [ + { + "name": "op", + "mandatory": true, + "type": "String" + } + ] + }, + "operationType": "create", + "workflowAssociationType": "EXISTING", + "workflowId" : "workflowId", + "workflowVersionId" : "workflowVersionId" + } + } +} \ No newline at end of file diff --git a/cucumber-js-test-apis-ci/resources/json/operation/createOperation.json b/cucumber-js-test-apis-ci/resources/json/operation/createOperation.json new file mode 100644 index 0000000000..10c34ba8f2 --- /dev/null +++ b/cucumber-js-test-apis-ci/resources/json/operation/createOperation.json @@ -0,0 +1,14 @@ +{ + "interfaceOperations": { + "operation": { + "description": "abcd description", + "inputParams": { + }, + "outputParams": { + }, + "operationType": "create", + "workflowId" : null, + "workflowVersionId" : null + } + } +} \ No newline at end of file diff --git a/cucumber-js-test-apis-ci/resources/json/operation/createOperationWithInputOutput.json b/cucumber-js-test-apis-ci/resources/json/operation/createOperationWithInputOutput.json new file mode 100644 index 0000000000..013d615999 --- /dev/null +++ b/cucumber-js-test-apis-ci/resources/json/operation/createOperationWithInputOutput.json @@ -0,0 +1,29 @@ +{ + "interfaceOperations": { + "operation": { + "description": "abcd description", + "inputParams": { + "listToscaDataDefinition": [ + { + "name": "inp1", + "type": "string", + "property": "97477d27-8fe2-45a1-83cb-83368ef2a402.nf_naming_code", + "mandatory": true + } + ] + }, + "outputParams": { + "listToscaDataDefinition": [ + { + "name": "op", + "mandatory": true, + "type": "String" + } + ] + }, + "operationType": "create", + "workflowId" : null, + "workflowVersionId" : null + } + } +} \ No newline at end of file diff --git a/cucumber-js-test-apis-ci/resources/json/operation/createService.json b/cucumber-js-test-apis-ci/resources/json/operation/createService.json new file mode 100644 index 0000000000..e7afe2aa21 --- /dev/null +++ b/cucumber-js-test-apis-ci/resources/json/operation/createService.json @@ -0,0 +1,102 @@ +{ + "artifacts": { + + }, + "toscaArtifacts": { + + }, + "contactId": "cs0008", + "categories": [ + { + "name": "Network L4+", + "normalizedName": "network l4+", + "uniqueId": "serviceNewCategory.network l4+", + "icons": [ + "network_l_4" + ], + "subcategories": null, + "version": null, + "ownerId": null, + "empty": false, + "type": null + } + ], + "description": "service1 for bdd", + "icon": "defaulticon", + "componentInstancesProperties": { + + }, + "componentInstancesAttributes": { + + }, + "name": "service1", + "tags": [ + "service1" + ], + "capabilities": { + + }, + "requirements": { + + }, + "deploymentArtifacts": { + + }, + "componentType": "SERVICE", + "projectCode": "010203", + "componentInstances": [ + + ], + "properties": [ + + ], + + "inputs": [ + { + "uniqueId": "03eeb10e-cf2a-41b8-9d8e-d2dbd094f9d4.test1_dasddas", + "type": "scalar-unit.size", + "required": false, + "definition": false, + "schema": { + "properties": { + + }, + "property": { + "type": "", + "required": false, + "definition": true, + "password": false, + "hidden": false, + "immutable": false, + "getInputProperty": false, + "empty": false + }, + "empty": false + }, + "password": false, + "name": "test1_dasddas", + "hidden": false, + "immutable": false, + "instanceUniqueId": "03eeb10e-cf2a-41b8-9d8e-d2dbd094f9d4", + "propertyId": "03eeb10e-cf2a-41b8-9d8e-d2dbd094f9d4.dasddas", + "parentUniqueId": "cs0008", + "schemaType": "", + "getInputProperty": false, + "ownerId": "cs0008", + "empty": false + } + ], + + "attributes": [ + + ], + "forwardingPaths": { + + }, + "ecompGeneratedNaming": true, + "serviceApiArtifacts": { + + }, + "instantiationType": "A-la-carte", + "environmentContext": "General_Revenue-Bearing" +} \ No newline at end of file diff --git a/cucumber-js-test-apis-ci/resources/json/operation/createVF.json b/cucumber-js-test-apis-ci/resources/json/operation/createVF.json new file mode 100644 index 0000000000..6fe9688caa --- /dev/null +++ b/cucumber-js-test-apis-ci/resources/json/operation/createVF.json @@ -0,0 +1,101 @@ +{ + "artifacts": { + + }, + "toscaArtifacts": { + + }, + "contactId": "cs0008", + "categories": [ + { + "name": "Allotted Resource", + "normalizedName": "allotted resource", + "uniqueId": "resourceNewCategory.allotted resource", + "icons": null, + "subcategories": [ + { + "name": "Tunnel XConnect", + "normalizedName": "tunnel xconnect", + "uniqueId": "resourceNewCategory.allotted resource.tunnel xconnect", + "icons": [ + "tunnel_x_connect" + ], + "groupings": null, + "ownerId": null, + "empty": false + } + ], + "ownerId": null, + "empty": false + } + ], + "description": "sd", + "icon": "defaulticon", + "componentInstancesProperties": { + + }, + "componentInstancesAttributes": { + + }, + "name": "REPLACE", + "tags": [ + "REPLACE" + ], + "capabilities": { + + }, + "requirements": { + + }, + "deploymentArtifacts": { + + }, + "componentType": "RESOURCE", + "vendorName": "vendor", + "vendorRelease": "vendor release", + "componentInstances": [ + + ], + "inputs": [{ + "uniqueId": "abcdef", + "type": "org.openecomp.datatypes.Naming", + "required": false, + "definition": false, + "defaultValue": null, + "description": null, + "schema": null, + "password": false, + "name": "abcdef", + "value": null, + "label": null, + "hidden": false, + "immutable": false, + "inputPath": null, + "status": null, + "inputId": null, + "instanceUniqueId": null, + "propertyId": null, + "annotations": null, + "parentUniqueId": "abcd", + "getInputValues": null, + "constraints": null, + "inputs": null, + "properties": null, + "getInputProperty": false, + "schemaType": null, + "schemaProperty": null, + "version": null, + "ownerId": null, + "empty": false + } ], + "properties": [ + + ], + "attributes": [ + + ], + "groups": [ + + ], + "resourceType": "VF" +} \ No newline at end of file diff --git a/cucumber-js-test-apis-ci/resources/json/operation/updateOperation.json b/cucumber-js-test-apis-ci/resources/json/operation/updateOperation.json new file mode 100644 index 0000000000..698d38c612 --- /dev/null +++ b/cucumber-js-test-apis-ci/resources/json/operation/updateOperation.json @@ -0,0 +1,28 @@ +{ + "interfaceOperations": { + "operation": { + "description": "create operation_Updated", + "inputParams": { + "listToscaDataDefinition": [ + { + "name": "inp1", + "type": "string", + "property": "97477d27-8fe2-45a1-83cb-83368ef2a402.nf_naming_code", + "mandatory": true + } + ] + }, + "outputParams": { + "listToscaDataDefinition": [ + { + "name": "op", + "mandatory": true, + "type": "String" + } + ] + }, + "operationType": "create", + "uniqueId": "REPLACE FROM CONTEXT" + } + } +} \ No newline at end of file diff --git a/cucumber-js-test-apis-ci/resources/uploads/BASE_MUX.zip b/cucumber-js-test-apis-ci/resources/uploads/BASE_MUX.zip new file mode 100644 index 0000000000..4e7fbcf31d Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/BASE_MUX.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/BASE_MUX_with_no_base.zip b/cucumber-js-test-apis-ci/resources/uploads/BASE_MUX_with_no_base.zip new file mode 100644 index 0000000000..8698ef7e4c Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/BASE_MUX_with_no_base.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/NEW_NC_with_manifest.zip b/cucumber-js-test-apis-ci/resources/uploads/NEW_NC_with_manifest.zip new file mode 100644 index 0000000000..403cb7be1f Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/NEW_NC_with_manifest.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/all-violations.zip b/cucumber-js-test-apis-ci/resources/uploads/all-violations.zip new file mode 100644 index 0000000000..d86c7a7ee3 Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/all-violations.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/annotationMultVolume.zip b/cucumber-js-test-apis-ci/resources/uploads/annotationMultVolume.zip new file mode 100644 index 0000000000..8dc3f7863d Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/annotationMultVolume.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/errorHeat.zip b/cucumber-js-test-apis-ci/resources/uploads/errorHeat.zip new file mode 100644 index 0000000000..21444fadb7 Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/errorHeat.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/inputsForNestedHeat.zip b/cucumber-js-test-apis-ci/resources/uploads/inputsForNestedHeat.zip new file mode 100644 index 0000000000..f1569ee4a4 Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/inputsForNestedHeat.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/multiple-parents.zip b/cucumber-js-test-apis-ci/resources/uploads/multiple-parents.zip new file mode 100644 index 0000000000..64d579ca2e Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/multiple-parents.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/nested-belongs-to-volume.zip b/cucumber-js-test-apis-ci/resources/uploads/nested-belongs-to-volume.zip new file mode 100644 index 0000000000..690cb954e2 Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/nested-belongs-to-volume.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/refs_missing.zip b/cucumber-js-test-apis-ci/resources/uploads/refs_missing.zip new file mode 100644 index 0000000000..3aec1382fc Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/refs_missing.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/tag_missing.zip b/cucumber-js-test-apis-ci/resources/uploads/tag_missing.zip new file mode 100644 index 0000000000..84b0d8ef3e Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/tag_missing.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vMME_Ericsson_small_v2.zip b/cucumber-js-test-apis-ci/resources/uploads/vMME_Ericsson_small_v2.zip new file mode 100644 index 0000000000..f5b1375b03 Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vMME_Ericsson_small_v2.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlan-tagging-positive.zip b/cucumber-js-test-apis-ci/resources/uploads/vlan-tagging-positive.zip new file mode 100644 index 0000000000..b4519778c4 Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlan-tagging-positive.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1a/negativeNotBoundToParentPort.zip b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1a/negativeNotBoundToParentPort.zip new file mode 100644 index 0000000000..129fc7ebd1 Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1a/negativeNotBoundToParentPort.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1a/regularNestedSubinterface.zip b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1a/regularNestedSubinterface.zip new file mode 100644 index 0000000000..a64f081699 Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1a/regularNestedSubinterface.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1a/subInterfaceGetAttrInOut.zip b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1a/subInterfaceGetAttrInOut.zip new file mode 100644 index 0000000000..993e9f8e03 Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1a/subInterfaceGetAttrInOut.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1b/diffCompute_SubInterface.zip b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1b/diffCompute_SubInterface.zip new file mode 100644 index 0000000000..c0b54c49cd Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1b/diffCompute_SubInterface.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1b/diffPort_SubInterface.zip b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1b/diffPort_SubInterface.zip new file mode 100644 index 0000000000..713e429da6 Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1b/diffPort_SubInterface.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1b/diffSubInterfaceFile.zip b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1b/diffSubInterfaceFile.zip new file mode 100644 index 0000000000..24da28acab Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1b/diffSubInterfaceFile.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1b/regularNestedSubInterface.zip b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1b/regularNestedSubInterface.zip new file mode 100644 index 0000000000..f967bf9e40 Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1b/regularNestedSubInterface.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1c1/multiplePortsMultipleVlans.zip b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1c1/multiplePortsMultipleVlans.zip new file mode 100644 index 0000000000..7c6890e76e Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1c1/multiplePortsMultipleVlans.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1c1/regularNestedSubInterface.zip b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1c1/regularNestedSubInterface.zip new file mode 100644 index 0000000000..57e270b790 Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1c1/regularNestedSubInterface.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1c2/differentNetwork.zip b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1c2/differentNetwork.zip new file mode 100644 index 0000000000..87d724bf88 Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1c2/differentNetwork.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1c2/differentResourceGroupCount.zip b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1c2/differentResourceGroupCount.zip new file mode 100644 index 0000000000..13c08e99c4 Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern1c2/differentResourceGroupCount.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern4/Pattern_4_MultiplePort_MultipleSubInterface.zip b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern4/Pattern_4_MultiplePort_MultipleSubInterface.zip new file mode 100644 index 0000000000..fb4c68d03e Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern4/Pattern_4_MultiplePort_MultipleSubInterface.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern4/Pattern_4_SinglePort_SingleSubInterface.zip b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern4/Pattern_4_SinglePort_SingleSubInterface.zip new file mode 100644 index 0000000000..87c44899d5 Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern4/Pattern_4_SinglePort_SingleSubInterface.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern4/regularNestedSubInterface.zip b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern4/regularNestedSubInterface.zip new file mode 100644 index 0000000000..89adb0f9ec Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern4/regularNestedSubInterface.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern5/Pattern_5ComplexVSPWithDiffSubInfConn.zip b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern5/Pattern_5ComplexVSPWithDiffSubInfConn.zip new file mode 100644 index 0000000000..f42824098c Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern5/Pattern_5ComplexVSPWithDiffSubInfConn.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern5/Pattern_5_NestedResourceWithMultipleComputeAndPort.zip b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern5/Pattern_5_NestedResourceWithMultipleComputeAndPort.zip new file mode 100644 index 0000000000..64430235bf Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/pattern5/Pattern_5_NestedResourceWithMultipleComputeAndPort.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlantagging/vfcinstancegroup/groupPattern1aHeat.zip b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/vfcinstancegroup/groupPattern1aHeat.zip new file mode 100644 index 0000000000..f4107be42a Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/vfcinstancegroup/groupPattern1aHeat.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlantagging/vfcinstancegroup/groupPattern1bHeat.zip b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/vfcinstancegroup/groupPattern1bHeat.zip new file mode 100644 index 0000000000..d4244b684a Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/vfcinstancegroup/groupPattern1bHeat.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlantagging/vfcinstancegroup/groupPattern1c1Heat.zip b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/vfcinstancegroup/groupPattern1c1Heat.zip new file mode 100644 index 0000000000..2ac16049bd Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/vfcinstancegroup/groupPattern1c1Heat.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlantagging/vfcinstancegroup/groupPattern1c2Heat.zip b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/vfcinstancegroup/groupPattern1c2Heat.zip new file mode 100644 index 0000000000..7d990e6844 Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/vfcinstancegroup/groupPattern1c2Heat.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/vlantagging/vfcinstancegroup/groupPattern4Heat.zip b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/vfcinstancegroup/groupPattern4Heat.zip new file mode 100644 index 0000000000..e744c93a6b Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/vlantagging/vfcinstancegroup/groupPattern4Heat.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/volumeUnderNested.zip b/cucumber-js-test-apis-ci/resources/uploads/volumeUnderNested.zip new file mode 100644 index 0000000000..01798a5723 Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/volumeUnderNested.zip differ diff --git a/cucumber-js-test-apis-ci/resources/uploads/zipWithExternalPort.zip b/cucumber-js-test-apis-ci/resources/uploads/zipWithExternalPort.zip new file mode 100644 index 0000000000..3d6b3d09b4 Binary files /dev/null and b/cucumber-js-test-apis-ci/resources/uploads/zipWithExternalPort.zip differ diff --git a/cucumber-js-test-apis-ci/resources/yaml/CB_BASE.yaml b/cucumber-js-test-apis-ci/resources/yaml/CB_BASE.yaml new file mode 100644 index 0000000000..4aef40b270 --- /dev/null +++ b/cucumber-js-test-apis-ci/resources/yaml/CB_BASE.yaml @@ -0,0 +1,91 @@ +heat_template_version: 2013-05-23 + +description: > + BASE TEMPLATE + +parameters: + vnf_name: + type: string + description: Unique name for this VF instance + + vnf_id: + type: string + description: Unique ID for this VF instance + + network_in_cidr: + type: string + description: IN network address (CIDR notation) + + network_out_cidr: + type: string + description: MUX out network address (CIDR notation) + + network_in_gw_ip: + type: string + description: IN network gw address + + network_out_gw_ip: + type: string + description: MUX out network gw address + +resources: + + random-str: + type: OS::Heat::RandomString + properties: + length: 4 + + CB_IN_Net: + type: OS::Neutron::Net + properties: + name: + str_replace: + template: CB_IN_Net_rand + params: + rand: { get_resource: random-str } + + CB_IN_Subnet: + type: OS::Neutron::Subnet + properties: + name: + str_replace: + template: CB_IN_Net_rand + params: + rand: { get_resource: random-str } + network_id: { get_resource: CB_IN_Net } + cidr: { get_param: network_in_cidr } + gateway_ip: { get_param: network_in_gw_ip } + + CB_OUT_Net: + type: OS::Neutron::Net + properties: + name: + str_replace: + template: CB_OUT_Net_rand + params: + rand: { get_resource: random-str } + + CB_OUT_Subnet: + type: OS::Neutron::Subnet + properties: + network_id: { get_resource: CB_OUT_Net } + cidr: { get_param: network_out_cidr } + gateway_ip: { get_param: network_out_gw_ip } + +outputs: + + CB_IN_Net: + description: ID of the customer facing network + value: { get_resource: CB_IN_Net } + + CB_IN_Subnet: + description: ID of the customer facing subnet + value: { get_resource: CB_IN_Subnet } + + CB_OUT_Net: + description: ID of the Internet Facing network + value: { get_resource: CB_OUT_Net } + + CB_OUT_Subnet: + description: ID of the Internet Facing subnet + value: { get_resource: CB_OUT_Subnet } diff --git a/cucumber-js-test-apis-ci/resources/yaml/Nested_FSB1ServiceTemplate.yaml b/cucumber-js-test-apis-ci/resources/yaml/Nested_FSB1ServiceTemplate.yaml new file mode 100644 index 0000000000..fb301b6ab6 --- /dev/null +++ b/cucumber-js-test-apis-ci/resources/yaml/Nested_FSB1ServiceTemplate.yaml @@ -0,0 +1,309 @@ +tosca_definitions_version: tosca_simple_yaml_1_0_0 +metadata: + template_name: Nested_FSB1 +imports: +- openecomp_heat_index: + file: openecomp-heat/_index.yml +- GlobalSubstitutionTypes: + file: GlobalSubstitutionTypesServiceTemplate.yaml +- openecomp_index: + file: openecomp/_index.yml +node_types: + org.openecomp.resource.vfc.compute.nodes.heat.FSB1: + derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server +topology_template: + inputs: + port_FSB1_OAM_subnetpoolid: + type: string + required: true + compute_FSB1_availability_zone: + type: list + required: true + entry_schema: + type: string + index_value: + type: integer + description: Index value of this substitution service template runtime instance + required: false + default: 0 + constraints: + - greater_or_equal: 0 + port_FSB1_OAM_order: + type: integer + required: true + port_FSB1_OAM_exCP_naming: + type: org.openecomp.datatypes.Naming + required: true + port_FSB1_OAM_ip_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.IpRequirements + vm_flavor_name: + type: string + required: true + port_FSB1_OAM_network: + type: list + required: true + entry_schema: + type: string + port_FSB1_OAM_network_role: + type: string + required: true + port_FSB1_OAM_vlan_requirements: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.network.VlanRequirements + port_FSB1_OAM_network_role_tag: + type: string + required: true + compute_FSB1_name: + type: list + required: true + entry_schema: + type: string + port_FSB1_OAM_fixed_ips: + type: list + required: true + entry_schema: + type: org.openecomp.datatypes.heat.neutron.port.FixedIps + port_FSB1_OAM_mac_requirements: + type: org.openecomp.datatypes.network.MacRequirements + required: true + node_templates: + FSB1_FSB1_OAM: + type: org.openecomp.resource.cp.v2.extNeutronCP + properties: + exCP_naming: + get_input: port_FSB1_OAM_exCP_naming + vlan_requirements: + get_input: port_FSB1_OAM_vlan_requirements + subinterface_indicator: false + ip_requirements: + get_input: port_FSB1_OAM_ip_requirements + network_role_tag: + get_input: port_FSB1_OAM_network_role_tag + mac_requirements: + get_input: port_FSB1_OAM_mac_requirements + order: + get_input: port_FSB1_OAM_order + network_role: + get_input: port_FSB1_OAM_network_role + subnetpoolid: + get_input: port_FSB1_OAM_subnetpoolid + fixed_ips: + get_input: + - port_FSB1_OAM_fixed_ips + - index_value + network: + get_input: + - port_FSB1_OAM_network + - index_value + requirements: + - binding: + capability: tosca.capabilities.network.Bindable + node: FSB1 + relationship: tosca.relationships.network.BindsTo + capabilities: + port_mirroring: + properties: + connection_point: + nf_type: '' + nfc_type: '' + nf_naming_code: '' + nfc_naming_code: FSB1 + network_role: + get_input: port_FSB1_OAM_network_role + pps_capacity: '' + FSB1: + type: org.openecomp.resource.vfc.compute.nodes.heat.FSB1 + properties: + availability_zone: + get_input: + - compute_FSB1_availability_zone + - index_value + flavor: + get_input: vm_flavor_name + name: + get_input: + - compute_FSB1_name + - index_value + substitution_mappings: + node_type: org.openecomp.resource.abstract.nodes.FSB1 + capabilities: + network.incoming.bytes.rate_FSB1_FSB1_OAM: + - FSB1_FSB1_OAM + - network.incoming.bytes.rate + network.outgoing.bytes_FSB1_FSB1_OAM: + - FSB1_FSB1_OAM + - network.outgoing.bytes + disk.capacity_FSB1: + - FSB1 + - disk.capacity + disk.read.bytes.rate_FSB1: + - FSB1 + - disk.read.bytes.rate + disk.device.latency_FSB1: + - FSB1 + - disk.device.latency + disk.allocation_FSB1: + - FSB1 + - disk.allocation + disk.read.bytes_FSB1: + - FSB1 + - disk.read.bytes + disk.device.capacity_FSB1: + - FSB1 + - disk.device.capacity + cpu_util_FSB1: + - FSB1 + - cpu_util + disk.device.write.requests.rate_FSB1: + - FSB1 + - disk.device.write.requests.rate + network.outgoing.bytes.rate_FSB1_FSB1_OAM: + - FSB1_FSB1_OAM + - network.outgoing.bytes.rate + disk.root.size_FSB1: + - FSB1 + - disk.root.size + feature_FSB1: + - FSB1 + - feature + forwarder_FSB1_FSB1_OAM: + - FSB1_FSB1_OAM + - forwarder + memory.resident_FSB1: + - FSB1 + - memory.resident + network.incoming.packets.rate_FSB1_FSB1_OAM: + - FSB1_FSB1_OAM + - network.incoming.packets.rate + cpu_FSB1: + - FSB1 + - cpu + disk.write.requests.rate_FSB1: + - FSB1 + - disk.write.requests.rate + feature_FSB1_FSB1_OAM: + - FSB1_FSB1_OAM + - feature + instance_FSB1: + - FSB1 + - instance + disk.device.read.bytes.rate_FSB1: + - FSB1 + - disk.device.read.bytes.rate + cpu.delta_FSB1: + - FSB1 + - cpu.delta + disk.write.bytes_FSB1: + - FSB1 + - disk.write.bytes + disk.device.read.requests.rate_FSB1: + - FSB1 + - disk.device.read.requests.rate + disk.device.read.requests_FSB1: + - FSB1 + - disk.device.read.requests + disk.ephemeral.size_FSB1: + - FSB1 + - disk.ephemeral.size + binding_FSB1: + - FSB1 + - binding + disk.device.write.bytes_FSB1: + - FSB1 + - disk.device.write.bytes + network.outgoing.packets.rate_FSB1_FSB1_OAM: + - FSB1_FSB1_OAM + - network.outgoing.packets.rate + binding_FSB1_FSB1_OAM: + - FSB1_FSB1_OAM + - binding + attachment_FSB1_FSB1_OAM: + - FSB1_FSB1_OAM + - attachment + network.incoming.bytes_FSB1_FSB1_OAM: + - FSB1_FSB1_OAM + - network.incoming.bytes + memory_FSB1: + - FSB1 + - memory + network.incoming.packets_FSB1_FSB1_OAM: + - FSB1_FSB1_OAM + - network.incoming.packets + disk.device.read.bytes_FSB1: + - FSB1 + - disk.device.read.bytes + disk.device.usage_FSB1: + - FSB1 + - disk.device.usage + disk.write.bytes.rate_FSB1: + - FSB1 + - disk.write.bytes.rate + scalable_FSB1: + - FSB1 + - scalable + disk.usage_FSB1: + - FSB1 + - disk.usage + network.outpoing.packets_FSB1_FSB1_OAM: + - FSB1_FSB1_OAM + - network.outpoing.packets + host_FSB1: + - FSB1 + - host + disk.device.allocation_FSB1: + - FSB1 + - disk.device.allocation + os_FSB1: + - FSB1 + - os + vcpus_FSB1: + - FSB1 + - vcpus + disk.write.requests_FSB1: + - FSB1 + - disk.write.requests + disk.device.write.bytes.rate_FSB1: + - FSB1 + - disk.device.write.bytes.rate + endpoint_FSB1: + - FSB1 + - endpoint + disk.latency_FSB1: + - FSB1 + - disk.latency + memory.usage_FSB1: + - FSB1 + - memory.usage + disk.read.requests_FSB1: + - FSB1 + - disk.read.requests + disk.device.write.requests_FSB1: + - FSB1 + - disk.device.write.requests + disk.iops_FSB1: + - FSB1 + - disk.iops + disk.device.iops_FSB1: + - FSB1 + - disk.device.iops + port_mirroring_FSB1_FSB1_OAM: + - FSB1_FSB1_OAM + - port_mirroring + requirements: + link_FSB1_FSB1_OAM: + - FSB1_FSB1_OAM + - link + dependency_FSB1_FSB1_OAM: + - FSB1_FSB1_OAM + - dependency + dependency_FSB1: + - FSB1 + - dependency + local_storage_FSB1: + - FSB1 + - local_storage -- cgit 1.2.3-korg