Implement PNFD Model driven conversion
[sdc.git] / openecomp-be / lib / openecomp-tosca-converter-lib / openecomp-tosca-converter-core / src / test / resources / transformation / pnfParseEngine / pnfWithGetInput / transformationDescriptor / moreThanOneTransformationWithSameBlockQuery.yaml
1 #just one of the transformations will be considered
2 - transformation-for: nodeTemplate #same time
3   name: PnfExtCp transformation
4   description: converts any node template that has a type tosca.nodes.nfv.PnfExtCp
5   query: #same block query
6     type: tosca.nodes.nfv.PnfExtCp
7   conversions:
8     - query:
9         properties:
10           trunk_mode:
11       to-name: trunk_mode_copy
12       to-value:
13         strategy: copy
14 - transformation-for: nodeTemplate #same time
15   name: PnfExtCp transformation
16   description: converts any node template that has a type tosca.nodes.nfv.PnfExtCp
17   query: #same block query
18     type: tosca.nodes.nfv.PnfExtCp
19   conversions:
20     - query:
21         properties:
22           role:
23       to-name: role
24       to-value:
25         strategy: copy
26 - transformation-for: nodeTemplate #same time
27   name: PnfExtCp transformation
28   description: converts any node template that has a type tosca.nodes.nfv.PnfExtCp
29   query: #same block query
30     type: tosca.nodes.nfv.PnfExtCp
31   conversions:
32     - query:
33         properties:
34           trunk_mode:
35       to-name: trunk_mode_copy1
36       to-value:
37         strategy: copy