OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

tosca message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (TOSCA-181) Dependency requirement type should match any target node.


    [ https://issues.oasis-open.org/browse/TOSCA-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44052#comment-44052 ] 

Luc Boutier edited comment on TOSCA-181 at 8/28/14 5:06 PM:
------------------------------------------------------------

Should be closed as duplicate from TOSCA-161


was (Author: luc.boutier):
Should be closed as duplicate from TOSCA-181

> Dependency requirement type should match any target node.
> ---------------------------------------------------------
>
>                 Key: TOSCA-181
>                 URL: https://issues.oasis-open.org/browse/TOSCA-181
>             Project: OASIS Topology and Orchestration Specification for Cloud Applications (TOSCA) TC
>          Issue Type: Bug
>          Components: Profile-YAML
>            Reporter: Luc Boutier
>            Assignee: Luc Boutier
>
> I think the definition of the Root node has something wrong: right now we have removed the Feature capability/dependency to replace it with a single dependency requirement of type tosca.capabilities.Root.
> But actually no nodes defines the tosca.capabilities.Root capability. I think it's not very correct to satisfy a requirement by something that doesn't match the type of the requirement (and we don't have node directly defining the tosca.capabilities.Root capability).
> To make it simpler and, I think, more correct, we should change the dependency definition so the requirement type is directly tosca.nodes.Root as I think any node can depends from another one.
> Woud be:
>   tosca.nodes.Root:
>     description: The TOSCA Node Type all other TOSCA base Node Types derive from
>     attributes:
>       tosca_id:
>         type: string
>       tosca_name:
>         type: string
>     requirements:
>       - dependency:
>         type: tosca.nodes.Root
>         lower_bound: 0
>         upper_bound: unbounded
>     interfaces: [tosca.interfaces.node.lifecycle.Standard | tosca.interfaces.node.lifecycle.Simple ]



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