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

Update branch-1.2.1 #1129

Merged
merged 329 commits into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
329 commits
Select commit Hold shift + click to select a range
56d0f92
git server search fix1
qweqnotallow Apr 28, 2024
c57449d
SchedulisProjectSearchOperation add a line log
SunPengWan Apr 29, 2024
ad82984
fix appconn refresh failed
Apr 29, 2024
4e866ab
git server search fix2
qweqnotallow Apr 29, 2024
b09edec
git server search fix3(logger)
qweqnotallow Apr 29, 2024
f543439
support auto.disabled
Apr 30, 2024
897f60e
update query.frequency to 1m
Apr 30, 2024
1e44663
workflow server/ orchestrator server lock fix
qweqnotallow Apr 30, 2024
046d29d
clear OrchestratorFrameworkServiceImpl info
qweqnotallow Apr 30, 2024
5d4a1dc
fix
Apr 30, 2024
2db6146
get git Url cookie
qweqnotallow Apr 30, 2024
7891caa
get git Url cookie fix
qweqnotallow Apr 30, 2024
d6fa4d4
1.4.0编排添加是否默认引用字段,获取工作空间所有员工添加部门科室字段
xuanzhou11 Apr 30, 2024
a4a9c03
git search/server fix
qweqnotallow May 6, 2024
edf5ca3
fix coding error
xuanzhou11 May 6, 2024
79fec4c
fix error
xuanzhou11 May 6, 2024
34f7b5f
add Serializable
xuanzhou11 May 6, 2024
cc34bab
add serializable
xuanzhou11 May 6, 2024
ec3c3c7
add getter;
xuanzhou11 May 6, 2024
38d280f
add method getAllDepartments
xuanzhou11 May 6, 2024
606e323
add interface getAllWorkspaceUsersWithDepartment;
xuanzhou11 May 7, 2024
21c7127
git project export fix
qweqnotallow May 7, 2024
8eb4e1f
git project export fix
qweqnotallow May 7, 2024
c748131
git project export fix1
qweqnotallow May 7, 2024
498943c
fix
xuanzhou11 May 7, 2024
a1abff4
server submitFlow add threadPool and status
qweqnotallow May 7, 2024
bf919b2
server jump to gitUrl fix
qweqnotallow May 7, 2024
1a045d7
git add CurrentCommit/server: orchestrator version info add commitId
qweqnotallow May 7, 2024
5cfb182
git add CurrentCommit fix1
qweqnotallow May 7, 2024
268b4d7
git add CurrentCommit fix2
qweqnotallow May 7, 2024
4d84177
git add history/server add /publish/history
qweqnotallow May 7, 2024
b56c149
git createProject/modifyProject fix
qweqnotallow May 8, 2024
3572d51
git server remove gitUrl
qweqnotallow May 8, 2024
6e962e6
deleteLock add username
qweqnotallow May 8, 2024
f548adf
remove submitflow threadPool
qweqnotallow May 9, 2024
8963e9d
optimize schedule executor
May 9, 2024
eb94aab
Merge remote-tracking branch 'origin/dev-1.4.0' into dev-1.1.20-gitflow
qweqnotallow May 9, 2024
c0e993e
pom -> 1.5.0
qweqnotallow May 9, 2024
b46373d
add OrchestratorSubmitJob
qweqnotallow May 9, 2024
a81d8f4
fix OrchestratorSubmitJob
qweqnotallow May 9, 2024
e593925
gitUrl fix
qweqnotallow May 9, 2024
8c62291
submitFlow status fix
qweqnotallow May 10, 2024
6dffc04
1.3.0->1.3.1
qweqnotallow May 11, 2024
c0b5533
mlss fix
qweqnotallow May 11, 2024
0697763
Revert "1.3.0->1.3.1"
qweqnotallow May 11, 2024
0eb54e1
mlss fix1 pom
qweqnotallow May 11, 2024
5dba20c
submitFlow status fix1
qweqnotallow May 11, 2024
5140bf2
1.3.0 -> 1.3.1
qweqnotallow May 11, 2024
7368a2d
git server fix : removeDir
qweqnotallow May 11, 2024
363f7c5
dss server fix : createProject add associateGit
qweqnotallow May 11, 2024
e1aa8f7
dss server fix : modifyProject add associateGit
qweqnotallow May 11, 2024
8e649f3
dss server fix : submit status sql fix
qweqnotallow May 11, 2024
19f60e5
git server search : add target pattern(.metaConf/.properties)
qweqnotallow May 11, 2024
7b5d0ca
git server: sql fix
qweqnotallow May 11, 2024
6bfe3cd
dss server fix: sql
qweqnotallow May 13, 2024
e10ab33
Modify mapper's * to fields
xuanzhou11 May 13, 2024
40c1ffa
git server : rename attr
qweqnotallow May 14, 2024
ebcf8e8
git server : sql fix
qweqnotallow May 14, 2024
1c5d48c
git server add : checkout and remove
qweqnotallow May 14, 2024
3dc5c34
git server add : rename
qweqnotallow May 14, 2024
32bd0be
dss-server : publish git server-> dss server
qweqnotallow May 14, 2024
152b548
dss-server : git revert after dss revert
qweqnotallow May 14, 2024
663d268
dss-server : dss remove after git remove
qweqnotallow May 14, 2024
fa67b68
Merge branch 'dev-1.4.0' into dev-1.5.0
qweqnotallow May 15, 2024
1e8271d
git server: rename fix
qweqnotallow May 16, 2024
c19936f
feat: dev 1.4.0 changes
demonray May 16, 2024
3c9690a
dss-server: getAllProjects add associateGit
qweqnotallow May 16, 2024
d36afd1
dss-server: getAllProjects add associateGit sql fix
qweqnotallow May 16, 2024
a74fa27
dss-server: publish sql fix
qweqnotallow May 16, 2024
f439bea
dss-server: rollback labels fix
qweqnotallow May 17, 2024
4e2ee06
git-server: add conflict
qweqnotallow May 17, 2024
2e8744d
git-server: unzip fix
qweqnotallow May 17, 2024
8e468c2
git-server: unzip fix
qweqnotallow May 17, 2024
99cc476
add workflow server to orchestrator server
qweqnotallow May 17, 2024
841bf2f
fix: fix en text
demonray May 17, 2024
8ab4a08
add workflow server to orchestrator server
qweqnotallow May 17, 2024
f6339a8
git server: rename fix
qweqnotallow May 20, 2024
5d45612
Merge branch 'dev-1.4.0' into dev-1.5.0
qweqnotallow May 20, 2024
7e4727f
git server: search Result fix
qweqnotallow May 20, 2024
16936c4
git server: try catch fix
qweqnotallow May 20, 2024
377a493
dss server: exportAllSubFlowNew null fix
qweqnotallow May 20, 2024
2413ee2
git server: pull fix
qweqnotallow May 20, 2024
2ad4301
git server: pull fix
qweqnotallow May 20, 2024
7d72516
dss server: add type
qweqnotallow May 20, 2024
efa63ca
dss server: add type
qweqnotallow May 21, 2024
5ee2518
dss server: add orchestrator/orchestrator_version to BMLResource
qweqnotallow May 21, 2024
411e3fa
git server : add error exception
qweqnotallow May 21, 2024
30f38f5
git server : add exception
qweqnotallow May 22, 2024
ec9e56b
Merge branch 'dev-1.3.1' into dev-1.4.0
qweqnotallow May 22, 2024
8ba67ad
Merge remote-tracking branch 'origin/dev-1.4.0' into dev-1.5.0
qweqnotallow May 22, 2024
56a6468
git server : password token encrypt
qweqnotallow May 23, 2024
1992556
fix: rm lerna
demonray May 23, 2024
5a8a6ea
Merge branch 'dev-1.5.0' of github.com:WeDataSphere/DataSphereStudio …
demonray May 23, 2024
e4bca4b
rm appconn resource zip after unzip
May 23, 2024
817e7e2
git server : throw exception fix
qweqnotallow May 23, 2024
464f6b9
git server : fix exception
qweqnotallow May 24, 2024
35bc9b1
git server : fix exception
qweqnotallow May 24, 2024
340b548
git server : add gitConnect
qweqnotallow May 24, 2024
d8ff3fe
git server : exception fix2
qweqnotallow May 24, 2024
debe4ee
git server : pom add httpclient
qweqnotallow May 24, 2024
63f417f
fix: rm lerna
demonray May 23, 2024
a506cd5
git server : gitUrlPre fix
qweqnotallow May 24, 2024
294c6d2
fix: 侧边形状控制
demonray May 24, 2024
63f714c
git server : exception fix
qweqnotallow May 24, 2024
3e1a075
Merge branch 'dev-1.5.0' of github.com:WeDataSphere/DataSphereStudio …
demonray May 24, 2024
7773c0e
git server/dss server: fix updateStatus
qweqnotallow May 24, 2024
8b2856c
git server: fix exception
qweqnotallow May 24, 2024
9828a09
git server: fix exception1
qweqnotallow May 24, 2024
b9ebe43
git server: fix exception1
qweqnotallow May 24, 2024
c5c5843
git server: fix push
qweqnotallow May 24, 2024
ae7d528
dss server: fix exception2
qweqnotallow May 24, 2024
b7780d7
dss server: fix exception OrchestratorPluginServiceImpl
qweqnotallow May 24, 2024
53b7439
git-server: fix priKey
qweqnotallow May 24, 2024
a89c23d
git-server: fix priKey
qweqnotallow May 24, 2024
2f41bae
工作流导出时第三方节点物料可选
May 27, 2024
b01c71c
git-server: fix decrypt
qweqnotallow May 27, 2024
3a617ed
git-server: fix decrypt
qweqnotallow May 27, 2024
716e4f5
git-server: fix decrypt2
qweqnotallow May 27, 2024
1efbe5a
git-server: workspace
qweqnotallow May 27, 2024
7cc409b
git-server: fix3 decrypt
qweqnotallow May 27, 2024
6229d50
dss-server: 校验Git是否绑定
qweqnotallow May 27, 2024
55b8175
升级漏洞
xuanzhou11 May 28, 2024
39624df
Merge remote-tracking branch 'origin/dev-1.5.0' into dev-1.5.0
xuanzhou11 May 28, 2024
f0f8e90
dss-server: add associateGit to workspaces
qweqnotallow May 28, 2024
4118478
取消poi-ooxml排除
xuanzhou11 May 28, 2024
f110066
dss-server: fix
qweqnotallow May 28, 2024
bdb7152
Merge remote-tracking branch 'origin/dev-1.5.0' into dev-1.5.0
qweqnotallow May 28, 2024
47116c6
dss-server: fix createProject
qweqnotallow May 28, 2024
5d2abf9
dss-server:fix getAllWorkspaceUsersDepartment
xuanzhou11 May 29, 2024
630daf9
dss-server:dix getAllWorkspaceUsersDepartment
xuanzhou11 May 29, 2024
ddf41f1
dss-server: fix orchestrator status
qweqnotallow May 29, 2024
22d05b8
Merge remote-tracking branch 'origin/dev-1.5.0' into dev-1.5.0
qweqnotallow May 29, 2024
64892a6
feat: add next-web
demonray May 24, 2024
c72d389
dss-server:Upgrade jar version
xuanzhou11 May 29, 2024
03531ee
Merge branch 'dev-1.5.0' of github.com:WeDataSphere/DataSphereStudio …
demonray May 29, 2024
b005a19
Merge branch 'dev-1.5.0' of github.com:WeDataSphere/DataSphereStudio …
demonray May 29, 2024
18944bd
dss-server: fix allType
qweqnotallow May 29, 2024
25222b3
Merge remote-tracking branch 'origin/dev-1.5.0' into dev-1.5.0
qweqnotallow May 29, 2024
c2bee37
dss-server: fix selectOrchestrator
qweqnotallow May 29, 2024
261b2bc
git-server: unlimit searchResult
qweqnotallow May 29, 2024
34a9549
git-server: fix gitHistory
qweqnotallow May 29, 2024
de46cf8
dss-server: rollback unlock by system
qweqnotallow May 29, 2024
5cd8ba4
dss-server: fix unlock
qweqnotallow May 29, 2024
4406e63
dss-server: fix unlock
qweqnotallow May 29, 2024
077d03c
dss-server: add workspaceId in path
qweqnotallow May 29, 2024
385757a
dss-server: add limit in workspaceUser
qweqnotallow May 29, 2024
e6c1121
dss-server: fix submitOrchestrator
qweqnotallow May 30, 2024
59cd319
dss-server: fix submitOrchestrator
qweqnotallow May 30, 2024
f217d55
dss-server: fix commitMessage
qweqnotallow May 30, 2024
d4c02bd
git-server: fix user
qweqnotallow May 30, 2024
dda1d92
git-server: fix user
qweqnotallow May 30, 2024
ac7044e
git-server: fix user
qweqnotallow May 30, 2024
46bcec3
git-server: fix createProject path
qweqnotallow May 30, 2024
5390dc4
git-server: fix createProject path
qweqnotallow May 30, 2024
b0b0f91
dss-server: add exception in submitFlow/status
qweqnotallow May 30, 2024
3e08037
dss-server: add exception in submitFlow/status
qweqnotallow May 30, 2024
12e4ee9
dss-server: add exception in submitFlow/status
qweqnotallow May 30, 2024
29af083
dss-server: fix rollback
qweqnotallow May 30, 2024
bb40c9b
dss-server:fix DepartmentUserTreeVo add nodeId
xuanzhou11 May 31, 2024
1485968
git-server: fix exception
qweqnotallow May 31, 2024
b6df8f1
dss-server: fix submitFlow
qweqnotallow May 31, 2024
b161100
dss-server: fix archive
qweqnotallow May 31, 2024
0e623b6
git-server:fix exception
qweqnotallow May 31, 2024
d2f904a
git-server:fix git pull
qweqnotallow May 31, 2024
693dee2
git-server:fix history
qweqnotallow May 31, 2024
a87fc69
git-server:fix username
qweqnotallow May 31, 2024
7cfa1c9
git-server:fix comment
qweqnotallow May 31, 2024
d8e9c28
git-server:fix comment add limit 100
qweqnotallow May 31, 2024
f6900a2
git-server:fix workTree
qweqnotallow May 31, 2024
773511c
git-server:fix metaConf
qweqnotallow May 31, 2024
5b32b5e
git-server:fix metaConf
qweqnotallow May 31, 2024
d535b47
git-server:fix metaConf2
qweqnotallow May 31, 2024
cb44c8f
git-server:fix history
qweqnotallow Jun 3, 2024
395c44e
git-server:fix commitId
qweqnotallow Jun 3, 2024
5818902
git-server:fix exclude
qweqnotallow Jun 3, 2024
205e607
git-server:fix history
qweqnotallow Jun 3, 2024
02ef906
git-server:fix subflow
qweqnotallow Jun 3, 2024
136c7d2
git-server:fix workspaceId
qweqnotallow Jun 3, 2024
6d27cbb
git-server:fix search
qweqnotallow Jun 4, 2024
542e9af
dss-server:fix DepartmentUserTreeVo add Construction
xuanzhou11 Jun 4, 2024
9616508
git-server:fix search
qweqnotallow Jun 4, 2024
62f822f
Merge remote-tracking branch 'origin/dev-1.5.0' into dev-1.5.0
qweqnotallow Jun 4, 2024
b90b646
dss-server:fix rollback
qweqnotallow Jun 4, 2024
f7c5599
dss-server:fix history
qweqnotallow Jun 4, 2024
12f5ccd
dss-server:fix rename
qweqnotallow Jun 4, 2024
e231b43
dss-server:fix archive
qweqnotallow Jun 4, 2024
fa6a1c4
dss-server:fix rollback
qweqnotallow Jun 5, 2024
7c94196
dss-server:fix rollback2
qweqnotallow Jun 5, 2024
a7be107
dss-server:fix archive
qweqnotallow Jun 5, 2024
30c3758
dss-server:fix commit
qweqnotallow Jun 5, 2024
08aa0d1
dss-server:fix commit
qweqnotallow Jun 5, 2024
11c308d
dss-server:fix projectmeta
qweqnotallow Jun 5, 2024
57168fe
dss-server:fix rename
qweqnotallow Jun 5, 2024
d2a3a04
Merge branch 'master' into dev-1.4.0
zqburde Jun 5, 2024
da8df2b
Merge pull request #9 from WeDataSphere/dev-1.4.0
zqburde Jun 5, 2024
0ed3dd8
dss-server:fix export
qweqnotallow Jun 5, 2024
185d674
dss-server:fix rollback1
qweqnotallow Jun 5, 2024
62c73aa
dss-server:fix updateTOSaveStatus
qweqnotallow Jun 5, 2024
5593eec
dss-server:fix updateTOSaveStatus
qweqnotallow Jun 5, 2024
adff06f
dss-server:fix search
qweqnotallow Jun 5, 2024
c0f7335
dss-server:fix rollback
qweqnotallow Jun 5, 2024
f1d950e
dss-server:fix search1
qweqnotallow Jun 5, 2024
6dd9043
dss-server:fix saveFlow
qweqnotallow Jun 6, 2024
3b32277
dss-server:fix submitFlow
qweqnotallow Jun 6, 2024
010faa0
git-server: fix errMsg
qweqnotallow Jun 6, 2024
7ee0eaf
add sql
qweqnotallow Jun 6, 2024
9666ab0
支持数据源配置
Jun 6, 2024
6a73ecb
fix err MSG
qweqnotallow Jun 6, 2024
1a73d24
Merge remote-tracking branch 'origin/dev-1.5.0' into dev-1.5.0
qweqnotallow Jun 6, 2024
f9c665d
导入时更新workspaceId
Jun 6, 2024
94c87ab
fix rollback
qweqnotallow Jun 6, 2024
56d81cc
项目支持配置数据源——回显
Jun 7, 2024
8e27cdf
fix rollback: add system
qweqnotallow Jun 7, 2024
169b51d
项目支持配置数据源——回显
Jun 7, 2024
2f68f31
fix delete
qweqnotallow Jun 7, 2024
b1091ca
Merge remote-tracking branch 'origin/dev-1.5.0' into dev-1.5.0
qweqnotallow Jun 7, 2024
02486bc
add associate check
qweqnotallow Jun 11, 2024
cb2d16a
git-server: add schedule-delete local project
qweqnotallow Jun 12, 2024
a491147
git-server: add search Type fix
qweqnotallow Jun 13, 2024
fb65059
git-server: add search fix
qweqnotallow Jun 13, 2024
459fc66
git-server: fix paths
qweqnotallow Jun 13, 2024
367ef21
git-server: code Review fix
qweqnotallow Jun 13, 2024
2ee5eca
git-server: code Review fix delete
qweqnotallow Jun 14, 2024
4c2b8c3
git-server: code Review fix check
qweqnotallow Jun 15, 2024
96ae752
git-server: code Review fix create
qweqnotallow Jun 15, 2024
2d46d93
git-server: code Review fix create1
qweqnotallow Jun 15, 2024
cfdfe05
git-server: add create git_user_id
qweqnotallow Jun 16, 2024
931e683
git-server: add update git_user_id
qweqnotallow Jun 19, 2024
4415bdb
git-server: fix exception
qweqnotallow Jun 19, 2024
2c7b180
git-server: fix exception
qweqnotallow Jun 19, 2024
6098e19
git-server: fix revert
qweqnotallow Jun 19, 2024
aa068aa
git-server: fix saveFlow exception
qweqnotallow Jun 20, 2024
ba636f3
git-server: fix saveFlow exception1
qweqnotallow Jun 20, 2024
37f8212
git-server: fix exportOrcSqlFile
qweqnotallow Jun 20, 2024
6b12e1d
git-server: fix exportOrcSqlFile1
qweqnotallow Jun 20, 2024
7bc144a
git-server: add checkWorkspace to workflow
qweqnotallow Jun 20, 2024
bded8ed
git-server: add checkWorkspace to workflow 1
qweqnotallow Jun 20, 2024
bfed2db
git-server: add checkWorkspace to workflow 2
qweqnotallow Jun 20, 2024
9209651
git-server: fix error code
qweqnotallow Jun 21, 2024
55bd697
dss-server: fix export
qweqnotallow Jun 21, 2024
874b8ba
dss-server: fix export1
qweqnotallow Jun 21, 2024
14448dd
dss-server: fix export2
qweqnotallow Jun 23, 2024
8dad06b
dss-server: fix export3
qweqnotallow Jun 23, 2024
51687cb
dss-server: fix export null
qweqnotallow Jun 23, 2024
3a37e7b
dss-server: fix export4
qweqnotallow Jun 23, 2024
b383e60
dss-server: fix import
qweqnotallow Jun 24, 2024
8124bf1
日志优化
Jun 24, 2024
7f29312
dss-server: fix rollback
qweqnotallow Jun 26, 2024
9742412
dss-server: fix rollback
qweqnotallow Jun 26, 2024
6cfb704
Merge branch 'dev-1.5.0'
qweqnotallow Jun 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ dss-apps/dss-data-governance/dss-data-warehouse-dao/target
dss-apps/dss-data-governance/dss-data-warehouse-service/target
dss-apps/dss-data-governance/dss-data-warehouse-server/target

