Batch service for Queen
Batch using to implement QUEEN DB from xml files.
For building and running the application you need:
- JDK 21
- Maven 3
Use the maven clean and maven install
mvn clean install
Use the following cmd :
echo $@
java8 -Xms64m -Xmx512m -classpath '/path/to/lib/*' -Dlog4j.configurationFile=file:/path/to/log4j2/config/log4j2.xml -Dproperties.path=/path/to/properties -DcheminLog=/path/to/log fr.insee.queen.batch.Lanceur $@
CODE_ERREUR=$?
echo "CODE ERREUR=$CODE_ERREUR"
exit $CODE_ERREUR
Some properties are externalize in ${path.properties}/queen-bo.properties.
Bellow, properties to define :
fr.insee.queen.persistence.database.host = localhost
fr.insee.queen.persistence.database.port = 5433
fr.insee.queen.persistence.database.schema = XXXXXXX
fr.insee.queen.persistence.database.user = XXXXXXX
fr.insee.queen.persistence.database.password = XXXXXXX
fr.insee.queen.persistence.database.driver = org.postgresql.Driver
fr.insee.queen.folder.in=path/to/in
fr.insee.queen.folder.out=path/to/out
fr.insee.queen.paradata.id=idSu
fr.insee.queen.paradata.events=events
Before committing code please ensure,
1 - README.md is updated
2 - A successful build is run and all tests are sucessful
4 - All newly added properties are documented
- spring-core
- spring-jdbc
- spring-oxm
- spring-data-jpa
- commons-lang3
- postgresql
- liquibase
- spring-test
- test-containers
- json-simple
- log4j
- lunatic-model
- Benjamin Claudel ([email protected])
- Samuel Corcaud ([email protected])
- Paul Guillemet ([email protected])