- REST-Api based java application for user accounts for a social tasks software
- mySQL, ElasticSearch and Kafka utility and support
- Dockerfile for building a docker container for the app
- Jenkins pipeline for creating a dcoker image from repo code and upgrading webapp helm deployment on a kubernetes cluster Note: Jenkins server and cluster network should be accessible to each other
-
Pre-requisites:
- Install and run local elasticsearch server (docker easiest option)
- Install, configure and run local kafka broker
- Install, configure and run local mySQL server (to skip configuration, change ddl-mode in application.properties to 'auto')
- Change values appropriately in application.properties
-
To build, run:
mvn clean package spring-boot:repackage
- Run app:
java -jar target/Webapp-0.0.1-SNAPSHOT.jar
- Health check available at >localhost:8080/healthy
- Setup kubernetes cluster (Using Terraform and Kops: repo link))
- Add supporting architecture to the cluster (Using preconfigured Helm-Chart: repo link) )
- Change application.properties, then build and publish to docker using dockerfile
- Run container in kubernetes cluster (Using Helm to run app in cluster: repo link)