OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

tosca message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (TOSCA-203) Properties defined with type number (should be integer or float based on the valid types)


    [ https://issues.oasis-open.org/browse/TOSCA-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50343#comment-50343 ] 

Matthew Rutkowski  commented on TOSCA-203:
------------------------------------------

Luc, I just scanned the WD04, Rev 6 spec. draft and could only find one case where a property was defined as type "number":

>>>  A.4.27 Node Type:where my_app_port: number

corrected these for next rev.

Any others I missed?

> Properties defined with type number (should be integer or float based on the valid types)
> -----------------------------------------------------------------------------------------
>
>                 Key: TOSCA-203
>                 URL: https://issues.oasis-open.org/browse/TOSCA-203
>             Project: OASIS Topology and Orchestration Specification for Cloud Applications (TOSCA) TC
>          Issue Type: Bug
>            Reporter: Luc Boutier
>             Fix For: CSD2
>
>
> In multiple places in the specs we have properties defined using the type number:
>     my_app_port:
>       type: number
> Number is not a valid type for a property and the type should be replaced by integer or float.
>     my_app_port:
>       type: integer
> Reminder: below are the valid types as defined in the spec:
> Valid aliases	Type URI
> string	tag:yaml.org,2002:str (default)
> integer	tag:yaml.org,2002:int
> float	tag:yaml.org,2002:float
> boolean	tag:yaml.org,2002:bool (i.e., a value either ‘true’ or ‘false’)
> timestamp	tag:yaml.org,2002:timestamp
> null 	tag:yaml.org,2002:null



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]