Skip to content

Commit 6386f85

Browse files
committed
Update MyrtusSWComponent to derive from tosca.nodes.SoftwareComponent
1 parent b0351a4 commit 6386f85

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tosca-types/myrtus/node-types.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ description: >
1515
node_types:
1616
example.eu.myrtus.MyrtusSWComponent:
1717
description: This is an example of a specialization made to represent Myrtus SW components. This component assumes the SW modules are containerized in Docker containers.
18+
derived_from: tosca.nodes.SoftwareComponent
1819
metadata:
1920
targetNamespace: "example.eu.myrtus.nodetypes"
2021
abstract: "false"

wiki/TOSCA-Node-Types.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ A specialized node type representing containerized MYRTUS software components.
1414

1515
**Purpose**: Represents software modules packaged as Docker containers that can be deployed in edge/IoT environments.
1616

17+
**Derived From**: `tosca.nodes.SoftwareComponent`
18+
1719
**Key Properties**:
1820
- `dockerImage` (string, optional): URI pointing to the Docker image to be deployed
1921
- `port` (integer, optional): Port to be opened in the container (default: 1234)
@@ -71,6 +73,7 @@ description: >
7173
node_types:
7274
example.eu.myrtus.MyrtusSWComponent:
7375
description: This is an example of a specialization made to represent Myrtus SW components. This component assumes the SW modules are containerized in Docker containers.
76+
derived_from: tosca.nodes.SoftwareComponent
7477
metadata:
7578
targetNamespace: "example.eu.myrtus.nodetypes"
7679
abstract: "false"

0 commit comments

Comments
 (0)