Re: Property type 'null' validation issue

2017-09-18 Thread Ran Ziv
This does sound like a bug, and I am not familiar with a JIRA ticket for
it. Feel free to create one.


On Mon, Sep 18, 2017 at 8:13 AM, Vaishnavi K.R 
wrote:

> Hi,
>
>
> I tried using the 'null' property type as mentioned in the TOSCA simple
> YAML 1.0 specification. I get the validation issue saying that the datatype
> specified in the service template is an unknown datatype.
>
>
> I just surfed through the code and found that 'null' is considered as one
> of the primitive datatypes. But when it is validated if its a primitive
> datatype, a class object of Null() is passed as a value. The validation
> fails as it expects a string value of 'null'.
>
>
> Is this a known issue? Do we have a JIRA item opened for this?
>
>
>
>
> Thanks,
>
> /Vaish
>


Property type 'null' validation issue

2017-09-17 Thread Vaishnavi K . R
Hi,


I tried using the 'null' property type as mentioned in the TOSCA simple YAML 
1.0 specification. I get the validation issue saying that the datatype 
specified in the service template is an unknown datatype.


I just surfed through the code and found that 'null' is considered as one of 
the primitive datatypes. But when it is validated if its a primitive datatype, 
a class object of Null() is passed as a value. The validation fails as it 
expects a string value of 'null'.


Is this a known issue? Do we have a JIRA item opened for this?




Thanks,

/Vaish