|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (3)
View Page History}
Tomcat8_Application_WAR {
installer: script;
exports: applicationFile = my-tomcat8-app-file.war;
}
installer: script;
exports: applicationFile = my-tomcat8-app-file.war;
}
HAProxy_VM {
installer: target;
installer: target;
*Component definitions*
{code}
{code}
Tomcat8_VM {
installer: target;
children: Tomcat8;
}
Tomcat8 {
installer: script;
exports: ip, port = 8080;
children: Tomcat8_Application_Uncompress;
}
Tomcat8_Application_Uncompress {
installer: script;
exports: applicationDir = my-tomcat8-app-file, applicationFile = my-tomcat8-app-file.zip;
}
Portal_Application {
extends: Tomcat8_Application_Uncompress;
# Add imports link to the Petals BC SOAP used as entry point into the PVC part
}
installer: target;
children: Tomcat8;
}
Tomcat8 {
installer: script;
exports: ip, port = 8080;
children: Tomcat8_Application_Uncompress;
}
Tomcat8_Application_Uncompress {
installer: script;
exports: applicationDir = my-tomcat8-app-file, applicationFile = my-tomcat8-app-file.zip;
}
Portal_Application {
extends: Tomcat8_Application_Uncompress;
# Add imports link to the Petals BC SOAP used as entry point into the PVC part
}
{code}
*Default instantiation*
{code}
{code}
# A VM with Tomcat
instance of Tomcat8_VM {
name: Tomcat8 VM for Portal;
instance of Tomcat8 {
name: Tomcat8 for Portal;
instance of Portal_Application {
name: portal;
applicationFile: sample-vacation-webapp.war;
applicationDir: sample-vacation-webapp;
}
}
}
instance of Tomcat8_VM {
name: Tomcat8 VM for Portal;
instance of Tomcat8 {
name: Tomcat8 for Portal;
instance of Portal_Application {
name: portal;
applicationFile: sample-vacation-webapp.war;
applicationDir: sample-vacation-webapp;
}
}
}
{code}
{column}
{column}