|
|
|
|
@@ -424,20 +424,20 @@ public class ExecutionController {
|
|
|
|
|
public HttpResponse<?> deleteExecutionsByQuery(
|
|
|
|
|
@Parameter(description = "Filters") @QueryFilterFormat List<QueryFilter> filters,
|
|
|
|
|
|
|
|
|
|
@Deprecated @Parameter(description = "A string filter") @Nullable @QueryValue(value = "q") String query,
|
|
|
|
|
@Deprecated @Parameter(description = "The scope of the executions to include") @Nullable @QueryValue(value = "scope") List<FlowScope> scope,
|
|
|
|
|
@Deprecated @Parameter(description = "A namespace filter prefix") @Nullable @QueryValue String namespace,
|
|
|
|
|
@Deprecated @Parameter(description = "A flow id filter") @Nullable @QueryValue String flowId,
|
|
|
|
|
@Deprecated @Parameter(description = "The start datetime") @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime startDate,
|
|
|
|
|
@Deprecated @Parameter(description = "The end datetime") @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime endDate,
|
|
|
|
|
@Deprecated @Parameter(description = "A time range filter relative to the current time", examples = {
|
|
|
|
|
@Parameter(description = "A string filter", deprecated = true) @Nullable @QueryValue(value = "q") String query,
|
|
|
|
|
@Parameter(description = "The scope of the executions to include", deprecated = true) @Nullable @QueryValue(value = "scope") List<FlowScope> scope,
|
|
|
|
|
@Parameter(description = "A namespace filter prefix", deprecated = true) @Nullable @QueryValue String namespace,
|
|
|
|
|
@Parameter(description = "A flow id filter", deprecated = true) @Nullable @QueryValue String flowId,
|
|
|
|
|
@Parameter(description = "The start datetime", deprecated = true) @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime startDate,
|
|
|
|
|
@Parameter(description = "The end datetime", deprecated = true) @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime endDate,
|
|
|
|
|
@Parameter(description = "A time range filter relative to the current time", examples = {
|
|
|
|
|
@ExampleObject(name = "Filter last 5 minutes", value = "PT5M"),
|
|
|
|
|
@ExampleObject(name = "Filter last 24 hours", value = "P1D")
|
|
|
|
|
}) @Nullable @QueryValue Duration timeRange,
|
|
|
|
|
@Deprecated @Parameter(description = "A state filter") @Nullable @QueryValue List<State.Type> state,
|
|
|
|
|
@Deprecated @Parameter(description = "A labels filter as a list of 'key:value'") @Nullable @QueryValue @Format("MULTI") List<String> labels,
|
|
|
|
|
@Deprecated @Parameter(description = "The trigger execution id") @Nullable @QueryValue String triggerExecutionId,
|
|
|
|
|
@Deprecated @Parameter(description = "A execution child filter") @Nullable @QueryValue ExecutionRepositoryInterface.ChildFilter childFilter,
|
|
|
|
|
}, deprecated = true) @Nullable @QueryValue Duration timeRange,
|
|
|
|
|
@Parameter(description = "A state filter", deprecated = true) @Nullable @QueryValue List<State.Type> state,
|
|
|
|
|
@Parameter(description = "A labels filter as a list of 'key:value'", deprecated = true) @Nullable @QueryValue @Format("MULTI") List<String> labels,
|
|
|
|
|
@Parameter(description = "The trigger execution id", deprecated = true) @Nullable @QueryValue String triggerExecutionId,
|
|
|
|
|
@Parameter(description = "A execution child filter", deprecated = true) @Nullable @QueryValue ExecutionRepositoryInterface.ChildFilter childFilter,
|
|
|
|
|
|
|
|
|
|
@Parameter(description = "Whether to delete non-terminated executions") @Nullable @QueryValue(defaultValue = "false") Boolean includeNonTerminated,
|
|
|
|
|
@Parameter(description = "Whether to delete execution logs") @QueryValue(defaultValue = "true") Boolean deleteLogs,
|
|
|
|
|
@@ -599,7 +599,7 @@ public class ExecutionController {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
executionQueue.emit(result);
|
|
|
|
|
eventPublisher.publishEvent(new CrudEvent<>(result, CrudEventType.CREATE));
|
|
|
|
|
eventPublisher.publishEvent(CrudEvent.create(result));
|
|
|
|
|
|
|
|
|
|
if (webhook.get().getWait()) {
|
|
|
|
|
var subscriberId = UUID.randomUUID().toString();
|
|
|
|
|
@@ -703,7 +703,7 @@ public class ExecutionController {
|
|
|
|
|
.ifPresent(propagator -> propagator.inject(Context.current(), executionWithInputs, ExecutionTextMapSetter.INSTANCE));
|
|
|
|
|
|
|
|
|
|
executionQueue.emit(executionWithInputs);
|
|
|
|
|
eventPublisher.publishEvent(new CrudEvent<>(executionWithInputs, CrudEventType.CREATE));
|
|
|
|
|
eventPublisher.publishEvent(CrudEvent.create(executionWithInputs));
|
|
|
|
|
|
|
|
|
|
if (!wait) {
|
|
|
|
|
return Mono.just(ExecutionResponse.fromExecution(
|
|
|
|
|
@@ -1002,20 +1002,20 @@ public class ExecutionController {
|
|
|
|
|
public HttpResponse<?> restartExecutionsByQuery(
|
|
|
|
|
@Parameter(description = "Filters") @QueryFilterFormat List<QueryFilter> filters,
|
|
|
|
|
|
|
|
|
|
@Deprecated @Parameter(description = "A string filter") @Nullable @QueryValue(value = "q") String query,
|
|
|
|
|
@Deprecated @Parameter(description = "The scope of the executions to include") @Nullable @QueryValue(value = "scope") List<FlowScope> scope,
|
|
|
|
|
@Deprecated @Parameter(description = "A namespace filter prefix") @Nullable @QueryValue String namespace,
|
|
|
|
|
@Deprecated @Parameter(description = "A flow id filter") @Nullable @QueryValue String flowId,
|
|
|
|
|
@Deprecated @Parameter(description = "The start datetime") @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime startDate,
|
|
|
|
|
@Deprecated @Parameter(description = "The end datetime") @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime endDate,
|
|
|
|
|
@Deprecated @Parameter(description = "A time range filter relative to the current time", examples = {
|
|
|
|
|
@Parameter(description = "A string filter", deprecated = true) @Nullable @QueryValue(value = "q") String query,
|
|
|
|
|
@Parameter(description = "The scope of the executions to include", deprecated = true) @Nullable @QueryValue(value = "scope") List<FlowScope> scope,
|
|
|
|
|
@Parameter(description = "A namespace filter prefix", deprecated = true) @Nullable @QueryValue String namespace,
|
|
|
|
|
@Parameter(description = "A flow id filter", deprecated = true) @Nullable @QueryValue String flowId,
|
|
|
|
|
@Parameter(description = "The start datetime", deprecated = true) @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime startDate,
|
|
|
|
|
@Parameter(description = "The end datetime", deprecated = true) @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime endDate,
|
|
|
|
|
@Parameter(description = "A time range filter relative to the current time", examples = {
|
|
|
|
|
@ExampleObject(name = "Filter last 5 minutes", value = "PT5M"),
|
|
|
|
|
@ExampleObject(name = "Filter last 24 hours", value = "P1D")
|
|
|
|
|
}) @Nullable @QueryValue Duration timeRange,
|
|
|
|
|
@Deprecated @Parameter(description = "A state filter") @Nullable @QueryValue List<State.Type> state,
|
|
|
|
|
@Deprecated @Parameter(description = "A labels filter as a list of 'key:value'") @Nullable @QueryValue @Format("MULTI") List<String> labels,
|
|
|
|
|
@Deprecated @Parameter(description = "The trigger execution id") @Nullable @QueryValue String triggerExecutionId,
|
|
|
|
|
@Deprecated @Parameter(description = "A execution child filter") @Nullable @QueryValue ExecutionRepositoryInterface.ChildFilter childFilter
|
|
|
|
|
}, deprecated = true) @Nullable @QueryValue Duration timeRange,
|
|
|
|
|
@Parameter(description = "A state filter", deprecated = true) @Nullable @QueryValue List<State.Type> state,
|
|
|
|
|
@Parameter(description = "A labels filter as a list of 'key:value'", deprecated = true) @Nullable @QueryValue @Format("MULTI") List<String> labels,
|
|
|
|
|
@Parameter(description = "The trigger execution id", deprecated = true) @Nullable @QueryValue String triggerExecutionId,
|
|
|
|
|
@Parameter(description = "A execution child filter", deprecated = true) @Nullable @QueryValue ExecutionRepositoryInterface.ChildFilter childFilter
|
|
|
|
|
) throws Exception {
|
|
|
|
|
filters = RequestUtils.getFiltersOrDefaultToLegacyMapping(
|
|
|
|
|
filters,
|
|
|
|
|
@@ -1245,20 +1245,20 @@ public class ExecutionController {
|
|
|
|
|
public HttpResponse<?> updateExecutionsStatusByQuery(
|
|
|
|
|
@Parameter(description = "Filters") @QueryFilterFormat List<QueryFilter> filters,
|
|
|
|
|
|
|
|
|
|
@Deprecated @Parameter(description = "A string filter") @Nullable @QueryValue(value = "q") String query,
|
|
|
|
|
@Deprecated @Parameter(description = "The scope of the executions to include") @Nullable @QueryValue(value = "scope") List<FlowScope> scope,
|
|
|
|
|
@Deprecated @Parameter(description = "A namespace filter prefix") @Nullable @QueryValue String namespace,
|
|
|
|
|
@Deprecated @Parameter(description = "A flow id filter") @Nullable @QueryValue String flowId,
|
|
|
|
|
@Deprecated @Parameter(description = "The start datetime") @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime startDate,
|
|
|
|
|
@Deprecated @Parameter(description = "The end datetime") @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime endDate,
|
|
|
|
|
@Deprecated @Parameter(description = "A time range filter relative to the current time", examples = {
|
|
|
|
|
@Parameter(description = "A string filter", deprecated = true) @Nullable @QueryValue(value = "q") String query,
|
|
|
|
|
@Parameter(description = "The scope of the executions to include", deprecated = true) @Nullable @QueryValue(value = "scope") List<FlowScope> scope,
|
|
|
|
|
@Parameter(description = "A namespace filter prefix", deprecated = true) @Nullable @QueryValue String namespace,
|
|
|
|
|
@Parameter(description = "A flow id filter", deprecated = true) @Nullable @QueryValue String flowId,
|
|
|
|
|
@Parameter(description = "The start datetime", deprecated = true) @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime startDate,
|
|
|
|
|
@Parameter(description = "The end datetime", deprecated = true) @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime endDate,
|
|
|
|
|
@Parameter(description = "A time range filter relative to the current time", examples = {
|
|
|
|
|
@ExampleObject(name = "Filter last 5 minutes", value = "PT5M"),
|
|
|
|
|
@ExampleObject(name = "Filter last 24 hours", value = "P1D")
|
|
|
|
|
}) @Nullable @QueryValue Duration timeRange,
|
|
|
|
|
@Deprecated @Parameter(description = "A state filter") @Nullable @QueryValue List<State.Type> state,
|
|
|
|
|
@Deprecated @Parameter(description = "A labels filter as a list of 'key:value'") @Nullable @QueryValue @Format("MULTI") List<String> labels,
|
|
|
|
|
@Deprecated @Parameter(description = "The trigger execution id") @Nullable @QueryValue String triggerExecutionId,
|
|
|
|
|
@Deprecated @Parameter(description = "A execution child filter") @Nullable @QueryValue ExecutionRepositoryInterface.ChildFilter childFilter,
|
|
|
|
|
}, deprecated = true) @Nullable @QueryValue Duration timeRange,
|
|
|
|
|
@Parameter(description = "A state filter", deprecated = true) @Nullable @QueryValue List<State.Type> state,
|
|
|
|
|
@Parameter(description = "A labels filter as a list of 'key:value'", deprecated = true) @Nullable @QueryValue @Format("MULTI") List<String> labels,
|
|
|
|
|
@Parameter(description = "The trigger execution id", deprecated = true) @Nullable @QueryValue String triggerExecutionId,
|
|
|
|
|
@Parameter(description = "A execution child filter", deprecated = true) @Nullable @QueryValue ExecutionRepositoryInterface.ChildFilter childFilter,
|
|
|
|
|
@Parameter(description = "The new state of the executions") @NotNull @QueryValue State.Type newStatus
|
|
|
|
|
) throws QueueException {
|
|
|
|
|
filters = RequestUtils.getFiltersOrDefaultToLegacyMapping(
|
|
|
|
|
@@ -1516,20 +1516,20 @@ public class ExecutionController {
|
|
|
|
|
public HttpResponse<?> resumeExecutionsByQuery(
|
|
|
|
|
@Parameter(description = "Filters") @QueryFilterFormat List<QueryFilter> filters,
|
|
|
|
|
|
|
|
|
|
@Deprecated @Parameter(description = "A string filter") @Nullable @QueryValue(value = "q") String query,
|
|
|
|
|
@Deprecated @Parameter(description = "The scope of the executions to include") @Nullable @QueryValue(value = "scope") List<FlowScope> scope,
|
|
|
|
|
@Deprecated @Parameter(description = "A namespace filter prefix") @Nullable @QueryValue String namespace,
|
|
|
|
|
@Deprecated @Parameter(description = "A flow id filter") @Nullable @QueryValue String flowId,
|
|
|
|
|
@Deprecated @Parameter(description = "The start datetime") @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime startDate,
|
|
|
|
|
@Deprecated @Parameter(description = "The end datetime") @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime endDate,
|
|
|
|
|
@Deprecated @Parameter(description = "A time range filter relative to the current time", examples = {
|
|
|
|
|
@Parameter(description = "A string filter", deprecated = true) @Nullable @QueryValue(value = "q") String query,
|
|
|
|
|
@Parameter(description = "The scope of the executions to include", deprecated = true) @Nullable @QueryValue(value = "scope") List<FlowScope> scope,
|
|
|
|
|
@Parameter(description = "A namespace filter prefix", deprecated = true) @Nullable @QueryValue String namespace,
|
|
|
|
|
@Parameter(description = "A flow id filter", deprecated = true) @Nullable @QueryValue String flowId,
|
|
|
|
|
@Parameter(description = "The start datetime", deprecated = true) @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime startDate,
|
|
|
|
|
@Parameter(description = "The end datetime", deprecated = true) @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime endDate,
|
|
|
|
|
@Parameter(description = "A time range filter relative to the current time", examples = {
|
|
|
|
|
@ExampleObject(name = "Filter last 5 minutes", value = "PT5M"),
|
|
|
|
|
@ExampleObject(name = "Filter last 24 hours", value = "P1D")
|
|
|
|
|
}) @Nullable @QueryValue Duration timeRange,
|
|
|
|
|
@Deprecated @Parameter(description = "A state filter") @Nullable @QueryValue List<State.Type> state,
|
|
|
|
|
@Deprecated @Parameter(description = "A labels filter as a list of 'key:value'") @Nullable @QueryValue @Format("MULTI") List<String> labels,
|
|
|
|
|
@Deprecated @Parameter(description = "The trigger execution id") @Nullable @QueryValue String triggerExecutionId,
|
|
|
|
|
@Deprecated @Parameter(description = "A execution child filter") @Nullable @QueryValue ExecutionRepositoryInterface.ChildFilter childFilter
|
|
|
|
|
}, deprecated = true) @Nullable @QueryValue Duration timeRange,
|
|
|
|
|
@Parameter(description = "A state filter", deprecated = true) @Nullable @QueryValue List<State.Type> state,
|
|
|
|
|
@Parameter(description = "A labels filter as a list of 'key:value'", deprecated = true) @Nullable @QueryValue @Format("MULTI") List<String> labels,
|
|
|
|
|
@Parameter(description = "The trigger execution id", deprecated = true) @Nullable @QueryValue String triggerExecutionId,
|
|
|
|
|
@Parameter(description = "A execution child filter", deprecated = true) @Nullable @QueryValue ExecutionRepositoryInterface.ChildFilter childFilter
|
|
|
|
|
) throws Exception {
|
|
|
|
|
filters = RequestUtils.getFiltersOrDefaultToLegacyMapping(
|
|
|
|
|
filters,
|
|
|
|
|
@@ -1625,20 +1625,20 @@ public class ExecutionController {
|
|
|
|
|
public HttpResponse<?> pauseExecutionsByQuery(
|
|
|
|
|
@Parameter(description = "Filters") @QueryFilterFormat List<QueryFilter> filters,
|
|
|
|
|
|
|
|
|
|
@Deprecated @Parameter(description = "A string filter") @Nullable @QueryValue(value = "q") String query,
|
|
|
|
|
@Deprecated @Parameter(description = "The scope of the executions to include") @Nullable @QueryValue(value = "scope") List<FlowScope> scope,
|
|
|
|
|
@Deprecated @Parameter(description = "A namespace filter prefix") @Nullable @QueryValue String namespace,
|
|
|
|
|
@Deprecated @Parameter(description = "A flow id filter") @Nullable @QueryValue String flowId,
|
|
|
|
|
@Deprecated @Parameter(description = "The start datetime") @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime startDate,
|
|
|
|
|
@Deprecated @Parameter(description = "The end datetime") @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime endDate,
|
|
|
|
|
@Deprecated @Parameter(description = "A time range filter relative to the current time", examples = {
|
|
|
|
|
@Parameter(description = "A string filter", deprecated = true) @Nullable @QueryValue(value = "q") String query,
|
|
|
|
|
@Parameter(description = "The scope of the executions to include", deprecated = true) @Nullable @QueryValue(value = "scope") List<FlowScope> scope,
|
|
|
|
|
@Parameter(description = "A namespace filter prefix", deprecated = true) @Nullable @QueryValue String namespace,
|
|
|
|
|
@Parameter(description = "A flow id filter", deprecated = true) @Nullable @QueryValue String flowId,
|
|
|
|
|
@Parameter(description = "The start datetime", deprecated = true) @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime startDate,
|
|
|
|
|
@Parameter(description = "The end datetime", deprecated = true) @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime endDate,
|
|
|
|
|
@Parameter(description = "A time range filter relative to the current time", examples = {
|
|
|
|
|
@ExampleObject(name = "Filter last 5 minutes", value = "PT5M"),
|
|
|
|
|
@ExampleObject(name = "Filter last 24 hours", value = "P1D")
|
|
|
|
|
}) @Nullable @QueryValue Duration timeRange,
|
|
|
|
|
@Deprecated @Parameter(description = "A state filter") @Nullable @QueryValue List<State.Type> state,
|
|
|
|
|
@Deprecated @Parameter(description = "A labels filter as a list of 'key:value'") @Nullable @QueryValue @Format("MULTI") List<String> labels,
|
|
|
|
|
@Deprecated @Parameter(description = "The trigger execution id") @Nullable @QueryValue String triggerExecutionId,
|
|
|
|
|
@Deprecated @Parameter(description = "A execution child filter") @Nullable @QueryValue ExecutionRepositoryInterface.ChildFilter childFilter
|
|
|
|
|
}, deprecated = true) @Nullable @QueryValue Duration timeRange,
|
|
|
|
|
@Parameter(description = "A state filter", deprecated = true) @Nullable @QueryValue List<State.Type> state,
|
|
|
|
|
@Parameter(description = "A labels filter as a list of 'key:value'", deprecated = true) @Nullable @QueryValue @Format("MULTI") List<String> labels,
|
|
|
|
|
@Parameter(description = "The trigger execution id", deprecated = true) @Nullable @QueryValue String triggerExecutionId,
|
|
|
|
|
@Parameter(description = "A execution child filter", deprecated = true) @Nullable @QueryValue ExecutionRepositoryInterface.ChildFilter childFilter
|
|
|
|
|
) throws Exception {
|
|
|
|
|
filters = RequestUtils.getFiltersOrDefaultToLegacyMapping(
|
|
|
|
|
filters,
|
|
|
|
|
@@ -1669,20 +1669,20 @@ public class ExecutionController {
|
|
|
|
|
public HttpResponse<?> killExecutionsByQuery(
|
|
|
|
|
@Parameter(description = "Filters") @QueryFilterFormat List<QueryFilter> filters,
|
|
|
|
|
|
|
|
|
|
@Deprecated @Parameter(description = "A string filter") @Nullable @QueryValue(value = "q") String query,
|
|
|
|
|
@Deprecated @Parameter(description = "The scope of the executions to include") @Nullable @QueryValue(value = "scope") List<FlowScope> scope,
|
|
|
|
|
@Deprecated @Parameter(description = "A namespace filter prefix") @Nullable @QueryValue String namespace,
|
|
|
|
|
@Deprecated @Parameter(description = "A flow id filter") @Nullable @QueryValue String flowId,
|
|
|
|
|
@Deprecated @Parameter(description = "The start datetime") @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime startDate,
|
|
|
|
|
@Deprecated @Parameter(description = "The end datetime") @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime endDate,
|
|
|
|
|
@Deprecated @Parameter(description = "A time range filter relative to the current time", examples = {
|
|
|
|
|
@Parameter(description = "A string filter", deprecated = true) @Nullable @QueryValue(value = "q") String query,
|
|
|
|
|
@Parameter(description = "The scope of the executions to include", deprecated = true) @Nullable @QueryValue(value = "scope") List<FlowScope> scope,
|
|
|
|
|
@Parameter(description = "A namespace filter prefix", deprecated = true) @Nullable @QueryValue String namespace,
|
|
|
|
|
@Parameter(description = "A flow id filter", deprecated = true) @Nullable @QueryValue String flowId,
|
|
|
|
|
@Parameter(description = "The start datetime", deprecated = true) @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime startDate,
|
|
|
|
|
@Parameter(description = "The end datetime", deprecated = true) @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime endDate,
|
|
|
|
|
@Parameter(description = "A time range filter relative to the current time", examples = {
|
|
|
|
|
@ExampleObject(name = "Filter last 5 minutes", value = "PT5M"),
|
|
|
|
|
@ExampleObject(name = "Filter last 24 hours", value = "P1D")
|
|
|
|
|
}) @Nullable @QueryValue Duration timeRange,
|
|
|
|
|
@Deprecated @Parameter(description = "A state filter") @Nullable @QueryValue List<State.Type> state,
|
|
|
|
|
@Deprecated @Parameter(description = "A labels filter as a list of 'key:value'") @Nullable @QueryValue @Format("MULTI") List<String> labels,
|
|
|
|
|
@Deprecated @Parameter(description = "The trigger execution id") @Nullable @QueryValue String triggerExecutionId,
|
|
|
|
|
@Deprecated @Parameter(description = "A execution child filter") @Nullable @QueryValue ExecutionRepositoryInterface.ChildFilter childFilter
|
|
|
|
|
}, deprecated = true) @Nullable @QueryValue Duration timeRange,
|
|
|
|
|
@Parameter(description = "A state filter", deprecated = true) @Nullable @QueryValue List<State.Type> state,
|
|
|
|
|
@Parameter(description = "A labels filter as a list of 'key:value'", deprecated = true) @Nullable @QueryValue @Format("MULTI") List<String> labels,
|
|
|
|
|
@Parameter(description = "The trigger execution id", deprecated = true) @Nullable @QueryValue String triggerExecutionId,
|
|
|
|
|
@Parameter(description = "A execution child filter", deprecated = true) @Nullable @QueryValue ExecutionRepositoryInterface.ChildFilter childFilter
|
|
|
|
|
) throws QueueException {
|
|
|
|
|
filters = RequestUtils.getFiltersOrDefaultToLegacyMapping(
|
|
|
|
|
filters,
|
|
|
|
|
@@ -1713,20 +1713,20 @@ public class ExecutionController {
|
|
|
|
|
public HttpResponse<?> replayExecutionsByQuery(
|
|
|
|
|
@Parameter(description = "Filters") @QueryFilterFormat List<QueryFilter> filters,
|
|
|
|
|
|
|
|
|
|
@Deprecated @Parameter(description = "A string filter") @Nullable @QueryValue(value = "q") String query,
|
|
|
|
|
@Deprecated @Parameter(description = "The scope of the executions to include") @Nullable @QueryValue(value = "scope") List<FlowScope> scope,
|
|
|
|
|
@Deprecated @Parameter(description = "A namespace filter prefix") @Nullable @QueryValue String namespace,
|
|
|
|
|
@Deprecated @Parameter(description = "A flow id filter") @Nullable @QueryValue String flowId,
|
|
|
|
|
@Deprecated @Parameter(description = "The start datetime") @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime startDate,
|
|
|
|
|
@Deprecated @Parameter(description = "The end datetime") @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime endDate,
|
|
|
|
|
@Deprecated @Parameter(description = "A time range filter relative to the current time", examples = {
|
|
|
|
|
@Parameter(description = "A string filter", deprecated = true) @Nullable @QueryValue(value = "q") String query,
|
|
|
|
|
@Parameter(description = "The scope of the executions to include", deprecated = true) @Nullable @QueryValue(value = "scope") List<FlowScope> scope,
|
|
|
|
|
@Parameter(description = "A namespace filter prefix", deprecated = true) @Nullable @QueryValue String namespace,
|
|
|
|
|
@Parameter(description = "A flow id filter", deprecated = true) @Nullable @QueryValue String flowId,
|
|
|
|
|
@Parameter(description = "The start datetime", deprecated = true) @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime startDate,
|
|
|
|
|
@Parameter(description = "The end datetime", deprecated = true) @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime endDate,
|
|
|
|
|
@Parameter(description = "A time range filter relative to the current time", examples = {
|
|
|
|
|
@ExampleObject(name = "Filter last 5 minutes", value = "PT5M"),
|
|
|
|
|
@ExampleObject(name = "Filter last 24 hours", value = "P1D")
|
|
|
|
|
}) @Nullable @QueryValue Duration timeRange,
|
|
|
|
|
@Deprecated @Parameter(description = "A state filter") @Nullable @QueryValue List<State.Type> state,
|
|
|
|
|
@Deprecated @Parameter(description = "A labels filter as a list of 'key:value'") @Nullable @QueryValue @Format("MULTI") List<String> labels,
|
|
|
|
|
@Deprecated @Parameter(description = "The trigger execution id") @Nullable @QueryValue String triggerExecutionId,
|
|
|
|
|
@Deprecated @Parameter(description = "A execution child filter") @Nullable @QueryValue ExecutionRepositoryInterface.ChildFilter childFilter,
|
|
|
|
|
}, deprecated = true) @Nullable @QueryValue Duration timeRange,
|
|
|
|
|
@Parameter(description = "A state filter", deprecated = true) @Nullable @QueryValue List<State.Type> state,
|
|
|
|
|
@Parameter(description = "A labels filter as a list of 'key:value'", deprecated = true) @Nullable @QueryValue @Format("MULTI") List<String> labels,
|
|
|
|
|
@Parameter(description = "The trigger execution id", deprecated = true) @Nullable @QueryValue String triggerExecutionId,
|
|
|
|
|
@Parameter(description = "A execution child filter", deprecated = true) @Nullable @QueryValue ExecutionRepositoryInterface.ChildFilter childFilter,
|
|
|
|
|
|
|
|
|
|
@Parameter(description = "If latest revision should be used") @Nullable @QueryValue(defaultValue = "false") Boolean latestRevision
|
|
|
|
|
) throws Exception {
|
|
|
|
|
@@ -2016,20 +2016,20 @@ public class ExecutionController {
|
|
|
|
|
public HttpResponse<?> setLabelsOnTerminatedExecutionsByQuery(
|
|
|
|
|
@Parameter(description = "Filters") @QueryFilterFormat List<QueryFilter> filters,
|
|
|
|
|
|
|
|
|
|
@Deprecated @Parameter(description = "A string filter") @Nullable @QueryValue(value = "q") String query,
|
|
|
|
|
@Deprecated @Parameter(description = "The scope of the executions to include") @Nullable @QueryValue(value = "scope") List<FlowScope> scope,
|
|
|
|
|
@Deprecated @Parameter(description = "A namespace filter prefix") @Nullable @QueryValue String namespace,
|
|
|
|
|
@Deprecated @Parameter(description = "A flow id filter") @Nullable @QueryValue String flowId,
|
|
|
|
|
@Deprecated @Parameter(description = "The start datetime") @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime startDate,
|
|
|
|
|
@Deprecated @Parameter(description = "The end datetime") @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime endDate,
|
|
|
|
|
@Deprecated @Parameter(description = "A time range filter relative to the current time", examples = {
|
|
|
|
|
@Parameter(description = "A string filter", deprecated = true) @Nullable @QueryValue(value = "q") String query,
|
|
|
|
|
@Parameter(description = "The scope of the executions to include", deprecated = true) @Nullable @QueryValue(value = "scope") List<FlowScope> scope,
|
|
|
|
|
@Parameter(description = "A namespace filter prefix", deprecated = true) @Nullable @QueryValue String namespace,
|
|
|
|
|
@Parameter(description = "A flow id filter", deprecated = true) @Nullable @QueryValue String flowId,
|
|
|
|
|
@Parameter(description = "The start datetime", deprecated = true) @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime startDate,
|
|
|
|
|
@Parameter(description = "The end datetime", deprecated = true) @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime endDate,
|
|
|
|
|
@Parameter(description = "A time range filter relative to the current time", examples = {
|
|
|
|
|
@ExampleObject(name = "Filter last 5 minutes", value = "PT5M"),
|
|
|
|
|
@ExampleObject(name = "Filter last 24 hours", value = "P1D")
|
|
|
|
|
}) @Nullable @QueryValue Duration timeRange,
|
|
|
|
|
@Deprecated @Parameter(description = "A state filter") @Nullable @QueryValue List<State.Type> state,
|
|
|
|
|
@Deprecated @Parameter(description = "A labels filter as a list of 'key:value'") @Nullable @QueryValue @Format("MULTI") List<String> labels,
|
|
|
|
|
@Deprecated @Parameter(description = "The trigger execution id") @Nullable @QueryValue String triggerExecutionId,
|
|
|
|
|
@Deprecated @Parameter(description = "A execution child filter") @Nullable @QueryValue ExecutionRepositoryInterface.ChildFilter childFilter,
|
|
|
|
|
}, deprecated = true) @Nullable @QueryValue Duration timeRange,
|
|
|
|
|
@Parameter(description = "A state filter") @Nullable @QueryValue List<State.Type> state,
|
|
|
|
|
@Parameter(description = "A labels filter as a list of 'key:value'", deprecated = true) @Nullable @QueryValue @Format("MULTI") List<String> labels,
|
|
|
|
|
@Parameter(description = "The trigger execution id", deprecated = true) @Nullable @QueryValue String triggerExecutionId,
|
|
|
|
|
@Parameter(description = "A execution child filter", deprecated = true) @Nullable @QueryValue ExecutionRepositoryInterface.ChildFilter childFilter,
|
|
|
|
|
|
|
|
|
|
@RequestBody(description = "The labels to add to the execution") @Body @NotNull @Valid List<Label> setLabels
|
|
|
|
|
) {
|
|
|
|
|
@@ -2133,21 +2133,21 @@ public class ExecutionController {
|
|
|
|
|
public HttpResponse<?> unqueueExecutionsByQuery(
|
|
|
|
|
@Parameter(description = "Filters") @QueryFilterFormat List<QueryFilter> filters,
|
|
|
|
|
|
|
|
|
|
@Deprecated @Parameter(description = "A string filter") @Nullable @QueryValue(value = "q") String query,
|
|
|
|
|
@Deprecated @Parameter(description = "The scope of the executions to include") @Nullable @QueryValue(value = "scope") List<FlowScope> scope,
|
|
|
|
|
@Deprecated @Parameter(description = "A namespace filter prefix") @Nullable @QueryValue String namespace,
|
|
|
|
|
@Deprecated @Parameter(description = "A flow id filter") @Nullable @QueryValue String flowId,
|
|
|
|
|
@Deprecated @Parameter(description = "The start datetime") @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime startDate,
|
|
|
|
|
@Deprecated @Parameter(description = "The end datetime") @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime endDate,
|
|
|
|
|
@Deprecated @Parameter(description = "A time range filter relative to the current time", examples = {
|
|
|
|
|
@Parameter(description = "A string filter", deprecated = true) @Nullable @QueryValue(value = "q") String query,
|
|
|
|
|
@Parameter(description = "The scope of the executions to include", deprecated = true) @Nullable @QueryValue(value = "scope") List<FlowScope> scope,
|
|
|
|
|
@Parameter(description = "A namespace filter prefix", deprecated = true) @Nullable @QueryValue String namespace,
|
|
|
|
|
@Parameter(description = "A flow id filter", deprecated = true) @Nullable @QueryValue String flowId,
|
|
|
|
|
@Parameter(description = "The start datetime", deprecated = true) @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime startDate,
|
|
|
|
|
@Parameter(description = "The end datetime", deprecated = true) @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime endDate,
|
|
|
|
|
@Parameter(description = "A time range filter relative to the current time", examples = {
|
|
|
|
|
@ExampleObject(name = "Filter last 5 minutes", value = "PT5M"),
|
|
|
|
|
@ExampleObject(name = "Filter last 24 hours", value = "P1D")
|
|
|
|
|
}) @Nullable @QueryValue Duration timeRange,
|
|
|
|
|
@Deprecated @Parameter(description = "A state filter") @Nullable @QueryValue List<State.Type> state,
|
|
|
|
|
@Deprecated @Parameter(description = "A labels filter as a list of 'key:value'") @Nullable @QueryValue @Format("MULTI") List<String> labels,
|
|
|
|
|
@Deprecated @Parameter(description = "The trigger execution id") @Nullable @QueryValue String triggerExecutionId,
|
|
|
|
|
@Deprecated @Parameter(description = "A execution child filter") @Nullable @QueryValue ExecutionRepositoryInterface.ChildFilter childFilter,
|
|
|
|
|
@Parameter(description = "The new state of the unqueued executions") @Nullable @QueryValue State.Type newState
|
|
|
|
|
@Parameter(description = "A state filter", deprecated = true) @Nullable @QueryValue List<State.Type> state,
|
|
|
|
|
@Parameter(description = "A labels filter as a list of 'key:value'", deprecated = true) @Nullable @QueryValue @Format("MULTI") List<String> labels,
|
|
|
|
|
@Parameter(description = "The trigger execution id", deprecated = true) @Nullable @QueryValue String triggerExecutionId,
|
|
|
|
|
@Parameter(description = "A execution child filter", deprecated = true) @Nullable @QueryValue ExecutionRepositoryInterface.ChildFilter childFilter,
|
|
|
|
|
@Parameter(description = "The new state of the unqueued executions", deprecated = true) @Nullable @QueryValue State.Type newState
|
|
|
|
|
) throws Exception {
|
|
|
|
|
filters = RequestUtils.getFiltersOrDefaultToLegacyMapping(
|
|
|
|
|
filters,
|
|
|
|
|
@@ -2247,20 +2247,20 @@ public class ExecutionController {
|
|
|
|
|
public HttpResponse<?> forceRunExecutionsByQuery(
|
|
|
|
|
@Parameter(description = "Filters") @QueryFilterFormat List<QueryFilter> filters,
|
|
|
|
|
|
|
|
|
|
@Deprecated @Parameter(description = "A string filter") @Nullable @QueryValue(value = "q") String query,
|
|
|
|
|
@Deprecated @Parameter(description = "The scope of the executions to include") @Nullable @QueryValue(value = "scope") List<FlowScope> scope,
|
|
|
|
|
@Deprecated @Parameter(description = "A namespace filter prefix") @Nullable @QueryValue String namespace,
|
|
|
|
|
@Deprecated @Parameter(description = "A flow id filter") @Nullable @QueryValue String flowId,
|
|
|
|
|
@Deprecated @Parameter(description = "The start datetime") @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime startDate,
|
|
|
|
|
@Deprecated @Parameter(description = "The end datetime") @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime endDate,
|
|
|
|
|
@Deprecated @Parameter(description = "A time range filter relative to the current time", examples = {
|
|
|
|
|
@Parameter(description = "A string filter", deprecated = true) @Nullable @QueryValue(value = "q") String query,
|
|
|
|
|
@Parameter(description = "The scope of the executions to include", deprecated = true) @Nullable @QueryValue(value = "scope") List<FlowScope> scope,
|
|
|
|
|
@Parameter(description = "A namespace filter prefix", deprecated = true) @Nullable @QueryValue String namespace,
|
|
|
|
|
@Parameter(description = "A flow id filter", deprecated = true) @Nullable @QueryValue String flowId,
|
|
|
|
|
@Parameter(description = "The start datetime", deprecated = true) @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime startDate,
|
|
|
|
|
@Parameter(description = "The end datetime", deprecated = true) @Nullable @Format("yyyy-MM-dd'T'HH:mm[:ss][.SSS][XXX]") @QueryValue ZonedDateTime endDate,
|
|
|
|
|
@Parameter(description = "A time range filter relative to the current time", examples = {
|
|
|
|
|
@ExampleObject(name = "Filter last 5 minutes", value = "PT5M"),
|
|
|
|
|
@ExampleObject(name = "Filter last 24 hours", value = "P1D")
|
|
|
|
|
}) @Nullable @QueryValue Duration timeRange,
|
|
|
|
|
@Deprecated @Parameter(description = "A state filter") @Nullable @QueryValue List<State.Type> state,
|
|
|
|
|
@Deprecated @Parameter(description = "A labels filter as a list of 'key:value'") @Nullable @QueryValue @Format("MULTI") List<String> labels,
|
|
|
|
|
@Deprecated @Parameter(description = "The trigger execution id") @Nullable @QueryValue String triggerExecutionId,
|
|
|
|
|
@Deprecated @Parameter(description = "A execution child filter") @Nullable @QueryValue ExecutionRepositoryInterface.ChildFilter childFilter
|
|
|
|
|
}, deprecated = true) @Nullable @QueryValue Duration timeRange,
|
|
|
|
|
@Parameter(description = "A state filter", deprecated = true) @Nullable @QueryValue List<State.Type> state,
|
|
|
|
|
@Parameter(description = "A labels filter as a list of 'key:value'", deprecated = true) @Nullable @QueryValue @Format("MULTI") List<String> labels,
|
|
|
|
|
@Parameter(description = "The trigger execution id", deprecated = true) @Nullable @QueryValue String triggerExecutionId,
|
|
|
|
|
@Parameter(description = "A execution child filter", deprecated = true) @Nullable @QueryValue ExecutionRepositoryInterface.ChildFilter childFilter
|
|
|
|
|
) throws Exception {
|
|
|
|
|
filters = RequestUtils.getFiltersOrDefaultToLegacyMapping(
|
|
|
|
|
filters,
|
|
|
|
|
|