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

Unsafe query: 'Delete' statement without 'where' clears all data in the table #1135

Open
wants to merge 4,114 commits into
base: branch-1.2.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4114 commits
Select commit Hold shift + click to select a range
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
f873293
Merge pull request #1125 from WeDataSphere/master
zqburde 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
66d949e
Merge pull request #1129 from WeDataSphere/master
zqburde Jun 27, 2024
6f0448a
Unsafe query: 'Delete' statement without 'where' clears all data in t…
Shlpeng Sep 6, 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
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.js linguist-language=java
*.css linguist-language=java
*.html linguist-language=java
*.vue linguist-language=java
106 changes: 106 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
name: Bug report
title: "[Bug] "
description: Problems and issues with code of DSS
labels: [bug, triage]
body:
- type: markdown
attributes:
value: |
Thank you for reporting the problem!
Please make sure what you are reporting is a bug with reproducible steps. To ask questions
or share ideas, pleae post on our [Discussion page](https://github.com/WeBankFinTech/DataSphereStudio/discussions) instead.

- type: checkboxes
attributes:
label: Search before asking
description: >
Please make sure to search in the [issues](https://github.com/WeBankFinTech/DataSphereStudio/issues) first to see
whether the same issue was reported already.
options:
- label: >
I searched the [issues](https://github.com/WeBankFinTech/DataSphereStudio/issues) and found no similar
issues.
required: true

- type: dropdown
attributes:
label: DSS Component
description: |
What component are you using? DSS has many modules, please make sure to choose the module that
you found the bug.
multiple: true
options:
- "dss-commons"
- "dss-appconn"
- "dss-framework"
- "dss-orchestrator"
- "dss-standard"
- "dss-plugins"
- "dss-apps/dss-apiservice"
- "dss-web/dss-scriptis"
- "dss-web/dss-workflow"
- "dss-web/workspace"
- "dss-web/dss-apiservice"
- "dss-web/framework"
validations:
required: true

- type: textarea
attributes:
label: What happened + What you expected to happen
description: Describe 1. the bug 2. expected behavior 3. useful information (e.g., logs)
placeholder: >
Please provide the context in which the problem occurred and explain what happened. Further,
To Reproduce Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '.... 4. See error
please also explain why you think the behaviour is erroneous. It is extremely helpful if you can
copy and paste the fragment of logs showing the exact error messages or wrong behaviour here.

**NOTE**: Expected behavior A clear and concise description of what you expected to happen.Screenshots If applicable, add screenshots to help explain your problem.
validations:
required: true

- type: textarea
attributes:
label: Relevent platform
description: The platform where you occurred this issue
placeholder: >
Please specify Desktop or Smartphone, Version / Dependencies / OS / Browser
validations:
required: true

- type: textarea
attributes:
label: Reproduction script
description: >
Please provide a reproducible script. Providing a narrow reproduction (minimal / no external dependencies) will
help us triage and address issues in the timely manner!
placeholder: >
Please provide a short code snippet (less than 50 lines if possible) that can be copy-pasted to
reproduce the issue. The snippet should have **no external library dependencies**
(i.e., use fake or mock data / environments).

**NOTE**: If the code snippet cannot be run by itself, the issue will be marked as "needs-repro-script"
until the repro instruction is updated.
validations:
required: true

- type: textarea
attributes:
label: Anything else
description: Anything else we need to know?
placeholder: >
How often does this problem occur? (Once? Every time? Only when certain conditions are met?)
Any relevant logs to include? Are there other relevant issues?

- type: checkboxes
attributes:
label: Are you willing to submit a PR?
description: >
This is absolutely not required, but we are happy to guide you in the contribution process
especially if you already have a good understanding of how to implement the fix.
options:
- label: Yes I am willing to submit a PR!

- type: markdown
attributes:
value: "Thanks for completing our form!"
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: fasle
contact_links:
- name: Ask a question or get support
url: https://github.com/WeBankFinTech/DataSphereStudio/discussions
about: Ask a question or request support for using DSS
63 changes: 63 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: DSS feature request
description: Suggest an idea for DSS project
title: "[Feature] "
labels: [enhancement]
body:
- type: markdown
attributes:
value: |
Thank you for finding the time to propose a new feature!
We really appreciate the community efforts to improve DSS.
- type: checkboxes
attributes:
label: Search before asking
description: >
Please make sure to search in the [issues](https://github.com/WeBankFinTech/DataSphereStudio/issues) first to see
whether the same feature was requested already.
options:
- label: >
I had searched in the [issues](https://github.com/WeBankFinTech/DataSphereStudio/issues) and found no similar
feature requirement.
required: true
- type: textarea
attributes:
label: Problem Description
description: Is your feature request related to a problem? Please describe.

- type: textarea
attributes:
label: Description
description: A short description of your feature

- type: textarea
attributes:
label: Use case
description: >
Describe the use case of your feature request.
placeholder: >
Describe the solution you'd like A clear and concise description of what you want to happen.

- type: textarea
attributes:
label: solutions
description: Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

- type: textarea
attributes:
label: Anything else
description: Anything else we need to know?
placeholder: >
Additional context Add any other context or screenshots about the feature request here.

- type: checkboxes
attributes:
label: Are you willing to submit a PR?
description: >
This is absolutely not required, but we are happy to guide you in the contribution process
especially if you already have a good understanding of how to implement the feature.
options:
- label: Yes I am willing to submit a PR!

- type: markdown
attributes:
value: "Thanks for completing our form!"
28 changes: 28 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
### What is the purpose of the change
(For example: AppConn Core defines the abstractions and interfaces of the AppConn core functions.
It is the core concept that enables DSS to easily and quickly integrate various upper-layer web systems.
Related issues: #590. )

### Brief change log
(for example:)
- Define the core abstraction and interfaces of the AppConn;
- Define the core abstraction and interfaces of the three-level specifications of AppConn.

### Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
- Added tests for creating and execute the workflow contains the nodes that DSS has integrated to go through and verify the availability of different AppConns.

### Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (yes / no)
- Anything that affects deployment: (yes / no / don't know)
- The Core framework, i.e., AppConn, Orchestrator, ApiService.: (yes / no)

### Documentation
- Does this pull request introduce a new feature? (yes / no)
- If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
56 changes: 56 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
#
# Copyright 2019 WeBank.
# 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.
#

name: DataSphereStudio CI Actions

on:
push:
pull_request:

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.17.3]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Build backend by maven
run: |
mvn -N install
mvn clean package
- name: Build frontend by node.js
run: |
cd web
npm install [email protected] -g
lerna bootstrap
npm run build
48 changes: 48 additions & 0 deletions .github/workflows/check_license.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#
# Copyright 2019 WeBank.
# 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.
#

name: DataSphereStudio License check

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'
- name: mvn -N install
run:
mvn -N install
- name: License check with Maven
run: |
rat_file=`mvn apache-rat:check | { grep -oe "\\S\\+/rat.txt" || true; }`
echo "rat_file=$rat_file"
if [[ -n "$rat_file" ]];then echo "check error!" && cat $rat_file && exit 123;else echo "check success!" ;fi
- name: Upload the report
uses: actions/upload-artifact@v2
with:
name: license-check-report
path: "**/target/rat.txt"
20 changes: 20 additions & 0 deletions .github/workflows/dead-link-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Link checker

on:
pull_request:
push:
schedule:
- cron: "0 5 * * *"

jobs:
CheckDeadLinks:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'no'
use-verbose-mode: 'yes'
folder-path: '../'
config-file: '.github/workflows/dlc.json'
22 changes: 22 additions & 0 deletions .github/workflows/dlc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"ignorePatterns": [
{
"pattern": "https://github.com/WeBankFinTech/DataSphereStudio-Doc"
},
{
"pattern": "http://localhost"
},
{
"pattern": "http://127.0.0.1"
}
],
"timeout": "10s",
"retryOn429": true,
"retryCount": 10,
"fallbackRetryDelay": "1000s",
"aliveStatusCodes": [
200,
401,
403
]
}
Loading