Share http server endpoint to improve REST API performance
authorEduardo Ramos Testillano (eramedu) <eduardo.ramos.testillano@ericsson.com>
Tue, 28 Apr 2020 19:14:17 +0000 (21:14 +0200)
committerEduardo Ramos Testillano (eramedu) <eduardo.ramos.testillano@ericsson.com>
Tue, 28 Apr 2020 19:14:17 +0000 (21:14 +0200)
Add --httpServerShared to the executable arguments for ft and st.

example/diameter/launcher/deploy-adml-http.sh

index 3b8e6e3..8547b61 100755 (executable)
@@ -107,7 +107,7 @@ ln -sf default/libanna_launcher_procedure_default_shared.so
 cd - >/dev/null
 
 # ADML Agent shall use http server:
-httpOpt="--httpServer \`grep -v ^# .httpServer\`"
+httpOpt="--httpServerShared --httpServer \`grep -v ^# .httpServer\`"
 echo "${httpOpt}" >> ${ADML}/args.ft
 echo "${httpOpt}" >> ${ADML}/args.st
 echo "localhost:8000" > ${ADML}/.httpServer