Unverified Commit 347f05f0 authored by xingchun-chen's avatar xingchun-chen Committed by GitHub
Browse files

Update worker_group_id to worker_group (#2433)



* add LoginTest license

* Delete useless packages

* e2e add project and workflow case

* e2e add project and workflow case

* e2e add project and workflow case

* e2e add project and workflow case

* e2e add project and workflow case

* e2e add project and workflow case

* e2e add project and workflow case

* e2e add project and workflow case

* e2e add project and workflow case

* e2e add project and workflow case

* e2e add project and workflow case

* e2e add project and workflow case

* Update worker_group_id to worker_group in init.sql

* Update worker_group_id to worker_group in init.sql

* Update worker_group_id to worker_group

Co-authored-by: default avatarchenxingchun <438044805@qq.com>
parent f2183707
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -234,7 +234,7 @@ CREATE TABLE t_ds_command (
  dependence varchar(255) DEFAULT NULL ,
  update_time timestamp DEFAULT NULL ,
  process_instance_priority int DEFAULT NULL ,
  worker_group_id int DEFAULT '-1' ,
  worker_group varchar(64),
  PRIMARY KEY (id)
) ;

@@ -275,7 +275,7 @@ CREATE TABLE t_ds_error_command (
  update_time timestamp DEFAULT NULL ,
  dependence text ,
  process_instance_priority int DEFAULT NULL ,
  worker_group_id int DEFAULT '-1' ,
  worker_group varchar(64),
  message text ,
  PRIMARY KEY (id)
);
@@ -748,7 +748,7 @@ CREATE SEQUENCE t_ds_worker_server_id_sequence;
ALTER TABLE t_ds_worker_server ALTER COLUMN id SET DEFAULT NEXTVAL('t_ds_worker_server_id_sequence');


-- Records of t_ds_useruser : admin , password : dolphinscheduler123
-- Records of t_ds_user?user : admin , password : dolphinscheduler123
INSERT INTO t_ds_user(user_name,user_password,user_type,email,phone,tenant_id,create_time,update_time) VALUES ('admin', '7ad2410b2f4c074479a8937a28a22b8f', '0', 'xxx@qq.com', 'xx', '0', '2018-03-27 15:48:50', '2018-10-24 17:40:22');

-- Records of t_ds_alertgroup,dolphinscheduler warning group
+17 −18
Original line number Diff line number Diff line
@@ -101,9 +101,9 @@ public class ErrorCommand {
    private String message;

    /**
     * worker group id
     * worker group
     */
    private int workerGroupId;
    private String workerGroup;

    public ErrorCommand(){}

@@ -257,17 +257,25 @@ public class ErrorCommand {
        this.updateTime = updateTime;
    }

    public int getWorkerGroupId() {
        return workerGroupId;
    public String getWorkerGroup() {
        return workerGroup;
    }

    public void setWorkerGroupId(int workerGroupId) {
        this.workerGroupId = workerGroupId;
    public void setWorkerGroup(String workerGroup) {
        this.workerGroup = workerGroup;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "Command{" +
        return "ErrorCommand{" +
                "id=" + id +
                ", commandType=" + commandType +
                ", processDefinitionId=" + processDefinitionId +
@@ -281,17 +289,8 @@ public class ErrorCommand {
                ", startTime=" + startTime +
                ", processInstancePriority=" + processInstancePriority +
                ", updateTime=" + updateTime +
                ", message=" + message +
                ", message='" + message + '\'' +
                ", workerGroup='" + workerGroup + '\'' +
                '}';
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }


}