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-155

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

    XMLWordPrintable

    Details

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

      Description

      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?

        Attachments

          Activity

            People

            • Assignee:
              mrutkows Matthew Rutkowski
              Reporter:
              mrutkows Matthew Rutkowski
            • Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated: