ilgrosso / notturno

Study prototype for Apache Syncope 4.0 Notturno
Apache License 2.0
0 stars 0 forks source link

notturno

Study prototype for Apache Syncope 4.0 Notturno

Prerequisites

  1. Apache Maven
  2. JDK 17 installed with JAVA_HOME property set
  3. GraalVM installed
    • download latest CE build for Java 17 and your platform
    • uncompress and set GRAALVM_HOME property
    • run sudo $GRAALVM_HOME/bin/gu install native-image

How to run

Spring Boot

As ordinary Spring Boot application:

$ mvn spring-boot:run

Executable

As executable application:

$ mvn -Pnative native:compile
$ ./target/syncope

Buildpacks

Build Docker image and run as Docker container:

$ mvn -Pnative spring-boot:build-image
$ docker run syncope:4.0.0-SNAPSHOT 

How to test

Just browse http://localhost:8080/v3/api-docs

Spring Boot

$ mvn test

Executable

$ mvn -PnativeTest test