https://github.com/inseefr/queen-batch
Batch processing services for Queen
https://github.com/inseefr/queen-batch
Last synced: 8 months ago
JSON representation
Batch processing services for Queen
- Host: GitHub
- URL: https://github.com/inseefr/queen-batch
- Owner: InseeFr
- License: mit
- Created: 2021-06-02T14:50:36.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-24T15:46:07.000Z (about 1 year ago)
- Last Synced: 2025-04-24T16:50:33.607Z (about 1 year ago)
- Language: Java
- Size: 1.27 MB
- Stars: 0
- Watchers: 10
- Forks: 4
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Queen-Back-Office
Batch service for Queen
Batch using to implement QUEEN DB from xml files.
## Requirements
For building and running the application you need:
- JDK 21
- Maven 3
## Install and excute unit tests and ent-to-end tests
Use the maven clean and maven install
``` shell
mvn clean install
```
## Running batch
Use the following cmd :
``` shell
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
```
#### Properties file
Some properties are externalize in ${path.properties}/queen-bo.properties.
Bellow, properties to define :
``` shell
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 you commit
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
## Libraries used
- spring-core
- spring-jdbc
- spring-oxm
- spring-data-jpa
- commons-lang3
- postgresql
- liquibase
- spring-test
- test-containers
- json-simple
- log4j
- lunatic-model
## Developers
- Benjamin Claudel (benjamin.claudel@keyconsulting.fr)
- Samuel Corcaud (samuel.corcaud@keyconsulting.fr)
- Paul Guillemet (paul.guillemet@keyconsulting.fr)