From b91470aaf45ccd77c56a7882f0babc9b4a2b9637 Mon Sep 17 00:00:00 2001 From: talio Date: Sun, 19 Nov 2017 09:35:13 +0200 Subject: import tosca bug fix bug when converting parameters, when importing CSAR file Issue - Id : SDC-646 Change-Id: Ie9c38f5e51e673a7c89add9e4e42fad93f966aa4 Signed-off-by: talio --- .../convertCsar/out/MainServiceTemplate.yaml | 147 +++++++++++++++++++++ 1 file changed, 147 insertions(+) create mode 100644 openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/resources/mock/toscaConverter/convertCsar/out/MainServiceTemplate.yaml (limited to 'openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/resources/mock/toscaConverter/convertCsar/out/MainServiceTemplate.yaml') diff --git a/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/resources/mock/toscaConverter/convertCsar/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/resources/mock/toscaConverter/convertCsar/out/MainServiceTemplate.yaml new file mode 100644 index 0000000000..e54533e7c2 --- /dev/null +++ b/openecomp-be/lib/openecomp-tosca-converter-lib/openecomp-tosca-converter-core/src/test/resources/mock/toscaConverter/convertCsar/out/MainServiceTemplate.yaml @@ -0,0 +1,147 @@ +tosca_definitions_version: tosca_simple_yaml_1_1 +metadata: + template_name: Main + resourceVendor: zte + name: SPGW + resourceVendorModelNumber: '' + description: SPGW + invariantUUID: 3c677981-34bf-47a0-a21b-c0d81f93d438 + UUID: 5e74136f-3ca0-48eb-b0e7-b3740e170030 + type: VF + category: Application L4+ + subcategory: Firewall + resourceVendorRelease: v1.0 +imports: +- openecomp_heat_index: + file: openecomp-heat/_index.yml +- GlobalSubstitutionTypes: + file: GlobalSubstitutionTypesServiceTemplate.yaml +topology_template: + inputs: + nf_naming: + type: org.openecomp.datatypes.Naming + default: + ecomp_generated_naming: true + nf_naming_code: + type: string + default: { + } + nf_function: + type: string + default: { + } + availability_zone_max_count: + type: integer + default: 1 + nf_role: + type: string + default: { + } + max_instances: + type: integer + default: { + } + min_instances: + type: integer + default: { + } + nf_type: + type: string + default: { + } + node_templates: + Cpd 0: + type: tosca.nodes.nfv.VduCpd + BlockStorage 0: + type: tosca.nodes.BlockStorage + ExtCP 0: + type: org.openecomp.resource.cp.extCP + properties: + mac_requirements: + mac_count_required: + is_required: false + exCP_naming: + ecomp_generated_naming: true + Network 0: + type: tosca.nodes.network.Network + properties: + dhcp_enabled: true + ip_version: 4 + Compute 0: + type: tosca.nodes.Compute + substitution_mappings: + node_type: org.openecomp.resource.vf.Spgw + capabilities: + extcp0.feature: + - ExtCP 0 + - feature + compute0.binding: + - Compute 0 + - binding + extcp0.internal_connectionPoint: + - ExtCP 0 + - internal_connectionPoint + blockstorage0.feature: + - BlockStorage 0 + - feature + compute0.feature: + - Compute 0 + - feature + compute0.host: + - Compute 0 + - host + network0.feature: + - Network 0 + - feature + compute0.scalable: + - Compute 0 + - scalable + compute0.endpoint: + - Compute 0 + - endpoint + blockstorage0.attachment: + - BlockStorage 0 + - attachment + compute0.os: + - Compute 0 + - os + network0.link: + - Network 0 + - link + cpd0.feature: + - Cpd 0 + - feature + requirements: + extcp0.virtualBinding: + - ExtCP 0 + - virtualBinding + blockstorage0.dependency: + - BlockStorage 0 + - dependency + cpd0.dependency: + - Cpd 0 + - dependency + compute0.dependency: + - Compute 0 + - dependency + extcp0.external_virtualLink: + - ExtCP 0 + - external_virtualLink + extcp0.dependency: + - ExtCP 0 + - dependency + network0.dependency: + - Network 0 + - dependency + cpd0.virtual_link: + - Cpd 0 + - virtual_link + extcp0.virtualLink: + - ExtCP 0 + - virtualLink + compute0.local_storage: + - Compute 0 + - local_storage + cpd0.virtual_binding: + - Cpd 0 + - virtual_binding -- cgit 1.2.3-korg