Skip to content

Commit 0cf050f

Browse files
author
lvjw12
committed
onestop菜单配置优化
1 parent ea869b1 commit 0cf050f

File tree

1 file changed

+29
-8
lines changed

1 file changed

+29
-8
lines changed

db/dss_dml.sql

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,26 @@ insert into `dss_sidebar_content`(`id`,`workspace_id`,`sidebar_id`,`name`,`name
6060
insert into `dss_sidebar_content`(`id`,`workspace_id`,`sidebar_id`,`name`,`name_en`,`title`,`title_en`,`url`,`url_type`,`icon`,`order_num`,`remark`,`create_user`,`create_time`,`update_user`,`update_time`) values (9,0,3,NULL,NULL,'数据服务使用介绍','Discussion on error code 22223','http://127.0.0.1:8088/kn/d/32',1,'fi-warn',1,NULL,'SYSTEM','2020-12-15 13:21:07',NULL,'2021-02-23 09:48:19');
6161

6262
DELETE FROM dss_onestop_menu;
63-
INSERT INTO `dss_onestop_menu` (`id`, `name`, `title_en`, `title_cn`, `description`, `is_active`, `icon`, `order`, `create_by`, `create_time`, `last_update_time`, `last_update_user`) VALUES('1','应用开发','application development','应用开发','应用开发描述','1',NULL,NULL,NULL,NULL,NULL,NULL);
64-
INSERT INTO `dss_onestop_menu` (`id`, `name`, `title_en`, `title_cn`, `description`, `is_active`, `icon`, `order`, `create_by`, `create_time`, `last_update_time`, `last_update_user`) VALUES('2','数据分析','data analysis','数据分析','数据分析描述','1',NULL,NULL,NULL,NULL,NULL,NULL);
65-
INSERT INTO `dss_onestop_menu` (`id`, `name`, `title_en`, `title_cn`, `description`, `is_active`, `icon`, `order`, `create_by`, `create_time`, `last_update_time`, `last_update_user`) VALUES('3','生产运维','production operation','生产运维','生产运维描述','1',NULL,NULL,NULL,NULL,NULL,NULL);
66-
INSERT INTO `dss_onestop_menu` (`id`, `name`, `title_en`, `title_cn`, `description`, `is_active`, `icon`, `order`, `create_by`, `create_time`, `last_update_time`, `last_update_user`) VALUES('4','数据质量','data quality','数据质量','数据质量描述','1',NULL,NULL,NULL,NULL,NULL,NULL);
67-
INSERT INTO `dss_onestop_menu` (`id`, `name`, `title_en`, `title_cn`, `description`, `is_active`, `icon`, `order`, `create_by`, `create_time`, `last_update_time`, `last_update_user`) VALUES('5','管理员功能','administrator function','管理员功能','管理员功能描述','0',NULL,NULL,NULL,NULL,NULL,NULL);
63+
INSERT INTO dss_onestop_menu (id, name, title_en, title_cn, description, is_active, icon, `order`, create_by, create_time, last_update_time, last_update_user) VALUES (1, '数据集成', 'data integration', '数据集成', '数据集成描述', 1, null, null, null, null, null, null);
64+
INSERT INTO dss_onestop_menu (id, name, title_en, title_cn, description, is_active, icon, `order`, create_by, create_time, last_update_time, last_update_user) VALUES (2, '数据开发', 'application development', '数据开发', '数据开发描述', 1, null, null, null, null, null, null);
65+
INSERT INTO dss_onestop_menu (id, name, title_en, title_cn, description, is_active, icon, `order`, create_by, create_time, last_update_time, last_update_user) VALUES (3, '生产运维', 'production operation', '生产运维', '生产运维描述', 1, null, null, null, null, null, null);
66+
INSERT INTO dss_onestop_menu (id, name, title_en, title_cn, description, is_active, icon, `order`, create_by, create_time, last_update_time, last_update_user) VALUES (4, '数据管理', 'data quality', '数据管理', '数据管理描述', 1, null, null, null, null, null, null);
67+
INSERT INTO dss_onestop_menu (id, name, title_en, title_cn, description, is_active, icon, `order`, create_by, create_time, last_update_time, last_update_user) VALUES (5, '数据分析与可视化', 'data analysis', '数据分析与可视化', '数据分析描述', 1, null, null, null, null, null, null);
6868

6969
DELETE FROM dss_onestop_menu_application;
7070

71-
INSERT INTO `dss_onestop_menu_application` VALUES (2,1,1,'机器学习平台','机器学习平台','机器学习平台','机器学习平台','streaming, realtime','流式,实时',1,'under union construction','联合共建中','related information','相关资讯','http://127.0.0.1:8088/wiki/scriptis/manual/workspace_cn.html','shujukaifa-logo',NULL,NULL,NULL,NULL,NULL,'shujukaifa-icon'),(3,11,1,'数据服务','数据服务','Data service ','数据服务','API, data service','API,数据服务',1,'under union construction','进入数据服务','related information','相关资讯','http://127.0.0.1:8088/wiki/scriptis/manual/workspace_cn.html','shujufuwu-logo',NULL,NULL,NULL,NULL,NULL,'shujufuwu-icon'),(10,7,5,'Workspace management','工作空间管理',NULL,NULL,NULL,NULL,1,'workspace management','工作空间管理',NULL,NULL,NULL,'shujukaifa-logo',NULL,NULL,NULL,NULL,NULL,'shujukaifa-icon'),(14,18,2,'Superset','Superset','Superset','Superset',NULL,NULL,1,'Enter Superset','进入 Superset',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(15,19,2,'即席查询','即席查询','即席查询','即席查询',NULL,NULL,1,'Enter 即席查询','进入 即席查询',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(17,21,1,'数据交换','数据交换','数据交换','数据交换',NULL,NULL,1,'Enter 数据交换','进入 数据交换',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(18,22,3,'数据治理','数据治理','数据治理','数据治理',NULL,NULL,1,'Enter 数据治理','进入 数据治理',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),(19,23,3,'运维中心','运维中心','运维中心','运维中心',NULL,NULL,1,'Enter 运维中心','进入 运维中心',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
72-
71+
INSERT INTO dss_onestop_menu_application (id, application_id, onestop_menu_id, title_en, title_cn, desc_en, desc_cn, labels_en, labels_cn, is_active, access_button_en, access_button_cn, manual_button_en, manual_button_cn, manual_button_url, icon, `order`, create_by, create_time, last_update_time, last_update_user, image) VALUES (4, 5, 5, 'Scriptis', '即席查询', 'Scriptis is a one-stop interactive data exploration analysis tool built by WeDataSphere, uses Linkis as the kernel.', 'Scriptis是微众银行微数域(WeDataSphere)打造的一站式交互式数据探索分析工具,以任意桥(Linkis)做为内核,提供多种计算存储引擎(如Spark、Hive、TiSpark等)、Hive数据库管理功能、资源(如Yarn资源、服务器资源)管理、应用管理和各种用户资源(如UDF、变量等)管理的能力。', 'scripts development,IDE', '脚本开发,IDE', 1, 'enter Scriptis', '进入Scriptis', 'user manual', '用户手册', 'http://127.0.0.1:8088/wiki/scriptis/manual/workspace_cn.html', 'shujukaifa-logo', null, null, null, null, null, 'shujukaifa-icon');
72+
INSERT INTO dss_onestop_menu_application (id, application_id, onestop_menu_id, title_en, title_cn, desc_en, desc_cn, labels_en, labels_cn, is_active, access_button_en, access_button_cn, manual_button_en, manual_button_cn, manual_button_url, icon, `order`, create_by, create_time, last_update_time, last_update_user, image) VALUES (5, 16, 2, 'workflow', '工作流开发', '工作流开发', '工作流开发', null, null, 1, 'Enter workflow', '进入 工作流开发', null, null, null, null, null, null, null, null, null, null);
73+
INSERT INTO dss_onestop_menu_application (id, application_id, onestop_menu_id, title_en, title_cn, desc_en, desc_cn, labels_en, labels_cn, is_active, access_button_en, access_button_cn, manual_button_en, manual_button_cn, manual_button_url, icon, `order`, create_by, create_time, last_update_time, last_update_user, image) VALUES (9, 1, 1, 'Exchangis', '数据交换', 'Exchangis is a lightweight, high scalability, data exchange platform, support for structured and unstructured data transmission between heterogeneous data sources.', 'Exchangis是一个轻量级的、高扩展性的数据交换平台,支持对结构化及无结构化的异构数据源之间的数据传输,在应用层上具有数据权限管控、节点服务高可用和多租户资源隔离等业务特性,而在数据层上又具有传输架构多样化、模块插件化和组件低耦合等架构特点。', 'user manual', '生产,运维', 1, 'enter Exchangis', '进入Exchangis', 'user manual', '用户手册', 'http://127.0.0.1:8088/wiki/scriptis/manual/workspace_cn.html', 'shujujiaohuan-logo', null, null, null, null, null, 'shujujiaohuan-icon');
74+
INSERT INTO dss_onestop_menu_application (id, application_id, onestop_menu_id, title_en, title_cn, desc_en, desc_cn, labels_en, labels_cn, is_active, access_button_en, access_button_cn, manual_button_en, manual_button_cn, manual_button_url, icon, `order`, create_by, create_time, last_update_time, last_update_user, image) VALUES (12, 12, 2, 'dataService', '数据服务', '/dataService', '/dataService', null, null, 1, 'Enter dataService', '进入 数据服务', null, null, null, null, null, null, null, null, null, null);
75+
INSERT INTO dss_onestop_menu_application (id, application_id, onestop_menu_id, title_en, title_cn, desc_en, desc_cn, labels_en, labels_cn, is_active, access_button_en, access_button_cn, manual_button_en, manual_button_cn, manual_button_url, icon, `order`, create_by, create_time, last_update_time, last_update_user, image) VALUES (13, 13, 3, 'SharpScheduler', '运维中心', 'SharpScheduler', 'SharpScheduler', null, null, 1, 'Enter SharpScheduler', '进入 SharpScheduler', null, null, null, null, null, null, null, null, null, null);
76+
INSERT INTO dss_onestop_menu_application (id, application_id, onestop_menu_id, title_en, title_cn, desc_en, desc_cn, labels_en, labels_cn, is_active, access_button_en, access_button_cn, manual_button_en, manual_button_cn, manual_button_url, icon, `order`, create_by, create_time, last_update_time, last_update_user, image) VALUES (14, 14, 5, 'CtView', '天翼视屏', '天翼视屏', '天翼视屏', null, null, 1, 'Enter 天翼视屏', '进入 天翼视屏', null, null, null, null, null, null, null, null, null, null);
77+
INSERT INTO dss_onestop_menu_application (id, application_id, onestop_menu_id, title_en, title_cn, desc_en, desc_cn, labels_en, labels_cn, is_active, access_button_en, access_button_cn, manual_button_en, manual_button_cn, manual_button_url, icon, `order`, create_by, create_time, last_update_time, last_update_user, image) VALUES (15, 15, 5, 'superset', '数据报表', 'data view', '数据可视化', null, null, 1, 'Enter sdg', '进入 数据报表', null, null, null, null, null, null, null, null, null, null);
78+
INSERT INTO dss_onestop_menu_application (id, application_id, onestop_menu_id, title_en, title_cn, desc_en, desc_cn, labels_en, labels_cn, is_active, access_button_en, access_button_cn, manual_button_en, manual_button_cn, manual_button_url, icon, `order`, create_by, create_time, last_update_time, last_update_user, image) VALUES (17, 17, 1, 'nifi', '数据接入(敬请期待)', '(敬请期待)', '(敬请期待)', null, null, 1, 'Enter nifi', '进入 数据接入(敬请期待)', null, null, null, null, null, null, null, null, null, null);
79+
INSERT INTO dss_onestop_menu_application (id, application_id, onestop_menu_id, title_en, title_cn, desc_en, desc_cn, labels_en, labels_cn, is_active, access_button_en, access_button_cn, manual_button_en, manual_button_cn, manual_button_url, icon, `order`, create_by, create_time, last_update_time, last_update_user, image) VALUES (18, 18, 2, 'MLP', '机器学习平台(敬请期待)', '(敬请期待)', '(敬请期待)', null, null, 1, 'Enter MLP', '进入 机器学习平台', null, null, null, null, null, null, null, null, null, null);
80+
INSERT INTO dss_onestop_menu_application (id, application_id, onestop_menu_id, title_en, title_cn, desc_en, desc_cn, labels_en, labels_cn, is_active, access_button_en, access_button_cn, manual_button_en, manual_button_cn, manual_button_url, icon, `order`, create_by, create_time, last_update_time, last_update_user, image) VALUES (19, 19, 3, 'streamis', '实时计算中心(敬请期待)', '(敬请期待)', '(敬请期待)', null, null, 1, 'Enter streamis', '进入 实时计算中心(敬请期待)', null, null, null, null, null, null, null, null, null, null);
81+
INSERT INTO dss_onestop_menu_application (id, application_id, onestop_menu_id, title_en, title_cn, desc_en, desc_cn, labels_en, labels_cn, is_active, access_button_en, access_button_cn, manual_button_en, manual_button_cn, manual_button_url, icon, `order`, create_by, create_time, last_update_time, last_update_user, image) VALUES (20, 22, 4, 'dataGovernance', '数据治理', 'dataGovernance', 'dataGovernance', null, null, 1, 'Enter dataGovernance', '进入 数据治理', null, null, null, null, null, null, null, null, null, null);
82+
INSERT INTO dss_onestop_menu_application (id, application_id, onestop_menu_id, title_en, title_cn, desc_en, desc_cn, labels_en, labels_cn, is_active, access_button_en, access_button_cn, manual_button_en, manual_button_cn, manual_button_url, icon, `order`, create_by, create_time, last_update_time, last_update_user, image) VALUES (21, 21, 4, 'dataSecurity', '数据安全(敬请期待)', '(敬请期待)', '(敬请期待)', null, null, 1, 'Enter dataSecurity', '进入 数据安全(敬请期待)', null, null, null, null, null, null, null, null, null, null);
7383

7484
DELETE FROM dss_role;
7585
INSERT INTO `dss_role` (`id`, `workspace_id`, `name`, `front_name`, `update_time`, `description`) VALUES('1','-1','admin','管理员','2020-07-13 02:43:35','通用角色管理员');
@@ -85,8 +95,19 @@ insert into `dss_workspace_user_role`(`id`,`workspace_id`,`username`,`role_id`,
8595

8696

8797
DELETE FROM dss_application;
88-
INSERT INTO `dss_application` VALUES (1,'机器学习平台','http://aitest.ctyun.cn:30411/room/mlp/overview',0,1,NULL,0,'http://aitest.ctyun.cn:30411/room/mlp/expProject','{\"watermark\":false,\"rsDownload\":true}',0,'http://aitest.ctyun.cn:30411/room/mlp/overview','http://aitest.ctyun.cn:30411/room/serviceapi/luban/redirect'),(4,'workflow','http://GATEWAY_INSTALL_IP:GATEWAY_PORT',0,1,NULL,0,'/workflow',NULL,0,'/project',NULL),(5,'console',NULL,0,1,NULL,0,'/console',NULL,0,'/console',NULL),(7,'workspace management','/workspaceManagement',0,1,NULL,0,NULL,NULL,NULL,'/workspaceManagement',NULL),(11,'数据服务','/dataService',0,1,NULL,0,'/dataService',NULL,0,'/dataService','/dataService'),(18,'Superset','http://superset.ctyun.cn:8088/report',NULL,NULL,NULL,NULL,'http://superset.ctyun.cn:8088/report',NULL,0,'http://superset.ctyun.cn:8088/report','http://superset.ctyun.cn:8088/report/login'),(19,'即席查询','/home',NULL,NULL,NULL,NULL,'/home',NULL,0,'/home','/home'),(20,'即席查询','/home',NULL,NULL,NULL,NULL,'/home',NULL,0,'/home','/home'),(21,'数据交换','http://luban.ctyun.cn:8088/luban/exchangis/',NULL,NULL,NULL,NULL,'http://luban.ctyun.cn:8088/luban/exchangis/',NULL,1,'http://luban.ctyun.cn:8088/luban/exchangis/','http://luban.ctyun.cn:8088/luban/exchangis/api/v1/auth/redirect'),(22,'数据治理','/dataGovernance',NULL,NULL,NULL,NULL,'/dataGovernance',NULL,0,'/dataGovernance','/dataGovernance'),(23,'运维中心','/scheduler',NULL,NULL,NULL,NULL,'/scheduler',NULL,0,'/scheduler','/scheduler');
8998

99+
INSERT INTO dss_application (id, name, url, is_user_need_init, level, user_init_url, exists_project_service, project_url, enhance_json, if_iframe, homepage_url, redirect_url) VALUES (1, 'Exchangis', 'http://luban.ctyun.cn:31022/luban/exchangis/', 0, 1, null, 0, 'http://luban.ctyun.cn:31022/luban/exchangis/', '{"watermark":false,"rsDownload":true}', 1, 'http://luban.ctyun.cn:31022/luban/exchangis/', 'http://luban.ctyun.cn:31022/luban/exchangis/api/v1/auth/redirect');
100+
INSERT INTO dss_application (id, name, url, is_user_need_init, level, user_init_url, exists_project_service, project_url, enhance_json, if_iframe, homepage_url, redirect_url) VALUES (5, 'Scriptis', '/home', 0, 1, null, 0, '/home', null, 0, '/home', '/home');
101+
INSERT INTO dss_application (id, name, url, is_user_need_init, level, user_init_url, exists_project_service, project_url, enhance_json, if_iframe, homepage_url, redirect_url) VALUES (12, 'dataService', '/dataService', 0, 1, null, 0, '/dataService', null, 0, '/dataService', '/dataService');
102+
INSERT INTO dss_application (id, name, url, is_user_need_init, level, user_init_url, exists_project_service, project_url, enhance_json, if_iframe, homepage_url, redirect_url) VALUES (13, 'SharpScheduler', '/scheduler', null, null, null, null, '/scheduler', null, 0, '/scheduler', '/scheduler');
103+
INSERT INTO dss_application (id, name, url, is_user_need_init, level, user_init_url, exists_project_service, project_url, enhance_json, if_iframe, homepage_url, redirect_url) VALUES (14, 'CtView', 'http://101.226.23.99:31024/luban/datav/', null, null, null, null, 'http://101.226.23.99:31024/luban/datav/', null, 1, 'http://101.226.23.99:31024/luban/datav/', 'http://101.226.23.99:31024/luban/datav/');
104+
INSERT INTO dss_application (id, name, url, is_user_need_init, level, user_init_url, exists_project_service, project_url, enhance_json, if_iframe, homepage_url, redirect_url) VALUES (15, 'superset', 'http://superset.ctyun.cn:31022/report', 0, 1, null, 0, 'http://superset.ctyun.cn:31022/report', null, 0, 'http://superset.ctyun.cn:31022/report', 'http://superset.ctyun.cn:31022/report/login');
105+
INSERT INTO dss_application (id, name, url, is_user_need_init, level, user_init_url, exists_project_service, project_url, enhance_json, if_iframe, homepage_url, redirect_url) VALUES (16, 'workflow', '/', null, null, null, null, '/', null, 0, '/', '/');
106+
INSERT INTO dss_application (id, name, url, is_user_need_init, level, user_init_url, exists_project_service, project_url, enhance_json, if_iframe, homepage_url, redirect_url) VALUES (17, 'nifi', '/', null, null, null, null, '/', null, 0, '/', '/');
107+
INSERT INTO dss_application (id, name, url, is_user_need_init, level, user_init_url, exists_project_service, project_url, enhance_json, if_iframe, homepage_url, redirect_url) VALUES (18, 'MLP', '/', null, null, null, null, '/', null, 0, '/', '/');
108+
INSERT INTO dss_application (id, name, url, is_user_need_init, level, user_init_url, exists_project_service, project_url, enhance_json, if_iframe, homepage_url, redirect_url) VALUES (19, 'streamis', '/', null, null, null, null, '/', null, 0, '/', '/');
109+
INSERT INTO dss_application (id, name, url, is_user_need_init, level, user_init_url, exists_project_service, project_url, enhance_json, if_iframe, homepage_url, redirect_url) VALUES (21, 'dataSecurity', '/', null, null, null, null, '/', null, 0, '/', '/');
110+
INSERT INTO dss_application (id, name, url, is_user_need_init, level, user_init_url, exists_project_service, project_url, enhance_json, if_iframe, homepage_url, redirect_url) VALUES (22, 'dataGovernance', '/dataGovernance', null, null, null, null, '/dataGovernance', null, 0, '/dataGovernance', '/dataGovernance');
90111

91112

92113
UPDATE `dss_application` SET url = 'http://GATEWAY_INSTALL_IP:GATEWAY_PORT' WHERE `name` in('linkis','workflow');

0 commit comments

Comments
 (0)