Loading go-apps/meep-dai/entrypoint.sh +10 −1 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ set -e echo "MEEP_HOST_URL: ${MEEP_HOST_URL}" echo "MEEP_SANDBOX_NAME: ${MEEP_SANDBOX_NAME}" echo "MEEP_MEP_NAME: ${MEEP_MEP_NAME}" echo "MEEP_CODECOV: ${MEEP_CODECOV}" if [[ ! -z "${MEEP_MEP_NAME}" ]]; then svcPath="${MEEP_SANDBOX_NAME}/${MEEP_MEP_NAME}" Loading Loading @@ -38,4 +39,12 @@ for file in /user-api/*; do done # Start service currenttime=`date "+%Y%m%d-%H%M%S"` filepath="/codecov/codecov-meep-dai-" filename=$filepath$currenttime".out" if [ "$MEEP_CODECOV" = 'true' ]; then exec /meep-dai -test.coverprofile=$filename __DEVEL--code-cov else exec /meep-dai fi go-apps/meep-dai/server/dai.go +1 −1 Original line number Diff line number Diff line Loading @@ -979,7 +979,7 @@ func notifyAppContextDeletion(notifyUrl string, contextId string) { resp, err := http.Post(url, "application/json", bytes.NewBuffer(jsonNotif)) duration := float64(time.Since(startTime).Microseconds()) / 1000.0 // _ = httpLog.LogTx(url, "POST", string(jsonNotif), resp, startTime) _ = httpLog.LogNotification(url, "", "", string(jsonNotif), resp, startTime) if err != nil { log.Error(err) met.ObserveNotification(sandboxName, serviceName, applicationContextDeleteNotification, url, nil, duration) Loading Loading
go-apps/meep-dai/entrypoint.sh +10 −1 Original line number Diff line number Diff line Loading @@ -4,6 +4,7 @@ set -e echo "MEEP_HOST_URL: ${MEEP_HOST_URL}" echo "MEEP_SANDBOX_NAME: ${MEEP_SANDBOX_NAME}" echo "MEEP_MEP_NAME: ${MEEP_MEP_NAME}" echo "MEEP_CODECOV: ${MEEP_CODECOV}" if [[ ! -z "${MEEP_MEP_NAME}" ]]; then svcPath="${MEEP_SANDBOX_NAME}/${MEEP_MEP_NAME}" Loading Loading @@ -38,4 +39,12 @@ for file in /user-api/*; do done # Start service currenttime=`date "+%Y%m%d-%H%M%S"` filepath="/codecov/codecov-meep-dai-" filename=$filepath$currenttime".out" if [ "$MEEP_CODECOV" = 'true' ]; then exec /meep-dai -test.coverprofile=$filename __DEVEL--code-cov else exec /meep-dai fi
go-apps/meep-dai/server/dai.go +1 −1 Original line number Diff line number Diff line Loading @@ -979,7 +979,7 @@ func notifyAppContextDeletion(notifyUrl string, contextId string) { resp, err := http.Post(url, "application/json", bytes.NewBuffer(jsonNotif)) duration := float64(time.Since(startTime).Microseconds()) / 1000.0 // _ = httpLog.LogTx(url, "POST", string(jsonNotif), resp, startTime) _ = httpLog.LogNotification(url, "", "", string(jsonNotif), resp, startTime) if err != nil { log.Error(err) met.ObserveNotification(sandboxName, serviceName, applicationContextDeleteNotification, url, nil, duration) Loading