[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=62088#comment-62088 ] Chris Lauwers commented on TOSCA-284: ------------------------------------- I'm not sure there is anything wrong with this example. There are lots of examples in the spec where "usage" of a type provides additional constraints and a default value. In my opinion, this is a perfectly reasonable thing to do. > 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]