This microservice has the responsibility of handling the upload of the files holding debt positions. It allows the creditor institutions to:
- CRUD operations on Debt Positions through zip file Upload
- Get Debt Positions massive Upload status
- Get Debt Positions massive Upload report
See the OpenApi 3 here.
- Java 17
- Micronaut
- Azure Storage Blob
- docker
- From
./docker
directory
sh ./run_docker.sh local
- From
root
directory
docker build -t <container-name> .
docker run -p 8080:8080 --env-file <docker-env-file> <container-name>
- git
- maven
- jdk-17
cp .env.sample .env
After setting all required environment variables
set -o allexport
source .env
set +o allexport
Start the micronaut application with this command:
mvn mn:run
Start without hot reload
mn:run -Dmn.watch=false
Prevent more than 1 file in with macOS
zip -d filename.zip __MACOSX/\*
zip -d filename.zip \*/.DS_Store
zip file.zip uncompressed
- local: to develop locally.
- default (no profile set): The application gets the properties from the environment (for Azure).
To run the Junit tests:
mvn clean verify
From ./integration-test/src
yarn install
yarn test
install k6 and then from ./performance-test/src
k6 run --env VARS=local.environment.json --env TEST_TYPE=./test-types/load.json main_scenario.js
Made with ❤️ by PagoPa S.p.A.
See CODEOWNERS
file