Add pytest cache to gitignore
[anna.git] / example / diameter / launcher / deploy-adml-http.sh
index 3ee0e58..0fc848e 100755 (executable)
@@ -71,7 +71,7 @@ mkdir -p ${ADML}/counters
 mkdir -p ${ADML}/test-reports
 
 # Scripts:
-cp ${PROJECT_ROOT}/example/diameter/launcher/resources/scripts/operation_curl.sh ${ADML}/operation.sh
+cp ${PROJECT_ROOT}/example/diameter/launcher/resources/scripts/operation.sh ${ADML}
 
 # Templates:
 mkdir $DTDs
@@ -107,11 +107,21 @@ 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
 
+# Help
+cp ${PROJECT_ROOT}/example/diameter/launcher/resources/HELP.md ${ADML}
+
+# Simple services which only loads the diameter base dictionary:
+cat << EOF > ${ADML}/services.xml
+<services>
+  <stack id="0" dictionary="stacks/diameter_base.0.xml" fixMode="Never"/>
+</services>
+EOF
+
 # Remove AOTS actions:
 rm ${ADML}/ACTIONS.md