-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
153 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,46 @@ | ||
{ | ||
"oneToOneMapping": [ | ||
|
||
], | ||
"edmmTypeMapping": [ | ||
|
||
] | ||
} | ||
"oneToOneMapping" : [ { | ||
"edmmType" : "compute", | ||
"toscaType" : "{https://edmm.uni-stuttgart.de/nodetypes}Compute" | ||
}, { | ||
"edmmType" : "dbms", | ||
"toscaType" : "{https://edmm.uni-stuttgart.de/nodetypes}DBMS" | ||
}, { | ||
"edmmType" : "database", | ||
"toscaType" : "{https://edmm.uni-stuttgart.de/nodetypes}Database" | ||
}, { | ||
"edmmType" : "software_component", | ||
"toscaType" : "{https://edmm.uni-stuttgart.de/nodetypes}Software_Component" | ||
}, { | ||
"edmmType" : "web_application", | ||
"toscaType" : "{https://edmm.uni-stuttgart.de/nodetypes}Web_Application" | ||
}, { | ||
"edmmType" : "web_server", | ||
"toscaType" : "{https://edmm.uni-stuttgart.de/nodetypes}Web_Server" | ||
}, { | ||
"edmmType" : "connects_to", | ||
"toscaType" : "{https://edmm.uni-stuttgart.de/relationtypes}ConnectsTo" | ||
}, { | ||
"edmmType" : "depends_on", | ||
"toscaType" : "{https://edmm.uni-stuttgart.de/relationtypes}DependsOn" | ||
}, { | ||
"edmmType" : "hosted_on", | ||
"toscaType" : "{https://edmm.uni-stuttgart.de/relationtypes}HostedOn" | ||
}, { | ||
"edmmType" : "mysql_dbms", | ||
"toscaType" : "{https://edmm.uni-stuttgart.de/nodetypes}MySQL_DBMS" | ||
}, { | ||
"edmmType" : "mysql_database", | ||
"toscaType" : "{https://edmm.uni-stuttgart.de/nodetypes}MySQL_Database" | ||
}, { | ||
"edmmType" : "tomcat", | ||
"toscaType" : "{https://edmm.uni-stuttgart.de/nodetypes}Tomcat" | ||
}, { | ||
"edmmType" : "web_application", | ||
"toscaType" : "{https://edmm.uni-stuttgart.de/nodetypes}PetClinic" | ||
} ], | ||
"edmmTypeMapping" : [ { | ||
"edmmType" : "web_application", | ||
"toscaType" : "{https://edmm.uni-stuttgart.de/nodetypes}PetClinic" | ||
} ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 11 additions & 1 deletion
12
nodetypes/https%3A%2F%2Fedmm.uni-stuttgart.de%2Fnodetypes/MySQL_DBMS/NodeType.tosca
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 15 additions & 1 deletion
16
nodetypes/https%3A%2F%2Fedmm.uni-stuttgart.de%2Fnodetypes/MySQL_Database/NodeType.tosca
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+4.88 KB
(570%)
...3A%2F%2Fedmm.uni-stuttgart.de%2Fnodetypes/MySQL_Database/appearance/bigIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.93 KB
...%2F%2Fedmm.uni-stuttgart.de%2Fnodetypes/MySQL_Database/appearance/smallIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
...A%2F%2Fedmm.uni-stuttgart.de%2Fnodetypes/MySQL_Database/appearance/smallIcon.png.mimetype
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
image/png |
6 changes: 6 additions & 0 deletions
6
nodetypes/https%3A%2F%2Fedmm.uni-stuttgart.de%2Fnodetypes/Tomcat/NodeType.tosca
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 74 additions & 0 deletions
74
...tps%3A%2F%2Fedmm.uni-stuttgart.de%2Fservicetemplates/PetClinic-IaaS/ServiceTemplate.tosca
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<Definitions xmlns="http://docs.oasis-open.org/tosca/ns/2011/12" xmlns:winery="http://www.opentosca.org/winery/extensions/tosca/2013/02/12" xmlns:selfservice="http://www.eclipse.org/winery/model/selfservice" xmlns:testwineryopentoscaorg="http://test.winery.opentosca.org" targetNamespace="https://edmm.uni-stuttgart.de/servicetemplates" id="winery-defs-for_steIgeneral2-PetClinic-IaaS"> | ||
<ServiceTemplate name="PetClinic-IaaS" targetNamespace="https://edmm.uni-stuttgart.de/servicetemplates" id="PetClinic-IaaS"> | ||
<TopologyTemplate> | ||
<NodeTemplate xmlns:ntyIgeneral="https://edmm.uni-stuttgart.de/nodetypes" name="pet_clinic" minInstances="1" maxInstances="1" type="ntyIgeneral:PetClinic" id="PetClinic" winery:x="350" winery:y="109"> | ||
<DeploymentArtifacts> | ||
<DeploymentArtifact xmlns:atyIgeneral="https://edmm.uni-stuttgart.de/artifacttypes" xmlns:ateIgeneral1="https://edmm.uni-stuttgart.de/artifacttemplates" name="war" artifactType="atyIgeneral:WAR" artifactRef="ateIgeneral1:PetClinic-App"/> | ||
</DeploymentArtifacts> | ||
</NodeTemplate> | ||
<NodeTemplate xmlns:ntyIgeneral="https://edmm.uni-stuttgart.de/nodetypes" name="ubuntu" minInstances="1" maxInstances="1" type="ntyIgeneral:Compute" id="Compute" winery:x="586" winery:y="742"> | ||
<Properties> | ||
<Properties xmlns="http://www.example.org"> | ||
<os_family>linux</os_family> | ||
<machine_image>ubuntu</machine_image> | ||
<instance_type>large</instance_type> | ||
<key_name>edmm</key_name> | ||
<public_key>-----BEGIN PUBLIC KEY----- | ||
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqGKukO1De7zhZj6+H0qtjTkVxwTCpvKe4eCZ0 | ||
FPqri0cb2JZfXJ/DgYSF6vUpwmJG8wVQZKjeGcjDOL5UlsuusFncCzWBQ7RKNUSesmQRMSGkVb1/ | ||
3j+skZ6UtW+5u09lHNsj6tQ51s1SPrCBkedbNf0Tp0GbMJDyR4e9T04ZZwIDAQAB | ||
-----END PUBLIC KEY-----</public_key> | ||
</Properties> | ||
</Properties> | ||
</NodeTemplate> | ||
<NodeTemplate xmlns:ntyIgeneral="https://edmm.uni-stuttgart.de/nodetypes" name="pet_clinic_tomcat" minInstances="1" maxInstances="1" type="ntyIgeneral:Tomcat" id="Tomcat_2" winery:x="351" winery:y="402"> | ||
<Properties> | ||
<Properties xmlns="http://www.example.org"> | ||
<port>8080</port> | ||
</Properties> | ||
</Properties> | ||
</NodeTemplate> | ||
<NodeTemplate xmlns:ntyIgeneral="https://edmm.uni-stuttgart.de/nodetypes" name="dbms" minInstances="1" maxInstances="1" type="ntyIgeneral:MySQL_DBMS" id="MySQL_DBMS" winery:x="799" winery:y="402"> | ||
<Properties> | ||
<Properties xmlns="http://www.example.org"> | ||
<port>3306</port> | ||
<root_password>petclinic</root_password> | ||
</Properties> | ||
</Properties> | ||
</NodeTemplate> | ||
<NodeTemplate xmlns:ntyIgeneral="https://edmm.uni-stuttgart.de/nodetypes" name="db" minInstances="1" maxInstances="1" type="ntyIgeneral:MySQL_Database" id="MySQL_Database" winery:x="799" winery:y="105"> | ||
<Properties> | ||
<Properties xmlns="http://www.example.org"> | ||
<schema_name>petclinic</schema_name> | ||
<user>pc</user> | ||
<password>petclinic</password> | ||
</Properties> | ||
</Properties> | ||
<DeploymentArtifacts> | ||
<DeploymentArtifact xmlns:atyIgeneral="https://edmm.uni-stuttgart.de/artifacttypes" xmlns:ateIgeneral1="https://edmm.uni-stuttgart.de/artifacttemplates" name="sql" artifactType="atyIgeneral:SQL" artifactRef="ateIgeneral1:Petclinic-Schema"/> | ||
</DeploymentArtifacts> | ||
</NodeTemplate> | ||
<RelationshipTemplate xmlns:tyIgeneral="https://edmm.uni-stuttgart.de/relationtypes" name="HostedOn" type="tyIgeneral:HostedOn" id="con_HostedOn_0"> | ||
<SourceElement ref="Tomcat_2"/> | ||
<TargetElement ref="Compute"/> | ||
</RelationshipTemplate> | ||
<RelationshipTemplate xmlns:tyIgeneral="https://edmm.uni-stuttgart.de/relationtypes" name="HostedOn" type="tyIgeneral:HostedOn" id="con_HostedOn_2"> | ||
<SourceElement ref="PetClinic"/> | ||
<TargetElement ref="Tomcat_2"/> | ||
</RelationshipTemplate> | ||
<RelationshipTemplate xmlns:tyIgeneral="https://edmm.uni-stuttgart.de/relationtypes" name="HostedOn" type="tyIgeneral:HostedOn" id="con_HostedOn_1"> | ||
<SourceElement ref="MySQL_DBMS"/> | ||
<TargetElement ref="Compute"/> | ||
</RelationshipTemplate> | ||
<RelationshipTemplate xmlns:tyIgeneral="https://edmm.uni-stuttgart.de/relationtypes" name="HostedOn" type="tyIgeneral:HostedOn" id="con_HostedOn_3"> | ||
<SourceElement ref="MySQL_Database"/> | ||
<TargetElement ref="MySQL_DBMS"/> | ||
</RelationshipTemplate> | ||
<RelationshipTemplate xmlns:tyIgeneral="https://edmm.uni-stuttgart.de/relationtypes" name="ConnectsTo" type="tyIgeneral:ConnectsTo" id="con_ConnectsTo_0"> | ||
<SourceElement ref="PetClinic"/> | ||
<TargetElement ref="MySQL_Database"/> | ||
</RelationshipTemplate> | ||
</TopologyTemplate> | ||
</ServiceTemplate> | ||
</Definitions> |
File renamed without changes.
4 changes: 0 additions & 4 deletions
4
...es/https%3A%2F%2Fedmm.uni-stuttgart.de%2Fservicetemplates/PetClinic/ServiceTemplate.tosca
This file was deleted.
Oops, something went wrong.