You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and are contributed to the TOSCA community for standardization.
14
14
15
15
node_types:
16
-
example.eu.myrtus.MyrtusSWComponent:
17
-
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.
16
+
eu.myrtus.MyrtusSWComponent:
17
+
description: >
18
+
Represents a MYRTUS software component deployed as a containerized application.
19
+
This node type is designed for edge computing scenarios where software modules
20
+
are packaged and deployed as Docker containers in distributed IoT environments.
18
21
derived_from: tosca.nodes.SoftwareComponent
19
22
metadata:
20
-
targetNamespace: "example.eu.myrtus.nodetypes"
23
+
targetNamespace: "eu.myrtus.nodetypes"
21
24
abstract: "false"
22
25
final: "false"
23
26
properties:
24
-
dockerImage:
27
+
docker_image:
25
28
type: string
26
-
description: An URI pointing to the docker image to be deployed.
27
-
required: false
28
-
port:
29
+
description: URI pointing to the Docker image to be deployed (e.g., registry.example.com/myrtus/service:1.0)
30
+
required: true
31
+
container_port:
29
32
type: integer
30
-
description: The port to be opened in the container
33
+
description: Primary port exposed by the container for service communication
34
+
required: false
35
+
default: 8080
36
+
environment_variables:
37
+
type: map
38
+
description: Environment variables to be set in the container
39
+
required: false
40
+
entry_schema:
41
+
type: string
42
+
resource_limits:
43
+
type: map
44
+
description: Resource limits for the container (cpu, memory)
45
+
required: false
46
+
entry_schema:
47
+
type: string
48
+
auto_restart:
49
+
type: boolean
50
+
description: Whether the container should automatically restart on failure
51
+
required: false
52
+
default: true
53
+
health_check_endpoint:
54
+
type: string
55
+
description: HTTP endpoint path for health checks (e.g., /health)
31
56
required: false
32
-
default: 1234
57
+
attributes:
58
+
container_id:
59
+
type: string
60
+
description: Runtime identifier of the deployed container
61
+
service_url:
62
+
type: string
63
+
description: Full URL where the service is accessible
33
64
requirements:
65
+
- host:
66
+
capability: tosca.capabilities.Container
67
+
relationship: tosca.relationships.HostedOn
68
+
occurrences: [ 1, 1 ]
34
69
- connects:
35
70
capability: tosca.capabilities.Endpoint
36
71
relationship: tosca.relationships.ConnectsTo
37
72
occurrences: [ 0, UNBOUNDED ]
38
73
capabilities:
39
-
service:
40
-
occurrences: [ 0, UNBOUNDED ]
74
+
service_endpoint:
41
75
type: tosca.capabilities.Endpoint
76
+
description: Endpoint capability provided by this software component
77
+
properties:
78
+
protocol:
79
+
type: string
80
+
default: http
81
+
port:
82
+
type: integer
83
+
occurrences: [ 0, UNBOUNDED ]
84
+
interfaces:
85
+
Standard:
86
+
type: tosca.interfaces.node.lifecycle.Standard
87
+
operations:
88
+
create:
89
+
description: Pull the Docker image
90
+
configure:
91
+
description: Configure container environment and networking
92
+
start:
93
+
description: Start the container
94
+
stop:
95
+
description: Stop the container
96
+
delete:
97
+
description: Remove the container and clean up resources
42
98
43
-
example.eu.myrtus.Myrtus-Compute:
44
-
description: Representation of a computing node in the Myrtus systems.
99
+
eu.myrtus.MyrtusCompute:
100
+
description: >
101
+
Represents a computing node in MYRTUS edge/IoT infrastructure.
102
+
This can be a workstation, edge server, or IoT gateway capable of hosting
103
+
containerized MYRTUS software components.
104
+
derived_from: tosca.nodes.Compute
45
105
metadata:
46
-
targetNamespace: "example.eu.myrtus.nodetypes"
106
+
targetNamespace: "eu.myrtus.nodetypes"
47
107
abstract: "false"
48
108
final: "false"
49
-
derived_from: tosca.nodes.Compute
109
+
properties:
110
+
location:
111
+
type: string
112
+
description: Physical or logical location of the compute node (e.g., "Building A - Floor 2")
113
+
required: false
114
+
edge_zone:
115
+
type: string
116
+
description: Edge computing zone or region identifier
117
+
required: false
118
+
docker_runtime:
119
+
type: string
120
+
description: Docker runtime version installed on this node
121
+
required: false
122
+
default: "latest"
123
+
monitoring_enabled:
124
+
type: boolean
125
+
description: Whether monitoring agents are deployed on this node
126
+
required: false
127
+
default: true
128
+
attributes:
129
+
node_id:
130
+
type: string
131
+
description: Unique identifier for this compute node
132
+
available_resources:
133
+
type: map
134
+
description: Currently available resources (cpu, memory, storage)
135
+
deployment_timestamp:
136
+
type: timestamp
137
+
description: When this node was provisioned
138
+
capabilities:
139
+
host:
140
+
type: tosca.capabilities.Container
141
+
description: Ability to host containerized applications
Welcome to the TOSCA Designer project wiki. This wiki provides installation steps, usage examples, contributing guidelines, and developer documentation for the TOSCA Designer module for Modelio 5.4.1.
4
+
5
+
See the pages in this wiki for more details:
6
+
7
+
- Installation
8
+
- Usage
9
+
- Contributing
10
+
- Development
11
+
12
+
---
13
+
14
+
## About
15
+
16
+
TOSCA Designer is an open-source module for Modelio 5.4.1 developed by the Softeam R&D Department as part of the MYRTUS Horizon Europe project.
17
+
18
+
## Key Features
19
+
20
+
- Supports TOSCA Standard v1.3
21
+
- Graphical modeling of topology templates, node types, relationship types, policies, and requirements
22
+
- Export to `.tosca` and experimental `.csar` files
This page explains how to install Modelio and add the TOSCA Designer module.
4
+
5
+
## Requirements
6
+
7
+
- Java 8 JDK
8
+
- Modelio Open Source 5.4.1
9
+
10
+
## Steps
11
+
12
+
1. Install Modelio 5.4.1 (download from https://github.com/ModelioOpenSource/Modelio/releases/tag/v5.4.1)
13
+
2. Install Java 8 and ensure `java` is on your PATH.
14
+
3. Download the latest `.jmdac` module from the release page: https://github.com/Modelio-R-D/MYRTUSDesigner/releases
15
+
4. Open Modelio, go to `Configuration > Modules catalog` and add the module by selecting the downloaded `.jmdac` file.
16
+
5. Deploy the module in a project via `Configuration > Install a module in this project`.
17
+
18
+
## Example Projects
19
+
20
+
The release includes example projects such as `MYRTUS.Face.Application.zip` and `Smart.City.Traffic.Management.zip`. Import them via `File > Import project` in Modelio.
0 commit comments