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)


Luc Boutier created TOSCA-203:
---------------------------------

             Summary: 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


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]