|
|
|
@ -152,7 +152,7 @@ public class SchedulerController extends BaseController {
|
|
|
|
|
@Operation(summary = "updateSchedule", description = "UPDATE_SCHEDULE_NOTES") |
|
|
|
|
@Parameters({ |
|
|
|
|
@Parameter(name = "id", description = "SCHEDULE_ID", required = true, schema = @Schema(implementation = int.class, example = "100")), |
|
|
|
|
@Parameter(name = "schedule", description = "SCHEDULE", schema = @Schema(implementation = String.class, example = "{'startTime':'2019-06-10 00:00:00','endTime':'2019-06-13 00:00:00','crontab':'0 0 3/6 * * ? *'}")), |
|
|
|
|
@Parameter(name = "schedule", description = "SCHEDULE", schema = @Schema(implementation = String.class, example = "{\"startTime\":\"1996-08-08 00:00:00\",\"endTime\":\"2200-08-08 00:00:00\",\"timezoneId\":\"America/Phoenix\",\"crontab\":\"0 0 3/6 * * ? *\"}")), |
|
|
|
|
@Parameter(name = "warningType", description = "WARNING_TYPE", schema = @Schema(implementation = WarningType.class)), |
|
|
|
|
@Parameter(name = "warningGroupId", description = "WARNING_GROUP_ID", schema = @Schema(implementation = int.class, example = "100")), |
|
|
|
|
@Parameter(name = "failureStrategy", description = "FAILURE_STRATEGY", schema = @Schema(implementation = FailureStrategy.class)), |
|
|
|
@ -170,7 +170,7 @@ public class SchedulerController extends BaseController {
|
|
|
|
|
@PathVariable(value = "id") Integer id, |
|
|
|
|
@RequestParam(value = "schedule") String schedule, |
|
|
|
|
@RequestParam(value = "warningType", required = false, defaultValue = DEFAULT_WARNING_TYPE) WarningType warningType, |
|
|
|
|
@RequestParam(value = "warningGroupId", required = false) int warningGroupId, |
|
|
|
|
@RequestParam(value = "warningGroupId", required = false, defaultValue = DEFAULT_NOTIFY_GROUP_ID) int warningGroupId, |
|
|
|
|
@RequestParam(value = "failureStrategy", required = false, defaultValue = "END") FailureStrategy failureStrategy, |
|
|
|
|
@RequestParam(value = "workerGroup", required = false, defaultValue = "default") String workerGroup, |
|
|
|
|
@RequestParam(value = "tenantCode", required = false, defaultValue = "default") String tenantCode, |
|
|
|
|