summaryrefslogtreecommitdiffstats
path: root/sliapi/springboot/README.md
blob: 5737072eff966a11a79fe849ebae3a2d622741ad (plain)
1
2
3
4
5
6
7
8
9
10
This directory contains a demo springboot implementation of the SLI-API healthcheck method.

To start this server, run:

java -jar -DserviceLogicDirectory=src/main/resources target/sliapi-springboot-{version}.jar

This will start a servlet on port 8080.  To test to that servlet, post a blank
message to that port:

curl http://127.0.0.1:8080/SLI-API:healthcheck -X POST -H "Content-Type: application/json"