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 / wrongTransformationBlock.yaml
1 - transformation-for: nodeTemplate
2   name: PnfExtCp transformation
3   description: converts any node template that has a type tosca.nodes.nfv.PnfExtCp
4   query:
5     type: tosca.nodes.nfv.PnfExtCp
6   conversions:
7     - query:
8         properties:
9           trunk_mode:
10       to-name: trunk_mode_copy
11       to-value:
12         strategy: copy
13 - transformation-for: wrongBlock
14   name: PnfExtCp transformation
15   description: converts any node template that has a type tosca.nodes.nfv.PnfExtCp
16   query:
17     type: tosca.nodes.nfv.PnfExtCp
18   conversions:
19     - query:
20         properties:
21           role:
22       to-name: role
23       to-value:
24         strategy: copy