Commit 12d7f1ae authored by Yann Garcia's avatar Yann Garcia
Browse files

Fix merging issues on meep-dai

parent c599bcaa
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -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}"
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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)