From: Eduardo Ramos Testillano (eramedu) Date: Tue, 28 Apr 2020 19:14:17 +0000 (+0200) Subject: Share http server endpoint to improve REST API performance X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=commitdiff_plain;h=51d5997996ea8be2f545f13c3258b56e19a4e291 Share http server endpoint to improve REST API performance Add --httpServerShared to the executable arguments for ft and st. --- diff --git a/example/diameter/launcher/deploy-adml-http.sh b/example/diameter/launcher/deploy-adml-http.sh index 3b8e6e3..8547b61 100755 --- a/example/diameter/launcher/deploy-adml-http.sh +++ b/example/diameter/launcher/deploy-adml-http.sh @@ -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