[SEBA-497]
Change to using alpine-grpc-base
Fix issue with nested exceptions causing an error in structlog
Reformat and python3 fixes, v3.5 mock support
Record execution times in the loader
Change-Id: I6d7923818d57012fca32ce44668820de422206d6
diff --git a/loader/tosca-loader.sh b/loader/tosca-loader.sh
index 9f27a8b..dfd8e82 100755
--- a/loader/tosca-loader.sh
+++ b/loader/tosca-loader.sh
@@ -21,11 +21,12 @@
for recipe in /opt/tosca/*
do
- echo "Loading: $recipe"
+ echo "Loading: $recipe, started at $(date -u '+%Y%m%d%H%M%SZ')"
http --check-status --ignore-stdin \
POST "http://xos-tosca:$XOS_TOSCA_SERVICE_PORT/run" \
"xos-username:$XOS_USER" \
"xos-password:$XOS_PASSWD" \
"@$recipe" || exit 1
echo ''
+ echo "Finished loading at $(date -u '+%Y%m%d%H%M%SZ')"
done