Changes in the source code
Before compiling the Java source code in the microservices into native executable images, the source code needs to be updated a bit. To be able to natively compile the microservices, the following changes have been applied to the source code:
- The Gradle build files,
build.gradle
, have been updated by adding the GraalVM plugin, adjusting some dependencies, and configuring thebootBuildImage
command. - Required reachability metadata and custom hints have been added.
- Build time property files have been added to ensure that required Spring beans are reachable during the AOT processing at build time.
- Some properties used at runtime have been added to the
config-repo
to make the natively compiled microservices operate successfully. - The configuration to be able to run the GraalVM Native Image tracing agent has been added.
- The verification script,
test-em-all.bash
, has been updated since the Docker images no longer include...