Skip to content

Commit

Permalink
fix code style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Aloys Zhang committed Nov 12, 2024
1 parent f42db2a commit 18aecae
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class ScheduleEntity implements Serializable {
private String inlongGroupId;
// schedule type, support [normal, crontab], 0 for normal and 1 for crontab
private Integer scheduleType;
// schedule engine type, support [Quartz, Airflow, Dolphinscheduler]
// schedule engine type, support [Quartz, Airflow, DolphinScheduler]
private String scheduleEngine;
// time unit for offline task schedule interval, support [month, week, day, hour, minute, oneround]
// Y=year, M=month, W=week, D=day, H=hour, I=minute, O=oneround
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ public abstract class InlongGroupRequest extends BaseInlongGroup {
@ApiModelProperty("Schedule type")
private Integer scheduleType;

// schedule engine type, support [Quartz, Airflow, Dolphinscheduler]
@ApiModelProperty(value = "Schedule engine, support Quartz, Airflow and Dolphinscheduler")
// schedule engine type, support [Quartz, Airflow, DolphinScheduler]
@ApiModelProperty(value = "Schedule engine, support Quartz, Airflow and DolphinScheduler")
@Length(min = 1, max = 20, message = "length must be between 1 and 20")
private String scheduleEngine;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@

import java.sql.Timestamp;
import java.util.Objects;
import org.hibernate.validator.constraints.Length;

@Data
@Builder
Expand All @@ -51,7 +50,7 @@ public class ScheduleInfo {
@ApiModelProperty("Schedule type")
private Integer scheduleType;

// schedule engine type, support [Quartz, Airflow, Dolphinscheduler]
// schedule engine type, support [Quartz, Airflow, DolphinScheduler]
@ApiModelProperty("Schedule engine")
private String scheduleEngine;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

import java.sql.Timestamp;
import java.util.Objects;
import org.hibernate.validator.constraints.Length;

@Data
@ApiModel("Schedule request")
Expand All @@ -45,7 +44,7 @@ public class ScheduleInfoRequest {
@ApiModelProperty("Schedule type")
private Integer scheduleType;

// schedule engine type, support [Quartz, Airflow, Dolphinscheduler]
// schedule engine type, support [Quartz, Airflow, DolphinScheduler]
@ApiModelProperty(value = "Schedule engine")
private String scheduleEngine;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ CREATE TABLE IF NOT EXISTS `schedule_config`
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Incremental primary key',
`inlong_group_id` varchar(256) NOT NULL COMMENT 'Inlong group id, undeleted ones cannot be repeated',
`schedule_type` int(4) NOT NULL DEFAULT '0' COMMENT 'Schedule type, 0 for normal, 1 for crontab',
`schedule_engine` varchar(64) NOT NULL DEFAULT 'Quartz' COMMENT 'Schedule engine, support Quartz, Airflow and Dolphinscheduler',
`schedule_engine` varchar(64) NOT NULL DEFAULT 'Quartz' COMMENT 'Schedule engine, support Quartz, Airflow and DolphinScheduler',
`schedule_unit` varchar(64) DEFAULT NULL COMMENT 'Schedule unit, Y=year, M=month, W=week, D=day, H=hour, I=minute, O=oneround',
`schedule_interval` int(11) DEFAULT '1' COMMENT 'Schedule interval',
`start_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Start time for schedule',
Expand Down
2 changes: 1 addition & 1 deletion inlong-manager/manager-web/sql/apache_inlong_manager.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ CREATE TABLE IF NOT EXISTS `schedule_config`
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Incremental primary key',
`inlong_group_id` varchar(256) NOT NULL COMMENT 'Inlong group id, undeleted ones cannot be repeated',
`schedule_type` int(4) NOT NULL DEFAULT '0' COMMENT 'Schedule type, 0 for normal, 1 for crontab',
`schedule_engine` varchar(64) NOT NULL DEFAULT 'Quartz' COMMENT 'Schedule engine, support Quartz, Airflow and Dolphinscheduler',
`schedule_engine` varchar(64) NOT NULL DEFAULT 'Quartz' COMMENT 'Schedule engine, support Quartz, Airflow and DolphinScheduler',
`schedule_unit` varchar(64) DEFAULT NULL COMMENT 'Schedule unit, Y=year, M=month, W=week, D=day, H=hour, I=minute, O=oneround',
`schedule_interval` int(11) DEFAULT '1' COMMENT 'Schedule interval',
`start_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Start time for schedule',
Expand Down
2 changes: 1 addition & 1 deletion inlong-manager/manager-web/sql/changes-2.1.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ SET FOREIGN_KEY_CHECKS = 0;
USE `apache_inlong_manager`;

ALTER TABLE `schedule_config`
ADD COLUMN `schedule_engine` varchar(64) NOT NULL DEFAULT 'Quartz' COMMENT 'Schedule engine, support Quartz, Airflow and Dolphinscheduler';
ADD COLUMN `schedule_engine` varchar(64) NOT NULL DEFAULT 'Quartz' COMMENT 'Schedule engine, support Quartz, Airflow and DolphinScheduler';

0 comments on commit 18aecae

Please sign in to comment.