Basic application with micro service architecture built on Spring cloud and docker
Heimdall - Gateway service Eureka - Service discovery
- Java OpenJDK 11
Important Gradle tasks
Starts Docker Compose application with PostgreSQL running. Useful when running the app from IDE during development and testing:
./gradlew dbUp
and to stop it:
./gradlew dbDown
./gradles allUp
and
./gradlew allDown
./gradlew allDown dbDelete allUp
./gradlew heimdall-server:bootRun
./gradlew eureka-server:bootRun
Starts up Docker Compose application with Eureka & PostgreSQL as one app. Useful for running automated integration tests from Gradle / Jenkins.
./gradlew bootJar docker eureka-server:dockerUp
and
./gradlew eureka-server:dockerDown
and to view logs of the Eureka server Docker container
./gradlew eureka-server:dockerLogs
All you need is
./gradlew clean build integTest
Formats all Java code in accordance to the Google Java style:
./gradlew format