Commit Graph

1891 Commits

Author SHA1 Message Date
Yelli
216154dc06 fix sonar bug: null check & clean throw exception (#1690)
* fix sonar bug: null check & clean throw exception

* fix sonar bug: null check & clean throw exception
2020-01-03 11:46:51 +08:00
Yelli
a80e90276f fix sonar bug: not enough arguments (#1687)
* modify FileUtils.readFile2Str

* #1300 Add right alignment function in sql email content

* cancel formatted for alert_mail_template.ftl

* #747 sql task password Log desensitization

* cancel mail_temple

* edit ExcelUtils

* modify test method name

* #747 sql task password Log desensitization

* #1544 workflow import

* Constants add DATASOURCE_PASSWORD_REGEX

* #747 sql task password Log desensitization

* deal with import project have sub process

* modify export process addTaskNodeParam method name

* add testAddTaskNodeSpecialParam UT

* add ProcessDefinitionServiceTest-ut to pom

* add testImportSubProcess in ProcessDefinitionServiceTest

* add testImportSubProcess in ProcessDefinitionServiceTest

* add testImportProcessDefinition

* fix sonar bug: not enough arguments
2020-01-03 11:24:01 +08:00
Tboy
a9cd31eca6 remove commons-lang3 and commons-lang dependancy for Dao module (#1663)
* remove commons-lang3 dependancy

* remove commons-lang3 and commons-lang dependancy
2020-01-03 11:14:19 +08:00
AmoryWang
b26dcba685 Feature ut common thread (#1674)
* add common thread ut

* Update ThreadUtilsTest.java

add license header

* delete useless file

Co-authored-by: dailidong <dailidong66@gmail.com>
2020-01-03 10:09:37 +08:00
AmoryWang
014e45ff28 Upstream/feature ut common thread (#1639)
* add common thread ut

* add apache license
2020-01-03 10:08:31 +08:00
Tboy
95dedd94f3
Merge pull request #1686 from clay4444/fixSignOutBug
Fix SessionService signOut method exception handle bug
2020-01-03 10:06:03 +08:00
loushang
65bb0e03b7 fix SessionServiceTest testSignOut bug (add mock) 2020-01-02 20:08:14 +08:00
Yelli
26ed786c4d #1544 fix bug: workflow import (#1676)
* modify FileUtils.readFile2Str

* #1300 Add right alignment function in sql email content

* cancel formatted for alert_mail_template.ftl

* #747 sql task password Log desensitization

* cancel mail_temple

* edit ExcelUtils

* modify test method name

* #747 sql task password Log desensitization

* #1544 workflow import

* Constants add DATASOURCE_PASSWORD_REGEX

* #747 sql task password Log desensitization

* deal with import project have sub process

* modify export process addTaskNodeParam method name

* add testAddTaskNodeSpecialParam UT

* add ProcessDefinitionServiceTest-ut to pom

* add testImportSubProcess in ProcessDefinitionServiceTest

* add testImportSubProcess in ProcessDefinitionServiceTest

* add testImportProcessDefinition
2020-01-02 19:45:05 +08:00
DK.Pino
30dd867acb remove lombok depend in dao dodule (#1683) 2020-01-02 17:26:02 +08:00
loushang
5949c8d6fb fix SessionService signOut method exception bug 2020-01-02 17:20:57 +08:00
DK.Pino
0bfb0e4b16 remove lombok depend in common dodule (#1677) 2020-01-02 17:14:34 +08:00
break60
22a2d43d7c Fix api url (#1672) 2020-01-02 10:25:09 +08:00
loushang
4660152f38 Merge remote-tracking branch 'upstream/dev' into dev 2020-01-02 10:22:56 +08:00
khadgarmage
bb414b0794 delete bytes file (#1669) 2020-01-02 10:15:37 +08:00
Jave-Chen
7e53ceb3c4 fix 0% UT coverage on new code . issue #1611 (#1662) 2020-01-01 21:28:39 +08:00
zhukai
f311c966ab Fix bug in #1634 ,replace the current datetime with a fixed time (#1665) 2020-01-01 21:09:19 +08:00
zhukai
b471119443 Add ParamUtilsTest which is the UT of ParamUtils (#1634)
1. Add ParamUtilsTest.
2. Add a null check in the method convert.
3. Add the UT path to the root pom.
2019-12-31 23:33:27 +08:00
samz406
dc6c18902a modify UdfFuncServiceTest UT (#1644) 2019-12-31 23:21:09 +08:00
khadgarmage
bc8e06bb08
SchemaUtils.java TaskParametersUtils.java unit test (#1660)
* schemautils test and TaskParametersUtils test
2019-12-31 22:51:56 +08:00
loushang
9f60d3ab1f Merge remote-tracking branch 'upstream/dev' into dev 2019-12-31 18:27:43 +08:00
Tboy
677e9cfd33 remove commons-lang3 dependancy (#1655) 2019-12-31 16:03:08 +08:00
Tboy
ced4b10c1b
Merge pull request #1645 from clay4444/dev
fix zkMonitor bug
2019-12-31 14:43:56 +08:00
loushang
b549ee3901 fix zk monitor bug 2019-12-31 10:30:20 +08:00
Tboy
e621d958d1
Merge pull request #1643 from Technoboy-/dev
remove swagger-annotations in DAO module
2019-12-31 10:06:25 +08:00
Jave-Chen
a51242d445 Merge ut sonarcloud into one file (#1647)
* merge ut and sonarcloud to one action
turn on sonarcloud ut

* fix error

* test in github
2019-12-30 21:21:39 +08:00
loushang
e25342c96f Merge branch 'dev' of https://github.com/clay4444/incubator-dolphinscheduler into dev 2019-12-30 19:46:33 +08:00
AmoryWang
e1d39e1e8e add UT for common thread package (#1628)
* add common thread ut

* Update ThreadUtilsTest.java

add license header

Co-authored-by: dailidong <dailidong66@gmail.com>
2019-12-30 19:42:48 +08:00
qiaozhanwei
b73979360e DataSourceMapperTest UT modify #1465 (#1642)
* remove LogViewServiceGrpc.java file and pom modify

* remove kazoo

* remove kazoo

* remove kazoo

* remove common monitor package

* add license

* remove kazoo modify

* remove kazoo modify

* remove kazoo modify

* remove kazoo modify

* remove kazoo modify

* remove kazoo modify

* install.sh remove python kazoo

* add system param whether repeat running

* remove kazoo modify

* BusinessTimeUtils remove whther repeat running inner param

* add AccessTokenMapperTest UT

* CI UT yml modify,start postgresql and zookeeper by default

* add AlertGroupMapperTest UT in github action

* Conflicts reslove

* AlertMappert UT modify

* AlertMappert UT modify

* AlertMappert UT modify

* CommandMapperTest UT modify

* DataSourceMapperTest UT modify
2019-12-30 19:01:08 +08:00
loushang
dc4e46db41 fix Monitor bug 2019-12-30 18:58:38 +08:00
loushang
2106374dc8 Merge remote-tracking branch 'upstream/dev' into dev 2019-12-30 18:47:50 +08:00
Tboy
4032c4e64b
Merge pull request #1618 from samz406/1227-2
before delete Udf check exist
2019-12-30 18:30:49 +08:00
lilin
96d49a0950 remove delete check exist 2019-12-30 18:26:10 +08:00
dk.technoboy
cc786e6d76 remove swagger-annotations 2019-12-30 18:18:18 +08:00
bao liang
d16500e8be [Feature] merge some configurations #1635 (#1636)
* merge hadoop.properties into common.properties

* merge hadoop,zookeeper.properties into common.properties
remove combined.properties/master.properties/worker.properties

* change db user/pwd to test/test
2019-12-30 18:14:31 +08:00
Tboy
2bb3729f3e
Merge pull request #9 from apache/dev
merge
2019-12-30 18:14:21 +08:00
break60
426c027ddf Click the run button to add the workflow name echo #1339 Point 11 (#1638)
* Increase script text box to zoom in and fix log loading

* Timing operation adds default value for start and end dates

* Click the run button to add the workflow name echo
2019-12-30 18:11:14 +08:00
Tboy
5e935d579e refactor AbstractZKClient (#1627)
* we should insert alert DB once , and trigger this type of alert 3 times

* refactor AbstractZKClient
2019-12-30 17:59:06 +08:00
samz406
503be5f400 add service UT (#1637)
* User update  not check params

* user phone update when noteEmpty

* modify saveWorkerGroup may NPE

* add some service UT

* add  service ut include
2019-12-30 17:24:34 +08:00
samz406
6d4a3410c8 modify saveWorkerGroup may NPE (#1629)
* User update  not check params

* user phone update when noteEmpty

* modify saveWorkerGroup may NPE
2019-12-30 10:31:35 +08:00
Jave-Chen
dad75727ff fix bug (#1633)
dolphinscheduler-alert/src/main/java/org/apache/dolphinscheduler/alert/utils/EnterpriseWeChatUtils.java
      https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&issues=AW9PvkP_YzPBRjkobY7y&open=AW9PvkP_YzPBRjkobY7y
      https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&issues=AW9PvkP_YzPBRjkobY7z&open=AW9PvkP_YzPBRjkobY7z

    dolphinscheduler-alert/src/main/java/org/apache/dolphinscheduler/alert/AlertServer.java
      https://sonarcloud.io/project/issues?id=apache-dolphinscheduler&issues=AW9PvkRwYzPBRjkobY87&open=AW9PvkRwYzPBRjkobY87
2019-12-30 10:28:47 +08:00
Technoboy-
b053322466 refactor AbstractZKClient 2019-12-29 16:54:40 +08:00
Tboy
98a7daa6b8
Merge pull request #8 from apache/dev
merge
2019-12-29 16:05:37 +08:00
Jave-Chen
d3d5726aeb Add github action to analyze code with sonarcloud (#1624)
* Create .sonarcloud.properties
* add License description
2019-12-29 13:15:29 +08:00
qiaozhanwei
e61586cd06 CommandMapperTest UT modify #1465 (#1625)
* CommandMapperTest UT modify
2019-12-29 13:12:29 +08:00
break60
779decc96d Increase script text box to zoom in and fix log loading #1547 、#1247 (#1604)
* Increase script text box to zoom in and fix log loading

* Timing operation adds default value for start and end dates
2019-12-29 10:23:10 +08:00
Tboy
87738af235
Merge pull request #1615 from samz406/1227-queue
queue return info is not correct
2019-12-29 10:20:18 +08:00
samz406
b03632bc6d User update not check params (#1619)
* misspell  words

* modify common queue TaskQueueZKImplTest.java unit test

* extends  BaseTaskQueueTest get zkServer

* modify zk config

* User update  not check params

* user phone update when noteEmpty
2019-12-29 10:13:14 +08:00
Tboy
2a0dab14ee we should insert alert DB once , and trigger this type of alert 3 times (#1622) 2019-12-29 10:11:41 +08:00
qiaozhanwei
e9fcf6128e
AlertMappert UT modify #1465 (#1616)
* remove LogViewServiceGrpc.java file and pom modify

* remove kazoo

* remove kazoo

* remove kazoo

* remove common monitor package

* add license

* remove kazoo modify

* remove kazoo modify

* remove kazoo modify

* remove kazoo modify

* remove kazoo modify

* remove kazoo modify

* install.sh remove python kazoo

* add system param whether repeat running

* remove kazoo modify

* BusinessTimeUtils remove whther repeat running inner param

* add AccessTokenMapperTest UT

* CI UT yml modify,start postgresql and zookeeper by default

* add AlertGroupMapperTest UT in github action

* Conflicts reslove

* AlertMappert UT modify

* AlertMappert UT modify

* AlertMappert UT modify
2019-12-29 09:59:49 +08:00
Technoboy-
cfd3266ca2 we should insert alert DB once , and trigger this type of alert 3 times 2019-12-28 21:35:10 +08:00