You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ariatosca.apache.org by Venkatesan Venugopal <ve...@ericsson.com> on 2018/01/04 11:29:23 UTC

Backward Compatible Issue : Required field "type" in "aria_extension_tosca.simple_v1_0.definitions.PropertyDefinition" does not have a value

Hi,

We see that "type" is optional in Input Definition (under Topology Template) as per TOSCA SPEC 1.0 latest but in latest ARIA it has become mandatory.

From code perspective, it is because of the below change
Old: templates.py
    @object_dict_field(ParameterDefinition) # Where ParameterDefinition overridden PropertyDefinition's "type" with required=false
    def inputs(self):

New: templates.py
    @object_dict_field(InputDefinition) # Where InputDefinition has not overridden PropertyDefinition's "type" with required=false
    def inputs(self):


Could you please provide your comments on this observation.


Thanks in advance.

Regards,
Venkatesan V