1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2 <tosca:Definitions xmlns:tosca="http://docs.oasis-open.org/tosca/ns/2011/12" xmlns:winery="http://www.opentosca.org/winery/extensions/tosca/2013/02/12" xmlns:ns2="http://www.eclipse.org/winery/model/selfservice" id="winery-defs-for_ns26-TrustedCloudPresentation" targetNamespace="http://www.opentosca.org">
3 <tosca:NodeType name="ApacheWebserver" targetNamespace="http://www.opentosca.org/types/nodetypes" winery:bordercolor="#3625c9">
5 <tosca:Interface name="ApplicationManagement">
6 <tosca:Operation name="DeployApplication">
7 <tosca:InputParameters>
8 <tosca:InputParameter name="DeploymentArtifactRef" type="string" required="no"/>
9 </tosca:InputParameters>
10 <tosca:OutputParameters>
11 <tosca:OutputParameter name="ApplicationURL" type="string" required="no"/>
12 <tosca:OutputParameter name="ApplicationID" type="string" required="no"/>
13 </tosca:OutputParameters>
15 <tosca:Operation name="UndeployApplication">
16 <tosca:InputParameters>
17 <tosca:InputParameter name="ApplicationID" type="string" required="no"/>
18 </tosca:InputParameters>
23 <tosca:ServiceTemplate id="TrustedCloudPresentation" name="TrustedCloudPresentation" targetNamespace="http://www.opentosca.org">
24 <tosca:TopologyTemplate>
25 <tosca:NodeTemplate xmlns:ns16="http://www.opentosca.org/types/nodetypes" name="ApacheWebserver" id="ApacheWebserver" type="ns16:ApacheWebserver" winery:x="296" winery:y="391">
27 </tosca:TopologyTemplate>
28 </tosca:ServiceTemplate>
29 <!-- The artifact type is NOT imported in the Service Template. Some parsers might reject this TOSCA file -->
30 <tosca:ArtifactTemplate targetNamespace="http://www.example.com/ArtifactTemplates" xmlns:ns8="http://example.com/ArtifactTypes" name="ArtifactTemplate" id="ArtifactTemplate" type="ns8:AT1">
31 <tosca:ArtifactReferences>
32 <tosca:ArtifactReference reference="http://www.example.com/artifacttemplates/http%253A%252F%252Fwww.example.com%252FArtifactTemplates/ArtifactTemplate/files/test.pdf"/>
33 </tosca:ArtifactReferences>
34 </tosca:ArtifactTemplate>