DEFER - CSD05 - How do we provide constraints on properties declared as simple YAML lists (sets)

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Major
    • CSD05
    • Affects Version/s: CSD2
    • Component/s: Profile-YAML
    • None

      By example, we have the following property defn for tosca.capabilities.Container:

      property name: containee_types
      required: yes
      type: Node Type[]

      Description: A list of one or more Node Types that are supported as containees that declare the Container type as a Capability.

      Problem 1: how do we constrain list to only include integer types?
      Problem 2: how do we constrain list to have at least one valid entry?

            Assignee:
            Matthew Rutkowski (Inactive)
            Reporter:
            Matthew Rutkowski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: