Commit Graph

504 Commits

Author SHA1 Message Date
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
Zhou.Z
7817601bd5 Update Status.java 2020-10-26 12:30:16 +08:00
Zhou.Z
897ce2d183
Merge branch 'dev' into dev-FTS 2020-10-25 12:24:15 +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
Zhou.Z
4f0c74dcc1 Update Status.java 2020-10-14 12:43:07 +08:00
zhuangchong
d32300ba5b
add process define name verify. (#3864) 2020-10-14 10:51:47 +08:00
Zhou.Z
37762c29ea
Merge branch 'dev' into dev-FTS 2020-10-13 13:49:34 +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
qiaozhanwei
dce518c346
[Fix-3258][Security][Worker group manage] Connot get create time and update time,report DateTimeParseException (#3787)
* [Fix-3616][Server] when worker akc/response master exception , async retry

* [Fix-3616][Server] when worker akc/response master exception , async retry

* [Fix-3616][Server] when worker akc/response master exception , async retry

* [Fix-3616][Server] when worker akc/response master exception , async retry

* [Fix-3616][Server] when worker akc/response master exception , async retry

* [Fix-3616][Server] when worker akc/response master exception , async retry

* [Fix-3616][Server] when worker akc/response master exception , async retry

* [Fix-3616][Server] when worker akc/response master exception , async retry

* [Fix-3616][Server] when worker akc/response master exception , async retry

* [Fix-3616][Server] when worker akc/response master exception , async retry

* [Fix-3616][Server] when worker akc/response master exception , async retry

* The batch delete function in the workflow definition and workflow instance pages cannot be canceled if selected.

* [Fix-3549] [Server][sqlTask]The alias column in the query SQL does not take effect

* [Fix-3549] [Server][sqlTask]The alias column in the query SQL does not take effect

* [Fix-3549] [Server][sqlTask]The alias column in the query SQL does not take effect

* [BugFixed] issue #3258 (#3265)

* 'ExecutionStatus'

* '3258'

* Update WorkerGroupServiceTest.java

* Delete UserState.java

* Delete ResourceSyncService.java

* Delete core-site.xml

* Delete hdfs-site.xml

Co-authored-by: dailidong <dailidong66@gmail.com>
Co-authored-by: qiaozhanwei <qiaozhanwei@outlook.com>

Co-authored-by: qiaozhanwei <qiaozhanwei@analysys.com.cn>
Co-authored-by: zhuangchong <zhuangchong8@163.com>
Co-authored-by: JinyLeeChina <42576980+JinyLeeChina@users.noreply.github.com>
Co-authored-by: dailidong <dailidong66@gmail.com>
2020-09-22 17:38:45 +08:00
BoYiZhang
375ec125c5
[Feature-3773][processInstance, taskInstance] Change title name : Replacement System.currentTimeMillis () (#3774)
* 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

* Replacement System.currentTimeMillis () to DateUtils.getCurrentTimeStamp()

* update checkstyle

* update checkstyle

Co-authored-by: dailidong <dailidong66@gmail.com>
Co-authored-by: xingchun-chen <55787491+xingchun-chen@users.noreply.github.com>
2020-09-22 17:38:17 +08:00
muzhongjiang
c42e769ced
[Fix] fix bug #3487 Create folder duplicate name under multithreading (#3697)
* add state

* fixed bug "jackson enum conversion  : InvalidFormatException"

* Word spelling modification
Comment modification
Word spelling modification,Comment modification,Log level modification

* Update EmailManager.java

* Update FlinkParameters.java

* Update SqlTask.java

* fixed  "getNotifyGroupList cache"  bug

* fix bug "Creating folders with multiple threads will result in multiple identical folders #3487"

* fix "Creating folders with multiple threads will result in multiple identical folders" #3487

* fix "Creating folders with multiple threads will result in multiple identical folders" #3487

* fix bug  #3487   Create folder duplicate name under multithreading

* fix bug  #3487   Create folder duplicate name under multithreading

* fix bug  #3487   Create folder duplicate name under multithreading

* fix bug  #3487   Create folder duplicate name under multithreading

Co-authored-by: mzjnumber1@163.com <mzjnumber1@163.com>
Co-authored-by: dailidong <dailidong66@gmail.com>
2020-09-09 14:13:29 +08:00
Zhou Zheng
8ba41dc131 fix code smells 2020-09-08 12:51:29 +08:00
Zhou Zheng
cf9576b74a Merge branch 'dev' into dev-FTS 2020-09-08 11:58:06 +08:00
zhuangchong
21a90f2161
[Feature][API] process definition delete api add check process instance is already running. #3581 (#3582)
* process definition delete api add check process instance is already running.

* add checkstyle.

* processinstancemapper replaces processinstanceservice.

* processinstancemapper replaces processinstanceservice.

Co-authored-by: unknown <zhuang.chong@zhaopin.com.cn>
2020-09-07 11:03:51 +08:00
赤月
69201ac346
[Improvement][ALL] Remove some un-used code and code review #3639 (#3640)
* [Improvement][ALL] Remove some un-used code and code review #3639

* [Improvement][ALL] Remove some un-used code and code review #3639

* [Improvement][ALL] Remove some un-used code and code review #3639

* [Improvement][ALL] Remove some un-used code and code review

* [Improvement][ALL] Remove some un-used code and code review

* [Improvement][ALL] Remove some un-used code and code review
2020-09-03 18:56:32 +08:00
Zhou Zheng
bbfd35be05 improve test coverage 2020-08-30 00:53:11 +08:00
Zhou Zheng
58b4e1f456 fix vulnerability 2020-08-29 22:30:15 +08:00
Zhou Zheng
3eeea22671 improve test of DAGhelper 2020-08-29 20:58:31 +08:00
Zhou Zheng
83548e63ba add test of executorService 2020-08-29 11:18:50 +08:00
Zhou Zheng
92e70b94cc improvement 2020-08-28 17:41:15 +08:00
Zhou Zheng
757f8e4f58 fix spelling mistake 2020-08-26 23:49:39 +08:00
Zhou Zheng
79bff32733 Update TaskInstanceService.java 2020-08-26 23:03:45 +08:00
Zhou Zheng
7e4bf1902c Merge branch 'dev' into dev-FTS 2020-08-26 22:54:11 +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
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
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
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
Zhou Zheng
6e5145f7c4 fix some code smell problems
1. use Collections.isEmpt() instead of size() > 0
2. make if statements more readable
2020-08-24 16:19:52 +08:00
Zhou Zheng
d97cc3db86 fix vulnerability
防止logger注入的问题
2020-08-24 16:03:39 +08:00
Zhou Zheng
31cd1f6cb2 adapt to code style 2020-08-23 15:14:18 +08:00
Zhou Zheng
640774595d Update DataAnalysisServiceImpl.java 2020-08-23 10:59:04 +08:00
Zhou Zheng
ae9eb160c1 解决更新后的逻辑冲突 2020-08-23 00:41:03 +08:00
Zhou Zheng
295796a5c5 fix 2020-08-22 22:47:59 +08:00
Zhou Zheng
6bdd11da51 Merge branch 'dev' into dev-FTS 2020-08-22 22:31:07 +08:00
Zhou Zheng
1f19cf2b50 update test of TaskInstanceController 2020-08-22 18:48:15 +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
vanilla111
a4ee351a3a
delay execution of tasks and improve some designs (#3427) 2020-08-19 11:36:30 +08:00
qiaozhanwei
b8a9e2e00f
modify general user can't create,delete,update token (#3538)
Co-authored-by: qiaozhanwei <qiaozhanwei@analysys.com.cn>
2020-08-18 14:07:47 +08:00
lgcareer
0505ebf45d
[Fix-3536][api]If user didn't have tenant,create resource directory will NPE (#3537)
* [Fix-3536][api]If user didn't have tenant,create resource will NPE

* [Fix-3536][api]If user didn't have tenant,create resource directory will NPE
2020-08-18 13:48:54 +08:00
qiaozhanwei
b4974241c7 if task is null , set task type is null instead of "null" 2020-08-18 10:57:25 +08:00
qiaozhanwei
94e453cbd5 modify general user can't create token 2020-08-18 10:14:10 +08:00
qiaozhanwei
944758b288 Merge remote-tracking branch 'remotes/upstream/1.3.2-release' into 1.3.2-release 2020-08-17 11:21:59 +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
lenboo
0a0515ec63 Merge remote-tracking branch 'upstream/1.3.2-release' into 132-checkadmin 2020-08-15 08:31:23 +08:00
lenboo
553af77803 add login user check some actions in api 2020-08-15 08:31:02 +08:00
qiaozhanwei
f3f895751b [maven-release-plugin] prepare for next development iteration 2020-08-14 19:20:27 +08:00
qiaozhanwei
f19b125374 [maven-release-plugin] prepare release 1.3.2 2020-08-14 19:20:17 +08:00
qiaozhanwei
4ba6b35b0f
test release 1.3.2 version rollback (#3504)
* [Feature] JVM parameter optimization , related issue #3370

* [Feature] JVM parameter optimization , related issue #3370

* test release 1.3.2 version rollback

* test release 1.3.2 version rollback

* test

* test release 1.3.2 version rollback

Co-authored-by: qiaozhanwei <qiaozhanwei@analysys.com.cn>
2020-08-14 18:55:03 +08:00
qiaozhanwei
f50353f8a6 [maven-release-plugin] prepare for next development iteration 2020-08-14 18:26:09 +08:00
qiaozhanwei
afd227a179 [maven-release-plugin] prepare release 1.3.2 2020-08-14 18:25:59 +08:00
qiaozhanwei
660eb5a1e6
test release 1.3.2 version rollback (#3503)
* [Feature] JVM parameter optimization , related issue #3370

* [Feature] JVM parameter optimization , related issue #3370

* test release 1.3.2 version rollback

* test release 1.3.2 version rollback

* test

* test release 1.3.2 version rollback

Co-authored-by: qiaozhanwei <qiaozhanwei@analysys.com.cn>
2020-08-14 18:19:19 +08:00
qiaozhanwei
ed6f5791fe test release 1.3.2 version rollback 2020-08-14 18:17:05 +08:00
qiaozhanwei
e26b654ee6 test 2020-08-14 18:16:22 +08:00
qiaozhanwei
b5f0f23d85 [maven-release-plugin] prepare for next development iteration 2020-08-14 17:37:33 +08:00
qiaozhanwei
88b3ef5d30 [maven-release-plugin] prepare release 1.3.2 2020-08-14 17:37:23 +08:00
qiaozhanwei
45424ec265
test release 1.3.2 version rollback (#3499)
* [Feature] JVM parameter optimization , related issue #3370

* [Feature] JVM parameter optimization , related issue #3370

* test release 1.3.2 version rollback

* test release 1.3.2 version rollback

Co-authored-by: qiaozhanwei <qiaozhanwei@analysys.com.cn>
2020-08-14 17:31:09 +08:00
qiaozhanwei
b4b8c801ed test release 1.3.2 version rollback 2020-08-14 17:24:07 +08:00
lgcareer
5f5c08402f
[Fix-3469][api]Should filter the resource by the different program type (#3498)
* [Fix-3463][api]Fixed that run the sql task will be failure after rename the udf resource

* [Fix-3469][api]Should list python file and jar file

* [Fix-3469][api]Should filter the resource by the different program type

* [Fix-3469][api]fix the code smell
2020-08-14 16:47:01 +08:00
qiaozhanwei
c6f0c8901c [maven-release-plugin] prepare for next development iteration 2020-08-14 16:04:49 +08:00
qiaozhanwei
8a6732ae4c [maven-release-plugin] prepare release 1.3.2 2020-08-14 16:04:38 +08:00
rockxsj
2b46db0bf7
[Feature]add presto datasource support (#3308)
* * 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>
2020-08-14 08:52:31 +08:00
geosmart
6da7f1a2d1
resolve curator-client dependency confliction (#3488)
* dolphinscheduler-api.pom resolve curator-client conflict

the ds use curator-client:4.3.0 dependency by curator-frameworke,
but hadoop-common use  curator-client:2.7.1,
so make the ClassNotFoundException
```
Caused by: java.lang.ClassNotFoundException: org.apache.curator.connection.StandardConnectionHandlingPolicy
```
exclue curator-client in hadoop-common to resolve this

* resolve curator-client dependency confliction


## What is the purpose of the pull request

the ds use curator-client:4.3.0 dependency by curator-frameworke,
but hadoop-common use  curator-client:2.7.1,
so make the ClassNotFoundException
```
Caused by: java.lang.ClassNotFoundException: org.apache.curator.connection.StandardConnectionHandlingPolicy
```
exclue curator-client in hadoop-common to resolve this
2020-08-14 00:34:30 +08:00
lgcareer
c8322482bb
[Fix-3463][api]Fixed that run the sql task will be failure after rename the udf resource (#3482) 2020-08-13 16:19:11 +08:00
zixi0825
46ab86d6df
batch copy or move process #2753 (#2884)
* batch copy or move process

* batch copy or move process

* batch copy or move process

* batch copy or move process

* batch copy or move process

* batch copy or move process

* batch copy or move process

* batch copy or move process sovle code smell

* batch copy or move process sovle code smell

* batch copy or move process sovle code smell

* batch copy or move process sovle code smell

* batch copy or move process sovle code smell

* batch copy or move process sovle code smell

* batch copy or move process sovle code smell

* batch copy or move process sovle code smell

* batch copy or move process

* batch copy or move process

* batch copy or move process

* batch copy or move process

* batch copy or move process

* batch copy or move process

* Roll back the package.json file

* rerun test

* revert blank

* resolve conflicts

* resolve conflicts

* resolve ut error

* resolve sonar error

Co-authored-by: sunchaohe <sunzhaohe@linklogis.com>
Co-authored-by: dailidong <dailidong66@gmail.com>
2020-08-13 15:37:46 +08:00
lgcareer
a409306601
[Fix-3462][api]If login user is admin,need list all udfs (#3465)
* [Fix-3462][api]If login user is admin,need list all udfs

* [Fix-3462][api]add the test on the method of QueryUdfFuncList

* [Fix-3462][api]fix the code smell

* [Fix-3462][api]fix the code smell

* [Fix-3462][api]fix the code smell
2020-08-12 14:59:38 +08:00
Yichao Yang
133b4de129
[Improvement-3369][api] Introduce api service interface for ProcessDefinitionService (#3371)
* [Improvement-3369][api] Code clean and improvement

* Feature: import DATA_LIST static variable
2020-08-10 15:02:55 +08:00
Yichao Yang
379203b306
[Improvement-3369][api] Introduce session service interface for clear code (#3408)
* [Improvement][api] Introduce session service interface for clear code

* Update SessionService.java

* [Improvement][api] Add @Service

* Add licenses
2020-08-10 15:02:14 +08:00
Yichao Yang
3ed0afa6ac
[Improvement-3369][api] Introduce data analysis service interface for clear code (#3439)
* [Improvement][api] Introduce data analysis service interface for clear code

* Remove the bad smell

* Remove the bad smell
2020-08-10 14:47:45 +08:00
Yichao Yang
dce403d062
[Improvement-3369][api] Introduce logger service interface for clear code (#3437)
* [Improvement][api] Introduce logger service interface for clear code

* Remove the code smell
2020-08-10 14:47:16 +08:00
Yichao Yang
f7f07608ed
[Improvement][api] Introduce access token service interface for clear code (#3438) 2020-08-10 14:46:59 +08:00
Yichao Yang
4fb06a736d
[Test][api] Introduce api controller unit test example (#3447)
* [Test][api] Introduce api controller test example

* Add controller test
2020-08-10 14:36:31 +08:00
Zhou Zheng
815f62ad57 增加了修改task状态的单元测试 2020-08-07 23:25:30 +08:00
Zhou Zheng
c8fb897942 添加dataAnalysis的状态统计相关的部分
1. taskStateCount中添加了强制成功的状态
2. processStateCount中剔除强制成功的状态
2020-08-07 16:35:57 +08:00
Zhou Zheng
90a060128f 修改与新增commandType相关的代码
1. dataAnalysis
2. alertManager
3. businessTimeUtils的schedule选择
2020-08-07 15:39:48 +08:00