aboutsummaryrefslogtreecommitdiffstats
path: root/sliapi/springboot/README.md
diff options
context:
space:
mode:
authorDavid Stilwell <stilwelld@att.com>2020-03-18 10:02:50 -0400
committerDan Timoney <dtimoney@att.com>2020-03-19 16:14:31 -0400
commit35d9348ab67b6dc3c8e90a2a479f75fcd0af9228 (patch)
tree537ade8be9a327c2b26a96a7ac79dd12a8bac9a9 /sliapi/springboot/README.md
parentd8bda45b7e8feccaa521d0ae35b72ae3b87c5a89 (diff)
Springboot integration with AAF
Changes made: pom.xml updates, App.java add Beans for realm and filterchain Issue-ID: CCSDK-2178 Change-Id: I29aa242ceff6a2f840b93a8d18ca5385190ca6d2 Signed-off-by: David Stilwell <stilwelld@att.com>
Diffstat (limited to 'sliapi/springboot/README.md')
-rw-r--r--sliapi/springboot/README.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/sliapi/springboot/README.md b/sliapi/springboot/README.md
index 3e47f341..38be1c2f 100644
--- a/sliapi/springboot/README.md
+++ b/sliapi/springboot/README.md
@@ -1,8 +1,12 @@
This directory contains a demo springboot implementation of the SLI-API healthcheck method.
-To start this server, run:
+To start this server with out AAF authentication, run:
mvn -DserviceLogicDirectory=src/main/resources spring-boot:run
+To start this server with AAF authentication, run:
+mvn spring-boot:run -Dspring-boot.run.jvmArguments="-Dcadi_prop_files=/opt/onap/sdnc/data/properties/org.onap.sdnc.props -DserviceLogicDirectory=src/main/resources"
+
+
This will start a servlet on port 8080. To test to that servlet, post a blank
message to that port:
@@ -26,4 +30,4 @@ An example request
"mixed": "cAsE"
}
}
-``` \ No newline at end of file
+```