Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
SustainLife
tosca-definitions-dch
Commits
8b144f9b
Commit
8b144f9b
authored
Nov 06, 2020
by
Philip Schildkamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate (duplicate) Docker types
parent
caec5c57
Changes
106
Hide whitespace changes
Inline
Side-by-side
Showing
75 changed files
with
480 additions
and
1211 deletions
+480
-1211
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerContainer-IA-Manage/ArtifactTemplate.tosca
...emplates/DockerContainer-IA-Manage/ArtifactTemplate.tosca
+15
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerContainer-IA-Manage/ArtifactTemplate.tosca.mimetype
...DockerContainer-IA-Manage/ArtifactTemplate.tosca.mimetype
+0
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerContainer-IA-Manage/files/DockerContainer_IA_Manage.war
...erContainer-IA-Manage/files/DockerContainer_IA_Manage.war
+0
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerContainer-IA-Manage/files/DockerContainer_IA_Manage.war.mimetype
...er-IA-Manage/files/DockerContainer_IA_Manage.war.mimetype
+0
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerContainer-IA-Manage/source/.classpath
...facttemplates/DockerContainer-IA-Manage/source/.classpath
+27
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerContainer-IA-Manage/source/.gitignore
...facttemplates/DockerContainer-IA-Manage/source/.gitignore
+1
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerContainer-IA-Manage/source/.project
...tifacttemplates/DockerContainer-IA-Manage/source/.project
+23
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerContainer-IA-Manage/source/pom.xml
...rtifacttemplates/DockerContainer-IA-Manage/source/pom.xml
+7
-7
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerContainer-IA-Manage/source/src/main/java/AbstractIAService.java
...ner-IA-Manage/source/src/main/java/AbstractIAService.java
+0
-2
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerContainer-IA-Manage/source/src/main/java/DockerContainer_IA_Manage.java
...anage/source/src/main/java/DockerContainer_IA_Manage.java
+1
-3
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerContainer-IA-Manage/source/src/main/webapp/WEB-INF/beans.xml
...tainer-IA-Manage/source/src/main/webapp/WEB-INF/beans.xml
+3
-3
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerContainer-IA-Manage/source/src/main/webapp/WEB-INF/web.xml
...ontainer-IA-Manage/source/src/main/webapp/WEB-INF/web.xml
+1
-1
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerContainer-IA-Manage/source/src/main/webapp/wsdl/DockerContainer_IA_Manage.wsdl
...ource/src/main/webapp/wsdl/DockerContainer_IA_Manage.wsdl
+70
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Configure/ArtifactTemplate.tosca
...emplates/DockerEngine-IA-Configure/ArtifactTemplate.tosca
+15
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Configure/ArtifactTemplate.tosca.mimetype
...DockerEngine-IA-Configure/ArtifactTemplate.tosca.mimetype
+0
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Configure/files/DockerEngine_IA_Configure.war
...erEngine-IA-Configure/files/DockerEngine_IA_Configure.war
+0
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Configure/files/DockerEngine_IA_Configure.war.mimetype
...IA-Configure/files/DockerEngine_IA_Configure.war.mimetype
+0
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Configure/source/.classpath
...facttemplates/DockerEngine-IA-Configure/source/.classpath
+27
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Configure/source/.gitignore
...facttemplates/DockerEngine-IA-Configure/source/.gitignore
+1
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Configure/source/.project
...tifacttemplates/DockerEngine-IA-Configure/source/.project
+23
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Configure/source/pom.xml
...rtifacttemplates/DockerEngine-IA-Configure/source/pom.xml
+7
-7
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Configure/source/src/main/java/AbstractIAService.java
...-IA-Configure/source/src/main/java/AbstractIAService.java
+8
-9
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Configure/source/src/main/java/DockerEngine_IA_Configure.java
...igure/source/src/main/java/DockerEngine_IA_Configure.java
+1
-3
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Configure/source/src/main/webapp/WEB-INF/beans.xml
...ine-IA-Configure/source/src/main/webapp/WEB-INF/beans.xml
+3
-3
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Configure/source/src/main/webapp/WEB-INF/web.xml
...ngine-IA-Configure/source/src/main/webapp/WEB-INF/web.xml
+1
-1
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Configure/source/src/main/webapp/wsdl/DockerEngine_IA_Configure.wsdl
...ource/src/main/webapp/wsdl/DockerEngine_IA_Configure.wsdl
+41
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Install/ArtifactTemplate.tosca
...ttemplates/DockerEngine-IA-Install/ArtifactTemplate.tosca
+2
-2
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Install/ArtifactTemplate.tosca.mimetype
...s/DockerEngine-IA-Install/ArtifactTemplate.tosca.mimetype
+0
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Install/files/install.sh
...rtifacttemplates/DockerEngine-IA-Install/files/install.sh
+0
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Install/files/install.sh.mimetype
...mplates/DockerEngine-IA-Install/files/install.sh.mimetype
+0
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Install/source/install.sh
...tifacttemplates/DockerEngine-IA-Install/source/install.sh
+0
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Manage/ArtifactTemplate.tosca
...cttemplates/DockerEngine-IA-Manage/ArtifactTemplate.tosca
+15
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Manage/ArtifactTemplate.tosca.mimetype
...es/DockerEngine-IA-Manage/ArtifactTemplate.tosca.mimetype
+0
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Manage/files/DockerEngine_IA_Manage.war
...s/DockerEngine-IA-Manage/files/DockerEngine_IA_Manage.war
+0
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Manage/files/DockerEngine_IA_Manage.war.mimetype
...ngine-IA-Manage/files/DockerEngine_IA_Manage.war.mimetype
+0
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Manage/source/.classpath
...rtifacttemplates/DockerEngine-IA-Manage/source/.classpath
+27
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Manage/source/.gitignore
...rtifacttemplates/DockerEngine-IA-Manage/source/.gitignore
+1
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Manage/source/.project
...Fartifacttemplates/DockerEngine-IA-Manage/source/.project
+23
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Manage/source/pom.xml
...2Fartifacttemplates/DockerEngine-IA-Manage/source/pom.xml
+7
-7
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Manage/source/src/main/java/AbstractIAService.java
...ine-IA-Manage/source/src/main/java/AbstractIAService.java
+0
-3
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Manage/source/src/main/java/DockerEngine_IA_Manage.java
...A-Manage/source/src/main/java/DockerEngine_IA_Manage.java
+1
-6
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Manage/source/src/main/java/SSHRemoteCommandExec.java
...-IA-Manage/source/src/main/java/SSHRemoteCommandExec.java
+10
-11
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Manage/source/src/main/java/SSHRemoteFileTransfer.java
...IA-Manage/source/src/main/java/SSHRemoteFileTransfer.java
+10
-10
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Manage/source/src/main/java/SSHSessionFactory.java
...ine-IA-Manage/source/src/main/java/SSHSessionFactory.java
+22
-22
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Manage/source/src/main/resources/docker-ssh.tar.gz
...ine-IA-Manage/source/src/main/resources/docker-ssh.tar.gz
+0
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Manage/source/src/main/webapp/WEB-INF/beans.xml
...Engine-IA-Manage/source/src/main/webapp/WEB-INF/beans.xml
+3
-3
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Manage/source/src/main/webapp/WEB-INF/web.xml
...erEngine-IA-Manage/source/src/main/webapp/WEB-INF/web.xml
+1
-1
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Manage/source/src/main/webapp/wsdl/DockerEngine_IA_Manage.wsdl
...e/source/src/main/webapp/wsdl/DockerEngine_IA_Manage.wsdl
+73
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Uninstall/ArtifactTemplate.tosca
...emplates/DockerEngine-IA-Uninstall/ArtifactTemplate.tosca
+2
-2
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Uninstall/ArtifactTemplate.tosca.mimetype
...DockerEngine-IA-Uninstall/ArtifactTemplate.tosca.mimetype
+0
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Uninstall/files/uninstall.sh
...acttemplates/DockerEngine-IA-Uninstall/files/uninstall.sh
+0
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Uninstall/files/uninstall.sh.mimetype
...tes/DockerEngine-IA-Uninstall/files/uninstall.sh.mimetype
+0
-0
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Uninstall/source/uninstall.sh
...cttemplates/DockerEngine-IA-Uninstall/source/uninstall.sh
+0
-0
workspace/artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerContainer-IA-Manage/LICENSE
...org%2Fartifacttemplates/DockerContainer-IA-Manage/LICENSE
+0
-202
workspace/artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerContainer-IA-Manage/LICENSE.mimetype
...ifacttemplates/DockerContainer-IA-Manage/LICENSE.mimetype
+0
-1
workspace/artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerContainer-IA-Manage/README.md
...g%2Fartifacttemplates/DockerContainer-IA-Manage/README.md
+0
-17
workspace/artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerContainer-IA-Manage/README.md.mimetype
...acttemplates/DockerContainer-IA-Manage/README.md.mimetype
+0
-1
workspace/artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerEngine-IA-Configure/LICENSE
...org%2Fartifacttemplates/DockerEngine-IA-Configure/LICENSE
+0
-202
workspace/artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerEngine-IA-Configure/LICENSE.mimetype
...ifacttemplates/DockerEngine-IA-Configure/LICENSE.mimetype
+0
-1
workspace/artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerEngine-IA-Configure/README.md
...g%2Fartifacttemplates/DockerEngine-IA-Configure/README.md
+0
-17
workspace/artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerEngine-IA-Configure/README.md.mimetype
...acttemplates/DockerEngine-IA-Configure/README.md.mimetype
+0
-1
workspace/artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerEngine-IA-Install/LICENSE
...a.org%2Fartifacttemplates/DockerEngine-IA-Install/LICENSE
+0
-202
workspace/artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerEngine-IA-Install/LICENSE.mimetype
...rtifacttemplates/DockerEngine-IA-Install/LICENSE.mimetype
+0
-1
workspace/artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerEngine-IA-Install/README.md
...org%2Fartifacttemplates/DockerEngine-IA-Install/README.md
+0
-17
workspace/artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerEngine-IA-Install/README.md.mimetype
...ifacttemplates/DockerEngine-IA-Install/README.md.mimetype
+0
-1
workspace/artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerEngine-IA-Manage/LICENSE
...ca.org%2Fartifacttemplates/DockerEngine-IA-Manage/LICENSE
+0
-202
workspace/artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerEngine-IA-Manage/LICENSE.mimetype
...artifacttemplates/DockerEngine-IA-Manage/LICENSE.mimetype
+0
-1
workspace/artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerEngine-IA-Manage/README.md
....org%2Fartifacttemplates/DockerEngine-IA-Manage/README.md
+0
-17
workspace/artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerEngine-IA-Manage/README.md.mimetype
...tifacttemplates/DockerEngine-IA-Manage/README.md.mimetype
+0
-1
workspace/artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerEngine-IA-Uninstall/LICENSE
...org%2Fartifacttemplates/DockerEngine-IA-Uninstall/LICENSE
+0
-202
workspace/artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerEngine-IA-Uninstall/LICENSE.mimetype
...ifacttemplates/DockerEngine-IA-Uninstall/LICENSE.mimetype
+0
-1
workspace/artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerEngine-IA-Uninstall/README.md
...g%2Fartifacttemplates/DockerEngine-IA-Uninstall/README.md
+0
-17
workspace/artifacttemplates/http%3A%2F%2Fopentosca.org%2Fartifacttemplates/DockerEngine-IA-Uninstall/README.md.mimetype
...acttemplates/DockerEngine-IA-Uninstall/README.md.mimetype
+0
-1
workspace/nodetypeimplementations/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fnodetypeimplementations/DockerContainer-Impl/NodeTypeImplementation.tosca
...tations/DockerContainer-Impl/NodeTypeImplementation.tosca
+8
-0
workspace/nodetypeimplementations/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fnodetypeimplementations/DockerContainer-Impl/NodeTypeImplementation.tosca.mimetype
...ockerContainer-Impl/NodeTypeImplementation.tosca.mimetype
+0
-0
No files found.
workspace/artifacttemplates/http%3A%2F%2F
open
tosca
.org
%2Fartifacttemplates/Docker
Eng
ine-IA-Manage/ArtifactTemplate.tosca
→
workspace/artifacttemplates/http%3A%2F%2F
dch.uni-koeln.de%2F
tosca%2Fartifacttemplates/Docker
Conta
ine
r
-IA-Manage/ArtifactTemplate.tosca
View file @
8b144f9b
<?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"
targetNamespace=
"http://
open
tosca
.org
/artifacttemplates"
id=
"winery-defs-for_artifacttemplates-Docker
Eng
ine-IA-Manage"
>
<ArtifactTemplate
xmlns:artifacttypes=
"http://
open
tosca
.org
/artifacttypes"
name=
"Docker
Eng
ine-IA-Manage"
type=
"artifacttypes:WAR"
id=
"Docker
Eng
ine-IA-Manage"
>
<Definitions
xmlns=
"http://docs.oasis-open.org/tosca/ns/2011/12"
xmlns:winery=
"http://www.opentosca.org/winery/extensions/tosca/2013/02/12"
targetNamespace=
"http://
dch.uni-koeln.de/
tosca/artifacttemplates"
id=
"winery-defs-for_
dch_
artifacttemplates-Docker
Conta
ine
r
-IA-Manage"
>
<ArtifactTemplate
xmlns:artifacttypes=
"http://
dch.uni-koeln.de/
tosca/artifacttypes"
name=
"Docker
Conta
ine
r
-IA-Manage"
type=
"artifacttypes:WAR"
id=
"Docker
Conta
ine
r
-IA-Manage"
>
<Properties>
<WSProperties
xmlns=
"http://www.uni-stuttgart.de/opentosca"
>
<ServiceEndpoint>
/services/
org_opentosca_nodetypes_
Docker
Eng
ine_IA_ManagePort
</ServiceEndpoint>
<PortType>
{http://
opentosca.org/nodetypes}org_open
tosca
_
nodetypes
_
Docker
Eng
ine_IA_Manage
</PortType>
<ServiceEndpoint>
/services/Docker
Conta
ine
r
_IA_ManagePort
</ServiceEndpoint>
<PortType>
{http://
dch.uni-koeln.de/
tosca
/
nodetypes
}
Docker
Conta
ine
r
_IA_Manage
</PortType>
<InvocationType>
SOAP/HTTP
</InvocationType>
</WSProperties>
</Properties>
<ArtifactReferences>
<ArtifactReference
reference=
"artifacttemplates/http%
25
3A%
25
2F%2
52Fopentosca.org%25
2Fartifacttemplates/Docker
Eng
ine-IA-Manage/files/
org_opentosca_nodetypes_
Docker
Eng
ine_IA_Manage.war"
/>
<ArtifactReference
reference=
"artifacttemplates/http%3A%2F%2
Fdch.uni-koeln.de%2Ftosca%
2Fartifacttemplates/Docker
Conta
ine
r
-IA-Manage/files/Docker
Conta
ine
r
_IA_Manage.war"
/>
</ArtifactReferences>
</ArtifactTemplate>
</Definitions>
workspace/artifacttemplates/http%3A%2F%2F
open
tosca
.org
%2Fartifacttemplates/DockerContainer-IA-Manage/ArtifactTemplate.tosca.mimetype
→
workspace/artifacttemplates/http%3A%2F%2F
dch.uni-koeln.de%2F
tosca%2Fartifacttemplates/DockerContainer-IA-Manage/ArtifactTemplate.tosca.mimetype
View file @
8b144f9b
File moved
workspace/artifacttemplates/http%3A%2F%2F
open
tosca
.org
%2Fartifacttemplates/DockerContainer-IA-Manage/files/
org_opentosca_nodetypes_
DockerContainer_IA_Manage.war
→
workspace/artifacttemplates/http%3A%2F%2F
dch.uni-koeln.de%2F
tosca%2Fartifacttemplates/DockerContainer-IA-Manage/files/DockerContainer_IA_Manage.war
View file @
8b144f9b
No preview for this file type
workspace/artifacttemplates/http%3A%2F%2F
open
tosca
.org
%2Fartifacttemplates/DockerContainer-IA-Manage/files/
org_opentosca_nodetypes_
DockerContainer_IA_Manage.war.mimetype
→
workspace/artifacttemplates/http%3A%2F%2F
dch.uni-koeln.de%2F
tosca%2Fartifacttemplates/DockerContainer-IA-Manage/files/DockerContainer_IA_Manage.war.mimetype
View file @
8b144f9b
File moved
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerContainer-IA-Manage/source/.classpath
0 → 100644
View file @
8b144f9b
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry
kind=
"src"
output=
"target/classes"
path=
"src/main/java"
>
<attributes>
<attribute
name=
"optional"
value=
"true"
/>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"src"
output=
"target/test-classes"
path=
"src/test/java"
>
<attributes>
<attribute
name=
"optional"
value=
"true"
/>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
<attribute
name=
"test"
value=
"true"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"
>
<attributes>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"con"
path=
"org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"
>
<attributes>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"output"
path=
"target/classes"
/>
</classpath>
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerContainer-IA-Manage/source/.gitignore
0 → 100644
View file @
8b144f9b
/target/
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerContainer-IA-Manage/source/.project
0 → 100644
View file @
8b144f9b
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>
DockerContainer_IA_Manage
</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>
org.eclipse.jdt.core.javabuilder
</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>
org.eclipse.m2e.core.maven2Builder
</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>
org.eclipse.jdt.core.javanature
</nature>
<nature>
org.eclipse.m2e.core.maven2Nature
</nature>
</natures>
</projectDescription>
workspace/artifacttemplates/http%3A%2F%2F
open
tosca
.org
%2Fartifacttemplates/DockerContainer-IA-Manage/source/pom.xml
→
workspace/artifacttemplates/http%3A%2F%2F
dch.uni-koeln.de%2F
tosca%2Fartifacttemplates/DockerContainer-IA-Manage/source/pom.xml
View file @
8b144f9b
...
...
@@ -2,11 +2,11 @@
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
org.opentosca.nodetyp
es
</groupId>
<artifactId>
org_opentosca_nodetypes_
DockerContainer_IA_Manage
</artifactId>
<groupId>
artifacttemplat
es
</groupId>
<artifactId>
DockerContainer_IA_Manage
</artifactId>
<packaging>
war
</packaging>
<version>
1.0-SNAPSHOT
</version>
<name>
Implementation Artifact
org_opentosca_nodetypes_
DockerContainer_IA_Manage
</name>
<name>
Implementation Artifact DockerContainer_IA_Manage
</name>
<repositories>
<repository>
...
...
@@ -29,7 +29,7 @@
<properties>
<run.HttpPort>
9090
</run.HttpPort>
<winery.upload.url>
http://localhost:8080/winery/artifacttemplates/http%
25
3A%
25
2F%2
52Fopentosca.org%25
2Fnodetypes/DockerContainer_IA_Manage/files/
</winery.upload.url>
<winery.upload.url>
http://localhost:8080/winery/artifacttemplates/http%3A%2F%2
Fdch.uni-koeln.de%2Ftosca%
2Fnodetypes/DockerContainer_IA_Manage/files/
</winery.upload.url>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<cxf.version>
2.7.6
</cxf.version>
<highlevelrestapi.version>
0.1.6
</highlevelrestapi.version>
...
...
@@ -112,7 +112,7 @@
</dependency>
</dependencies>
<build>
<finalName>
org_opentosca_nodetypes_
DockerContainer_IA_Manage
</finalName>
<finalName>
DockerContainer_IA_Manage
</finalName>
<plugins>
<plugin>
<artifactId>
maven-compiler-plugin
</artifactId>
...
...
@@ -154,8 +154,8 @@
<id>
process-classes
</id>
<phase>
process-classes
</phase>
<configuration>
<className>
org.opentosca.nodetypes.org_opentosca_nodetypes_
DockerContainer_IA_Manage
</className>
<outputFile>
${basedir}/src/main/webapp/wsdl/
org_opentosca_nodetypes_
DockerContainer_IA_Manage.wsdl
</outputFile>
<className>
DockerContainer_IA_Manage
</className>
<outputFile>
${basedir}/src/main/webapp/wsdl/DockerContainer_IA_Manage.wsdl
</outputFile>
<genWsdl>
true
</genWsdl>
<verbose>
true
</verbose>
</configuration>
...
...
workspace/artifacttemplates/http%3A%2F%2F
open
tosca
.org
%2Fartifacttemplates/Docker
Eng
ine-IA-Manage/source/src/main/java/
org/opentosca/nodetypes/
AbstractIAService.java
→
workspace/artifacttemplates/http%3A%2F%2F
dch.uni-koeln.de%2F
tosca%2Fartifacttemplates/Docker
Conta
ine
r
-IA-Manage/source/src/main/java/AbstractIAService.java
View file @
8b144f9b
package
org.opentosca.nodetypes
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map.Entry
;
...
...
workspace/artifacttemplates/http%3A%2F%2F
open
tosca
.org
%2Fartifacttemplates/DockerContainer-IA-Manage/source/src/main/java/
org/opentosca/nodetypes/org_opentosca_nodetypes_
DockerContainer_IA_Manage.java
→
workspace/artifacttemplates/http%3A%2F%2F
dch.uni-koeln.de%2F
tosca%2Fartifacttemplates/DockerContainer-IA-Manage/source/src/main/java/DockerContainer_IA_Manage.java
View file @
8b144f9b
package
org.opentosca.nodetypes
;
import
java.io.ByteArrayInputStream
;
import
java.io.ByteArrayOutputStream
;
import
java.io.File
;
...
...
@@ -22,7 +20,7 @@ import com.jcabi.ssh.Shell;
import
com.jcabi.ssh.SshByPassword
;
@WebService
public
class
org_opentosca_nodetypes_
DockerContainer_IA_Manage
extends
AbstractIAService
{
public
class
DockerContainer_IA_Manage
extends
AbstractIAService
{
public
static
final
String
MSG_FAILED
=
"FAILED"
;
public
static
final
String
TESTMODE
=
"TESTMODE"
;
...
...
workspace/artifacttemplates/http%3A%2F%2F
open
tosca
.org
%2Fartifacttemplates/Docker
Eng
ine-IA-Manage/source/src/main/webapp/WEB-INF/beans.xml
→
workspace/artifacttemplates/http%3A%2F%2F
dch.uni-koeln.de%2F
tosca%2Fartifacttemplates/Docker
Conta
ine
r
-IA-Manage/source/src/main/webapp/WEB-INF/beans.xml
View file @
8b144f9b
...
...
@@ -6,9 +6,9 @@
<import
resource=
"classpath:META-INF/cxf/cxf-extension-soap.xml"
/>
<import
resource=
"classpath:META-INF/cxf/cxf-servlet.xml"
/>
<jaxws:endpoint
xmlns:tns=
"http://nodetypes.opentosca.org/"
id=
"
org_opentosca_nodetypes_
Docker
Eng
ine_IA_Manage"
implementor=
"
org.opentosca.nodetypes.org_opentosca_nodetypes_DockerEngine
_IA_Manage"
wsdlLocation=
"wsdl/
org_opentosca_nodetypes_
Docker
Eng
ine_IA_Manage.wsdl"
endpointName=
"tns:
org_opentosca_nodetypes_
Docker
Eng
ine_IA_ManagePort"
serviceName=
"tns:
org_opentosca_nodetypes_
Docker
Eng
ine_IA_ManageService"
address=
"/
org_opentosca_nodetypes_
Docker
Eng
ine_IA_ManagePort"
>
id=
"Docker
Conta
ine
r
_IA_Manage"
implementor=
"
DockerContainer
_IA_Manage"
wsdlLocation=
"wsdl/Docker
Conta
ine
r
_IA_Manage.wsdl"
endpointName=
"tns:Docker
Conta
ine
r
_IA_ManagePort"
serviceName=
"tns:Docker
Conta
ine
r
_IA_ManageService"
address=
"/Docker
Conta
ine
r
_IA_ManagePort"
>
<jaxws:features>
<bean
class=
"org.apache.cxf.feature.LoggingFeature"
/>
</jaxws:features>
...
...
workspace/artifacttemplates/http%3A%2F%2F
open
tosca
.org
%2Fartifacttemplates/Docker
Eng
ine-IA-Manage/source/src/main/webapp/WEB-INF/web.xml
→
workspace/artifacttemplates/http%3A%2F%2F
dch.uni-koeln.de%2F
tosca%2Fartifacttemplates/Docker
Conta
ine
r
-IA-Manage/source/src/main/webapp/WEB-INF/web.xml
View file @
8b144f9b
<?xml version="1.0" encoding="UTF-8"?>
<web-app
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns=
"http://java.sun.com/xml/ns/javaee"
xmlns:web=
"http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation=
"http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version=
"3.0"
>
<display-name>
org_opentosca_nodetypes_
Docker
Eng
ine_IA_Manage
</display-name>
<display-name>
Docker
Conta
ine
r
_IA_Manage
</display-name>
<welcome-file-list>
<welcome-file>
index.html
</welcome-file>
<welcome-file>
index.htm
</welcome-file>
...
...
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerContainer-IA-Manage/source/src/main/webapp/wsdl/DockerContainer_IA_Manage.wsdl
0 → 100644
View file @
8b144f9b
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
name=
"DockerContainer_IA_ManageService"
targetNamespace=
"http://unknown.namespace/"
xmlns:wsdl=
"http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:tns=
"http://unknown.namespace/"
xmlns:soap=
"http://schemas.xmlsoap.org/wsdl/soap/"
>
<wsdl:types>
<xs:schema
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
xmlns:ns1=
"http://nodetypes.opentosca.org/"
xmlns:tns=
"http://unknown.namespace/"
elementFormDefault=
"unqualified"
targetNamespace=
"http://unknown.namespace/"
version=
"1.0"
>
<xs:import
namespace=
"http://nodetypes.opentosca.org/"
/>
<xs:element
name=
"runScript"
type=
"tns:runScript"
/>
<xs:element
name=
"transferFile"
type=
"tns:transferFile"
/>
<xs:complexType
name=
"runScript"
>
<xs:sequence>
<xs:element
minOccurs=
"0"
ref=
"ns1:ContainerIP"
/>
<xs:element
minOccurs=
"0"
ref=
"ns1:SSHPort"
/>
<xs:element
minOccurs=
"0"
ref=
"ns1:Script"
/>
</xs:sequence>
</xs:complexType>
<xs:complexType
name=
"transferFile"
>
<xs:sequence>
<xs:element
minOccurs=
"0"
ref=
"ns1:ContainerIP"
/>
<xs:element
minOccurs=
"0"
ref=
"ns1:SSHPort"
/>
<xs:element
minOccurs=
"0"
ref=
"ns1:SourceURLorLocalPath"
/>
<xs:element
minOccurs=
"0"
ref=
"ns1:TargetAbsolutePath"
/>
</xs:sequence>
</xs:complexType>
</xs:schema>
<xs:schema
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
targetNamespace=
"http://nodetypes.opentosca.org/"
version=
"1.0"
>
<xs:element
name=
"ContainerIP"
type=
"xs:string"
/>
<xs:element
name=
"SSHPort"
type=
"xs:string"
/>
<xs:element
name=
"Script"
type=
"xs:string"
/>
<xs:element
name=
"SourceURLorLocalPath"
type=
"xs:string"
/>
<xs:element
name=
"TargetAbsolutePath"
type=
"xs:string"
/>
</xs:schema>
</wsdl:types>
<wsdl:message
name=
"runScript"
>
<wsdl:part
name=
"parameters"
element=
"tns:runScript"
>
</wsdl:part>
</wsdl:message>
<wsdl:message
name=
"transferFile"
>
<wsdl:part
name=
"parameters"
element=
"tns:transferFile"
>
</wsdl:part>
</wsdl:message>
<wsdl:portType
name=
"DockerContainer_IA_Manage"
>
<wsdl:operation
name=
"runScript"
>
<wsdl:input
name=
"runScript"
message=
"tns:runScript"
>
</wsdl:input>
</wsdl:operation>
<wsdl:operation
name=
"transferFile"
>
<wsdl:input
name=
"transferFile"
message=
"tns:transferFile"
>
</wsdl:input>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding
name=
"DockerContainer_IA_ManageServiceSoapBinding"
type=
"tns:DockerContainer_IA_Manage"
>
<soap:binding
style=
"document"
transport=
"http://schemas.xmlsoap.org/soap/http"
/>
<wsdl:operation
name=
"runScript"
>
<soap:operation
soapAction=
""
style=
"document"
/>
<wsdl:input
name=
"runScript"
>
<soap:body
use=
"literal"
/>
</wsdl:input>
</wsdl:operation>
<wsdl:operation
name=
"transferFile"
>
<soap:operation
soapAction=
""
style=
"document"
/>
<wsdl:input
name=
"transferFile"
>
<soap:body
use=
"literal"
/>
</wsdl:input>
</wsdl:operation>
</wsdl:binding>
<wsdl:service
name=
"DockerContainer_IA_ManageService"
>
<wsdl:port
name=
"DockerContainer_IA_ManagePort"
binding=
"tns:DockerContainer_IA_ManageServiceSoapBinding"
>
<soap:address
location=
"http://localhost:9090/DockerContainer_IA_ManagePort"
/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
workspace/artifacttemplates/http%3A%2F%2F
open
tosca
.org
%2Fartifacttemplates/Docker
Conta
ine
r
-IA-
Manag
e/ArtifactTemplate.tosca
→
workspace/artifacttemplates/http%3A%2F%2F
dch.uni-koeln.de%2F
tosca%2Fartifacttemplates/Docker
Eng
ine-IA-
Configur
e/ArtifactTemplate.tosca
View file @
8b144f9b
<?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"
targetNamespace=
"http://
open
tosca
.org
/artifacttemplates"
id=
"winery-defs-for_artifacttemplates-Docker
Conta
ine
r
-IA-
Manag
e"
>
<ArtifactTemplate
xmlns:artifacttypes=
"http://
open
tosca
.org
/artifacttypes"
name=
"Docker
Conta
ine
r
-IA-
Manag
e"
type=
"artifacttypes:WAR"
id=
"Docker
Conta
ine
r
-IA-
Manag
e"
>
<Definitions
xmlns=
"http://docs.oasis-open.org/tosca/ns/2011/12"
xmlns:winery=
"http://www.opentosca.org/winery/extensions/tosca/2013/02/12"
targetNamespace=
"http://
dch.uni-koeln.de/
tosca/artifacttemplates"
id=
"winery-defs-for_
dch_
artifacttemplates-Docker
Eng
ine-IA-
Configur
e"
>
<ArtifactTemplate
xmlns:artifacttypes=
"http://
dch.uni-koeln.de/
tosca/artifacttypes"
name=
"Docker
Eng
ine-IA-
Configur
e"
type=
"artifacttypes:WAR"
id=
"Docker
Eng
ine-IA-
Configur
e"
>
<Properties>
<WSProperties
xmlns=
"http://www.uni-stuttgart.de/opentosca"
>
<ServiceEndpoint>
/services/
org_opentosca_nodetypes_
Docker
Conta
ine
r
_IA_
Manag
ePort
</ServiceEndpoint>
<PortType>
{http://
opentosca.org/nodetypes}org_open
tosca
_
nodetypes
_
Docker
Conta
ine
r
_IA_
Manag
e
</PortType>
<ServiceEndpoint>
/services/Docker
Eng
ine_IA_
Configur
ePort
</ServiceEndpoint>
<PortType>
{http://
dch.uni-koeln.de/
tosca
/
nodetypes
}
Docker
Eng
ine_IA_
Configur
e
</PortType>
<InvocationType>
SOAP/HTTP
</InvocationType>
</WSProperties>
</Properties>
<ArtifactReferences>
<ArtifactReference
reference=
"artifacttemplates/http%
25
3A%2
52F%252Fopentosca.org%25
2Fartifacttemplates/Docker
Conta
ine
r
-IA-
Manage/files/org_opentosca_nodetypes_
Docker
Conta
ine
r
_IA_
Manag
e.war"
/>
<ArtifactReference
reference=
"artifacttemplates/http%3A%2
F%2Fdch.uni-koeln.de%2Ftosca%
2Fartifacttemplates/Docker
Eng
ine-IA-
Configure/files/
Docker
Eng
ine_IA_
Configur
e.war"
/>
</ArtifactReferences>
</ArtifactTemplate>
</Definitions>
workspace/artifacttemplates/http%3A%2F%2F
open
tosca
.org
%2Fartifacttemplates/DockerEngine-IA-Configure/ArtifactTemplate.tosca.mimetype
→
workspace/artifacttemplates/http%3A%2F%2F
dch.uni-koeln.de%2F
tosca%2Fartifacttemplates/DockerEngine-IA-Configure/ArtifactTemplate.tosca.mimetype
View file @
8b144f9b
File moved
workspace/artifacttemplates/http%3A%2F%2F
open
tosca
.org
%2Fartifacttemplates/DockerEngine-IA-Configure/files/
org_opentosca_nodetypes_
DockerEngine_IA_Configure.war
→
workspace/artifacttemplates/http%3A%2F%2F
dch.uni-koeln.de%2F
tosca%2Fartifacttemplates/DockerEngine-IA-Configure/files/DockerEngine_IA_Configure.war
View file @
8b144f9b
No preview for this file type
workspace/artifacttemplates/http%3A%2F%2F
open
tosca
.org
%2Fartifacttemplates/DockerEngine-IA-Configure/files/
org_opentosca_nodetypes_
DockerEngine_IA_Configure.war.mimetype
→
workspace/artifacttemplates/http%3A%2F%2F
dch.uni-koeln.de%2F
tosca%2Fartifacttemplates/DockerEngine-IA-Configure/files/DockerEngine_IA_Configure.war.mimetype
View file @
8b144f9b
File moved
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Configure/source/.classpath
0 → 100644
View file @
8b144f9b
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry
kind=
"src"
output=
"target/classes"
path=
"src/main/java"
>
<attributes>
<attribute
name=
"optional"
value=
"true"
/>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"src"
output=
"target/test-classes"
path=
"src/test/java"
>
<attributes>
<attribute
name=
"optional"
value=
"true"
/>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
<attribute
name=
"test"
value=
"true"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"
>
<attributes>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"con"
path=
"org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"
>
<attributes>
<attribute
name=
"maven.pomderived"
value=
"true"
/>
</attributes>
</classpathentry>
<classpathentry
kind=
"output"
path=
"target/classes"
/>
</classpath>
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Configure/source/.gitignore
0 → 100644
View file @
8b144f9b
/target/
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Configure/source/.project
0 → 100644
View file @
8b144f9b
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>
DockerEngine_IA_Configure
</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>
org.eclipse.jdt.core.javabuilder
</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>
org.eclipse.m2e.core.maven2Builder
</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>
org.eclipse.jdt.core.javanature
</nature>
<nature>
org.eclipse.m2e.core.maven2Nature
</nature>
</natures>
</projectDescription>
workspace/artifacttemplates/http%3A%2F%2F
open
tosca
.org
%2Fartifacttemplates/DockerEngine-IA-Configure/source/pom.xml
→
workspace/artifacttemplates/http%3A%2F%2F
dch.uni-koeln.de%2F
tosca%2Fartifacttemplates/DockerEngine-IA-Configure/source/pom.xml
View file @
8b144f9b
...
...
@@ -2,11 +2,11 @@
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
org.opentosca.nodetyp
es
</groupId>
<artifactId>
org_opentosca_nodetypes_
DockerEngine_IA_Configure
</artifactId>
<groupId>
artifacttemplat
es
</groupId>
<artifactId>
DockerEngine_IA_Configure
</artifactId>
<packaging>
war
</packaging>
<version>
1.0-SNAPSHOT
</version>
<name>
Implementation Artifact
org_opentosca_nodetypes_
DockerEngine_IA_Configure
</name>
<name>
Implementation Artifact DockerEngine_IA_Configure
</name>
<repositories>
<repository>
...
...
@@ -29,7 +29,7 @@
<properties>
<run.HttpPort>
9090
</run.HttpPort>
<winery.upload.url>
http://localhost:8080/winery/artifacttemplates/http%
25
3A%
25
2F%2
52Fopentosca.org%25
2Fnodetypes/DockerEngine_IA_Configure/files/
</winery.upload.url>
<winery.upload.url>
http://localhost:8080/winery/artifacttemplates/http%3A%2F%2
Fdch.uni-koeln.de%2Ftosca%
2Fnodetypes/DockerEngine_IA_Configure/files/
</winery.upload.url>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<cxf.version>
2.7.6
</cxf.version>
<highlevelrestapi.version>
2.0.0-SNAPSHOT
</highlevelrestapi.version>
...
...
@@ -79,7 +79,7 @@
</dependency>
</dependencies>
<build>
<finalName>
org_opentosca_nodetypes_
DockerEngine_IA_Configure
</finalName>
<finalName>
DockerEngine_IA_Configure
</finalName>
<plugins>
<plugin>
<artifactId>
maven-compiler-plugin
</artifactId>
...
...
@@ -121,8 +121,8 @@
<id>
process-classes
</id>
<phase>
process-classes
</phase>
<configuration>
<className>
org.opentosca.nodetypes.org_opentosca_nodetypes_
DockerEngine_IA_Configure
</className>
<outputFile>
${basedir}/src/main/webapp/wsdl/
org_opentosca_nodetypes_
DockerEngine_IA_Configure.wsdl
</outputFile>
<className>
DockerEngine_IA_Configure
</className>
<outputFile>
${basedir}/src/main/webapp/wsdl/DockerEngine_IA_Configure.wsdl
</outputFile>
<genWsdl>
true
</genWsdl>
<verbose>
true
</verbose>
</configuration>
...
...
workspace/artifacttemplates/http%3A%2F%2F
open
tosca
.org
%2Fartifacttemplates/DockerEngine-IA-Configure/source/src/main/java/
org/opentosca/nodetypes/
AbstractIAService.java
→
workspace/artifacttemplates/http%3A%2F%2F
dch.uni-koeln.de%2F
tosca%2Fartifacttemplates/DockerEngine-IA-Configure/source/src/main/java/AbstractIAService.java
View file @
8b144f9b
package
org.opentosca.nodetypes
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map.Entry
;
...
...
@@ -11,16 +9,15 @@ import org.apache.cxf.headers.Header;
import
org.apache.cxf.helpers.CastUtils
;
import
org.apache.cxf.jaxws.context.WrappedMessageContext
;
import
org.apache.cxf.message.Message
;
import
org.w3c.dom.Node
;
import
org.eclipse.winery.highlevelrestapi.HighLevelRestApi
;
import
org.w3c.dom.Node
;
public
abstract
class
AbstractIAService
{
@Resource
private
WebServiceContext
context
;
protected
void
sendResponse
(
HashMap
<
String
,
String
>
returnParameters
)
{
protected
void
sendResponse
(
HashMap
<
String
,
String
>
returnParameters
)
{
// Extract message
WrappedMessageContext
wrappedContext
=
(
WrappedMessageContext
)
context
.
getMessageContext
();
...
...
@@ -57,7 +54,8 @@ public abstract class AbstractIAService {
// Create asynchronous SOAP Response Message
StringBuilder
builder
=
new
StringBuilder
();
builder
.
append
(
"<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:sch='http://siserver.org/schema'>"
);
builder
.
append
(
"<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:sch='http://siserver.org/schema'>"
);
builder
.
append
(
" <soapenv:Header/>"
);
builder
.
append
(
" <soapenv:Body>"
);
builder
.
append
(
" <sch:invokeResponse>"
);
...
...
@@ -69,7 +67,7 @@ public abstract class AbstractIAService {
String
key
=
paramIter
.
getKey
();
String
value
=
paramIter
.
getValue
();
builder
.
append
(
" <"
+
key
+
">"
+
value
+
"</"
+
key
+
">"
);
builder
.
append
(
" <"
+
key
+
">"
+
value
+
"</"
+
key
+
">"
);
}
builder
.
append
(
" </sch:invokeResponse>"
);
...
...
@@ -77,8 +75,9 @@ public abstract class AbstractIAService {
builder
.
append
(
"</soapenv:Envelope>"
);
// Send SOAP Response Message back to requester
if
(
replyTo
==
null
)
{
System
.
err
.
println
(
"No 'ReplyTo' header found!\nTherefore, reply message is printed here:\n"
+
builder
.
toString
());
if
(
replyTo
==
null
)
{
System
.
err
.
println
(
"No 'ReplyTo' header found!\nTherefore, reply message is printed here:\n"
+
builder
.
toString
());
}
else
{
HighLevelRestApi
.
Post
(
replyTo
,
builder
.
toString
(),
""
);
}
...
...
workspace/artifacttemplates/http%3A%2F%2F
open
tosca
.org
%2Fartifacttemplates/DockerEngine-IA-Configure/source/src/main/java/
org/opentosca/nodetypes/org_opentosca_nodetypes_
DockerEngine_IA_Configure.java
→
workspace/artifacttemplates/http%3A%2F%2F
dch.uni-koeln.de%2F
tosca%2Fartifacttemplates/DockerEngine-IA-Configure/source/src/main/java/DockerEngine_IA_Configure.java
View file @
8b144f9b
package
org.opentosca.nodetypes
;
import
java.util.HashMap
;
import
javax.jws.Oneway
;
...
...
@@ -9,7 +7,7 @@ import javax.jws.WebService;
import
javax.jws.soap.SOAPBinding
;
@WebService
public
class
org_opentosca_nodetypes_
DockerEngine_IA_Configure
extends
AbstractIAService
{
public
class
DockerEngine_IA_Configure
extends
AbstractIAService
{
@WebMethod
@SOAPBinding
...
...
workspace/artifacttemplates/http%3A%2F%2F
open
tosca
.org
%2Fartifacttemplates/Docker
Conta
ine
r
-IA-
Manag
e/source/src/main/webapp/WEB-INF/beans.xml
→
workspace/artifacttemplates/http%3A%2F%2F
dch.uni-koeln.de%2F
tosca%2Fartifacttemplates/Docker
Eng
ine-IA-
Configur
e/source/src/main/webapp/WEB-INF/beans.xml
View file @
8b144f9b
...
...
@@ -6,9 +6,9 @@
<import
resource=
"classpath:META-INF/cxf/cxf-extension-soap.xml"
/>
<import
resource=
"classpath:META-INF/cxf/cxf-servlet.xml"
/>
<jaxws:endpoint
xmlns:tns=
"http://nodetypes.opentosca.org/"
id=
"
org_opentosca_nodetypes_
Docker
Conta
ine
r
_IA_
Manag
e"
implementor=
"
org.opentosca.nodetypes.org_opentosca_nodetypes_
Docker
Conta
ine
r
_IA_
Manag
e"
wsdlLocation=
"wsdl/
org_opentosca_nodetypes_
Docker
Conta
ine
r
_IA_
Manag
e.wsdl"
endpointName=
"tns:
org_opentosca_nodetypes_
Docker
Conta
ine
r
_IA_
Manag
ePort"
serviceName=
"tns:
org_opentosca_nodetypes_
Docker
Conta
ine
r
_IA_
Manag
eService"
address=
"/
org_opentosca_nodetypes_
Docker
Conta
ine
r
_IA_
Manag
ePort"
>
id=
"Docker
Eng
ine_IA_
Configur
e"
implementor=
"Docker
Eng
ine_IA_
Configur
e"
wsdlLocation=
"wsdl/Docker
Eng
ine_IA_
Configur
e.wsdl"
endpointName=
"tns:Docker
Eng
ine_IA_
Configur
ePort"
serviceName=
"tns:Docker
Eng
ine_IA_
Configur
eService"
address=
"/Docker
Eng
ine_IA_
Configur
ePort"
>
<jaxws:features>
<bean
class=
"org.apache.cxf.feature.LoggingFeature"
/>
</jaxws:features>
...
...
workspace/artifacttemplates/http%3A%2F%2F
open
tosca
.org
%2Fartifacttemplates/Docker
Conta
ine
r
-IA-
Manag
e/source/src/main/webapp/WEB-INF/web.xml
→
workspace/artifacttemplates/http%3A%2F%2F
dch.uni-koeln.de%2F
tosca%2Fartifacttemplates/Docker
Eng
ine-IA-
Configur
e/source/src/main/webapp/WEB-INF/web.xml
View file @
8b144f9b
<?xml version="1.0" encoding="UTF-8"?>
<web-app
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns=
"http://java.sun.com/xml/ns/javaee"
xmlns:web=
"http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation=
"http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version=
"3.0"
>
<display-name>
org_opentosca_nodetypes_
Docker
Conta
ine
r
_IA_
Manag
e
</display-name>
<display-name>
Docker
Eng
ine_IA_
Configur
e
</display-name>
<welcome-file-list>
<welcome-file>
index.html
</welcome-file>
<welcome-file>
index.htm
</welcome-file>
...
...
workspace/artifacttemplates/http%3A%2F%2Fdch.uni-koeln.de%2Ftosca%2Fartifacttemplates/DockerEngine-IA-Configure/source/src/main/webapp/wsdl/DockerEngine_IA_Configure.wsdl
0 → 100644
View file @
8b144f9b
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
name=
"DockerEngine_IA_ConfigureService"
targetNamespace=
"http://unknown.namespace/"
xmlns:wsdl=
"http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:tns=
"http://unknown.namespace/"
xmlns:soap=
"http://schemas.xmlsoap.org/wsdl/soap/"
>
<wsdl:types>
<xs:schema
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
xmlns:ns1=
"http://nodetypes.opentosca.org/"
xmlns:tns=
"http://unknown.namespace/"
elementFormDefault=
"unqualified"
targetNamespace=
"http://unknown.namespace/"
version=
"1.0"
>
<xs:import
namespace=
"http://nodetypes.opentosca.org/"
/>
<xs:element
name=
"configure"
type=
"tns:configure"
/>
<xs:complexType
name=
"configure"
>
<xs:sequence>
<xs:element
minOccurs=
"0"
ref=
"ns1:VMIP"
/>
</xs:sequence>
</xs:complexType>
</xs:schema>
<xs:schema
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
targetNamespace=
"http://nodetypes.opentosca.org/"
version=
"1.0"
>
<xs:element
name=
"VMIP"
type=
"xs:string"
/>
</xs:schema>
</wsdl:types>
<wsdl:message
name=
"configure"
>
<wsdl:part
name=
"parameters"
element=
"tns:configure"
>
</wsdl:part>
</wsdl:message>
<wsdl:portType
name=
"DockerEngine_IA_Configure"
>
<wsdl:operation
name=
"configure"
>
<wsdl:input
name=
"configure"
message=
"tns:configure"
>
</wsdl:input>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding
name=
"DockerEngine_IA_ConfigureServiceSoapBinding"
type=
"tns:DockerEngine_IA_Configure"
>
<soap:binding
style=
"document"
transport=
"http://schemas.xmlsoap.org/soap/http"
/>
<wsdl:operation
name=
"configure"
>
<soap:operation
soapAction=
""
style=
"document"
/>
<wsdl:input
name=
"configure"
>