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-161) WD02 - Need examples of using the built-in feature (Capability) and dependency (Requirement) of tosca.nodes.Root


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

Luc Boutier commented on TOSCA-161:
-----------------------------------

Hi Matt,

Not sure I get your comment...

Correctly the definition of the requirements for Root node is

  requirements:
    - dependency:
      type: tosca.capabilities.Root
      lower_bound: 0
      upper_bound: unbounded

This means that we have to connect to any node that provides the "tosca.capabilities.Root" capability. Right now I don't see any node that defines a capability of type "tosca.capabilities.Root". It is not mentioned that somehow all nodes have a "tosca.capabilities.Root" capability so right now the dependency require that a user explicitly defines a node with a "tosca.capabilities.Root" capacity so he can create a depends-on relationship.

I think that if we want to keep the dependency requirement we should change the type from "tosca.capabilities.Root" to "tosca.nodes.Root" to indeed use the implicit capability of the node.

From use-case perspective I would use this as a kind of un-managed relationship. For example for middleware that supports automatic discovery of services through multicast (and having a manager that should be started before containers etc..) I have a valid example of such middleware with GigaSpaces Data-grid product.
Of course you can create a connects to relationship but as the connection is not managed by the TOSCA container you won't have any artifacts related so maybe depends on is more convenient ?

> WD02 - Need examples of using the built-in feature (Capability) and dependency (Requirement) of tosca.nodes.Root
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: TOSCA-161
>                 URL: https://issues.oasis-open.org/browse/TOSCA-161
>             Project: OASIS Topology and Orchestration Specification for Cloud Applications (TOSCA) TC
>          Issue Type: Improvement
>          Components: Profile-YAML
>    Affects Versions: CSD2
>            Reporter: Matthew Rutkowski 
>            Assignee: Thomas Spatzier 
>             Fix For: CSD2
>
>




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