Skip to content

cna.qualityModel.entities.ConnectsTo.Link

The ConnectsTo.Link Node represents a Link entity. It extends the original TOSCA ConnectsTo Relationship in order to allow the assignment of the targeted Endpoint.

File references:      TOSCA-File

Shorthand Name ConnectsTo.Link
Type Qualified Name qualityModel:ConnectsTo.Link
Type URI cna.qualityModel.entities.ConnectsTo.Link

1. Properties

Name Required Type Constraints
Description
target_endpoint true string N/A The endpoint, the connecting Component links to.

2. Attributes

Name Required Type Constraints
Description
N/A N/A N/A N/A N/A

3. Definition

cna.qualityModel.entities.ConnectsTo.Link:
  derived_from: tosca.relationships.ConnectsTo
  description: Relationship Type to model Link entities
  properties:
    # Allows modeling the specific Endpoint the Link addresses, which represents the connection between the Components
    target_endpoint:
      type: string
      required: true
      description: The Endpoint to which the linked Component connects.

4. Example

orderService_subscribes-to_Kafka-orderService-receiveFrom:
  type: cna.qualityModel.entities.ConnectsTo.Link
  metadata:
    type_of_relation: subscribes to
  properties:
    # Point to specific Endpoint
    target_endpoint: orderService Topic receive-from

Last update: 2022-08-31
Back to top