[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / novatovolumeconnection / innernestedconnection / expectedoutputfiles / MainServiceTemplate.yaml
index 4507d8f..d3c471e 100644 (file)
@@ -2,34 +2,10 @@ tosca_definitions_version: tosca_simple_yaml_1_0_0
 metadata:
   template_name: Main
 imports:
-  ContrailComputeGlobalTypes:
-    file: ContrailComputeGlobalTypesServiceTemplate.yaml
-  CinderVolumeGlobalTypes:
-    file: CinderVolumeGlobalTypesServiceTemplate.yaml
-  ContrailVirtualNetworkGlobalType:
-    file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
-  AbstractSubstituteGlobalTypes:
-    file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
-  ContrailPortGlobalTypes:
-    file: ContrailPortGlobalTypesServiceTemplate.yaml
-  GlobalSubstitutionTypes:
+- openecomp_heat_index:
+    file: openecomp-heat/_index.yml
+- GlobalSubstitutionTypes:
     file: GlobalSubstitutionTypesServiceTemplate.yaml
-  NeutronPortGlobalTypes:
-    file: NeutronPortGlobalTypesServiceTemplate.yaml
-  NeutronNetGlobalTypes:
-    file: NeutronNetGlobalTypesServiceTemplate.yaml
-  CommonGlobalTypes:
-    file: CommonGlobalTypesServiceTemplate.yaml
-  ContrailAbstractSubstituteGlobalTypes:
-    file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
-  ContrailNetworkRuleGlobalType:
-    file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
-  NeutronSecurityRulesGlobalTypes:
-    file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
-  NovaServerGlobalTypes:
-    file: NovaServerGlobalTypesServiceTemplate.yaml
-  ContrailV2VirtualMachineInterfaceGlobalType:
-    file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
 topology_template:
   inputs:
     cmaui_names:
@@ -97,6 +73,12 @@ topology_template:
       type: string
       description: Unique ID for this VNF instance
       default: This_is_ths_MMSC-CMAUI_id
+    inner_cmaui_volume_b3:
+      hidden: false
+      immutable: false
+      type: list
+      entry_schema:
+        type: string
     inner_cmaui_volume_a1:
       hidden: false
       immutable: false
@@ -142,6 +124,10 @@ topology_template:
       properties:
         service_template_filter:
           substitute_service_template: nestedServiceTemplate.yaml
+        inner_cmaui_volume_b3:
+          get_input:
+          - inner_cmaui_volume_b3
+          - 0
         inner_cmaui_volume_a1:
           get_input: inner_cmaui_volume_a1
         inner_cmaui_volume_b2:
@@ -172,7 +158,14 @@ topology_template:
           get_input: CMAUI_volume_type
         size: '(get_input : cmaui_cinder_volume_size) * 1024'
   groups:
-    a_vol:
+    main_group:
+      type: org.openecomp.groups.heat.HeatStack
+      properties:
+        heat_file: ../Artifacts/main.yml
+        description: cmaui server template for vMMSC
+      members:
+      - stam_nested
+    a_vol_group:
       type: org.openecomp.groups.heat.HeatStack
       properties:
         heat_file: ../Artifacts/a_vol.yml
@@ -180,15 +173,10 @@ topology_template:
       members:
       - inner_cmaui_volume_a1
       - cmaui_volume2
-    main:
-      type: org.openecomp.groups.heat.HeatStack
-      properties:
-        heat_file: ../Artifacts/main.yml
-        description: cmaui server template for vMMSC
-      members:
-      - stam_nested
   outputs:
     inner_cmaui_volume_a2:
       value: cmaui_volume2
+    inner_cmaui_volume_b3:
+      value: inner_cmaui_volume_a1
     inner_cmaui_volume_a1:
       value: inner_cmaui_volume_a1
\ No newline at end of file