diff options
author | 2020-02-21 19:26:35 +0000 | |
---|---|---|
committer | 2020-02-21 19:26:35 +0000 | |
commit | dd60cf1b40744590285eec61aa1170ea14c1b9fb (patch) | |
tree | 9fe8e38dddb51cac3cd8835265891bee85afd897 /sliapi/springboot/README.md | |
parent | a688a2cfd24526348f0510768371fc788670b465 (diff) | |
parent | 28d8801959ffa9b12a00114c3d389a58a0359c40 (diff) |
Merge "Springboot-based SLI-API"
Diffstat (limited to 'sliapi/springboot/README.md')
-rw-r--r-- | sliapi/springboot/README.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sliapi/springboot/README.md b/sliapi/springboot/README.md new file mode 100644 index 00000000..5737072e --- /dev/null +++ b/sliapi/springboot/README.md @@ -0,0 +1,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"
\ No newline at end of file |