This guide assumes that Git and Docker are both installed.
In a terminal, perform the following to build
describes the the different containers involved in the Wildfly 14 track.
To release you first need to have built the image, as above, then in a terminal:
docker login -u <USER NAME> -p <PASSWORD> nexus.focus.fish:9081 docker push nexus.focus.fish:9081/uvms/postgres-release:3.0.0 && docker push nexus.focus.fish:9081/uvms/postgres-release:latest docker push nexus.focus.fish:9081/uvms/wildfly-release:3.0.0 && docker push nexus.focus.fish:9081/uvms/wildfly-release:latest
These steps will build and push the release images to the Focus Nexus from which they can be pulled.
inherits from openjdk:8-jre-alpine (https://hub.docker.com/_/openjdk/)
installs ACTIVEMQ_VERSION (5.15.6)
inherits from mdillon/postgis:9.6 (https://hub.docker.com/r/mdillon/postgis/)
setup.sql (creates empty schemas for the whole project)
inherits from postgres-base
Copies all generated sql files from all included projects (in the pom.xml) and run them through updateDb.sh (this needs to be updated if databases needs to be added)
inherits from njmittet/alpine-openjdk:jdk8
installs WILDFLY_VERSION (14.0.1.Final)
installs postgres drivers
adds admin user:
standalone-uvms.xml (loggers, databases, queues all things wildfly)
inherits from wildfly-base
jboss-deployments/ contains all settings for startup order of unionvms-modules. These settings gets merged into the modules during the maven build.
contains all modules and plugins included:
frontend artifacts: frontend, mapfish-print, geoserver
backend artifacts: asset, audit, config, exchange, movement, movement-rules, spatial, user, reporting
plugins artifacts: inmarsat, naf, flux, siriusone
inherits from wildfly-unionvms
pom.xml contains all modules and plugins included:
backend artifacts: rules, activity, mdr, subscription
Contains all versions of the release for all containers (though they can be overriden)
This is where you will find integration tests using REST or JMS that will do a basic run of the system. There will be no official release if this does not pass.
release-test (to be compatible with the wildfly 8 release project we cannot change the name)
This should test the added modules that makes up the fluxfmc configuration. This project is not active at the moment since all modules does not run on wildfly14.
How to build:
In the root directory run "mvn clean install", this will build all containers. Each container can be build seperatly by going to that directory and typing "mvn clean install".
To start unionvms go to the directory unionvms-test and run "mvn docker:start"