From: Eduardo Ramos Testillano (eramedu) Date: Fri, 15 May 2020 15:47:05 +0000 (+0200) Subject: Make configurable the start arguments for ADML X-Git-Url: https://git.teslayout.com/public/public/public/?a=commitdiff_plain;h=b292d866ce8fd243a0290b9550f246e42e90012d;p=anna.git Make configurable the start arguments for ADML You could select st mode (system test) --- diff --git a/example/diameter/launcher/resources/rest_api/ct/ct.sh b/example/diameter/launcher/resources/rest_api/ct/ct.sh index 0f9fd18..fc69e8f 100755 --- a/example/diameter/launcher/resources/rest_api/ct/ct.sh +++ b/example/diameter/launcher/resources/rest_api/ct/ct.sh @@ -51,6 +51,12 @@ if [ "${opt}" = "y" ] then docker kill ${SVC_NAME} &>/dev/null docker kill ${SVC_NAME}-debug &>/dev/null + + echo "Optimize for system test (disable traffic logs and set warning level for traces) (y/n) [n]:" + read opt + [ -z "${opt}" ] && opt=n + [ "${opt}" = "y" ] && EXTRA_ARGUMENTS=st + cid=$(docker run --rm -d -p ${PORT}:${PORT} --name ${cname} anna-adml-http:${version} ${EXTRA_ARGUMENTS} >/dev/null) [ $? -ne 0 ] && exit 1 echo "Container id: ${cid} (deployed as '${cname}')"