Skip to content

Commit 1bfc17d

Browse files
authored
Merge pull request #1 from Modelio-R-D/toscaCodeGen
Tosca code gen branch, with release of Tosca Designer 0.5 for Modelio OS 5.4
2 parents aad7ca9 + 8c6ef92 commit 1bfc17d

File tree

903 files changed

+65026
-3496
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

903 files changed

+65026
-3496
lines changed

.classpath

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" output="target/classes" path="src/main/java">
4+
<attributes>
5+
<attribute name="optional" value="true"/>
6+
<attribute name="maven.pomderived" value="true"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
10+
<attributes>
11+
<attribute name="maven.pomderived" value="true"/>
12+
<attribute name="optional" value="true"/>
13+
</attributes>
14+
</classpathentry>
15+
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
16+
<attributes>
17+
<attribute name="optional" value="true"/>
18+
<attribute name="maven.pomderived" value="true"/>
19+
<attribute name="test" value="true"/>
20+
</attributes>
21+
</classpathentry>
22+
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">
23+
<attributes>
24+
<attribute name="maven.pomderived" value="true"/>
25+
<attribute name="test" value="true"/>
26+
<attribute name="optional" value="true"/>
27+
</attributes>
28+
</classpathentry>
29+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11">
30+
<attributes>
31+
<attribute name="maven.pomderived" value="true"/>
32+
</attributes>
33+
</classpathentry>
34+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
35+
<attributes>
36+
<attribute name="maven.pomderived" value="true"/>
37+
</attributes>
38+
</classpathentry>
39+
<classpathentry kind="output" path="target/classes"/>
40+
</classpath>

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
ToscaDesigner/target/
1+
/target/
2+
/ToscaDesigner/

.project

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>MYRTUSDesigner</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.m2e.core.maven2Builder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.eclipse.jdt.core.javanature</nature>
21+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
22+
</natures>
23+
</projectDescription>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
eclipse.preferences.version=1
2+
encoding//src/main/java=UTF-8
3+
encoding//src/main/resources=UTF-8
4+
encoding//src/test/resources=UTF-8
5+
encoding/<project>=UTF-8
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.apt.aptEnabled=false
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
3+
org.eclipse.jdt.core.compiler.compliance=11
4+
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
5+
org.eclipse.jdt.core.compiler.debug.localVariable=generate
6+
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
7+
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
8+
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
9+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
10+
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
11+
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
12+
org.eclipse.jdt.core.compiler.processAnnotations=disabled
13+
org.eclipse.jdt.core.compiler.release=enabled
14+
org.eclipse.jdt.core.compiler.source=11
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
activeProfiles=
2+
eclipse.preferences.version=1
3+
resolveWorkspaceProjects=true
4+
version=1
2.84 KB
Binary file not shown.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
tosca_definitions_version: tosca_simple_yaml_1_3
2+
3+
imports:
4+
- file: .tosca
5+
namespace_uri: example.eu.myrtus.nodetypes
6+
namespace_prefix: MYRTUS-
7+
8+
node_types:
9+
example.eu.myrtus.nodetypes.Myrtus-Workstation:
10+
description: Representation of a computing node in the Myrtus systems.
11+
derived_from: tosca.nodes.Compute
12+
metadata:
13+
targetNamespace: "example.eu.myrtus.nodetypes"
14+
abstract: "false"
15+
final: "false"
16+
17+
18+
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
tosca_definitions_version: tosca_simple_yaml_1_3
2+
3+
imports:
4+
- file: .tosca
5+
namespace_uri: example.eu.myrtus.nodetypes
6+
namespace_prefix: MYRTUS-
7+
8+
node_types:
9+
example.eu.myrtus.nodetypes.MyrtusCameraFeed:
10+
derived_from: example.eu.myrtus.nodetypes.MyrtusSWComponent
11+
metadata:
12+
targetNamespace: "example.eu.myrtus.nodetypes"
13+
abstract: "false"
14+
final: "false"
15+
16+
requirements:
17+
- faceDetectionService:
18+
capability: tosca.capabilities.Endpoint
19+
relationship: tosca.relationships.connectsTo
20+
occurrences: [ 1, 1 ]
21+
capabilities:
22+
CameraFeed.WebService:
23+
occurrences: [ 0, UNBOUNDED ]
24+
type: tosca.capabilities.Endpoint

0 commit comments

Comments
 (0)