A typical simple baseline for building good microservices
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Docker
src
.gitignore
LICENSE
README.md
pom.xml

README.md

microservice-baseline

A typical simple baseline for building good microservices

Build Status - Project Status: Active – The project has reached a stable, usable state and is being actively developed. Known Vulnerabilities

Documentation

Quick build and verify

mvn clean install
java -jar target/microservice-baseline-0.1-SNAPSHOT.jar
wget http://localhost:8086/microservice-baseline/health
wget "http://localhost:8086/microservice-baseline/token?grant_type=client_credentials&grant_type=client_credentials&client_id=CLIENT_ID&client_secret=CLIENT_SECRET"
curl -X POST "http://localhost:8086/microservice-baseline/token?grant_type=client_credentials&grant_type=client_credentials&client_id=CLIENT_ID&client_secret=CLIENT_SECRET"
curl -X POST "http://localhost:8086/microservice-baseline/token?grant_type=authorization_code&code=mycode&redirect_uri=http://ocalhost:8086/microservice-baseline/oauth2&client_id=CLIENT_ID&client_secret=CLIENT_SECRET"
curl -i -H "Authorization: Bearer AsT5OjbzRn430zqMLgV3Ia" http://localhost:8086/microservice-baseline/verify