X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=ms%2Fpy-executor%2Fdocker%2Fstart.sh;fp=ms%2Fpy-executor%2Fdocker%2Fstart.sh;h=2fe1267b5dcceda0acf250b3cedd3445d477a87b;hb=6ce6c7d4749b008cfd2484a54edfaf12e473ca08;hp=6868ba0e795f50703a8d3f0b07f890b416bb8cec;hpb=1591ba7289f34c1c44881c169e91c3a6ceda9531;p=ccsdk%2Fcds.git diff --git a/ms/py-executor/docker/start.sh b/ms/py-executor/docker/start.sh index 6868ba0e7..2fe1267b5 100755 --- a/ms/py-executor/docker/start.sh +++ b/ms/py-executor/docker/start.sh @@ -28,6 +28,12 @@ then export ARTIFACT_MANAGER_PORT=50053 fi +if [ -z "${AUTH_TOKEN}" ] +then + echo "AUTH_TOKEN environment variable is not set, using default." + export AUTH_TOKEN="Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==" +fi + if [ -z "${LOG_FILE}" ] then echo "LOG_FILE environment variable is not set, using default." @@ -58,4 +64,4 @@ fi cd /opt/app/onap/python/ -python server.py \ No newline at end of file +python server.py