Commit Graph

2120 Commits

Author SHA1 Message Date
DK.Pino
9eb823c0aa Refactor alert template (#1713)
* refactor Alert Template

* refactor alert template(remove freemarker)

* add license

* update abstract class to interface

* make test into root pom

* fix powermock static

* fix powermock static

* remove custom exception

* remove custom exception
2020-01-07 10:20:58 +08:00
dailidong
0628aec535 regularize api module pom.xml and rpc module compile to 1.8 (#1733)
* update README about DolphinScheduler

* Update issue templates

* update

* regularize api pom xml
update rpc maven compile to 1.8

* regularize api pom xml

Co-authored-by: DS <escheduler@outlook.com>
2020-01-06 22:53:38 +08:00
samz406
15ae4dfa74 fix get tenantCode my NPE (#1684)
* modify UdfFuncServiceTest UT

* fix get tenantCode my NPE

* add  ResourcesServiceTest

* add error log
2020-01-06 19:47:29 +08:00
xingchun-chen
dad643dbb5 commom/Preconditions Util Test (#1727)
* common/parameterUtils unit test
2020-01-06 15:51:55 +08:00
Tboy
94fa1adf9b move version to parent pom (#1722) 2020-01-06 11:35:29 +08:00
Yelli
13d5a5ae9b fix bug sonar: add null check in daghelper (#1719)
* 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

* fix sonar bug: change condition & not enough arguments

* fix bug sonar: add null check in daghelper && add hashcode method in ProcessData

* fix bug sonar: add null check in daghelper

* CollectionUtils.isEmpty()
2020-01-06 11:23:34 +08:00
Jave-Chen
d3d9619738 Fix sonarcloud analysis on merge PR (#1707)
* #1706 fix sonarcloud analysis on merge PR

* sonarcloud use cobertura report and don't run UT again; include ui source file; merge to one workflow
2020-01-06 10:36:43 +08:00
qiaozhanwei
1f7db8f797 Revert "move version to parent pom (#1712)" (#1715)
This reverts commit 87e8f0d83b.
2020-01-04 23:38:08 +08:00
Tboy
87e8f0d83b move version to parent pom (#1712)
* remove commons-lang3 dependancy

* remove commons-lang3 dependancy

* remove unused import

* all the submodule should not contain version, so move version to parent,
2020-01-04 23:11:13 +08:00
Tboy
4d1abb3fc7 remove commons-lang3 dependancy (#1709)
* remove commons-lang3 dependancy

* remove commons-lang3 dependancy

* remove unused import
2020-01-04 18:01:10 +08:00
khadgarmage
5f145efa6b DependentUtils.java ut (#1703)
* delete bytes file

* DependentUtilsTest.java ut
2020-01-04 17:58:29 +08:00
lilin
b0d73fb789 add error log 2020-01-04 11:40:53 +08:00
Yelli
7ecd38f7d6 fix sonar bug: change condition & not enough arguments (#1692)
* 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

* fix sonar bug: change condition & not enough arguments
2020-01-04 11:32:07 +08:00
Jave-Chen
36e244297d Fix bug : Use try-with-resources or close this "ResultSet" in a "finally" clause (#1689)
* #1688 Fix bug : Use try-with-resources or close this "ResultSet" in a "finally" clause

* replace while to if where possible

* merge TaskRecordDao.java from dev
2020-01-04 10:38:15 +08:00
Yelli
3593a60374 fix sonar bug: change condition & not enough arguments (#1705) 2020-01-04 10:36:24 +08:00
zhukai
cfe174293f Improve the user experience in the task definition page (#1678)
define the architecture (include actions.js, dag.vue,formModel.vue,mutations.js, and state.js) and implement one of the tasks , such as http.vue.
2020-01-03 21:07:22 +08:00
Tboy
0a3954107e
Merge pull request #1699 from lgcareer/dev-taskqueue
get root path from zookeeper config
2020-01-03 19:30:51 +08:00
Tboy
672a48255a
Merge pull request #1700 from fordeal-smalldata/fix-task-zknode-miss
Fixed tasks_queue and tasks_kill did not exist in zookeeper #1696
2020-01-03 19:30:21 +08:00
elonlo
cae656c1bc uniform naming 2020-01-03 19:26:06 +08:00
Tboy
884237487c remove commons-lang3 dependancy, using common-module instead for server module (#1698)
* remove commons-lang3 dependancy

* remove commons-lang3 and commons-lang dependancy

* remove commons-collections4/commons-logging/commons-io dependancy

* tmp add commons-lang3 for compile

* remove commons-lang3 dependancy, using common-module instead

* remove common StringUtils instead of lang3

* add tmp lang3 for compile
2020-01-03 19:23:05 +08:00
elonlo
c21d25edf2 Fixed tasks_queue and tasks_kill did not exist in zookeeper #1696 2020-01-03 18:37:39 +08:00
lgcareer
8090f14504 get root path from zookeeper config 2020-01-03 18:05:00 +08:00
break60
3477d28de8 Fixed DAG zoom in and zoom out nodes separated from arrows #1679 (#1680)
* Fix api url

* Fixed DAG zoom in and zoom out nodes separated from arrows
2020-01-03 17:50:05 +08:00
Tboy
0e66c71f38 remove commons-collections4/commons-logging/commons-io dependancy for API module (#1693)
* remove commons-lang3 dependancy

* remove commons-lang3 and commons-lang dependancy

* remove commons-collections4/commons-logging/commons-io dependancy

* tmp add commons-lang3 for compile
2020-01-03 16:10:18 +08:00
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
lilin
32604123eb add ResourcesServiceTest 2020-01-02 16:53:43 +08:00
lilin
67acd09f94 fix get tenantCode my NPE 2020-01-02 16:53:07 +08:00
samz406
38e3af0dee
Merge pull request #19 from apache/dev
update
2020-01-02 16:38:31 +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