Closed philippemerle closed 2 years ago
For the following service template
tosca_definitions_version: tosca_simple_yaml_1_3 node_types: MyNodeType: derived_from: tosca.nodes.Root interfaces: Standard: operations: start: inputs: tosca_id: type: string value: { get_attribute: [SELF, tosca_id] }
puccini raises the following error
$ puccini-tosca parse puccini-inputs-value.yaml PROBLEMS (1) file:/.../puccini-inputs-value.yaml @12,17 node_types["MyNodeType"].interfaces["Standard"].operations["start"].inputs["tosca_id"].value: unsupported field
According to Section 3.6.17.1 of TOSCA 1.3 and Section 4.3.6.4.1 of TOSCA 2.0 csd 03, inputs is a map of parameter definitions when used inside a node type definition.
Which version of Puccini are you using? This works for me in the current HEAD.
I am using the 0.20.0 release. I will move to 0.20.1 asap.
This works well with puccini 0.20.1 release.
For the following service template
puccini raises the following error
According to Section 3.6.17.1 of TOSCA 1.3 and Section 4.3.6.4.1 of TOSCA 2.0 csd 03, inputs is a map of parameter definitions when used inside a node type definition.