#dss-git
dss-git/dss-git-common/target
dss-git/dss-git-server/target

# plugins
plugins/azkaban/linkis-jobtype/target
Expand Down
2 changes: 1 addition & 1 deletion assembly/dss-package/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>dss</artifactId>
<groupId>com.webank.wedatasphere.dss</groupId>
<version>1.1.0.20-SNAPSHOT</version>
<version>1.5.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<artifactId>dss</artifactId>
<groupId>com.webank.wedatasphere.dss</groupId>
<version>1.1.0.20-SNAPSHOT</version>
<version>1.5.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<packaging>pom</packaging>
Expand Down
1 change: 0 additions & 1 deletion conf/dss-framework-orchestrator-server.properties
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ wds.linkis.server.mybatis.typeAliasesPackage=com.webank.wedatasphere.dss.server.

wds.linkis.server.mybatis.BasePackage=com.webank.wedatasphere.dss.framework.appconn.dao,com.webank.wedatasphere.dss.orchestrator.core.dao,com.webank.wedatasphere.dss.server.dao,com.webank.wedatasphere.dss.application.dao,com.webank.wedatasphere.dss.workspace.mapper,com.webank.wedatasphere.dss.workspace.common.dao,com.webank.wedatasphere.dss.workspace.common.dao,com.webank.wedatasphere.dss.orchestrator.db.dao,com.webank.wedatasphere.dss.workflow.dao,com.webank.wedatasphere.dss.framework.appconn.dao,com.webank.wedatasphere.dss.flow.execution.entrance.dao

wds.dss.server.scheduling.clear.cs.cron=0 0 3 * * ?

wds.dss.publish.max.remain.version=3

Expand Down
33 changes: 33 additions & 0 deletions db/dss_ddl.sql
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ CREATE TABLE `dss_orchestrator_info` (
`orchestrator_level` varchar(32) DEFAULT NULL COMMENT '工作流级别',
`update_user` varchar(100) DEFAULT NULL COMMENT '更新人',
`update_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
`status` VARCHAR(64),
PRIMARY KEY (`id`) USING BTREE,
UNIQUE KEY `unique_idx_uuid` (`uuid`)
) ENGINE=InnoDB AUTO_INCREMENT=326 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT;
Expand All @@ -70,6 +71,7 @@ CREATE TABLE `dss_orchestrator_version_info` (
`content` varchar(255) DEFAULT NULL,
`context_id` varchar(200) DEFAULT NULL COMMENT '上下文ID',
`valid_flag` INT(1) DEFAULT '1' COMMENT '版本有效标示,0:无效;1:有效',
`commit_id` varchar(64),
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=422 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT;

Expand Down Expand Up @@ -116,6 +118,7 @@ CREATE TABLE `dss_project` (
`dev_process` varchar(200) COLLATE utf8_bin DEFAULT NULL COMMENT '开发流程,多个以英文逗号分隔,取得的值是dss_workspace_dictionary中的dic_key(parent_key=p_develop_process)',
`orchestrator_mode` varchar(200) COLLATE utf8_bin DEFAULT NULL COMMENT '编排模式,多个以英文逗号分隔,取得的值是dss_workspace_dictionary中的dic_key(parent_key=p_arrangement_mode或下面一级)',
`visible` tinyint(4) DEFAULT '1' COMMENT '0:已删除;1:未删除(默认)',
`associate_git` TINYINT DEFAULT '0' COMMENT '0:未接入git,1:已接入git',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=313 DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=COMPACT;

Expand Down Expand Up @@ -639,3 +642,33 @@ key `idx_limit_name` (`limit_name`)
) ENGINE = InnoDB
DEFAULT CHARSET = utf8mb4 COLLATE=utf8mb4_bin COMMENT ='dss用户限制表';

DROP TABLE IF EXISTS `dss_workspace_associate_git`;
CREATE TABLE `dss_workspace_associate_git` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`workspace_id` bigint(20) DEFAULT NULL,
`git_user` varchar(64) DEFAULT NULL COMMENT 'git登录用户名',
`git_password` VARCHAR(255) DEFAULT NULL COMMENT 'git登录密码,用于跳转',
`git_token` varchar(255) COMMENT '用户配置的git token',
`git_url` varchar(255),
`create_time` datetime DEFAULT NULL,
`update_time` datetime DEFAULT NULL,
`create_by` varchar(128) DEFAULT NULL,
`update_by` varchar(128) DEFAULT NULL,
`type` varchar(32) DEFAULT NULL,
`git_user_id` varchar(32) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='工作空间绑定的git信息';


DROP TABLE IF EXISTS `dss_orchestrator_submit_job_info`;
CREATE TABLE `dss_orchestrator_submit_job_info` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`orchestrator_id` bigint(20) NOT NULL,
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
`instance_name` varchar(128) DEFAULT NULL COMMENT '提交任务的实例',
`status` varchar(128) DEFAULT NULL COMMENT '提交任务状态',
`error_msg` varchar(2048) DEFAULT NULL COMMENT '提交任务异常信息',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='dss_orchestrator_submit_job_info表';

4 changes: 2 additions & 2 deletions dss-appconn/appconns/dss-datachecker-appconn/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>dss</artifactId>
<groupId>com.webank.wedatasphere.dss</groupId>
<version>1.1.0.20-SNAPSHOT</version>
<version>1.5.0-SNAPSHOT</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down Expand Up @@ -54,7 +54,7 @@
<dependency>
<groupId>com.webank.wedatasphere.dss</groupId>
<artifactId>dss-origin-sso-integration-standard</artifactId>
<version>1.1.0.20-SNAPSHOT</version>
<version>1.5.0-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>org.apache.linkis</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public DataChecker(Properties p, DataCheckerExecutionAction action) {
maxWaitTime = Long.valueOf(p.getProperty(DataChecker.WAIT_TIME, "1")) * 3600 * 1000;
//test over time
// maxWaitTime = Long.valueOf(p.getProperty(DataChecker.WAIT_TIME, "1")) * 120 * 1000;
queryFrequency = Integer.valueOf(p.getProperty(DataChecker.QUERY_FREQUENCY, "30000"));
queryFrequency = Integer.valueOf(p.getProperty(DataChecker.QUERY_FREQUENCY, "60000"));

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,6 @@ public class DataCheckerDao {
private static final String SQL_SOURCE_TYPE_JOB_PARTITION =
"SELECT * FROM DBS d JOIN TBLS t ON t.DB_ID = d.DB_ID JOIN PARTITIONS p ON p.TBL_ID = t.TBL_ID WHERE d.NAME=? AND t.TBL_NAME=? AND p.PART_NAME=?";

private static final String SQL_SOURCE_TYPE_BDP =
"SELECT * FROM desktop_bdapimport WHERE bdap_db_name = ? AND bdap_table_name = ? AND target_partition_name = ? AND status = '1';";

private static final String SQL_SOURCE_TYPE_BDP_WITH_TIME_CONDITION =
"SELECT * FROM desktop_bdapimport WHERE bdap_db_name = ? AND bdap_table_name = ? AND target_partition_name = ? " +
"AND (UNIX_TIMESTAMP() - UNIX_TIMESTAMP(STR_TO_DATE(modify_time, '%Y-%m-%d %H:%i:%s'))) <= ? AND status = '1';";

private static final String SQL_DOPS_CHECK_TABLE =
"SELECT * FROM dops_clean_task_list WHERE db_name = ? AND tb_name = ? AND part_name is null AND task_state NOT IN (10,13) order by order_id desc limit 1";
private static final String SQL_DOPS_CHECK_PARTITION =
Expand All @@ -72,7 +65,6 @@ public class DataCheckerDao {
private static final String MASK_SOURCE_TYPE = "maskdb";

private static DataSource jobDS;
private static DataSource bdpDS;

private static DataSource dopsDS;
private static volatile DataCheckerDao instance;
Expand All @@ -96,13 +88,6 @@ public boolean validateTableStatusFunction(Properties props, Logger log, DataChe
return false;
}
}
if (bdpDS == null) {
bdpDS = DataDruidFactory.getBDPInstance(props, log);
if (bdpDS == null) {
log.warn("Error getting job Druid DataSource instance");
return false;
}
}
boolean systemCheck = Boolean.valueOf(props.getProperty(DataChecker.QUALITIS_SWITCH));
if (systemCheck && dopsDS == null) {
dopsDS = DataDruidFactory.getDopsInstance(props, log);//通过alibaba的druid数据库连接池获取JOB数据库连接
Expand All @@ -122,7 +107,7 @@ public boolean validateTableStatusFunction(Properties props, Logger log, DataChe
}
log.info("(DataChecker info) database table partition info : " + dataCheckerInfo);
long waitTime = Long.valueOf(props.getProperty(DataChecker.WAIT_TIME, "1")) * 3600 * 1000;
int queryFrequency = Integer.valueOf(props.getProperty(DataChecker.QUERY_FREQUENCY, "30000"));
int queryFrequency = Integer.valueOf(props.getProperty(DataChecker.QUERY_FREQUENCY, "60000"));
// String timeScape = props.getProperty(DataChecker.TIME_SCAPE, "NULL");
log.info("(DataChecker info) wait time : " + waitTime);
log.info("(DataChecker info) query frequency : " + queryFrequency);
Expand All @@ -134,13 +119,12 @@ public boolean validateTableStatusFunction(Properties props, Logger log, DataChe
});
QualitisUtil qualitisUtil = new QualitisUtil(props);
try (Connection jobConn = jobDS.getConnection();
Connection bdpConn = bdpDS.getConnection();
Connection dopsConn = dopsDS != null ? dopsDS.getConnection() : null) {
List<Boolean> allCheckRes = dataObjectList
.parallelStream()
.map(proObjectMap -> {
log.info("Begin to Check dataObject:" + proObjectMap.entrySet().toString());
boolean checkRes = getDataCheckResult(proObjectMap, jobConn, bdpConn, dopsConn, props, log,action,qualitisUtil);
boolean checkRes = getDataCheckResult(proObjectMap, jobConn, dopsConn, props, log,action,qualitisUtil);
if (null != action.getExecutionRequestRefContext()) {
if (checkRes) {
action.getExecutionRequestRefContext().appendLog("Database table partition info : " + proObjectMap.get(DataChecker.DATA_OBJECT) + " has arrived");
Expand Down Expand Up @@ -178,7 +162,6 @@ public boolean validateTableStatusFunction(Properties props, Logger log, DataChe

private boolean getDataCheckResult(Map<String, String> proObjectMap,
Connection jobConn,
Connection bdpConn,
Connection dopsConn,
Properties props,
Logger log,
Expand Down Expand Up @@ -231,7 +214,7 @@ private boolean getDataCheckResult(Map<String, String> proObjectMap,
}
log.info("start to check maskis");
proObjectMap.put(DataChecker.SOURCE_TYPE, MASK_SOURCE_TYPE);
normalCheck= (getBdpTotalCount(dataObject, bdpConn, log, props) > 0 || "success".equals(fetchMaskCode(dataObject, log, props).get("maskStatus")));
normalCheck= "success".equals(fetchMaskCode(dataObject, log, props).get("maskStatus"));
if (null != action.getExecutionRequestRefContext()){
action.getExecutionRequestRefContext().appendLog(dataObjectStr+" check maskis end,check result:"+normalCheck);
}
Expand Down Expand Up @@ -316,25 +299,6 @@ private PreparedStatement getJobStatement(Connection conn, CheckDataObject dataO
}
}

/**
* 构造查询maskis的查询
*/
private PreparedStatement getBdpStatement(Connection conn, CheckDataObject dataObject, String timeScape) throws SQLException {
PreparedStatement pstmt = null;
if (timeScape.equals("NULL")) {
pstmt = conn.prepareCall(SQL_SOURCE_TYPE_BDP);
} else {
pstmt = conn.prepareCall(SQL_SOURCE_TYPE_BDP_WITH_TIME_CONDITION);
pstmt.setInt(4, Integer.valueOf(timeScape) * 3600);
}
if (dataObject.getPartitionName() == null) {
dataObject.setPartitionName("");
}
pstmt.setString(1, dataObject.getDbName());
pstmt.setString(2, dataObject.getTableName());
pstmt.setString(3, dataObject.getPartitionName());
return pstmt;
}

/**
* 构造查询dops库的查询
Expand Down Expand Up @@ -414,27 +378,6 @@ private long getJobTotalCount(CheckDataObject dataObject, Connection conn, Logge
}
}

/**
* 查mask db
*/
private long getBdpTotalCount(CheckDataObject dataObject, Connection conn, Logger log, Properties props) {
String timeScape = props.getOrDefault(DataChecker.TIME_SCAPE, "NULL").toString();
log.info("-------------------------------------- search bdp data ");
log.info("-------------------------------------- dataObject: " + dataObject.toString());
try (PreparedStatement pstmt = getBdpStatement(conn, dataObject, timeScape)) {
ResultSet rs = pstmt.executeQuery();
long ret = 0L;
while (rs.next()) {
ret ++;
}
// long ret=rs.last() ? rs.getRow() : 0;
log.info("-------------------------------------- bdp data result:"+ret);
return ret;
} catch (SQLException e) {
log.error("fetch data from bdp error", e);
return 0;
}
}

/**
* - 返回0表示未找到任何记录 ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@

public class DataDruidFactory {
private static volatile DruidDataSource jobInstance;
private static volatile DruidDataSource bdpInstance;

private static volatile DruidDataSource dopsInstance;

private static volatile DruidDataSource msgInstance;

public static DruidDataSource getJobInstance(Properties props, Logger log) {
Expand All @@ -42,6 +44,7 @@ public static DruidDataSource getJobInstance(Properties props, Logger log) {
}
return jobInstance;
}

public static DruidDataSource getBDPInstance(Properties props, Logger log) {
if (bdpInstance == null ) {
synchronized (DataDruidFactory.class) {
Expand Down
5 changes: 2 additions & 3 deletions dss-appconn/appconns/dss-dolphinscheduler-appconn/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>dss</artifactId>
<groupId>com.webank.wedatasphere.dss</groupId>
<version>1.1.0.20-SNAPSHOT</version>
<version>1.5.0-SNAPSHOT</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand All @@ -18,7 +18,6 @@
<groupId>com.webank.wedatasphere.dss</groupId>
<artifactId>dss-scheduler-appconn</artifactId>
<version>${dss.version}</version>

<scope>provided</scope>
</dependency>

Expand Down Expand Up @@ -81,7 +80,7 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>28.2-android</version>
<version>33.1.0-jre</version>
</dependency>


Expand Down
2 changes: 1 addition & 1 deletion dss-appconn/appconns/dss-eventchecker-appconn/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>dss</artifactId>
<groupId>com.webank.wedatasphere.dss</groupId>
<version>1.1.0.20-SNAPSHOT</version>
<version>1.5.0-SNAPSHOT</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ public EventChecker(Properties p, EventCheckerExecutionAction action) {
String waitTime = p.getProperty(EventChecker.WAIT_TIME, "1");
Double doubleWaitTime = Double.valueOf(waitTime) * 3600 * 1000;
maxWaitTime = Long.valueOf(doubleWaitTime.longValue());
String query_frequency = p.getProperty(EventChecker.QUERY_FREQUENCY, "30000");
String query_frequency = p.getProperty(EventChecker.QUERY_FREQUENCY, "60000");
queryFrequency = Integer.valueOf(query_frequency);
if(queryFrequency <10000){
queryFrequency = 10000;
if(queryFrequency <60000){
queryFrequency = 60000;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void initECParams(Properties props){
runDate = props.getProperty("run_date");
userTime = props.getProperty(EventChecker.USER_TIME);
waitTime = props.getProperty(EventChecker.WAIT_TIME, "1");
query_frequency = props.getProperty(EventChecker.QUERY_FREQUENCY, "30000");
query_frequency = props.getProperty(EventChecker.QUERY_FREQUENCY, "60000");
afterSend = props.getProperty(EventChecker.AFTERSEND);
}

Expand Down
2 changes: 1 addition & 1 deletion dss-appconn/appconns/dss-schedulis-appconn/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>dss</artifactId>
<groupId>com.webank.wedatasphere.dss</groupId>
<version>1.1.0.20-SNAPSHOT</version>
<version>1.5.0-SNAPSHOT</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ public class AzkabanConstant {
public final static String FLOW_CONTEXT_ID = "wds.linkis.flow.contextID=";
public final static String LINKIS_VERSION = "linkis.version";
public final static String JOB_COMMENT = "comment";
public final static String AUTO_DISABLED = "auto.disabled";

}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ public class LinkisJob {
private String type;
private String linkistype;
private String proxyUser;

private String autoDisabled;
private String dependencies;
private Map<String, String> conf;
private String command;
Expand Down Expand Up @@ -60,6 +62,14 @@ public void setProxyUser(String proxyUser) {
this.proxyUser = proxyUser;
}

public String getAutoDisabled() {
return autoDisabled;
}

public void setAutoDisabled(String autoDisabled) {
this.autoDisabled = autoDisabled;
}

public String getDependencies() {
return dependencies;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ private String convertJobToString(LinkisJob job){
map.put(WorkflowConstant.PROXY_USER,job.getProxyUser());
map.put(AzkabanConstant.JOB_COMMAND,job.getCommand());
map.put(AzkabanConstant.JOB_COMMENT,job.getComment());
map.put(AzkabanConstant.AUTO_DISABLED,job.getAutoDisabled());
Map<String, Object> labels = new HashMap<>(1);
labels.put("route", SchedulerConf.JOB_LABEL.getValue());
map.put(AzkabanConstant.JOB_LABELS, DSSCommonUtils.COMMON_GSON.toJson(labels));
Expand Down Expand Up @@ -114,7 +115,8 @@ private void convertConfiguration(WorkflowNode workflowNode, LinkisJob job){
configuration.forEach((k,v)-> {
if(null!=v) {
v.forEach((k2, v2) -> {
if(null !=v2) {job.getConf().put(confprefix + k + "." + k2, v2.toString());}
if(AzkabanConstant.AUTO_DISABLED.equals(k2) && null !=v2){job.setAutoDisabled(v2.toString());}
else if(null !=v2) {job.getConf().put(confprefix + k + "." + k2, v2.toString());}
});
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public ProjectResponseRef searchProject(RefProjectContentRequestRef.RefProjectCo
params.put("project", requestRef.getProjectName());
params.put("ajax", "fetchprojectflows");
try {
logger.info("request url from Schedulis is: {}.", queryUrl);
String responseBody = SchedulisHttpUtils.getHttpGetResult(queryUrl, params, ssoRequestOperation, requestRef.getWorkspace());
logger.info("responseBody from Schedulis is: {}.", responseBody);
Map<String,Object> map = DSSCommonUtils.COMMON_GSON.fromJson(responseBody, new TypeToken<Map<String,Object>>(){}.getType());
Expand Down
Loading
Loading