Commit Graph

3235 Commits

Author SHA1 Message Date
geosmart fbeadfdd58
[FIX][UI]add button disabeld when isDetails (#3611) 2020-08-31 16:58:56 +08:00
zhuangchong 908dba4ba6
[Improvement][install,start-all,stop-all] start- all.sh and stop- all.sh After execution, you can view the running status of each node and service. #3619 (#3627)
* start- all.sh and stop- all.sh After execution, you can view the running status of each node and service.

* ds server state check.
2020-08-31 16:54:45 +08:00
qingzhongli bc766aaab8
[Improvement][docs] Fix typo in CONTRIBUTING.md (#3624)
Co-authored-by: 李庆忠 <liqingzhong@inspur.com>
2020-08-30 18:47:14 +08:00
xingchun-chen 5e2a8bea2e
Merge pull request #3609 from yangyichao-mango/fix-versioncontroleditable
[Fix-3607][ui] Fix version control online process definition editable
2020-08-27 11:13:17 +08:00
xingchun-chen 06ab654d64
Merge pull request #3596 from break60/dev
[Feature-2753][ui]batch copy or move process
2020-08-27 11:09:59 +08:00
Yichao Yang 4387c8a3ee [Fix][ui] Fix version control release process definition editable 2020-08-27 10:40:14 +08:00
break60 cbb1ee7eb5 Merge branch 'dev' of https://github.com/apache/incubator-dolphinscheduler into dev 2020-08-26 15:54:33 +08:00
xingchun-chen 5888095502
[test][e2e]add timing testcase and modify chromeDriver (#3597)
* Add task connection 

* Optimize test cases
 

* Modify variable format
 
 

* Optimize test cases
 

* Update BrowserCommon.java

* Update BrowserCommon.java

* Update WorkflowDefineLocator.java

* Optimize waiting time
 

* Optimize wait time
 

* Optimize wait time
 

* Optimize wait time
 

* Optimize wait time
 

* Optimize wait time
 

* Optimize wait time
 

* Optimize wait time
 

* Optimize wait time
 

* Optimize wait time
 

* Optimize project wait time
 

* Optimize wait time
 

* Optimize wait time
 

* open timing testcase 

* Optimize wait time
 

* Optimize wait time
 

* Optimize wait time
 

* Optimize wait time
 

* Optimize wait time
 

* Optimize wait time
 

Co-authored-by: chenxingchun <438044805@qq.com>
2020-08-26 15:33:18 +08:00
break60 03458234c3 [Feture-2753][ui]batch copy or move process 2020-08-26 13:52:02 +08:00
xingchun-chen 0b095e785b
Merge pull request #3593 from break60/dev
[fixBug-3589][ui]Fix too many resource selections and cannot be displ…
2020-08-26 13:49:54 +08:00
xingchun-chen 2e175ff3da
Update ci_e2e.yml 2020-08-26 13:35:08 +08:00
xingchun-chen f921fde1dd
Update ci_e2e.yml 2020-08-26 12:48:32 +08:00
xingchun-chen 8d18795555
Update ci_e2e.yml 2020-08-26 12:19:43 +08:00
break60 35d1372d01 fix 2020-08-26 11:54:04 +08:00
break60 f8453c1dfd [fixBug-3589][ui]Fix too many resource selections and cannot be displayed 2020-08-26 09:43:18 +08:00
xingchun-chen 3b714b1575
Merge pull request #3572 from break60/dev
[fix-3553][ui]Repair click workflow connection, select the entire path
2020-08-26 09:40:12 +08:00
break60 1e62b4186d Merge branch 'dev' of https://github.com/apache/incubator-dolphinscheduler into dev 2020-08-25 17:52:59 +08:00
sky 879feb79b3
[Feature-3567] batch activate user (#3578)
* feature batch activate user

* fix sonalcloud problem and code style problem

* fix code style problem

* fix sonar cloud problem

* fix sonar cloud problem

* fix sonar cloud problem

Co-authored-by: dev_sky <dev_sky@740051880@qq.com>
2020-08-25 15:47:21 +08:00
break60 2d15275ec4 fix 2020-08-25 11:30:18 +08:00
break60 69ed0f3f86 Merge branch 'dev' of https://github.com/apache/incubator-dolphinscheduler into dev 2020-08-25 11:24:44 +08:00
Yichao Yang 555880e6e3
[Fix-3077][ui] Fix the edit duplicated name verify (#3376) 2020-08-25 11:18:36 +08:00
zshit 26184de905
fix bug#3583 (#3585) 2020-08-25 11:15:43 +08:00
zhuangchong efee53bec9
[Improvement][server] server model ProcessUtils.java code cleaning. (#3382)
* server model ProcessUtils.java code cleaning.

* add checkstyle,server model ProcessUtils.java code cleaning.

* ProcessUtils.java checkstyle.

* update.

* update.

Co-authored-by: unknown <zhuangchong-phq@sinosig.com>
2020-08-25 11:13:45 +08:00
felix.wang 2ba529a96c
[Improvement][alert] Optimize alarm information (#3559)
* #3299  Json string parsing problem caused by non-standard json format.

* #3299  Json string parsing problem caused by non-standard json format.

* #3299  Json string parsing problem caused by non-standard json format. fix  code style

* #3299  Json string parsing problem caused by non-standard json format. fix  code style

* Optimize alarm information

* fix code style

* add license

* fix code smell

* Update dolphinscheduler-alert/src/main/java/org/apache/dolphinscheduler/alert/utils/EnterpriseWeChatUtils.java

Co-authored-by: Yichao Yang <1048262223@qq.com>

* fix code smell

* fix code smell

* 修改ut 和replace问题。

* 修改ut

Co-authored-by: wangjianda <Felix@thinkingdata.com>
Co-authored-by: Yichao Yang <1048262223@qq.com>
2020-08-25 11:10:44 +08:00
Yichao Yang 8fea8f913c
[Test][server] Add the master server test case (#3574) 2020-08-25 10:54:39 +08:00
geosmart f7c4b0f351
[Improvement-3556] remove unnecessary try catch, and do the unittest … (#3563)
* [Improvement-3556] remove unnecessary try catch, and do the unittest to full coverage.

* [Improvement-3556] add REQUEST_PARAMS_NOT_VALID_ERROR res when param is not valid

* [fix-3548] Monitor gauge chart display blank with same pid

Co-authored-by: wanggang <wanggy01@servyou.com.cn>
2020-08-25 10:51:02 +08:00
CalvinKirs 34a04acafd
[Improvement][remote] improvement netty eventLoopGroup (#3580)
* [Improvement][remote] improvement netty eventLoopGroup
If you are running on linux you can use EpollEventLoopGroup and so get better performance, less GC and have more advanced features that are only available on linux.

* reformat code

* utility classes should not have public constructors

* reformat code

* reformat code

* reformat code

* add test

* code style

* add test

* add test

* fix test error

* add test

* test

* test

* add test config

* add test config
2020-08-25 10:47:40 +08:00
Yichao Yang 93660f4d61
[Feature-2154][api] Workflow version control (#3053)
* [Feature][api] Workflow version control

* Update messages.properties

* Update messages_en_US.properties

* Update messages_zh_CN.properties
2020-08-25 10:46:58 +08:00
Yichao Yang c003cd133d
[Improvement-3369][api] Introduce tenant service interface for clear code (#3420)
* [Improvement][api] Introduce tenant service interface for clear code

* Checkstyle

* Checkstyle
2020-08-25 09:56:41 +08:00
xingchun-chen eade9db22f
[test-2995][e2e]Optimize waiting time (#3571)
* Add task connection 

* Optimize test cases
 

* Modify variable format
 
 

* Optimize test cases
 

* Update BrowserCommon.java

* Update BrowserCommon.java

* Update WorkflowDefineLocator.java

* Optimize waiting time
 

* Optimize wait time
 

* Optimize wait time
 

* Optimize wait time
 

* Optimize wait time
 

* Optimize wait time
 

* Optimize wait time
 

* Optimize wait time
 

* Optimize wait time
 

* Optimize wait time
 

* Optimize project wait time
 

* Optimize wait time
 

* Optimize wait time
 

Co-authored-by: chenxingchun <438044805@qq.com>
2020-08-24 17:16:20 +08:00
break60 7ca60c7e61 Merge branch 'dev' of https://github.com/apache/incubator-dolphinscheduler into dev 2020-08-24 16:37:14 +08:00
break60 cab72aeac0 fix 2020-08-24 16:36:48 +08:00
easycode 78eb07b361
[Improvement-3558][API] Improve `DataSourceServiceTest.java` (#3579)
* Fixed this bug "multiple threads creating folders will result in multiple identical folders" #3487

* 1. Improvement `DataSourceServiceTest` #3558
2. Get rid of some useless arguments to functions in the `DataSourceService` class

* The rollback `ResourceService.java`

* The rollback `ResourceService.java`

* The rollback `ResourceService.java`

* 1.Modify code styles.
2.Make improvement according to Yichao Yang's advice. Thank you very much for guidance.@Yichao Yang

* Modify code styles.

* Circumventing the checkConnection problem

* Modify code styles.
2020-08-24 16:36:02 +08:00
break60 e708729245 fix 2020-08-24 10:27:52 +08:00
break60 5cf1e2df9d [fix-3553][ui]Repair click workflow connection, select the entire path 2020-08-22 09:21:20 +08:00
Yichao Yang 836e86dca5
[Test][api] Add api module `service` layer test example (#3521)
* [Test][api] Add api service layer test example

* Remove unused exception

* Remove unused exception

* Format code according to the checkstyle

* Fix test case
2020-08-19 16:32:47 +08:00
Yichao Yang 5d4658ca0d
[Improvement][code style] Add sign next line automatic assigner (#3522) 2020-08-19 16:31:00 +08:00
felix.wang 68db6a75b4
#3542 Optimized mail configuration (#3544)
* #3542 Optimized mail configuration

* #3542 Optimized mail configuration

Co-authored-by: wangjianda <Felix@thinkingdata.com>
2020-08-19 16:28:47 +08:00
felix.wang 2f01025802
[Fix-3299][dao&server] Fix 3299,when Json string parsing problem caused by non-standard json format. (#3552)
* #3299  Json string parsing problem caused by non-standard json format.

* #3299  Json string parsing problem caused by non-standard json format.

* #3299  Json string parsing problem caused by non-standard json format. fix  code style

* #3299  Json string parsing problem caused by non-standard json format. fix  code style

Co-authored-by: wangjianda <Felix@thinkingdata.com>
2020-08-19 16:27:39 +08:00
JinyLeeChina d30bc7bcf3
'3549' (#3550) 2020-08-19 16:24:47 +08:00
CalvinKirs a1ce54b8e6
[Improvement][server] Fix some sonar analyzed bugs (#3415)
* [FIX_BUG][*]fix sonar bugs
fix assert error(assertions always pass)

* fix assert error(assertions always pass)
insert data should judging the success status

* fix assert error(assertions always pass)

* use AtomicReference<Object> to replace unsafe volatile Object

* use AtomicReference<Object> to replace unsafe volatile Object

* lazy initialization holder class Singleton...

* reformat code
judge database operations

* reformat code
judge database operations

* revert

* use ThreadLocalRandom to build random numbers

* reform code

* fix dao test error

* judge database operations
2020-08-19 15:15:28 +08:00
yinancx 056168fc32
[Feature][ui] Delay execution and typo fix (#3508) 2020-08-19 11:46:40 +08:00
vanilla111 a4ee351a3a
delay execution of tasks and improve some designs (#3427) 2020-08-19 11:36:30 +08:00
xingchun-chen 00e0003aed
[test-2995][e2e]Add task connection (#3524)
* Add task connection 

* Optimize test cases
 

* Modify variable format
 
 

* Optimize test cases
 

* Update BrowserCommon.java

* Update BrowserCommon.java

* Update WorkflowDefineLocator.java

Co-authored-by: chenxingchun <438044805@qq.com>
2020-08-18 17:27:36 +08:00
Hsu Pu 59610a5661
[Improvement][dao,server] unit test for ConditionsTask (#3385) 2020-08-18 14:46:00 +08:00
XiaotaoYi 0b7b6d4e2a
[bug-3480][server]fix ds muti-level directory in zk, which lead to fa… (#3532)
* [bug-3480][server]fix ds muti-level directory in zk, which lead to fail to assign work

* miss whitespace for if statement
2020-08-18 07:09:39 +08:00
dengc367 ad89f433f1
[Feature]modify some cases from rockxsj:Feature-presto to add presto datasource support (#3468)
* Feature presto (#1)

* * add presto datasource support
update .gitigonre to igonre some files

* * use another presto driver

* * add LICENSE files about presto-jdbc

* * just for test sonar

Co-authored-by: rockxsj <junjun@mgtv.com>

* modify the io.prestosql.jdbc.PrestoDriver to com.facebook.presto.jdbc.PrestoDriver

* add presto connection in sql node

Co-authored-by: rockxsj <junjun@mgtv.com>
2020-08-17 17:28:46 +08:00
Yichao Yang 7d7313fcc0
[Fix][checkstyle] Fix checkstyle static type order checker (#3520) 2020-08-16 18:57:34 +08:00
Jave-Chen 42b0d67cef
add checkstyle job in github action. (#3518) 2020-08-16 12:37:26 +08:00
Yichao Yang fe9967b005
[Improvement-3369][api] Introduce ProjectService interface for more clear code (#3384)
* [Improvement][api] Introduce ProjectService interface for more clear code

* Fix ci e2e

* Update ProcessDefinitionServiceTest.java
2020-08-16 12:36:25 +08:00