/arango-micronaut-native-example

Example of Micronaut native image generation using ArangoDB Java driver.

Primary LanguageJava

arango-micronaut-native-example project

Example application using ArangoDB Java driver integrated with:

prerequisites

Start a local database:

SSL=true ./docker/start_db.sh

test

mvn test

test shaded

mvn test -Dshaded

native image

mvn package -Dpackaging=native-image
./target/demo
curl -X GET http://localhost:8080/version
curl -X GET http://localhost:8080/order

native image shaded

mvn package -Dpackaging=native-image -Dshaded
./target/demo
curl -X GET http://localhost:8080/version
curl -X GET http://localhost:8080/order