Uploaded image for project: 'OASIS Cloud Application Management for Platforms (CAMP) TC'
  1. OASIS Cloud Application Management for Platforms (CAMP) TC
  2. CAMP-221

CharacteristicSpecification schema is incorrect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2
    • Component/s: Spec
    • Labels:
      None
    • Proposal:
      Hide

      Replace "String: String*" in YAML with:
      "<name> : <value>*"
      and for JSON:
      "characteristics": [

      { type: String, <name>: <value> * }

      +
      ] ?,"

      Show
      Replace "String: String*" in YAML with: "<name> : <value>*" and for JSON: "characteristics": [ { type: String, <name>: <value> * } + ] ?,"

      Description

      CharacteristicSpecfication (for both YAML and JSON) schema is incorrect.
      It says the following for YAML (4.3.7):


      type: String
      String: String *


      and the following for JSON (5.13):


      "characteristics": [

      { type: String, String: String * }

      +
      ] ?,


      It is not clear why there is an attribute name called 'String'. A JSON attribute name must be unique therefore the cardinality of "*" is not possible. It is also not clear why the value must be a 'String' (and not something like Number)

        Attachments

          Activity

            People

            • Assignee:
              akarmark Anish Karmarkar
              Reporter:
              akarmark Anish Karmarkar
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: