Java fdr-json-to-xml Azure Function. The function aims to convert FdR reports from JSON format to XML format.
docker build -t pagopa-functions-fdr-json-to-xml .
docker run -it -rm -p 8999:80 pagopa-functions-fdr-json-to-xml
curl http://localhost:8999/example
cp .env.example .env
Fill with the environment variables
set -o allexport
source .env
set +o allexport
In order to autogenerate the required classes, please run the command:
mvn clean package
In order to test the Azure Function in local environment, please run the command:
mvn azure-functions:run
mvn -f pom.xml clean package && mvn -e azure-functions:run
curl http://localhost:7071/example