← Prev in month ← Prev in thread
Next in thread → Next in month →

[OASIS Issue Tracker] (TOSCA-155) CSD02 - How do we provide constraints on properties declared as simple YAML lists (sets)

From
OASIS Issues Tracker <>
Date
2015-05-12T22:02:23+00:00
ID
Thread
[OASIS Issue Tracker] (TOSCA-155) CSD02 - How do we provide constraints on properties declared as simple YAML lists (sets)
[ https://issues.oasis-open.org/browse/TOSCA-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthew Rutkowski  updated TOSCA-155:
-------------------------------------

    Fix Version/s: CSD05
                       (was: CSD2)

> CSD02 - How do we provide constraints on properties declared as simple YAML lists (sets)
> ----------------------------------------------------------------------------------------
>
>                 Key: TOSCA-155
>                 URL: https://issues.oasis-open.org/browse/TOSCA-155
>             Project: OASIS Topology and Orchestration Specification for Cloud Applications (TOSCA) TC
>          Issue Type: New Feature
>          Components: Profile-YAML
>    Affects Versions: CSD2
>            Reporter: Matthew Rutkowski 
>            Assignee: Matthew Rutkowski 
>             Fix For: CSD05
>
>
> 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?



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)
← Prev in month ← Prev in thread
Next in thread → Next in month →