Commit Graph

446 Commits

Author SHA1 Message Date
geosmart
50237afe08
[FEATURE-736] integrate ldap authentication (#3743)
* [FEATURE-736] integrate ldap authentication

* add ldap authentication type
* refactor authentication with ldap and password
* add  createUser for ldap in user service
* remove duplicate password authenticator
2020-12-23 17:38:05 +08:00
Shiwen Cheng
ef7d7b791e
[Fix-4268] Fix NumberFormatException when visiting a doc.html or swagger-ui.html (#4269)
* [Fix-4268] Fix NumberFormatException when visiting a doc.html or swagger-ui.html

* Fix checkstyle error

* Update swagger-models in known-dependencies.txt
2020-12-21 16:01:52 +08:00
Shiwen Cheng
cbc30b4900
[Fix-3457][flink] fix flink args build problem (#4166)
* [Fix][Flink] fix flink args build problem

* [Fix][Flink] fix FlinkArgsUtilsTest

* [Improvement][UI] hide version and cluster input when deployMode is local
2020-12-10 22:37:21 +08:00
dailidong
7778e97ac7
Update pom.xml 2020-12-05 23:38:43 +08:00
karlsun
7d3aa09cc4 update code style 2020-12-05 13:04:29 +08:00
karlsun
6a6efe5d9b update Check code style 2020-12-05 09:54:11 +08:00
karlsun
81f4b5a25f remove c3p0,mchange-commons-java license 2020-12-05 09:41:39 +08:00
felix.wang
3e411d075f
[Improvement][Code style] FIX SPELL WAITTING TO WAITING , etc. (#4118)
* FIX SPELL

* FIX SPELL AND  Optimizing code conventions

* add ut  cannot construct process instance, return null;

* add ut testExportProcessMetaData

* add ut testExportProcessMetaData

* add ut testImportProcessSchedule

* add ut MasterExecThreadTest

* add ut MasterExecThreadTest

* add ut testSubProcessViewTree

* add ut testComplementWithStartNodeList

* add ut testRecurseFindSubProcessId

* add ut testRecurseFindSubProcessId

* add ut testRecurseFindSubProcessId
2020-12-01 08:58:55 +08:00
felix.wang
b46044d592
[Improvement][API] ignore noNodeException when get worker groups (#4120)
* ignore noNodeException when get worker groups

* add ut
2020-11-30 10:39:13 +08:00
Shiwen Cheng
763c65938d
[Feature][API]enable response resources gzip compression (#4121)
* enable response compression

* add server.compression.mime-types with default value explicitly
2020-11-30 10:11:50 +08:00
BoYiZhang
bb13f2eae7
[Bug][Common] read file garbled (#3479)
* fix bug : Random code problem

Co-authored-by: zhanglong <zhanglong@ysstech.com>
2020-11-27 21:55:28 +08:00
zhuangchong
3c89c9ad74
[Improvement-3471][common] JSONUtils.toMap It is not necessary to check whether the JSON method is empty again. #3471 (#3481)
* JSONUtils.toMap call improvement.
2020-11-18 14:30:30 +08:00
zhuangchong
1eecbb1ef7
[Improvement-3767][api] Task instance supports query by process instance name (#3825)
* Task instance supports query by process instance name.

* add test code checkstyle.

* add test param.

* resolve the sonar duplication check.

* solve logger single-line string exceeds 200 characters.

* resolve the sonar check.

* Resolve code conflicts.

Co-authored-by: zhuangchong <zhuangchong8@163.com>
2020-11-16 20:07:06 +08:00
t1mon
89f1e93bcf
[Fix][api] Fix build parameter error of sqlserver when create. (#4015)
* [fix-#3962][api] Avoid ClassCastException for LoggerService.queryLog().

* [Fix][api] Fix build parameter error of sqlserver when create.
2020-11-15 19:56:37 +08:00
baoliang
b3dbc63c72 merge from 1.3.3-release 2020-11-09 17:33:06 +08:00
baoliang
e053858e92 merge from 1.3.3-release 2020-11-09 15:38:21 +08:00
baoliang
67baba271e merge from 1.3.3-release 2020-11-09 15:34:08 +08:00
bao liang
7239979167
Merge branch 'dev' into 133-merge-dev 2020-11-09 10:08:19 +08:00
baoliang
403a4a20f2 merge from 1.3.3-release 2020-11-06 11:44:34 +08:00
baoliang
381d23ea4f merge from 1.3.3-release 2020-11-06 00:03:20 +08:00
Kirs
f4c14dea53
Merge pull request #4009 from BoYiZhang/pr_4008
[Improvement-4008][Swagger] The resources API document does not match the interface parameters
2020-11-02 10:08:23 +08:00
IamMujuziMoses
c7b5956c5a
[Feature-3941][ui] Remove tenant name (#3949)
* FeatureUI-3941: Removed Tenant

* FeatureUI-3941: Removed tenantName in the suggested pages

* FeatureUI-3941: Updated the suggested files

* FeatureUI-3941: Updated the TenantController

* FeatureUI-3941: Updated the TenantController and the pom.xml

* FeatureUI-3941: Updated the TenantControllerTest
2020-10-30 12:18:00 +08:00
lgcareer
be07cb62db [maven-release-plugin] prepare for next development iteration 2020-10-29 17:49:28 +08:00
lgcareer
55242916b2 [maven-release-plugin] prepare release 1.3.3 2020-10-29 17:49:18 +08:00
lgcareer
b01898a8eb [release]revert pom version to 1.3.3-release 2020-10-29 17:29:38 +08:00
zhanglong
c614bd39cc the resources API document does not match the interface parameters 2020-10-29 15:52:22 +08:00
lgcareer
1076a2349c [maven-release-plugin] prepare for next development iteration 2020-10-28 19:19:46 +08:00
lgcareer
ed016499aa [maven-release-plugin] prepare release 1.3.3 2020-10-28 19:19:35 +08:00
lgcareer
0d21fa9e3b revert pom version to 1.3.3-release 2020-10-28 19:11:35 +08:00
bao liang
6caac0f366
[FIX-3929] condition task would post wrong tasks when failover. (#3999)
* fix #3966 sub process doesnot send alert mail after process instance ending.

* fix bug 3964: sub_process The timeout warning does not take effect
add timeout warning for sub_process/dependent task.

* fix code smell

* fix code smell

* fix code smell

* update worker group inherit from parent

* remove stdout in logback configuration

* fix bug #3929 condition task would post error when failover.

* remove unused test

* add comments

* add skip node judge

Co-authored-by: baoliang <baoliang@analysys.com.cn>
2020-10-27 17:37:59 +08:00
孙继峰
afd0e6ab65
[Test-3557][API] full cover DataAnalysisServiceImpl (#3605)
* generate equals and hashCode method

* make up for the state of oblivion

* simplify countQueueState method

* delete try catch, because this never throw exception

* full cover DataAnalysisServiceImpl

* improve test coverage

* adjust code style

* simplify countCommandState method

* reduce duplication

* simplify countTaskDtos method

* Update DataAnalysisServiceImpl.java

Co-authored-by: dailidong <dailidong66@gmail.com>
2020-10-26 21:29:37 +08:00
t1mon
e9479e4a03
[fix-#3962][api] Avoid ClassCastException for LoggerService.queryLog(). (#3963) 2020-10-26 18:26:42 +08:00
lgcareer
01975bd545 [Fix-#3958][api] files should not be created successfully in the directory of the authorized file 2020-10-23 14:03:51 +08:00
zixi0825
8fd3932bff
[Fix][api] Add queryProjectCreatedAndAuthorizedByUser function (#3658)
* fix getLoginUserCreated bug

* fix getLoginUserCreated bug 1

* fix checkstyle

* modify function name

* modify comment

* fix unit test error

* rollback sqoop task hive target file

Co-authored-by: sunchaohe <sunzhaohe@linklogis.com>
Co-authored-by: dailidong <dailidong66@gmail.com>
2020-10-20 20:25:33 +08:00
lgcareer
92a793288f [maven-release-plugin] prepare for next development iteration 2020-10-17 18:14:23 +08:00
lgcareer
c144d81579 [maven-release-plugin] prepare release 1.3.3 2020-10-17 18:14:13 +08:00
lgcareer
ae85116fa5
change version from 1.3.2-SNAPSHOT to 1.3.3-SNAPSHOT (#3934) 2020-10-17 17:50:02 +08:00
lgcareer
e53bd98422 [fix-3843][api] When update workflow definition,if name already exists, the prompt is not friendly 2020-10-16 11:02:41 +08:00
lgcareer
3361151155
[fix-#3843][api]When update workflow definition,if name already exists, the prompt is not friendly (#3918)
* [FIX_#3789][remote]cherry pick from dev to support netty heart beat

* [FIX_#3789][remote]cherry pick from dev to support netty heart beat

* [fix-3843][api] When update workflow definition,if name already exists, the prompt is not friendly

* [fix-3843][api] When update workflow definition,if name already exists, the prompt is not friendly

Co-authored-by: Kirs <acm_master@163.com>
2020-10-15 17:09:43 +08:00
BoYiZhang
13030502fd
[FIX-3836][dev-API] process definition validation name interface prompt information error (#3908)
* fix bug

Delete invalid field: executorcores

Modify verification prompt

* fix bug

Delete invalid field: executorcores

Modify verification prompt

* fix bug

Delete invalid field: executorcores

Modify verification prompt

* dag  add close button

* reset last version

* reset last version

* dag add close buttion

dag add close buttion

* update  CLICK_SAVE_WORKFLOW_BUTTON  xpath

* updae CLICK_SAVE_WORKFLOW_BUTTON xpath

* updae CLICK_SAVE_WORKFLOW_BUTTON xpath

* updae CLICK_SAVE_WORKFLOW_BUTTON xpath

* Update CreateWorkflowLocator.java

modify submit workflow button

* Update CreateWorkflowLocator.java

* Update CreateWorkflowLocator.java

modify CLICK_ADD_BUTTON

* Update CreateWorkflowLocator.java

delete print

* Update CreateWorkflowLocator.java

1

* Update CreateWorkflowLocator.java

1

* Setting '-XX:+DisableExplicitGC ' causes netty memory leaks

in addition

update '- XX: largepagesizeinbytes = 128M' to '- XX: largepagesizeinbytes = 10M'

* Update dag.vue

* Update dag.vue

* Update dag.vue

* Update CreateWorkflowLocator.java

* Revert "Setting '-XX:+DisableExplicitGC ' causes netty memory leaks"

This reverts commit 3a2cba7a

* Setting '-XX:+DisableExplicitGC ' causes netty memory leaks

in addition

update '- XX: largepagesizeinbytes = 128M' to '- XX: largepagesizeinbytes = 10M'

* Update dolphinscheduler-daemon.sh

* process definition validation name interface prompt information error

Co-authored-by: dailidong <dailidong66@gmail.com>
Co-authored-by: xingchun-chen <55787491+xingchun-chen@users.noreply.github.com>
2020-10-15 14:09:28 +08:00
BoYiZhang
e740dc7645
[FIX-3836][1.3.3-release-API] process definition validation name interface prompt information error (#3899)
* fix bug : error message

* fix code smell

* fix code smell
2020-10-14 16:54:31 +08:00
zhuangchong
d32300ba5b
add process define name verify. (#3864) 2020-10-14 10:51:47 +08:00
zhuangchong
fd0f5724a1
add process define name verify. (#3879) 2020-10-12 15:28:27 +08:00
hailin0
c4be3b5749
[Fix][API] Log dependency package conflict (#3833)
Co-authored-by: lisiying <lisiying@192.168.0.102>
2020-10-10 11:14:32 +08:00
AhahaGe
1a257b1077
[Feature][api]Export and import workflow add processDefinitionDescription #3808 (#3847)
* add .asf.yaml file

* export processDefinition add desc

* clear conentent in .asf.yaml

* delete .asf.yaml file

Co-authored-by: guirong.ggr <guirong.ggr@dtwave-inc.com>
2020-10-09 21:00:02 +08:00
lgcareer
66e9a1436e
[Fix-#3702][api] When re-upload the resource file but don't change the name or desc,it need replace the origin resource file. (#3862)
* [Fix-#3702][api] When re-upload the resource file but don't change the name or desc,it will not replace the origin resource file.

* [Fix-#3702][api] When re-upload the resource file but don't change the name or desc,it will not replace the origin resource file.
2020-10-09 17:13:26 +08:00
Yarlung
1c96ae0944
[Fix-3840][server] Fix When the tenant code is a number, it should not be saved successfully (#3867)
* bug fixed #3840

* fix bug #3840

* bug fixed #3840

* bug fixed issue #3840

* bug fix #3840

* bug fix #3540

Co-authored-by: gechunfa <gechunfa@gechunfas-MacBook-Pro.local>
2020-10-08 17:08:26 +08:00
Yichao Yang
90c90b25b0 [Hotfix-3131][api] Fix the new tenant already exists prompt (#3132)
* Bugfix: Fix the new tenant already exists prompt

* Feature: Add test cases

* Update TenantServiceTest.java

Co-authored-by: dailidong <dailidong66@gmail.com>
Co-authored-by: qiaozhanwei <qiaozhanwei@outlook.com>
2020-09-28 11:42:21 +08:00
孙继峰
eb597e67e3
[Improvement][API] simplify with stream (#3764)
* simplify with stream

* add distinct

* compatible tasks is null

* add unit test
2020-09-26 15:45:24 +08:00
muzhongjiang
d6f62f1de4 [Fix-#3487][api、dao] cherry pick from dev to fix that create folder duplicate name under multithreading 2020-09-24 16:16:49 +08:00