Skip to content

cna.qualityModel.relationships.AttachesTo.Data

The AttachtesTo.Data Relationship is used to model the connection between a Component and a Data Aggregate or Backing Data entity. It extends the original TOSCA AttachesTo Relationship in order to change the "location" property to a non-required one.

File references:      TOSCA-File

Shorthand Name AttachesTo.Data
Type Qualified Name qualityModel:AttachesTo.Data
Type URI cna.qualityModel.relationships.AttachesTo.Data

1. Properties

Name Required Type Constraints
Description
location false map N/A The relative location.

2. Attributes

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

3. Definition

cna.qualityModel.relationships.AttachesTo.Data:
  derived_from: tosca.relationships.AttachesTo
  valid_target_types: [tosca.capabilities.Attachment]
  properties:
    location:
      # Override parent AttachesTo definition to make this property non-required
      required: false

4. Example

relationship_templates:
  some_explicitly_modeled_relationship:
    type: cna.qualityModel.relationships.AttachesTo.Data

Last update: 2022-08-31
Back to top