Skip to content

cna.qualityModel.entities.DataAggregate

The DataAggregate Node can model a Data Aggregate entity.

File references:      TOSCA-File

Shorthand Name DataAggregate
Type Qualified Name qualityModel:DataAggregate
Type URI cna.qualityModel.entities.DataAggregate

1. Properties

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

2. Attributes

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

3. Definition

cna.qualityModel.entities.DataAggregate:
  derived_from: tosca.nodes.Root
  description: Node Type to model Data Aggregate entities
  requirements:
    # Allows Data Aggregate to be persisted by Storage Backing Service entity
    - persistence:
        capability: cna.qualityModel.capabilities.DataStorage
        node: cna.qualityModel.entities.DBMS.StorageService
        relationship: cna.qualityModel.relationships.AttachesTo.Data
        occurrences: [1, UNBOUNDED]
  capabilities:
    # Allows Data Aggregate to be used by other entities
    provided_data:
      type: tosca.capabilities.Attachment
      valid_source_types:
        - cna.qualityModel.entities.Root.Component
        - cna.qualityModel.entities.SoftwareComponent.Service
        - cna.qualityModel.entities.BackingService
        - cna.qualityModel.entities.DBMS.StorageService
      occurrences: [1, 1]

4. Example

order:
  type: cna.qualityModel.entities.DataAggregate
  properties:
  requirements:
    - persistence: mysql_service
  capabilities:
    provided_data:
      type: tosca.capabilities.Attachment

Last update: 2022-08-31
Back to top