Springboot integration with AAF
[ccsdk/sli/core.git] / sliapi / springboot / README.md
index 3e47f34..38be1c2 100644 (file)
@@ -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
+```