/actuator/info
/actuator/health
- POST to create an entry in the database
curl --header "Content-Type: application/json" \
--request POST \
--data '{"group":"sunitparekh","name":"city","value":"Pune"}' \
http://localhost:8080/metadata
- GET all entres posted in step 1
curl http://localhost:8080/metadata
-
src/main/java/org/boot/services/metadata/InMemoryMongoDB.java comment @Configuration on line # 8
-
src/main/resources/application.properties comment out line 24 uncomment line 25 (remember the name of the mongodb server or change it as you like)