[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (TOSCA-284) PortDef example not correct
[ https://issues.oasis-open.org/browse/TOSCA-284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62099#comment-62099 ] Matthew Rutkowski commented on TOSCA-284: ----------------------------------------- Hi Chris, agree. Nothing wrong, but it is not the common case... so I propose an additional use case to show the "simple" and common usage, as well as adding clarity to the existing example... e.g.,: properties: listen_port: 9090 ---- properties: listen_port: type: PortDef default: 9000 constraints: - in_range: [ 9000, 9090 ] As you can see, the "properties" context is important. > PortDef example not correct > --------------------------- > > Key: TOSCA-284 > URL: https://issues.oasis-open.org/browse/TOSCA-284 > Project: OASIS Topology and Orchestration Specification for Cloud Applications (TOSCA) TC > Issue Type: Bug > Components: Profile-YAML > Affects Versions: V1.1_CSD04 > Reporter: Matthew Rutkowski > Assignee: Matthew Rutkowski > > The current example appears as follows: > listen_port: > type: PortDef > default: 9000 > constraints: > - in_range: [ 9000, 9090 ] > However, it is not a "usage" but looks more of an attempt to try define a new property type based upon PortDef but even there it falls short. -- This message was sent by Atlassian JIRA (v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]