summaryrefslogtreecommitdiffstats
path: root/sliapi/springboot/README.md
diff options
context:
space:
mode:
authorSmokowski, Kevin (ks6305) <kevin.smokowski@att.com>2020-02-03 16:02:18 +0000
committerDan Timoney <dtimoney@att.com>2020-02-21 14:01:50 -0500
commit28d8801959ffa9b12a00114c3d389a58a0359c40 (patch)
tree9e9bbfe922bc4bb205ab1a677d6538db0e3ed57b /sliapi/springboot/README.md
parent599315984b449ca05f00b35037a103f1dc335030 (diff)
Springboot-based SLI-API
Implement SLI-API RESTCONF in springboot Change-Id: I8b9b07e3b1aeb4a5adac977307c6f95c905ea038 Issue-ID: CCSDK-2096 Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'sliapi/springboot/README.md')
-rw-r--r--sliapi/springboot/README.md10
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