Commit 50666fe4 authored by Philip Schildkamp's avatar Philip Schildkamp

Add CouchDB DA to MusicalCompetitionsDatabase

parent d5cff6b1
<?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="http://dch.uni-koeln.de/tosca/artifacttemplates" id="winery-defs-for_dch_artifacttemplates-MusicalCompetitionsDatabase-DA-CouchDB_0.0.1-w1-wip1">
<ArtifactTemplate xmlns:dch_artifacttypes="http://dch.uni-koeln.de/tosca/artifacttypes" name="MusicalCompetitionsDatabase-DA-CouchDB_0.0.1-w1-wip1" type="dch_artifacttypes:DataArtifact" id="MusicalCompetitionsDatabase-DA-CouchDB_0.0.1-w1-wip1">
<ArtifactReferences>
<ArtifactReference reference="artifacttemplates/http%253A%252F%252Fdch.uni-koeln.de%252Ftosca%252Fartifacttemplates/MusicalCompetitionsDatabase-DA-CouchDB_0.0.1-w1-wip1/files/mcd-2019-07-01.json"/>
</ArtifactReferences>
</ArtifactTemplate>
</Definitions>
......@@ -2,7 +2,7 @@
<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" targetNamespace="http://dch.uni-koeln.de/tosca/servicetemplates" id="winery-defs-for_dch_servicetemplates-MusicalCompetitionsDatabase_0.0.1-w1-wip1">
<ServiceTemplate name="MusicalCompetitionsDatabase_0.0.1-w1-wip1" targetNamespace="http://dch.uni-koeln.de/tosca/servicetemplates" id="MusicalCompetitionsDatabase_0.0.1-w1-wip1">
<TopologyTemplate>
<NodeTemplate xmlns:nodetypes="http://opentosca.org/nodetypes" xmlns:ns0="http://www.opentosca.org/winery/winery/extensions/tosca/2013/02/12" name="DockerContainer" minInstances="1" maxInstances="1" type="nodetypes:DockerContainer" id="DockerContainer_1" winery:x="915" winery:y="519" ns0:y="519" ns0:x="915">
<NodeTemplate xmlns:nodetypes="http://opentosca.org/nodetypes" name="DockerContainer" minInstances="1" maxInstances="1" type="nodetypes:DockerContainer" id="DockerContainer_1" winery:x="915" winery:y="519">
<Properties>
<Properties xmlns="http://www.example.org">
<Port>get_input:Port</Port>
......@@ -16,7 +16,7 @@
</Properties>
</Properties>
</NodeTemplate>
<NodeTemplate xmlns:nodetypes="http://opentosca.org/nodetypes" xmlns:ns0="http://www.opentosca.org/winery/winery/extensions/tosca/2013/02/12" name="DockerEngine" minInstances="1" maxInstances="1" type="nodetypes:DockerEngine" id="DockerEngine" winery:x="915" winery:y="678" ns0:y="678" ns0:x="915">
<NodeTemplate xmlns:nodetypes="http://opentosca.org/nodetypes" name="DockerEngine" minInstances="1" maxInstances="1" type="nodetypes:DockerEngine" id="DockerEngine" winery:x="915" winery:y="678">
<Properties>
<Properties xmlns="http://www.example.org">
<DockerEngineURL>get_input:Host</DockerEngineURL>
......@@ -24,7 +24,7 @@
</Properties>
</Properties>
</NodeTemplate>
<NodeTemplate xmlns:nodetypes="http://opentosca.org/nodetypes" xmlns:ns0="http://www.opentosca.org/winery/winery/extensions/tosca/2013/02/12" name="DockerContainer" minInstances="1" maxInstances="1" type="nodetypes:DockerContainer" id="DockerContainer_2" winery:x="564" winery:y="519" ns0:y="519" ns0:x="564">
<NodeTemplate xmlns:nodetypes="http://opentosca.org/nodetypes" name="DockerContainer" minInstances="1" maxInstances="1" type="nodetypes:DockerContainer" id="DockerContainer_2" winery:x="564" winery:y="519">
<Properties>
<Properties xmlns="http://www.example.org">
<Port>9200</Port>
......@@ -38,7 +38,7 @@
</Properties>
</Properties>
</NodeTemplate>
<NodeTemplate xmlns:nodetypes="http://opentosca.org/nodetypes" xmlns:ns0="http://www.opentosca.org/winery/winery/extensions/tosca/2013/02/12" name="DockerContainer" minInstances="1" maxInstances="1" type="nodetypes:DockerContainer" id="DockerContainer_3" winery:x="1304" winery:y="519" ns0:y="519" ns0:x="1304">
<NodeTemplate xmlns:nodetypes="http://opentosca.org/nodetypes" name="DockerContainer" minInstances="1" maxInstances="1" type="nodetypes:DockerContainer" id="DockerContainer_3" winery:x="1304" winery:y="519">
<Properties>
<Properties xmlns="http://www.example.org">
<Port>5984</Port>
......@@ -52,7 +52,7 @@
</Properties>
</Properties>
</NodeTemplate>
<NodeTemplate xmlns:dch_nodetypes="http://dch.uni-koeln.de/tosca/nodetypes" xmlns:ns0="http://www.opentosca.org/winery/winery/extensions/tosca/2013/02/12" name="CouchDBMS_1.6.1-w1-wip1" minInstances="1" maxInstances="1" type="dch_nodetypes:CouchDBMS_1.6.1-w1-wip1" id="CouchDBMS_1.6.1-w1-wip1" winery:x="1304" winery:y="307" ns0:y="307" ns0:x="1304">
<NodeTemplate xmlns:dch_nodetypes="http://dch.uni-koeln.de/tosca/nodetypes" name="CouchDBMS_1.6.1-w1-wip1" minInstances="1" maxInstances="1" type="dch_nodetypes:CouchDBMS_1.6.1-w1-wip1" id="CouchDBMS_1.6.1-w1-wip1" winery:x="1304" winery:y="307">
<Properties>
<Properties xmlns="http://www.example.org">
<DBMSUser>admin</DBMSUser>
......@@ -61,7 +61,7 @@
</Properties>
</Properties>
</NodeTemplate>
<NodeTemplate xmlns:dch_nodetypes="http://dch.uni-koeln.de/tosca/nodetypes" xmlns:ns0="http://www.opentosca.org/winery/winery/extensions/tosca/2013/02/12" name="CouchDB_1.6.1-w1-wip1" minInstances="1" maxInstances="1" type="dch_nodetypes:CouchDB_1.6.1-w1-wip1" id="CouchDB_1.6.1-w1-wip1" winery:x="1304" winery:y="135" ns0:y="135" ns0:x="1304">
<NodeTemplate xmlns:dch_nodetypes="http://dch.uni-koeln.de/tosca/nodetypes" name="CouchDB_1.6.1-w1-wip1" minInstances="1" maxInstances="1" type="dch_nodetypes:CouchDB_1.6.1-w1-wip1" id="CouchDB_1.6.1-w1-wip1" winery:x="1304" winery:y="135">
<Properties>
<Properties xmlns="http://www.example.org">
<DBUser>user</DBUser>
......@@ -69,17 +69,20 @@
<DBName>musical_competitions</DBName>
</Properties>
</Properties>
<DeploymentArtifacts>
<DeploymentArtifact xmlns:dch_artifacttypes="http://dch.uni-koeln.de/tosca/artifacttypes" xmlns:dch_artifacttemplates="http://dch.uni-koeln.de/tosca/artifacttemplates" name="CouchDB" artifactType="dch_artifacttypes:DataArtifact" artifactRef="dch_artifacttemplates:MusicalCompetitionsDatabase-DA-CouchDB_0.0.1-w1-wip1"/>
</DeploymentArtifacts>
</NodeTemplate>
<NodeTemplate xmlns:dch_nodetypes="http://dch.uni-koeln.de/tosca/nodetypes" xmlns:ns0="http://www.opentosca.org/winery/winery/extensions/tosca/2013/02/12" name="OpenJDK-JRE_8u212-w1-wip1" minInstances="1" maxInstances="1" type="dch_nodetypes:OpenJDK-JRE_8u212-w1-wip1" id="OpenJDK-JRE_8u212-w1-wip1" winery:x="370" winery:y="307" ns0:y="307" ns0:x="370"/>
<NodeTemplate xmlns:dch_nodetypes="http://dch.uni-koeln.de/tosca/nodetypes" xmlns:ns0="http://www.opentosca.org/winery/winery/extensions/tosca/2013/02/12" name="Elasticsearch_1.7.6-w1-wip1" minInstances="1" maxInstances="1" type="dch_nodetypes:Elasticsearch_1.7.6-w1-wip1" id="Elasticsearch_1.7.6-w1-wip1" winery:x="564" winery:y="135" ns0:y="135" ns0:x="564">
<NodeTemplate xmlns:dch_nodetypes="http://dch.uni-koeln.de/tosca/nodetypes" name="OpenJDK-JRE_8u212-w1-wip1" minInstances="1" maxInstances="1" type="dch_nodetypes:OpenJDK-JRE_8u212-w1-wip1" id="OpenJDK-JRE_8u212-w1-wip1" winery:x="370" winery:y="307"/>
<NodeTemplate xmlns:dch_nodetypes="http://dch.uni-koeln.de/tosca/nodetypes" name="Elasticsearch_1.7.6-w1-wip1" minInstances="1" maxInstances="1" type="dch_nodetypes:Elasticsearch_1.7.6-w1-wip1" id="Elasticsearch_1.7.6-w1-wip1" winery:x="564" winery:y="135">
<Properties>
<Properties xmlns="http://www.example.org">
<APIPort>9200</APIPort>
</Properties>
</Properties>
</NodeTemplate>
<NodeTemplate xmlns:dch_nodetypes="http://dch.uni-koeln.de/tosca/nodetypes" xmlns:ns0="http://www.opentosca.org/winery/winery/extensions/tosca/2013/02/12" name="Nginx_1.14.0-w1-wip1" minInstances="1" maxInstances="1" type="dch_nodetypes:Nginx_1.14.0-w1-wip1" id="Nginx_1.14.0-w1-wip1" winery:x="915" winery:y="307" ns0:y="307" ns0:x="915"/>
<NodeTemplate xmlns:dch_nodetypes="http://dch.uni-koeln.de/tosca/nodetypes" xmlns:ns0="http://www.opentosca.org/winery/winery/extensions/tosca/2013/02/12" name="MusicalCompetitionsApp_0.0.1-w1-wip1" minInstances="1" maxInstances="1" type="dch_nodetypes:MusicalCompetitionsApp_0.0.1-w1-wip1" id="MusicalCompetitionsApp_0.0.1-w1-wip1" winery:x="915" winery:y="135" ns0:y="135" ns0:x="915"/>
<NodeTemplate xmlns:dch_nodetypes="http://dch.uni-koeln.de/tosca/nodetypes" name="Nginx_1.14.0-w1-wip1" minInstances="1" maxInstances="1" type="dch_nodetypes:Nginx_1.14.0-w1-wip1" id="Nginx_1.14.0-w1-wip1" winery:x="915" winery:y="307"/>
<NodeTemplate xmlns:dch_nodetypes="http://dch.uni-koeln.de/tosca/nodetypes" name="MusicalCompetitionsApp_0.0.1-w1-wip1" minInstances="1" maxInstances="1" type="dch_nodetypes:MusicalCompetitionsApp_0.0.1-w1-wip1" id="MusicalCompetitionsApp_0.0.1-w1-wip1" winery:x="915" winery:y="135"/>
<RelationshipTemplate xmlns:ToscaBaseTypes="http://docs.oasis-open.org/tosca/ns/2011/12/ToscaBaseTypes" name="DependsOn" type="ToscaBaseTypes:DependsOn" id="con_DependsOn_0">
<SourceElement ref="Elasticsearch_1.7.6-w1-wip1"/>
<TargetElement ref="OpenJDK-JRE_8u212-w1-wip1"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment