From 80539d5aa22d119d71dd2eb86f148bac8678dfaa Mon Sep 17 00:00:00 2001 From: Rob Fletcher Date: Mon, 11 Sep 2017 12:51:20 -0700 Subject: [PATCH] fix(events): start/end pipeline events broke because of missing toString --- .../spring/EchoNotifyingExecutionListener.groovy | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/orca-echo/src/main/groovy/com/netflix/spinnaker/orca/echo/spring/EchoNotifyingExecutionListener.groovy b/orca-echo/src/main/groovy/com/netflix/spinnaker/orca/echo/spring/EchoNotifyingExecutionListener.groovy index 9baf891f80..54cc9a18f5 100644 --- a/orca-echo/src/main/groovy/com/netflix/spinnaker/orca/echo/spring/EchoNotifyingExecutionListener.groovy +++ b/orca-echo/src/main/groovy/com/netflix/spinnaker/orca/echo/spring/EchoNotifyingExecutionListener.groovy @@ -1,18 +1,17 @@ package com.netflix.spinnaker.orca.echo.spring import com.fasterxml.jackson.databind.ObjectMapper -import com.netflix.spinnaker.orca.front50.Front50Service - -import com.netflix.spinnaker.orca.front50.model.ApplicationNotifications -import com.netflix.spinnaker.orca.pipeline.util.ContextParameterProcessor -import groovy.transform.CompileStatic -import groovy.util.logging.Slf4j import com.netflix.spinnaker.orca.ExecutionStatus import com.netflix.spinnaker.orca.echo.EchoService +import com.netflix.spinnaker.orca.front50.Front50Service +import com.netflix.spinnaker.orca.front50.model.ApplicationNotifications import com.netflix.spinnaker.orca.listeners.ExecutionListener import com.netflix.spinnaker.orca.listeners.Persister import com.netflix.spinnaker.orca.pipeline.model.Execution import com.netflix.spinnaker.orca.pipeline.model.Pipeline +import com.netflix.spinnaker.orca.pipeline.util.ContextParameterProcessor +import groovy.transform.CompileStatic +import groovy.util.logging.Slf4j @Slf4j @CompileStatic @@ -43,7 +42,7 @@ class EchoNotifyingExecutionListener implements ExecutionListener { echoService.recordEvent( details: [ source : "orca", - type : "orca:${execution.getClass().simpleName.toLowerCase()}:starting", + type : "orca:${execution.getClass().simpleName.toLowerCase()}:starting".toString(), application: execution.application, ], content: [