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 / wrongGetInputTransformationName.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     - query:
14         properties:
15           role:
16       to-name: role
17       to-value:
18         strategy: copy
19       to-get-input: stringTransformation1
20 - transformation-for: getInputFunction
21   name: stringTransformation
22   description: converts a string input
23   conversions:
24     - query:
25         type:
26         invalid-another-attribute: #cannot have two attributes in the attribute query
27       to-name: type
28       to-value:
29         strategy: copy
30     - query:
31         description:
32       to-name: description
33       to-value:
34         strategy: copy
35     - query:
36         default:
37       to-name: default
38       to-value:
39         strategy: copy