https://github.com/UnionVMS/UVMS-ConfigModule-APP
...
Source code is available inĀ https://github.com/UnionVMS/UVMS-UVMSConfigLibrary
<dependency>
<groupId>eu.europa.ec.fisheries.uvms</groupId>
<artifactId>uvms-config</artifactId>
<version>2.1.1version>
</dependency>
JMS
Implement the ConfigMessageConsumer and ConfigMessageProducer interfaces. Preferably, the existing consumer/producer beans should be re-used.
...
In persistence.xml, make sure that the name of the persistence unit is "modulePU", and that the Parameter entity is specified in a -tag.
<class>eu.europa.ec.fisheries.uvms.config.service.entity.Parameter</class>
Your module's datasource schema must have a table called parameter, with parameter ID ("key"), value and description columns.
Model:
Domain:
Service:
Message:
Rest: