This project builds a plugin to Apache Brooklyn to understand OASIS TOSCA plans, using Alien4Cloud.
It can be run as a standalone file, launching Brooklyn, or the JAR dropped in to your own Brooklyn.
Consult the instructions in the root ancestor project for build instructions.
Once the project is built:
Note: As the Alien4Cloud code uses AWT, the full JRE or JDK is required as headless distributions
do not include AWT classes.
-
Install the
jarbundle from thetarget/of this project to the Apache Brooklyn Karaf server -
Add the Alien4Cloud configuration file to the Apache Brooklyn Karaf
etc/folder. -
Add the following to the Apache Brooklyn Karaf
system.propertiesfile (also inetc/):
brooklyn.experimental.feature.tosca=true
alien4cloud-config.file=file:///${karaf.etc}/alien4cloud-config.yml
- Start (or restart) Apache Brooklyn. The Tosca code bundle initializes only when necessary, so visit the Brooklyn server in a browser to trigger ahead of time. Initialization may take a couple minutes.
That's it. You can now run TOSCA files from Apache Brooklyn!