Details

    • Type: Bug
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: CSD2
    • Fix Version/s: CSD2
    • Component/s: Interop
    • Labels:
      None
    • Proposal:
      Hide

      The hostedOn relation can be changed to 'hosts'. I.e. a hosting component 'hosts' a hostee, or more generally, a containing component (container) contains a containee. Note that this reverses the direction of the hostsOn relation from hostee to hosting component to go from hosting component to hostee (which also aligns itself to the way the topology graph is created for traversal) .

      In order to create a new hosting component, (only) the NodeType of the hosting component is updated with a new CapabilityType which specifies the NodeType of the components it can host. The hosts RelationshipType source is the NodeType with the hosting capability and the target is the NodeType (not CapabilityType) of the hostee.

      The syntax for this more natural semantic in TOSCA requires that RelationshipTypes support a capability as a source and requirement as a target which requires a change in the xsd. From a semantic perspective this is just a generalization of how requirements and capabilities are matched.

      Show
      The hostedOn relation can be changed to 'hosts'. I.e. a hosting component 'hosts' a hostee, or more generally, a containing component (container) contains a containee. Note that this reverses the direction of the hostsOn relation from hostee to hosting component to go from hosting component to hostee (which also aligns itself to the way the topology graph is created for traversal) . In order to create a new hosting component, (only) the NodeType of the hosting component is updated with a new CapabilityType which specifies the NodeType of the components it can host. The hosts RelationshipType source is the NodeType with the hosting capability and the target is the NodeType (not CapabilityType) of the hostee. The syntax for this more natural semantic in TOSCA requires that RelationshipTypes support a capability as a source and requirement as a target which requires a change in the xsd. From a semantic perspective this is just a generalization of how requirements and capabilities are matched.

      Description

      Similar to TOSCA#111, in order for a hosting component to host another component, call it the hostee, the type definition of the hostee must be changed, even though it is really the hosting component which is expressing its ability to host a specific kind of hostee. Conversely, the hostee does not need a semantic change to be "hostable", e.g. a web application does not have to become a hostable web application to be hosted in a web container, since this is a semantic innate in all web applications. Additionally, there could be more than one way of hosting web applications which could be defined for different kinds of web application containers, a semantic specific to containers and independent of the hostee. The syntax requirements should be to avoid any change in the NodeType definitions of hostees.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dpalma Derek Palma (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: