TODO: Add a simple description of the service.
You'll need the following tools installed to run locally:
The following optional tools may also be installed depending on your use cases:
This project requires at least Java 8.
This is only required if you plan on running the service as a Docker container.
This project includes the Gradle Wrapper which will automatically downloaded and install the correct version of Gradle. Gradle will automatically download all project dependencies on demand, so there are no specific commands to run.
To run a dev server locally use ./gradlew run
, this will start the server using the configuration in
src/config/app_config.yml
.
The Gradle build file adds the JVM argument to allow a remote debugger to be attached on port 5006
To run the project in debug mode directly from Intellij, you need to edit the run configuration and add the following program arguments:
server src/config/app_config.yml
To run all the tests use ./gradlew test
To run just the unit tests use ./gradlew unitTest
To run just the integration tests use ./gradlew integrationTest
To check if any dependencies are out of date use ./gradlew dependencyUpdates
To create a fat jar containing all the dependencies as well as the service code use ./gradlew shadowJar
To create a Docker image use ./gradlew docker