https://github.com/UnionVMS/UVMS-ConfigModule-APP
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<dependency> <groupId>eu.europa.ec.fisheries.uvms.config</groupId> <artifactId>config-model</artifactId> <version>LATEST</version> </dependency> |
Github App: https://github.com/UnionVMS/UVMS-ConfigModule-APP
QA Summary App: https://sonarcloud.io/dashboard?id=eu.europa.ec.fisheries.uvms.config%3Aconfig
CI location App: https://jenkins.focus.fish/view/UVMS%20App/job/UVMS-Config-APP/
Project Site reports App: https://jenkins.focus.fish/view/Site-Reports/job/UVMS-Config-APP-Site-reports/site/
Tattletale report: https://jenkins.focus.fish/view/Site-Reports/job/UVMS-Config-APP-Site-reports/ws/module/target/site/tattleTaleReport/index.html
Module dependencies
Name | Description | Documentation |
---|---|---|
User | Authentication operations and access management | User |
...
Name | JNDI name example |
---|---|
uvms_config | java:jboss/datasources/uvms_config |
Liquibase scripts
https://github.com/UnionVMS/UVMS-ConfigModule-DBAPP/tree/masterdev/LIQUIBASE
Related Repositories
https://github.com/UnionVMS/UVMS-UVMSConfigLibrary
...
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.
...