Unverified Commit 43c3a55e authored by ZackYoung's avatar ZackYoung Committed by GitHub

[Optimize][Sql] Optimize git demo address (#3334)

Co-authored-by: 's avatarZzm0809 <934230207@qq.com>
parent 95a48acd
......@@ -21,7 +21,7 @@ INSERT INTO `dinky_git_project` ( `id`, `tenant_id`, `name`, `url`, `branch`
, `username`, `password`, `private_key`, `pom`, `build_args`
, `code_type`, `type`, `last_build`, `description`, `build_state`
, `build_step`, `enabled`, `udf_class_map_list`, `order_line`)
VALUES ( 1, 1, 'java-udf', 'https://github.com/zackyoungh/dinky-quickstart-java.git', 'master'
VALUES ( 1, 1, 'java-udf', 'https://github.com/DataLinkDC/dinky-quickstart-java.git', 'master'
, null, null, null, null, '-P flink-1.14'
, 1, 1, null, null, 0
, 0, 1, '[]', 1);
......@@ -29,7 +29,7 @@ INSERT INTO `dinky_git_project` ( `id`, `tenant_id`, `name`, `url`, `branch`
, `username`, `password`, `private_key`, `pom`, `build_args`
, `code_type`, `type`, `last_build`, `description`, `build_state`
, `build_step`, `enabled`, `udf_class_map_list`, `order_line`)
VALUES ( 2, 1, 'python-udf', 'https://github.com/zackyoungh/dinky-quickstart-python.git', 'master'
VALUES ( 2, 1, 'python-udf', 'https://github.com/DataLinkDC/dinky-quickstart-python.git', 'master'
, null, null, null, null, ''
, 2, 1, null, null, 0
, 0, 1, '[]', 2);
......@@ -2529,4 +2529,4 @@ from pyflink.table.udf import udf
@udf(result_type=DataTypes.STRING())
def ${className}(variable1:str):
return '''''
, 1, '2022-10-25 09:25:13', '2022-10-25 09:34:47', null, null);
\ No newline at end of file
, 1, '2022-10-25 09:25:13', '2022-10-25 09:34:47', null, null);
......@@ -1658,8 +1658,8 @@ CREATE TABLE `dinky_git_project` (
-- ----------------------------
-- Records of dinky_git_project
-- ----------------------------
INSERT INTO `dinky_git_project` (`id`, `tenant_id`, `name`, `url`, `branch`, `username`, `password`, `private_key`, `pom`, `build_args`, `code_type`, `type`, `last_build`, `description`, `build_state`, `build_step`, `enabled`, `udf_class_map_list`, `order_line`) VALUES (1, 1, 'java-udf', 'https://github.com/zackyoungh/dinky-quickstart-java.git', 'master', NULL, NULL, NULL, NULL, '-P flink-1.14', 1, 1, NULL, NULL, 0, 0, 1, '[]', 1);
INSERT INTO `dinky_git_project` (`id`, `tenant_id`, `name`, `url`, `branch`, `username`, `password`, `private_key`, `pom`, `build_args`, `code_type`, `type`, `last_build`, `description`, `build_state`, `build_step`, `enabled`, `udf_class_map_list`, `order_line`) VALUES (2, 1, 'python-udf', 'https://github.com/zackyoungh/dinky-quickstart-python.git', 'master', NULL, NULL, NULL, NULL, '', 2, 1, NULL, NULL, 0, 0, 1, '[]',2);
INSERT INTO `dinky_git_project` (`id`, `tenant_id`, `name`, `url`, `branch`, `username`, `password`, `private_key`, `pom`, `build_args`, `code_type`, `type`, `last_build`, `description`, `build_state`, `build_step`, `enabled`, `udf_class_map_list`, `order_line`) VALUES (1, 1, 'java-udf', 'https://github.com/DataLinkDC/dinky-quickstart-java.git', 'master', NULL, NULL, NULL, NULL, '-P flink-1.14', 1, 1, NULL, NULL, 0, 0, 1, '[]', 1);
INSERT INTO `dinky_git_project` (`id`, `tenant_id`, `name`, `url`, `branch`, `username`, `password`, `private_key`, `pom`, `build_args`, `code_type`, `type`, `last_build`, `description`, `build_state`, `build_step`, `enabled`, `udf_class_map_list`, `order_line`) VALUES (2, 1, 'python-udf', 'https://github.com/DataLinkDC/dinky-quickstart-python.git', 'master', NULL, NULL, NULL, NULL, '', 2, 1, NULL, NULL, 0, 0, 1, '[]',2);
......
......@@ -3294,9 +3294,9 @@ EXECUTE FUNCTION trigger_set_timestamp();
INSERT INTO dinky_git_project (id, tenant_id, name, url, branch, username, password, private_key, pom, build_args,
code_type, type, last_build, description, build_state, build_step, enabled,
udf_class_map_list, order_line)
VALUES (1, 1, 'java-udf', 'https://github.com/zackyoungh/dinky-quickstart-java.git', 'master', NULL, NULL, NULL, NULL,
VALUES (1, 1, 'java-udf', 'https://github.com/DataLinkDC/dinky-quickstart-java.git', 'master', NULL, NULL, NULL, NULL,
'-P flink-1.14', 1, 1, NULL, NULL, 0, 0, true, '[]', 1),
(2, 1, 'python-udf', 'https://github.com/zackyoungh/dinky-quickstart-python.git', 'master', NULL, NULL, NULL,
(2, 1, 'python-udf', 'https://github.com/DataLinkDC/dinky-quickstart-python.git', 'master', NULL, NULL, NULL,
NULL, '', 2, 1, NULL, NULL, 0, 0, true, '[]', 2);
......
......@@ -26,6 +26,9 @@ update dinky_sys_menu set `path`= '/datastudio/bottom/table-data' , `perms`= 'da
delete from dinky_sys_menu where `id`= 26;
update dinky_git_project set `url`= 'https://github.com/DataLinkDC/dinky-quickstart-java.git' where `id`= 1;
update dinky_git_project set `url`= 'https://github.com/DataLinkDC/dinky-quickstart-python.git' where `id`= 2;
commit ;
......
......@@ -26,5 +26,8 @@ update dinky_sys_menu set "path"= '/datastudio/bottom/table-data' , "perms"= 'da
delete from dinky_sys_menu where "id"= 26;
update dinky_git_project set "url"= 'https://github.com/DataLinkDC/dinky-quickstart-java.git' where "id"= 1;
update dinky_git_project set "url"= 'https://github.com/DataLinkDC/dinky-quickstart-python.git' where "id"= 2;
commit ;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment