-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature][linkis-public-enhancements] Mer pes publicservice (#4854)
* merge pes service * remove instance label
- Loading branch information
1 parent
17fabc9
commit 16183c9
Showing
211 changed files
with
138 additions
and
565 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
linkis-public-enhancements/linkis-basedata-manager/src/test/resources/linkis.properties
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 0 additions & 48 deletions
48
linkis-public-enhancements/linkis-error-code/linkis-error-code-server/pom.xml
This file was deleted.
Oops, something went wrong.
55 changes: 0 additions & 55 deletions
55
...ents/linkis-error-code/linkis-error-code-server/src/test/resources/application.properties
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
...ancements/linkis-error-code/linkis-error-code-server/src/test/resources/linkis.properties
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
130 changes: 65 additions & 65 deletions
130
...ments/linkis-instance-label/linkis-instance-label-server/src/test/resources/create_pg.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,65 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one or more | ||
* contributor license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright ownership. | ||
* The ASF licenses this file to You under the Apache License, Version 2.0 | ||
* (the "License"); you may not use this file except in compliance with | ||
* the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
DROP TABLE IF EXISTS "linkis_ps_instance_info"; | ||
CREATE TABLE linkis_ps_instance_info ( | ||
id serial NOT NULL, | ||
"instance" varchar(128) NULL, | ||
"name" varchar(128) NULL, | ||
update_time timestamp(6) NULL DEFAULT CURRENT_TIMESTAMP, | ||
create_time timestamp(6) NULL DEFAULT CURRENT_TIMESTAMP, | ||
CONSTRAINT linkis_instance_info_pkey PRIMARY KEY (id) | ||
); | ||
CREATE UNIQUE INDEX uniq_instance_ii ON linkis_ps_instance_info USING btree (instance); | ||
|
||
|
||
DROP TABLE IF EXISTS "linkis_ps_instance_label"; | ||
CREATE TABLE linkis_ps_instance_label ( | ||
id serial NOT NULL, | ||
label_key varchar(32) NOT NULL, | ||
label_value varchar(255) NOT NULL, | ||
label_feature varchar(16) NOT NULL, | ||
label_value_size int4 NOT NULL, | ||
update_time timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
create_time timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
CONSTRAINT linkis_instance_label_pkey PRIMARY KEY (id) | ||
); | ||
CREATE UNIQUE INDEX uniq_lk_lv_il ON linkis_ps_instance_label USING btree (label_key, label_value); | ||
|
||
DROP TABLE IF EXISTS "linkis_ps_instance_label_relation"; | ||
CREATE TABLE linkis_ps_instance_label_relation ( | ||
id serial NOT NULL, | ||
label_id int4 NULL, | ||
service_instance varchar(128) NOT NULL, | ||
update_time timestamp(6) NULL DEFAULT CURRENT_TIMESTAMP, | ||
create_time timestamp(6) NULL DEFAULT CURRENT_TIMESTAMP, | ||
CONSTRAINT linkis_instance_label_relation_pkey PRIMARY KEY (id) | ||
); | ||
CREATE UNIQUE INDEX uniq_lid_instance ON linkis_ps_instance_label_relation USING btree (label_id, service_instance); | ||
|
||
|
||
DROP TABLE IF EXISTS "linkis_ps_instance_label_value_relation"; | ||
CREATE TABLE linkis_ps_instance_label_value_relation ( | ||
id serial NOT NULL, | ||
label_value_key varchar(255) NOT NULL, | ||
label_value_content varchar(255) NULL, | ||
label_id int4 NULL, | ||
update_time timestamp(6) NULL DEFAULT CURRENT_TIMESTAMP, | ||
create_time timestamp(6) NULL DEFAULT CURRENT_TIMESTAMP, | ||
CONSTRAINT linkis_ps_instance_label_value_relation_pkey PRIMARY KEY (id) | ||
); | ||
CREATE UNIQUE INDEX uniq_lvk_lid_ilvr ON linkis_ps_instance_label_value_relation USING btree (label_value_key, label_id); | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one or more | ||
* contributor license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright ownership. | ||
* The ASF licenses this file to You under the Apache License, Version 2.0 | ||
* (the "License"); you may not use this file except in compliance with | ||
* the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
DROP TABLE IF EXISTS "linkis_ps_instance_info"; | ||
CREATE TABLE linkis_ps_instance_info ( | ||
id serial NOT NULL, | ||
"instance" varchar(128) NULL, | ||
"name" varchar(128) NULL, | ||
update_time timestamp(6) NULL DEFAULT CURRENT_TIMESTAMP, | ||
create_time timestamp(6) NULL DEFAULT CURRENT_TIMESTAMP, | ||
CONSTRAINT linkis_instance_info_pkey PRIMARY KEY (id) | ||
); | ||
CREATE UNIQUE INDEX uniq_instance_ii ON linkis_ps_instance_info USING btree (instance); | ||
|
||
|
||
DROP TABLE IF EXISTS "linkis_ps_instance_label"; | ||
CREATE TABLE linkis_ps_instance_label ( | ||
id serial NOT NULL, | ||
label_key varchar(32) NOT NULL, | ||
label_value varchar(255) NOT NULL, | ||
label_feature varchar(16) NOT NULL, | ||
label_value_size int4 NOT NULL, | ||
update_time timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
create_time timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
CONSTRAINT linkis_instance_label_pkey PRIMARY KEY (id) | ||
); | ||
CREATE UNIQUE INDEX uniq_lk_lv_il ON linkis_ps_instance_label USING btree (label_key, label_value); | ||
|
||
DROP TABLE IF EXISTS "linkis_ps_instance_label_relation"; | ||
CREATE TABLE linkis_ps_instance_label_relation ( | ||
id serial NOT NULL, | ||
label_id int4 NULL, | ||
service_instance varchar(128) NOT NULL, | ||
update_time timestamp(6) NULL DEFAULT CURRENT_TIMESTAMP, | ||
create_time timestamp(6) NULL DEFAULT CURRENT_TIMESTAMP, | ||
CONSTRAINT linkis_instance_label_relation_pkey PRIMARY KEY (id) | ||
); | ||
CREATE UNIQUE INDEX uniq_lid_instance ON linkis_ps_instance_label_relation USING btree (label_id, service_instance); | ||
|
||
|
||
DROP TABLE IF EXISTS "linkis_ps_instance_label_value_relation"; | ||
CREATE TABLE linkis_ps_instance_label_value_relation ( | ||
id serial NOT NULL, | ||
label_value_key varchar(255) NOT NULL, | ||
label_value_content varchar(255) NULL, | ||
label_id int4 NULL, | ||
update_time timestamp(6) NULL DEFAULT CURRENT_TIMESTAMP, | ||
create_time timestamp(6) NULL DEFAULT CURRENT_TIMESTAMP, | ||
CONSTRAINT linkis_ps_instance_label_value_relation_pkey PRIMARY KEY (id) | ||
); | ||
CREATE UNIQUE INDEX uniq_lvk_lid_ilvr ON linkis_ps_instance_label_value_relation USING btree (label_value_key, label_id); |
Oops, something went wrong.