Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-2294

Support Capability Properties

XMLWordPrintable

      Currently SDC supports the ability to Add Capabilities  on Node level and use those in Canvas for connectivity/relations

      Description

      Requirement and capabilities support was added but the capability properties were not fetched together with the other capability data so they can’t be seen nor used.

      There is a need to fetch capability properties from global types and store it in SDC, show it in capability/Requirement screen and to support Capabilities  properties as described below:

      REQ1 - when adding to a node a capability with properties AND DRAGGING this node TO PARENT CANVAS – those

      properties should be shown in Property assignment of the parent:

      • In parent composition->properties tab user should see the properties when focusing on the relevant child node that has the properties.
      • Parent properties list - should show only the parent declared properties as well as child declared ones in its context. For the latter, a naming convention of the properties is required, similar to existing declared properties but still with the capability name to distinguish same properties in different capabilities:: <child name>_<capability name>.<property name>  

      For capability properties added to the same node, these properties will not be shown in the properties assignment of teh node - not in properties nor in input tabs. Rather, they will be displayed in the capability screen of the node (part of another epic). The ability to set defaults for these properties will be handled separately. 

      REQ2 - NEW – MOST Important – Service Consumption should show:

      • Node Properties – supported
      • Node Operation Outputs – supported
      • Node Capability Properties – new
        • Future – limit the above only the capabilities that actually has relation with this node

       

      REQ3 - Should support capabilities properties in operation screen : 

      • Node Inputs – supported
      • Node Capability Properties – new
      • **

       

      TOSCA:

      REQ# - affect Node Template just like other property assignments

      Example: 

      REQ# - use Get Property enhanced way whenever the property is being used (consumption, dependencies, operation)

      get_property: [ SELF/Node Name, Name of Req/Cap, <property_name>]

      UI notes:

      • In Service consumption/operation properties: When showing the capability properties it should be shown with the capability name bolded as its header line and the properties list indented under it (similar to output properties):

      Node Property list
      Linkable (capability name)
        - prop1 (property name)
        - prop2
      Capability2
        -property1
        -proprty2

      • When connecting two nodes in composition, need to show the capability property list in the two relevant screens:
        • Capability selection (2nd wizard screen)
        • Connection overview (3rd wizard screen)

            mojahidul.i mojahidul.i
            mojahidul.i mojahidul.i
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: