Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[type:feat]Add dynamically scale admin module #5602

Open
wants to merge 54 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
73d801c
remove .idea change
Terminator111 Aug 1, 2024
4974df2
revert
Terminator111 Aug 1, 2024
0604c89
revert
Terminator111 Aug 1, 2024
10665d6
Merge branch 'master' into master
misaya295 Aug 5, 2024
167e9b6
Merge branch 'master' into master
Aias00 Aug 6, 2024
1fc5fcb
revert
Terminator111 Aug 6, 2024
910179e
Merge branch 'master' of github.com:Terminator111/shenyu
Terminator111 Aug 6, 2024
96a78ab
revert
Terminator111 Aug 6, 2024
30ce28e
ci
Terminator111 Aug 6, 2024
d087805
ci
Terminator111 Aug 6, 2024
14152df
ci
Terminator111 Aug 6, 2024
8c94283
Merge branch 'master' into master
misaya295 Aug 9, 2024
4b6bc0b
add controller and service
Terminator111 Aug 14, 2024
d01ca21
ci
Terminator111 Aug 14, 2024
06e92c9
ci
Terminator111 Aug 14, 2024
4a78b03
ci
Terminator111 Aug 14, 2024
3770997
ci
Terminator111 Aug 14, 2024
800b14a
ci
Terminator111 Aug 14, 2024
8337091
ci
Terminator111 Aug 15, 2024
de2b52b
fix
Terminator111 Aug 15, 2024
14226cc
fix
Terminator111 Aug 15, 2024
b1efcb6
Merge branch 'master' into master
misaya295 Aug 16, 2024
3dbf0b1
ci
Terminator111 Aug 16, 2024
830c340
ci
Terminator111 Aug 16, 2024
4357f1c
fix
Terminator111 Aug 18, 2024
c4f8848
Merge branch 'master' into master
Terminator111 Aug 18, 2024
b5b8d33
ci
Terminator111 Aug 18, 2024
5c313d9
fix
Terminator111 Aug 18, 2024
ca2dd0d
Merge branch 'master' into master
Aias00 Aug 20, 2024
5c6cbfe
Merge branch 'master' into master
Aias00 Aug 23, 2024
d0c6486
Merge branch 'master' into master
Terminator111 Aug 25, 2024
d005ba1
Merge branch 'master' into master
Terminator111 Aug 27, 2024
7e1a870
Merge branch 'master' into master
Terminator111 Aug 29, 2024
e159a1b
Merge branch 'master' into master
Terminator111 Aug 30, 2024
4a4a8ff
Merge branch 'master' into master
Aias00 Aug 31, 2024
fc5efb5
Merge branch 'master' into master
Aias00 Aug 31, 2024
a5613de
Merge branch 'master' into master
Aias00 Sep 2, 2024
45955aa
Merge branch 'master' into master
Terminator111 Sep 4, 2024
9a2c5c4
ci
Terminator111 Sep 4, 2024
8d0a6db
ci
Terminator111 Sep 4, 2024
db80bae
add upgrade sql
Terminator111 Sep 4, 2024
33bcffe
change type for time
Terminator111 Sep 4, 2024
aa13bd2
Merge branch 'master' into master
Aias00 Sep 5, 2024
0934e7c
Merge branch 'master' into master
Aias00 Sep 5, 2024
d08bcee
ci
Terminator111 Sep 7, 2024
fa1c885
Merge branch 'master' into master
Aias00 Sep 7, 2024
ef1ad09
ci
Terminator111 Sep 8, 2024
110eb79
Merge branch 'master' into master
Aias00 Sep 9, 2024
655ab9b
ci
Terminator111 Sep 9, 2024
35e07f1
ci
Terminator111 Sep 11, 2024
76f613a
ci
Terminator111 Sep 11, 2024
5b8464a
Merge branch 'master' into master
Aias00 Sep 13, 2024
b2f084f
Merge branch 'master' into master
Terminator111 Sep 18, 2024
b5e1d4f
Merge branch 'master' into master
Aias00 Sep 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions db/init/mysql/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2370,3 +2370,52 @@ INSERT INTO `shenyu`.`permission` (`id`, `object_id`, `resource_id`, `date_creat
INSERT INTO `shenyu`.`permission` (`id`, `object_id`, `resource_id`, `date_created`, `date_updated`) VALUES ('1792779493541343265', '1346358560427216896', '1792749362445840484', '2024-06-25 20:00:00.000', '2024-06-25 20:00:00.000');
INSERT INTO `shenyu`.`permission` (`id`, `object_id`, `resource_id`, `date_created`, `date_updated`) VALUES ('1792779493541343266', '1346358560427216896', '1792749362445840485', '2024-06-25 20:00:00.000', '2024-06-25 20:00:00.000');
INSERT INTO `shenyu`.`permission` (`id`, `object_id`, `resource_id`, `date_created`, `date_updated`) VALUES ('1792779493541343267', '1346358560427216896', '1792749362445840486', '2024-06-25 20:00:00.000', '2024-06-25 20:00:00.000');

-- ----------------------------
-- Table structure for scale
-- ----------------------------
DROP TABLE IF EXISTS `scale_policy`;
CREATE TABLE IF NOT EXISTS `scale_policy`
(
`id` varchar(128) NOT NULL COMMENT 'primary key id',
`sort` int(0) NOT NULL COMMENT 'sort',
`status` int(0) NOT NULL COMMENT 'status 1:enable 0:disable',
`num` int COMMENT 'number of bootstrap',
`begin_time` datetime(3) COMMENT 'begin time',
`end_time` datetime(3) COMMENT 'end time',
`date_created` timestamp(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) COMMENT 'create time',
`date_updated` timestamp(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) ON UPDATE CURRENT_TIMESTAMP(3) COMMENT 'update time',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

INSERT INTO `shenyu`.`scale_policy` (`id`, `sort`, `status`, `num`, `begin_time`, `end_time`, `date_created`, `date_updated`) VALUES ('1', 1, 0, 10, NULL, NULL, '2024-07-31 20:00:00.000', '2024-07-31 20:00:00.000');
INSERT INTO `shenyu`.`scale_policy` (`id`, `sort`, `status`, `num`, `begin_time`, `end_time`, `date_created`, `date_updated`) VALUES ('2', 2, 0, 10, '2024-07-31 20:00:00.000', '2024-08-01 20:00:00.000', '2024-07-31 20:00:00.000', '2024-07-31 20:00:00.000');
INSERT INTO `shenyu`.`scale_policy` (`id`, `sort`, `status`, `num`, `begin_time`, `end_time`, `date_created`, `date_updated`) VALUES ('3', 3, 0, NULL, NULL, NULL, '2024-07-31 20:00:00.000', '2024-07-31 20:00:00.000');

DROP TABLE IF EXISTS `scale_rule`;
CREATE TABLE IF NOT EXISTS `scale_rule`
(
`id` varchar(128) NOT NULL COMMENT 'primary key id',
`metric_name` varchar(128) NOT NULL COMMENT 'metric name',
`type` int(0) NOT NULL COMMENT 'type 0:shenyu 1:k8s 2:others',
`sort` int(0) NOT NULL COMMENT 'sort',
`status` int(0) NOT NULL COMMENT 'status 1:enable 0:disable',
`minimum` varchar(128) COMMENT 'minimum of metric',
`maximum` varchar(128) COMMENT 'maximum of metric',
`date_created` timestamp(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) COMMENT 'create time',
`date_updated` timestamp(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) ON UPDATE CURRENT_TIMESTAMP(3) COMMENT 'update time',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

DROP TABLE IF EXISTS `scale_history`;
CREATE TABLE IF NOT EXISTS `scale_history`
(
`id` varchar(128) NOT NULL COMMENT 'primary key id',
`config_id` int(0) NOT NULL COMMENT '0:manual 1:period 2:dynamic',
`num` int NOT NULL COMMENT 'number of bootstrap',
`action` int(0) NOT NULL COMMENT 'status 1:enable 0:disable',
`msg` text COMMENT 'message',
`date_created` timestamp(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) COMMENT 'create time',
`date_updated` timestamp(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) ON UPDATE CURRENT_TIMESTAMP(3) COMMENT 'update time',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
70 changes: 70 additions & 0 deletions db/init/og/create-table.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2673,3 +2673,73 @@ INSERT INTO "public"."permission" VALUES ('1792779493541343265', '13463585604272
INSERT INTO "public"."permission" VALUES ('1792779493541343266', '1346358560427216896', '1792749362445840485', '2024-06-25 20:00:00.000', '2024-06-25 20:00:00.000');
INSERT INTO "public"."permission" VALUES ('1792779493541343267', '1346358560427216896', '1792749362445840486', '2024-06-25 20:00:00.000', '2024-06-25 20:00:00.000');

-- ----------------------------
-- Table structure for scale
-- ----------------------------
DROP TABLE IF EXISTS "public"."scale_policy";
CREATE TABLE IF NOT EXISTS "public"."scale_policy"
(
"id" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
"sort" int4 NOT NULL,
"status" int2 NOT NULL,
"num" int4 ,
"begin_time" timestamp(6) ,
"end_time" timestamp(6) ,
"date_created" timestamp(3) NOT NULL DEFAULT timezone('UTC-8'::text, (now())::timestamp(0) without time zone),
"date_updated" timestamp(3) NOT NULL DEFAULT timezone('UTC-8'::text, (now())::timestamp(0) without time zone)
);
COMMENT ON COLUMN "public"."scale_policy"."id" IS 'primary key id';
COMMENT ON COLUMN "public"."scale_policy"."sort" IS 'sort';
COMMENT ON COLUMN "public"."scale_policy"."status" IS 'status 1:enable 0:disable';
COMMENT ON COLUMN "public"."scale_policy"."num" IS 'number of bootstrap';
COMMENT ON COLUMN "public"."scale_policy"."begin_time" IS 'begin time';
COMMENT ON COLUMN "public"."scale_policy"."end_time" IS 'end time';
COMMENT ON COLUMN "public"."scale_policy"."date_created" IS 'create time';
COMMENT ON COLUMN "public"."scale_policy"."date_updated" IS 'update time';

INSERT INTO "public"."scale_policy" VALUES ('1', 1, 0, 10, NULL, NULL, '2024-07-31 20:00:00.000', '2024-07-31 20:00:00.000');
INSERT INTO "public"."scale_policy" VALUES ('2', 2, 0, 10, '2024-07-31 20:00:00.000', '2024-08-01 20:00:00.000', '2024-07-31 20:00:00.000', '2024-07-31 20:00:00.000');
INSERT INTO "public"."scale_policy" VALUES ('3', 3, 0, NULL, NULL, NULL, '2024-07-31 20:00:00.000', '2024-07-31 20:00:00.000');

DROP TABLE IF EXISTS "public"."scale_rule";
CREATE TABLE "public"."scale_rule"
(
"id" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
"metric_name" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
"type" int4 NOT NULL,
"sort" int4 NOT NULL,
"status" int2 NOT NULL,
"minimum" varchar(128) COLLATE "pg_catalog"."default",
"maximum" varchar(128) COLLATE "pg_catalog"."default",
"date_created" timestamp(3) NOT NULL DEFAULT timezone('UTC-8'::text, (now())::timestamp(0) without time zone),
"date_updated" timestamp(3) NOT NULL DEFAULT timezone('UTC-8'::text, (now())::timestamp(0) without time zone)
);
COMMENT ON COLUMN "public"."scale_rule"."id" IS 'primary key id';
COMMENT ON COLUMN "public"."scale_rule"."metric_name" IS 'metric name';
COMMENT ON COLUMN "public"."scale_rule"."type" IS 'type 0:shenyu 1:k8s 2:others';
COMMENT ON COLUMN "public"."scale_rule"."sort" IS 'sort';
COMMENT ON COLUMN "public"."scale_rule"."status" IS 'status 1:enable 0:disable';
COMMENT ON COLUMN "public"."scale_rule"."minimum" IS 'minimum of metric';
COMMENT ON COLUMN "public"."scale_rule"."maximum" IS 'maximum of metric';
COMMENT ON COLUMN "public"."scale_rule"."date_created" IS 'create time';
COMMENT ON COLUMN "public"."scale_rule"."date_updated" IS 'update time';

DROP TABLE IF EXISTS "public"."scale_history";
CREATE TABLE "public"."scale_history"
(
"id" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
"config_id" int4 NOT NULL,
"num" int4 NOT NULL,
"action" int4 NOT NULL,
"msg" text COLLATE "pg_catalog"."default",
"date_created" timestamp(3) NOT NULL DEFAULT timezone('UTC-8'::text, (now())::timestamp(0) without time zone),
"date_updated" timestamp(3) NOT NULL DEFAULT timezone('UTC-8'::text, (now())::timestamp(0) without time zone)
);
COMMENT ON COLUMN "public"."scale_history"."id" IS 'primary key id';
COMMENT ON COLUMN "public"."scale_history"."config_id" IS '0:manual 1:period 2:dynamic';
COMMENT ON COLUMN "public"."scale_history"."num" IS 'number of bootstrap';
COMMENT ON COLUMN "public"."scale_history"."action" IS 'status 1:enable 0:disable';
COMMENT ON COLUMN "public"."scale_history"."msg" IS 'message';
COMMENT ON COLUMN "public"."scale_history"."date_created" IS 'create time';
COMMENT ON COLUMN "public"."scale_history"."date_updated" IS 'update time';

95 changes: 95 additions & 0 deletions db/init/oracle/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2857,3 +2857,98 @@ INSERT /*+ IGNORE_ROW_ON_DUPKEY_INDEX (permission(id)) */ INTO permission (id, o
INSERT /*+ IGNORE_ROW_ON_DUPKEY_INDEX (permission(id)) */ INTO permission (id, object_id, resource_id) VALUES ('1792779493541343265', '1346358560427216896', '1792749362445840484');
INSERT /*+ IGNORE_ROW_ON_DUPKEY_INDEX (permission(id)) */ INTO permission (id, object_id, resource_id) VALUES ('1792779493541343266', '1346358560427216896', '1792749362445840485');
INSERT /*+ IGNORE_ROW_ON_DUPKEY_INDEX (permission(id)) */ INTO permission (id, object_id, resource_id) VALUES ('1792779493541343267', '1346358560427216896', '1792749362445840486');

-- ----------------------------
-- Table structure for scale
-- ----------------------------
create table scale_policy
(
id varchar(128) not null,
sort number not null,
status number not null,
num number,
begin_time timestamp(3),
end_time timestamp(3),
date_created timestamp(3) default SYSDATE not null,
date_updated timestamp(3) default SYSDATE not null,
PRIMARY KEY (id)
);
comment on column SCALE_POLICY.id
is 'primary key id';
comment on column SCALE_POLICY.sort
is 'sort';
comment on column SCALE_POLICY.status
is 'status 1:enable 0:disable';
comment on column SCALE_POLICY.num
is 'number of bootstrap';
comment on column SCALE_POLICY.begin_time
is 'begin time';
comment on column SCALE_POLICY.end_time
is 'end time';
comment on column SCALE_POLICY.date_created
is 'create time';
comment on column SCALE_POLICY.date_updated
is 'update time';

INSERT /*+ IGNORE_ROW_ON_DUPKEY_INDEX (scale_policy(id)) */ INTO scale_policy (id, sort, status, num, begin_time, end_time, date_created, date_updated) VALUES ('1', 1, 0, 10, NULL, NULL, '2024-07-31 20:00:00.000', '2024-07-31 20:00:00.000');
INSERT /*+ IGNORE_ROW_ON_DUPKEY_INDEX (scale_policy(id)) */ INTO scale_policy (id, sort, status, num, begin_time, end_time, date_created, date_updated) VALUES ('2', 2, 0, 10, '2024-07-31 20:00:00.000', '2024-08-01 20:00:00.000', '2024-07-31 20:00:00.000', '2024-07-31 20:00:00.000');
INSERT /*+ IGNORE_ROW_ON_DUPKEY_INDEX (scale_policy(id)) */ INTO scale_policy (id, sort, status, num, begin_time, end_time, date_created, date_updated) VALUES ('3', 3, 0, NULL, NULL, NULL, '2024-07-31 20:00:00.000', '2024-07-31 20:00:00.000');

create table scale_rule
(
id varchar(128) not null,
metric_name varchar(128) not null,
type number not null,
sort number not null,
status number not null,
minimum varchar(128),
maximum varchar(128),
date_created timestamp(3) default SYSDATE not null,
date_updated timestamp(3) default SYSDATE not null,
PRIMARY KEY (id)
);
comment on column SCALE_RULE.id
is 'primary key id';
comment on column SCALE_RULE.metric_name
is 'metric name';
comment on column SCALE_RULE.type
is 'type 0:shenyu 1:k8s 2:others';
comment on column SCALE_RULE.sort
is 'sort';
comment on column SCALE_RULE.status
is 'status 1:enable 0:disable';
comment on column SCALE_RULE.minimum
is 'minimum of metric';
comment on column SCALE_RULE.maximum
is 'maximum of metric';
comment on column SCALE_RULE.date_created
is 'create time';
comment on column SCALE_RULE.date_updated
is 'update time';

create table scale_history
(
id varchar(128) not null,
config_id number not null,
num number not null,
action number not null,
msg clob,
date_created timestamp(3) default SYSDATE not null,
date_updated timestamp(3) default SYSDATE not null,
PRIMARY KEY (id)
);
comment on column SCALE_HISTORY.id
is 'primary key id';
comment on column SCALE_HISTORY.config_id
is '0:manual 1:period 2:dynamic';
comment on column SCALE_HISTORY.num
is 'number of bootstrap';
comment on column SCALE_HISTORY.action
is 'status 1:enable 0:disable';
comment on column SCALE_HISTORY.msg
is 'message';
comment on column SCALE_HISTORY.date_created
is 'create time';
comment on column SCALE_HISTORY.date_updated
is 'update time';

70 changes: 70 additions & 0 deletions db/init/pg/create-table.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2791,3 +2791,73 @@ INSERT INTO "public"."permission" VALUES ('1792779493541343265', '13463585604272
INSERT INTO "public"."permission" VALUES ('1792779493541343266', '1346358560427216896', '1792749362445840485', '2024-06-25 20:00:00.000', '2024-06-25 20:00:00.000');
INSERT INTO "public"."permission" VALUES ('1792779493541343267', '1346358560427216896', '1792749362445840486', '2024-06-25 20:00:00.000', '2024-06-25 20:00:00.000');

-- ----------------------------
-- Table structure for scale
-- ----------------------------
DROP TABLE IF EXISTS "public"."scale_policy";
CREATE TABLE IF NOT EXISTS "public"."scale_policy"
(
"id" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
"sort" int4 NOT NULL,
"status" int2 NOT NULL,
"num" int4 ,
"begin_time" timestamp(6) ,
"end_time" timestamp(6) ,
"date_created" timestamp(3) NOT NULL DEFAULT timezone('UTC-8'::text, (now())::timestamp(0) without time zone),
"date_updated" timestamp(3) NOT NULL DEFAULT timezone('UTC-8'::text, (now())::timestamp(0) without time zone)
);
COMMENT ON COLUMN "public"."scale_policy"."id" IS 'primary key id';
COMMENT ON COLUMN "public"."scale_policy"."sort" IS 'sort';
COMMENT ON COLUMN "public"."scale_policy"."status" IS 'status 1:enable 0:disable';
COMMENT ON COLUMN "public"."scale_policy"."num" IS 'number of bootstrap';
COMMENT ON COLUMN "public"."scale_policy"."begin_time" IS 'begin time';
COMMENT ON COLUMN "public"."scale_policy"."end_time" IS 'end time';
COMMENT ON COLUMN "public"."scale_policy"."date_created" IS 'create time';
COMMENT ON COLUMN "public"."scale_policy"."date_updated" IS 'update time';

INSERT INTO "public"."scale_policy" VALUES ('1', 1, 0, 10, NULL, NULL, '2024-07-31 20:00:00.000', '2024-07-31 20:00:00.000');
INSERT INTO "public"."scale_policy" VALUES ('2', 2, 0, 10, '2024-07-31 20:00:00.000', '2024-08-01 20:00:00.000', '2024-07-31 20:00:00.000', '2024-07-31 20:00:00.000');
INSERT INTO "public"."scale_policy" VALUES ('3', 3, 0, NULL, NULL, NULL, '2024-07-31 20:00:00.000', '2024-07-31 20:00:00.000');

DROP TABLE IF EXISTS "public"."scale_rule";
CREATE TABLE "public"."scale_rule"
(
"id" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
"metric_name" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
"type" int4 NOT NULL,
"sort" int4 NOT NULL,
"status" int2 NOT NULL,
"minimum" varchar(128) COLLATE "pg_catalog"."default",
"maximum" varchar(128) COLLATE "pg_catalog"."default",
"date_created" timestamp(3) NOT NULL DEFAULT timezone('UTC-8'::text, (now())::timestamp(0) without time zone),
"date_updated" timestamp(3) NOT NULL DEFAULT timezone('UTC-8'::text, (now())::timestamp(0) without time zone)
);
COMMENT ON COLUMN "public"."scale_rule"."id" IS 'primary key id';
COMMENT ON COLUMN "public"."scale_rule"."metric_name" IS 'metric name';
COMMENT ON COLUMN "public"."scale_rule"."type" IS 'type 0:shenyu 1:k8s 2:others';
COMMENT ON COLUMN "public"."scale_rule"."sort" IS 'sort';
COMMENT ON COLUMN "public"."scale_rule"."status" IS 'status 1:enable 0:disable';
COMMENT ON COLUMN "public"."scale_rule"."minimum" IS 'minimum of metric';
COMMENT ON COLUMN "public"."scale_rule"."maximum" IS 'maximum of metric';
COMMENT ON COLUMN "public"."scale_rule"."date_created" IS 'create time';
COMMENT ON COLUMN "public"."scale_rule"."date_updated" IS 'update time';

DROP TABLE IF EXISTS "public"."scale_history";
CREATE TABLE "public"."scale_history"
(
"id" varchar(128) COLLATE "pg_catalog"."default" NOT NULL,
"config_id" int4 NOT NULL,
"num" int4 NOT NULL,
"action" int4 NOT NULL,
"msg" text COLLATE "pg_catalog"."default",
"date_created" timestamp(3) NOT NULL DEFAULT timezone('UTC-8'::text, (now())::timestamp(0) without time zone),
"date_updated" timestamp(3) NOT NULL DEFAULT timezone('UTC-8'::text, (now())::timestamp(0) without time zone)
);
COMMENT ON COLUMN "public"."scale_history"."id" IS 'primary key id';
COMMENT ON COLUMN "public"."scale_history"."config_id" IS '0:manual 1:period 2:dynamic';
COMMENT ON COLUMN "public"."scale_history"."num" IS 'number of bootstrap';
COMMENT ON COLUMN "public"."scale_history"."action" IS 'status 1:enable 0:disable';
COMMENT ON COLUMN "public"."scale_history"."msg" IS 'message';
COMMENT ON COLUMN "public"."scale_history"."date_created" IS 'create time';
COMMENT ON COLUMN "public"."scale_history"."date_updated" IS 'update time';

6 changes: 6 additions & 0 deletions shenyu-admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,12 @@
<artifactId>shenyu-admin-listener-zookeeper</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
Terminator111 marked this conversation as resolved.
Show resolved Hide resolved
<version>2.10.14</version>
<scope>compile</scope>
</dependency>
<!-- shenyu-admin-listener end-->

</dependencies>
Expand Down
Loading
Loading