DATM-59-01 See CONGA in action
Overview
- Execute CONGA via Maven
- Have a first look at the role definitions, templates and environments
- Inspect the generated configuration
Git project
Exercise
Build sample application and CONGA configuration
-
Go to the root of the GIT repository and execute:
mvn clean install
This builds the sample application and generates all configuration.
-
Have a look at the roles and templates contained in the example
definition/src/main/roles
definition/src/main/templates
-
Have a look at the environment
environment/src/main/environments
-
Have a look at the generated configuration
environment/target/configuration/dev/localhost
Deploy generated configuration to Tomcat
- Download Tomcat 9 (“Core ZIP” version) and extract to local file system
- Check
environment/src/main/environments/dev.yaml
and update thejvm.path
andtomcat.path
variables to your local Java and Tomcat paths. - Regenerate the CONGA configuration
- Copy the generated configuration from
environment/target/configuration/dev/localhost
to your local Tomcat path- This also includes the sample application (sample-app.war)
- Start Tomcat via
startup.bat
(Windows) /startup.sh
(Unix-based systems) - Open URL http://localhost:8080/sample-app/