It is a simple spring-boot microservice
Step 1: Install Dependencies
mvn install
Step 2: Run
mvn -Dspring.profiles.active=h2-db spring-boot: run
Step 3: Full documentation of the api-docs can be found here
-
scp -i awskeys.pem customerservice-1.0.0.jar ec2-user@ec2-18-141-233-93.ap-southeast-1.compute.amazonaws.com:~/
-
https://medium.com/@chamikakasun/installing-mysql-in-an-ec2-instance-55d6a3e19caf
-
https://gist.github.com/debashisbarman/7892a3b76a42a64f30cfa19f7d56c5b0
-
https://github.com/soumilshah1995/AWS-Elastic-Search-and-kibana-Deploy/blob/master/README.md
mvn io.github.handofgod94:jacoco-cov-badge-maven-plugin:1.1.0:badge
Authentication Modules:
Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
String currentPrincipalName = authentication.getName();
log.info("CurrentPrincipal Name {}", currentPrincipalName);