This describes the the different containers involved in the Wildfly 14 track.


Docker project

https://github.com/UnionVMS/UVMS-Docker

branch: wildfly14


Containers:

uvms-docker-amq
inherits from openjdk:8-jre-alpine (https://hub.docker.com/_/openjdk/)
installs ACTIVEMQ_VERSION (5.15.6)

configurations:
activemq.xml
users.properties


postgres-base
inherits from mdillon/postgis:9.6 (https://hub.docker.com/r/mdillon/postgis/)

configurations:
setup.sql (creates empty schemas for the whole project)

postgres-release
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)

configurations:
updateDb.sh


wildfly-base
inherits from njmittet/alpine-openjdk:jdk8
installs WILDFLY_VERSION (14.0.1.Final)
installs fakesmtp
installs postgres drivers

adds admin user:
admin/Wildfly4ever!

configurations:
standalone-uvms.xml (loggers, databases, queues all things wildfly)


wildfly-unionvms
inherits from wildfly-base

configurations:
jboss-deployments/ contains all settings for startup order of unionvms-modules. These settings gets merged into the modules during the maven build.
pom.xml
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

wildfly-fluxfmc
inherits from wildfly-unionvms

pom.xml contains all modules and plugins included:
backend artifacts: rules, activity, mdr, subscription


Root pom.xml
Contains all versions of the release for all containers (though they can be overriden)


Test projects:

unionvms-test
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"