|
@@ -227,7 +227,7 @@ public class ExecutionServiceTests extends ESTestCase {
|
|
|
when(action.type()).thenReturn("MY_AWESOME_TYPE");
|
|
|
when(action.execute("_action", context, payload)).thenReturn(actionResult);
|
|
|
|
|
|
- ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, actionCondition, actionTransform, action, null);
|
|
|
+ ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, actionCondition, actionTransform, action, null, null);
|
|
|
|
|
|
WatchStatus watchStatus = new WatchStatus(now, singletonMap("_action", new ActionStatus(now)));
|
|
|
|
|
@@ -313,7 +313,7 @@ public class ExecutionServiceTests extends ESTestCase {
|
|
|
ExecutableAction action = mock(ExecutableAction.class);
|
|
|
when(action.execute("_action", context, payload)).thenReturn(actionResult);
|
|
|
|
|
|
- ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, actionCondition, actionTransform, action, null);
|
|
|
+ ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, actionCondition, actionTransform, action, null, null);
|
|
|
WatchStatus watchStatus = new WatchStatus(now, singletonMap("_action", new ActionStatus(now)));
|
|
|
|
|
|
when(watch.input()).thenReturn(input);
|
|
@@ -378,7 +378,7 @@ public class ExecutionServiceTests extends ESTestCase {
|
|
|
ExecutableAction action = mock(ExecutableAction.class);
|
|
|
when(action.execute("_action", context, payload)).thenReturn(actionResult);
|
|
|
|
|
|
- ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, actionCondition, actionTransform, action, null);
|
|
|
+ ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, actionCondition, actionTransform, action, null, null);
|
|
|
WatchStatus watchStatus = new WatchStatus(now, singletonMap("_action", new ActionStatus(now)));
|
|
|
|
|
|
when(watch.input()).thenReturn(input);
|
|
@@ -442,7 +442,7 @@ public class ExecutionServiceTests extends ESTestCase {
|
|
|
ExecutableAction action = mock(ExecutableAction.class);
|
|
|
when(action.execute("_action", context, payload)).thenReturn(actionResult);
|
|
|
|
|
|
- ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, actionCondition, actionTransform, action, null);
|
|
|
+ ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, actionCondition, actionTransform, action, null, null);
|
|
|
WatchStatus watchStatus = new WatchStatus(now, singletonMap("_action", new ActionStatus(now)));
|
|
|
|
|
|
when(watch.input()).thenReturn(input);
|
|
@@ -520,7 +520,7 @@ public class ExecutionServiceTests extends ESTestCase {
|
|
|
when(action.logger()).thenReturn(logger);
|
|
|
when(action.execute("_action", context, payload)).thenReturn(actionResult);
|
|
|
|
|
|
- ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, actionCondition, actionTransform, action, null);
|
|
|
+ ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, actionCondition, actionTransform, action, null, null);
|
|
|
|
|
|
WatchStatus watchStatus = new WatchStatus(now, singletonMap("_action", new ActionStatus(now)));
|
|
|
|
|
@@ -600,7 +600,7 @@ public class ExecutionServiceTests extends ESTestCase {
|
|
|
ExecutableAction action = mock(ExecutableAction.class);
|
|
|
when(action.execute("_action", context, payload)).thenReturn(actionResult);
|
|
|
|
|
|
- ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, actionCondition, actionTransform, action, null);
|
|
|
+ ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, actionCondition, actionTransform, action, null, null);
|
|
|
ZonedDateTime time = clock.instant().atZone(ZoneOffset.UTC);
|
|
|
WatchStatus watchStatus = new WatchStatus(time, singletonMap("_action", new ActionStatus(now)));
|
|
|
|
|
@@ -649,7 +649,7 @@ public class ExecutionServiceTests extends ESTestCase {
|
|
|
|
|
|
ExecutableAction action = mock(ExecutableAction.class);
|
|
|
when(action.type()).thenReturn("_type");
|
|
|
- ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, actionCondition, actionTransform, action, null);
|
|
|
+ ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, actionCondition, actionTransform, action, null, null);
|
|
|
ZonedDateTime time = clock.instant().atZone(ZoneOffset.UTC);
|
|
|
WatchStatus watchStatus = new WatchStatus(time, singletonMap("_action", new ActionStatus(now)));
|
|
|
|
|
@@ -712,7 +712,7 @@ public class ExecutionServiceTests extends ESTestCase {
|
|
|
|
|
|
ExecutableAction action = mock(ExecutableAction.class);
|
|
|
when(action.type()).thenReturn("_type");
|
|
|
- ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, actionCondition, actionTransform, action, null);
|
|
|
+ ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, actionCondition, actionTransform, action, null, null);
|
|
|
ZonedDateTime time = clock.instant().atZone(ZoneOffset.UTC);
|
|
|
WatchStatus watchStatus = new WatchStatus(time, singletonMap("_action", new ActionStatus(now)));
|
|
|
|
|
@@ -769,7 +769,7 @@ public class ExecutionServiceTests extends ESTestCase {
|
|
|
ExecutableAction action = mock(ExecutableAction.class);
|
|
|
when(action.type()).thenReturn("_type");
|
|
|
when(action.logger()).thenReturn(logger);
|
|
|
- ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, actionCondition, actionTransform, action, null);
|
|
|
+ ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, actionCondition, actionTransform, action, null, null);
|
|
|
ZonedDateTime time = clock.instant().atZone(ZoneOffset.UTC);
|
|
|
WatchStatus watchStatus = new WatchStatus(time, singletonMap("_action", new ActionStatus(now)));
|
|
|
|
|
@@ -817,7 +817,7 @@ public class ExecutionServiceTests extends ESTestCase {
|
|
|
ExecutableCondition actionCondition = mock(ExecutableCondition.class);
|
|
|
ExecutableTransform actionTransform = mock(ExecutableTransform.class);
|
|
|
ExecutableAction action = mock(ExecutableAction.class);
|
|
|
- ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, actionCondition, actionTransform, action, null);
|
|
|
+ ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, actionCondition, actionTransform, action, null, null);
|
|
|
|
|
|
ZonedDateTime time = clock.instant().atZone(ZoneOffset.UTC);
|
|
|
WatchStatus watchStatus = new WatchStatus(time, singletonMap("_action", new ActionStatus(now)));
|
|
@@ -946,7 +946,7 @@ public class ExecutionServiceTests extends ESTestCase {
|
|
|
when(action.type()).thenReturn("MY_AWESOME_TYPE");
|
|
|
when(action.execute("_action", context, payload)).thenReturn(actionResult);
|
|
|
|
|
|
- ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, null, null, action, null);
|
|
|
+ ActionWrapper actionWrapper = new ActionWrapper("_action", throttler, null, null, action, null, null);
|
|
|
|
|
|
WatchStatus watchStatus = new WatchStatus(now, singletonMap("_action", new ActionStatus(now)));
|
|
|
|