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)

    XMLWordPrintable

    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

            People

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

              Dates

              • Created:
                Updated: