Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

1.1.1.

...

A Relationship Type is a reusable entity that defines the type of one or more relationships between Node Types or Node Templates.

1.1.1.1.1     Keynames

The Relationship Type is a TOSCA Entity and has the common keynames listed in section Error! Reference source not found. TOSCA Entity Schema.

In addition, the Relationship Type has the following recognized keynames:

...

Keyname

...

Required

...

Definition/Type

...

Description

...

properties

...

no

...

list of

property definitions

...

An optional list of property definitions for the Relationship Type.

...

attributes

...

no

...

list of

attribute definitions

...

An optional list of attribute definitions for the Relationship Type.

...

interfaces

...

no

...

list of

interface definitions

...

An optional list of interface definitions interfaces supported by the Relationship Type.

...

valid_target_types

...

no

...

string[]

...

An optional list of one or more names of Capability Types that are valid targets for this relationship.

1.1.1.1.2     Grammar

Relationship Types have following grammar:

<relationship_type_name>:

  derived_from: <parent_relationship_type_name>

  version: <version_number>

  metadata:

    <map of string>

  description: <relationship_description>

  properties:

    <property_definitions>

  attributes:

    <attribute_definitions>

  interfaces:

    <interface_definitions>

  valid_target_types: [ <capability_type_names> ]

 

...

1.3     org.openecomp. relationships.AssignsTo


Relationship of this type, when assigned to

...