Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fixed similar derived from typo (onap.nodes.Service instead of onap.nodes.Services

...

Code Block
titleSimple service, type definition
linenumberstrue
collapsetrue
###### Simple service, type definition
node_types:
  operatorXXX.services.Service123:
    derived_from: onap.nodes.ServicesService
  capabilities:
  requirements:
    - data_link:
        capability: onap.capabilities.Linkable  # dangling
    - admin_link:
        capability: onap.capabilities.Linkable  # dangling

...

Code Block
titleComplex service, type definition
linenumberstrue
collapsetrue
###### Complex service type definition
node_types:
  operatorYYY.services.Service789:
    derived_from: onap.nodes.ServicesService
  capabilities:
  requirements:
    - admin_link_01:
        capability: onap.capabilities.Linkable
    - admin_link_02:
        capability: onap.capabilities.Linkable

...