Uploaded image for project: 'OASIS Topology and Orchestration Specification for Cloud Applications (TOSCA) TC'
  1. OASIS Topology and Orchestration Specification for Cloud Applications (TOSCA) TC
  2. TOSCA-203

CLOSE - Properties defined with type number (should be integer or float based on the valid types)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: CSD2
    • Component/s: Profile-YAML
    • Labels:
      None
    • Resolution:
      Hide

      Fixed the one remaining example that still used this old type.

      Show
      Fixed the one remaining example that still used this old type.

      Description

      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

        Attachments

          Activity

          Hide
          mrutkows Matthew Rutkowski (Inactive) added a comment -

          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?

          Show
          mrutkows Matthew Rutkowski (Inactive) added a comment - 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?
          Hide
          luc.boutier Luc Boutier (Inactive) added a comment -

          Actually that's the only one, sorry for the wrong description in the issue...

          Show
          luc.boutier Luc Boutier (Inactive) added a comment - Actually that's the only one, sorry for the wrong description in the issue...
          Hide
          mrutkows Matthew Rutkowski (Inactive) added a comment -

          TOSCA TC approve closure of this issue at the 2014-11-20 meeting. See https://www.oasis-open.org/apps/org/workgroup/tosca/download.php/54595/TOSCA%20Minutes%202014-11-20.docx

          Show
          mrutkows Matthew Rutkowski (Inactive) added a comment - TOSCA TC approve closure of this issue at the 2014-11-20 meeting. See https://www.oasis-open.org/apps/org/workgroup/tosca/download.php/54595/TOSCA%20Minutes%202014-11-20.docx

            People

            • Assignee:
              mrutkows Matthew Rutkowski (Inactive)
              Reporter:
              luc.boutier Luc Boutier (Inactive)
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: