Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
project_operation
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenzy
project_operation
Commits
fa4c4ed2
Commit
fa4c4ed2
authored
Nov 18, 2024
by
chenzy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
前海电力项目部署事项
parent
e9037b2b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
342 additions
and
1 deletion
+342
-1
README.md
README.md
+33
-1
前海项目初始化sql.sql
前海项目初始化sql.sql
+309
-0
数据服务模型定义[DataService_数据服务]导出2024-11-15T16_07_00.300.xlsx
数据服务模型定义[DataService_数据服务]导出2024-11-15T16_07_00.300.xlsx
+0
-0
资产目录模板定义[analyze_制造业]导出2024-11-15T16_02_31.313.xlsx.xlsx
资产目录模板定义[analyze_制造业]导出2024-11-15T16_02_31.313.xlsx.xlsx
+0
-0
No files found.
README.md
View file @
fa4c4ed2
...
...
@@ -22,7 +22,7 @@
## ES数据初始化接口
访问后端服务swagger接口,访问路径ip:端口/api/服务名/swagger-ui.html#/ 服务名为下面()内的,其它服务可打开f12,点开具体服务查看请求路径得知
访问后端服务swagger接口,访问路径ip:端口/api/服务名/swagger-ui.html#/ 服务名为下面()内的,其它服务可打开f12,点开具体服务查看请求路径得知
,或者打开eureka,可看到具体服务名
finder的pod建议重启
服务(pdataservice)的POST /pdsCURD/populateFullTestSearchIndex
...
...
@@ -36,6 +36,8 @@ finder的pod建议重启
元数据的 POST /rest/init/initMedataIndex(元数据检索)
数据指标和数据标签都是 /rest/standard/maintain/transform
...
...
@@ -65,3 +67,33 @@ firewall-cmd --permanent --add-rich-rule="rule family="ipv4" source address="10.
1.
重启防火墙
systemctl restart firewalld
前海供电项目部署步骤:
1.
后端项目启动,模块有:auth,dataassetmgr,finder,metadataharvester,metadatarepo,pdataservice,podata,scheduler,sso,tagger
2.
初始化执行sql,在git项目中
3.
部署前端模块(建议部署完直接重启nginx+清除浏览器缓存再访问):center-home,data-atlas,data-govern,data-marge,metadata-analysis
验证系统使用:使用流程:抽取数据-发布资产-发布服务
1.
登录系统后,先进入多环境管理,创建环境-重登;再进入领域管理-创建领域-重登;最后进入权限配置-配置需要的权限
2.
进入元数据管理界面,切换成模型视角,选择System,创建系统,再进入权限配置,配置系统权限;选择Database,创建数据源
3.
进入元数据-采集任务管理-新增任务-选择数据源信息和定时信息
4.
配置资产模板和服务模板,模板样例在git项目中 --> 系统管理-模板管理-导入模板,右上角按钮编辑,是否审批先去掉。再右上角属性关联 -配置元数据的中英文名对应资产的中英文名(这是最简单的),再进入资产管理创建一个栏目
5.
生成资产:元数据管理-选择表级元数据,上面有个关联资产,选中关联到资产下的哪个目录。
6.
配置资产权限:进入资产管理,找到刚生成的资产,点击操作授权,配置权限给用户(这里的用户需在人员管理创建)
7.
服务发布:点击左侧刷新目录按钮,同步资产目录,点击新增-拖拉创建服务,可以看到左侧有权限的资产,拖拉到右侧栏目下(预览可以看到部分数据),保存填写相关信息(注意,如果没有填主题域的话,需切换服务视角才能看到创建的服务);找到创建好的服务,点击发布服务-评审后,即可再已发布和服务管理处看到。
问题事项:
1.
报错 tx_isolation,一般是mysql驱动和连接的mysql版本对不上。解决:重新打包或删除包中的驱动文件重新添加
2.
默认初始账号密码为 : root/pwd
3.
点击系统日志,请求报错,后端没有错误日志。解决:启动 logstash
4.
部分按钮缺权限的时候,返回权限配置-选择具体页面-右侧全选勾上,如果还是没权限,则先创建目录(比如标签模块)
5.
元模型检查:找到元数据模块下的admin模块的meta-model.xml,每个model是否都有属性 order,没有的话加上
6.
pdataservice和podata的yml文件中的sefl.odata.prefix 为发布服务后的地址前缀,注意nginx需暴漏服务端口。
前海项目初始化sql.sql
0 → 100644
View file @
fa4c4ed2
insert
into
auth_app
(
app_id
,
app_name
,
app_dname
)
VALUES
(
1
,
'metadataRepo'
,
'元数据'
);
insert
into
auth_app
(
app_id
,
app_name
,
app_dname
)
VALUES
(
1
,
'metadataRepo'
,
'元数据'
);
insert
into
auth_app
(
app_id
,
app_name
,
app_dname
)
VALUES
(
3
,
'dataAsset'
,
'数据资产'
);
insert
into
auth_app
(
app_id
,
app_name
,
app_dname
)
VALUES
(
6
,
'authService'
,
'用户与权限'
);
insert
into
auth_app
(
app_id
,
app_name
,
app_dname
)
VALUES
(
7
,
'metadataHarvester'
,
'元数据采集'
);
insert
into
auth_app
(
app_id
,
app_name
,
app_dname
)
VALUES
(
10
,
'tagger'
,
'标签'
);
insert
into
auth_app
(
app_id
,
app_name
,
app_dname
)
VALUES
(
11
,
'sso'
,
'用户登录'
);
insert
into
auth_app
(
app_id
,
app_name
,
app_dname
)
VALUES
(
14
,
'pdataService'
,
'数据服务'
);
/*
* 数据资产菜单
*/
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
1
,
'数据资产'
,
null
,
1
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
11
,
1
,
'app_id'
,
'3'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
12
,
1
,
'feature'
,
'dataAsset'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
13
,
1
,
'isGrantable'
,
'true'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
101
,
'数据地图'
,
1
,
1
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
1011
,
101
,
'app_id'
,
'3'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
1012
,
101
,
'feature'
,
'dataAsset_dataMap'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
102
,
'资产管理'
,
1
,
2
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
1021
,
102
,
'app_id'
,
'3'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
1022
,
102
,
'feature'
,
'dataAsset_dataAssetManage'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
103
,
'资源浏览'
,
1
,
3
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
1031
,
103
,
'app_id'
,
'3'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
1032
,
103
,
'feature'
,
'dataAsset_resourceBrowse'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
104
,
'资产浏览'
,
1
,
4
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
1041
,
104
,
'app_id'
,
'3'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
1042
,
104
,
'feature'
,
'dataAsset_dataAssetBrowse'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
105
,
'未挂载资产'
,
1
,
5
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
1051
,
105
,
'app_id'
,
'3'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
1052
,
105
,
'feature'
,
'dataAsset_unloadDataAsset'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
106
,
'版本管理'
,
1
,
6
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
1061
,
106
,
'app_id'
,
'3'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
1062
,
106
,
'feature'
,
'dataAsset_versionManage'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
107
,
'变更管理'
,
1
,
7
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
108
,
'资源管理'
,
1
,
8
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
1081
,
108
,
'app_id'
,
'3'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
1082
,
108
,
'feature'
,
'dataAsset_resourceManage'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
109
,
'资产运营'
,
1
,
10
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
1091
,
109
,
'app_id'
,
'3'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
1092
,
109
,
'feature'
,
'dataAsset_dataAssetOperation'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
110
,
'任务管理'
,
1
,
9
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
1101
,
110
,
'app_id'
,
'3'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
1102
,
110
,
'feature'
,
'dataAsset_taskManage'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
111
,
'资产盘点'
,
1
,
11
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
1111
,
111
,
'app_id'
,
'3'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
1112
,
111
,
'feature'
,
'dataAsset_inventory'
);
/*
* 元数据菜单
*/
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
2
,
'元数据'
,
null
,
3
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
201
,
'元模型管理'
,
2
,
1
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
2011
,
201
,
'app_id'
,
'1'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
2012
,
201
,
'feature'
,
'metadata_model'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
202
,
'元数据管理'
,
2
,
2
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
2021
,
202
,
'app_id'
,
'1'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
2022
,
202
,
'feature'
,
'metadata_admin'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
2023
,
202
,
'isDomainEnabled'
,
'true'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
203
,
'版本管理'
,
2
,
3
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
2031
,
203
,
'app_id'
,
'1'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
2032
,
203
,
'feature'
,
'metadata_version'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
2033
,
203
,
'isDomainEnabled'
,
'true'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
204
,
'元数据浏览'
,
2
,
4
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
2041
,
204
,
'app_id'
,
'1'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
2042
,
204
,
'feature'
,
'metadata_view'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
2043
,
204
,
'isDomainEnabled'
,
'true'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
205
,
'多环境对比'
,
2
,
5
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
206
,
'关系图谱'
,
2
,
6
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
2061
,
206
,
'app_id'
,
'14'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
2062
,
206
,
'feature'
,
'metadataRelation'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
207
,
'采集任务管理'
,
2
,
7
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
2071
,
207
,
'app_id'
,
'7'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
2072
,
207
,
'feature'
,
'harvester_taskManage'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
2073
,
207
,
'isDomainEnabled'
,
'true'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
208
,
'元数据运营'
,
2
,
8
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
2081
,
208
,
'app_id'
,
'1'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
2082
,
208
,
'feature'
,
'metadata_operate'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
2083
,
208
,
'isDomainEnabled'
,
'true'
);
/*
* 数据标签
*/
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
5
,
'数据标签'
,
null
,
7
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
51
,
5
,
'app_id'
,
'10'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
52
,
5
,
'feature'
,
'tagger'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
53
,
5
,
'isGrantable'
,
'true'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
501
,
'标签管理'
,
5
,
1
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
5011
,
501
,
'app_id'
,
'10'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
5012
,
501
,
'feature'
,
'tagger_manage'
);
#
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
#
values
(
502
,
'标签应用'
,
5
,
2
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
502
,
'标签查询'
,
5
,
2
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
5021
,
502
,
'app_id'
,
'10'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
5022
,
502
,
'feature'
,
'tagger_query'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
503
,
'个人标签分析'
,
5
,
3
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
5031
,
503
,
'app_id'
,
'10'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
5032
,
503
,
'feature'
,
'tagger_personalTagAnalyze'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
504
,
'标签运营'
,
5
,
4
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
5041
,
504
,
'app_id'
,
'10'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
5042
,
504
,
'feature'
,
'tagger_operation'
);
/*
* p数据服务
*/
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
14
,
'数据服务'
,
null
,
14
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
1401
,
'服务配置'
,
14
,
1
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
1402
,
'服务管理'
,
14
,
2
);
/*
* 系统管理
*/
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
12
,
'系统管理'
,
null
,
12
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
1201
,
'人员管理'
,
12
,
1
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
12011
,
1201
,
'app_id'
,
'6'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
12012
,
1201
,
'feature'
,
'authService_user'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
1202
,
'角色权限管理'
,
12
,
2
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
12021
,
1202
,
'app_id'
,
'6'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
12022
,
1202
,
'feature'
,
'authService_role'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
1203
,
'多环境管理'
,
12
,
3
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
12031
,
1203
,
'app_id'
,
'6'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
12032
,
1203
,
'feature'
,
'authService_env'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
1204
,
'领域管理'
,
12
,
4
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
12041
,
1204
,
'app_id'
,
'6'
);
insert
into
auth_menu_config
(
menu_config_id
,
menu_item_id
,
config_name
,
config_value
)
values
(
12042
,
1204
,
'feature'
,
'authService_scope'
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
1205
,
'数据源管理'
,
12
,
5
);
insert
into
auth_menu
(
menu_item_id
,
menu_item_name
,
parent_menu_item_id
,
seq
)
values
(
1209
,
'系统日志'
,
12
,
9
);
INSERT
INTO
auth_app_log_context
(
app_log_context_id
,
context_dname
,
context_name
,
app_id
)
VALUES
(
2
,
'标签目录'
,
'tagmanage.TAGCATALOG'
,
10
);
INSERT
INTO
auth_app_log_context
(
app_log_context_id
,
context_dname
,
context_name
,
app_id
)
VALUES
(
3
,
'标签操作'
,
'tagmanage.TAG'
,
10
);
INSERT
INTO
auth_app_log_context
(
app_log_context_id
,
context_dname
,
context_name
,
app_id
)
VALUES
(
4
,
'数据源操作'
,
'harvester.DATASOURCE'
,
7
);
INSERT
INTO
auth_app_log_context
(
app_log_context_id
,
context_dname
,
context_name
,
app_id
)
VALUES
(
5
,
'任务执行'
,
'harvester.HARVESTERTASK'
,
7
);
INSERT
INTO
auth_app_log_context
(
app_log_context_id
,
context_dname
,
context_name
,
app_id
)
VALUES
(
6
,
'任务调度'
,
'harvester.TASKSCHEDULE'
,
7
);
INSERT
INTO
auth_app_log_context
(
app_log_context_id
,
context_dname
,
context_name
,
app_id
)
VALUES
(
7
,
'任务执行详情'
,
'harvester.TASK'
,
7
);
INSERT
INTO
auth_app_log_context
(
app_log_context_id
,
context_dname
,
context_name
,
app_id
)
VALUES
(
9
,
'系统设置记录'
,
'auth.AUDIT'
,
6
);
INSERT
INTO
auth_app_log_context
(
app_log_context_id
,
context_dname
,
context_name
,
app_id
)
VALUES
(
10
,
'元数据操作'
,
'metaRepo.META'
,
1
);
INSERT
INTO
auth_app_log_context
(
app_log_context_id
,
context_dname
,
context_name
,
app_id
)
VALUES
(
11
,
'元数据关系操作'
,
'metaRepo.RELATION'
,
1
);
INSERT
INTO
auth_app_log_context
(
app_log_context_id
,
context_dname
,
context_name
,
app_id
)
VALUES
(
12
,
'元数据版本操作'
,
'metaRepo.VERSION'
,
1
);
INSERT
INTO
auth_app_log_context
(
app_log_context_id
,
context_dname
,
context_name
,
app_id
)
VALUES
(
14
,
'数据资产操作'
,
'dataAsset.AUDIT'
,
3
);
INSERT
INTO
auth_app_log_context
(
app_log_context_id
,
context_dname
,
context_name
,
app_id
)
VALUES
(
17
,
'登录操作'
,
'sso.API'
,
11
);
INSERT
INTO
auth_app_log_context
(
app_log_context_id
,
context_dname
,
context_name
,
app_id
)
VALUES
(
19
,
'数据服务操作'
,
'pdataService.AUDIT'
,
14
);
insert
into
auth_data_role
(
data_role_id
,
data_role_name
,
data_role_desc
)
values
(
1
,
'sysadmin'
,
'系统管理员'
);
insert
into
auth_data_role_authors
(
data_role_author_id
,
data_role_id
)
values
(
1
,
1
);
insert
into
auth_data_role_author
(
data_role_author_id
,
author_id
)
values
(
1
,
61
);
insert
into
auth_user
(
user_id
,
user_name
,
user_dname
,
password
,
user_type
)
values
(
1
,
'root'
,
'root'
,
'37fa265330ad83eaa879efb1e2db6380896cf639'
,
'user'
);
insert
into
auth_data_role_users
(
user_id
,
data_role_id
)
values
(
1
,
1
);
insert
into
auth_data_role_menu_items
(
data_role_id
,
menu_item_id
)
values
(
1
,
1201
);
insert
into
auth_data_role_menu_items
(
data_role_id
,
menu_item_id
)
values
(
1
,
1202
);
补充权限等
sql
:
INSERT
INTO
auth_privilege
(
privilege_id
,
feature_bits
,
features
,
granted_feature
,
grantee
,
mask
,
privilege_type
,
privileged_object_id
,
privileged_object_name
,
privileged_object_path
)
VALUES
(
1
,
'1,2,4,8,16,32'
,
'新增,编辑,删除,用户管理,权限配置,主题'
,
7
,
1
,
56
,
'authService_user'
,
1
,
'用户角色管理'
,
'null'
);
INSERT
INTO
auth_privilege
(
privilege_id
,
feature_bits
,
features
,
granted_feature
,
grantee
,
mask
,
privilege_type
,
privileged_object_id
,
privileged_object_name
,
privileged_object_path
)
VALUES
(
2
,
'1,2,4,8,16,32'
,
'新增,编辑,删除,用户管理,权限配置,主题'
,
31
,
1
,
32
,
'authService_role'
,
3
,
'角色权限管理'
,
'null'
);
INSERT
INTO
auth_privilege
(
privilege_id
,
feature_bits
,
features
,
granted_feature
,
grantee
,
mask
,
privilege_type
,
privileged_object_id
,
privileged_object_name
,
privileged_object_path
)
VALUES
(
3
,
'1,2,4,8,16,32'
,
'新增,编辑,删除,用户管理,权限配置,主题'
,
7
,
1
,
56
,
'authService_user'
,
2
,
'用户组管理'
,
'null'
);
补充
2
:
INSERT
INTO
auth_privilege
(
privilege_id
,
feature_bits
,
features
,
granted_feature
,
grantee
,
mask
,
privilege_type
,
privileged_object_id
,
privileged_object_name
,
privileged_object_path
)
VALUES
(
4
,
'1,2,4,8,16,32'
,
'新增,编辑,删除,用户管理,权限配置,主题'
,
7
,
1
,
56
,
'authService_scope'
,
5
,
'领域管理'
,
'null'
);
INSERT
INTO
auth_privilege
(
privilege_id
,
feature_bits
,
features
,
granted_feature
,
grantee
,
mask
,
privilege_type
,
privileged_object_id
,
privileged_object_name
,
privileged_object_path
)
VALUES
(
5
,
'1,2,4,8,16,32'
,
'新增,编辑,删除,用户管理,权限配置,主题'
,
39
,
1
,
24
,
'authService_env'
,
4
,
'多环境管理'
,
'null'
);
\ No newline at end of file
数据服务模型定义[DataService_数据服务]导出2024-11-15T16_07_00.300.xlsx
0 → 100644
View file @
fa4c4ed2
File added
资产目录模板定义[analyze_制造业]导出2024-11-15T16_02_31.313.xlsx.xlsx
0 → 100644
View file @
fa4c4ed2
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment