PY-executor missing AUTH_TOKEN in startup script
[ccsdk/cds.git] / ms / py-executor / docker / start.sh
index 6868ba0..2fe1267 100755 (executable)
@@ -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