aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-heat-lib/src/test/resources/mock/toscaTree/diffFileNames/in/MainServiceTemplate.yaml
diff options
context:
space:
mode:
authortalio <tali.orenbach@amdocs.com>2017-12-27 12:59:05 +0200
committerAvi Gaffa <avi.gaffa@amdocs.com>2017-12-27 14:42:02 +0000
commitb220096e336b0e2bff63f596db3b65878dcd5fe1 (patch)
tree84b5f4d456cc3fc561ec6dbd426e3eef0ed077e5 /openecomp-be/lib/openecomp-heat-lib/src/test/resources/mock/toscaTree/diffFileNames/in/MainServiceTemplate.yaml
parent549b96f3b8da259ed482bc76be7097aea70b7147 (diff)
Add tests
Add unit tests for ToscaTreeManager Change-Id: I772b63799cd34b687e6c81cb235c1c9a36ad34a2 Issue-ID: SDC-802 Signed-off-by: talio <tali.orenbach@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-heat-lib/src/test/resources/mock/toscaTree/diffFileNames/in/MainServiceTemplate.yaml')
-rw-r--r--openecomp-be/lib/openecomp-heat-lib/src/test/resources/mock/toscaTree/diffFileNames/in/MainServiceTemplate.yaml95
1 files changed, 95 insertions, 0 deletions
diff --git a/openecomp-be/lib/openecomp-heat-lib/src/test/resources/mock/toscaTree/diffFileNames/in/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-heat-lib/src/test/resources/mock/toscaTree/diffFileNames/in/MainServiceTemplate.yaml
new file mode 100644
index 0000000000..eaf7fecdf8
--- /dev/null
+++ b/openecomp-be/lib/openecomp-heat-lib/src/test/resources/mock/toscaTree/diffFileNames/in/MainServiceTemplate.yaml
@@ -0,0 +1,95 @@
+tosca_definitions_version: tosca_simple_yaml_1_1
+imports:
+- GlobalSubstitutionTypes:
+ file: GlobalSubstitutionTypesServiceTemplate.yaml
+#Next section moved from GlobalSubstitutionTypesServiceTemplate
+node_types:
+ org.openecomp.resource.vfc.VNF.vMME:
+ derived_from: tosca.nodes.Root
+ description: MME_VFC
+ properties:
+ vendor:
+ type: string
+ default: ERICSSON
+ csarVersion:
+ type: string
+ default: v1.0
+ csarProvider:
+ type: string
+ default: ERICSSON
+ id:
+ type: string
+ default: vMME
+ version:
+ type: string
+ default: v1.0
+ csarType:
+ type: string
+ default: NFAR
+ requirements:
+ - virtualLink:
+ occurrences:
+ - 0
+ - UNBOUNDED
+ capability: tosca.capabilities.network.Linkable
+metadata:
+ invariantUUID: b638d948-297a-434c-84c1-7cbc08456c4e
+ UUID: cd6b68ae-c2af-4af4-ada0-d066b02519a0
+ name: ZTE-EPC-MME-VF
+ description: mme vf
+ type: VF
+ category: Generic
+ subcategory: Network Elements
+ resourceVendor: zte
+ resourceVendorRelease: '1.0'
+ resourceVendorModelNumber: ''
+topology_template:
+ inputs:
+ nf_naming:
+ type: org.openecomp.datatypes.Naming
+ default:
+ ecomp_generated_naming: true
+ nf_naming_code:
+ type: string
+ default: xxxxxx
+ nf_function:
+ type: string
+ default: xxxxxx
+ availability_zone_max_count:
+ type: integer
+ default: 1
+ nf_role:
+ type: string
+ default: xxxxxx
+ max_instances:
+ type: integer
+ default: 0
+ min_instances:
+ type: integer
+ default: 0
+ nf_type:
+ type: string
+ default: xxxxxx
+ node_templates:
+ MME-EPC-ZTE:
+ type: org.openecomp.resource.vfc.VNF.vMME
+ metadata:
+ invariantUUID: 2e7e44d1-c6fd-4a9b-8026-130c91b49fe2
+ UUID: fa6c6a48-9916-4089-ade0-68ae2b1c2b6d
+ customizationUUID: 0862b18b-a728-4455-975d-e4debd2719a0
+ version: '0.1'
+ name: ZTE-EPC-MME
+ description: MME VFC
+ type: VFC
+ category: Generic
+ subcategory: Abstract
+ resourceVendor: zte
+ resourceVendorRelease: '1.0'
+ resourceVendorModelNumber: ''
+ properties:
+ vendor: ERICSSON
+ csarVersion: v1.0
+ csarProvider: ERICSSON
+ id: vMME
+ version: v1.0
+ csarType: NFAR \ No newline at end of file