zhangzy
61593cfe6b
ut change
5 years ago
zhangzy
9d944d3f76
Optimize duplicate code
...
Use public methods to simplify duplicate code
5 years ago
zhangzy
662233e0dd
Remove ScheduleUtil,use the existing CronUtils
...
CronUtils is a public quartz tools, then the project dolphinscheduler-api can remove dolphinscheduler-server
5 years ago
dailidong
18750dfc08
remove jasper-runtime jar, not need anymore ( #1900 )
...
* update README about DolphinScheduler
* Update issue templates
* update
* regularize api pom xml
update rpc maven compile to 1.8
* regularize api pom xml
* change commons.lang3.StringUtils to common.utils.StringUtils
* update pom.xml
* update
* correct equals method
* jasper-runtime is needed when api server start
* jasper-runtime jar is needed when api server start
* combine logback config of master/worker/alert/api server to one logback.xml
* remove tomcat runtime jar
* add UT
* add license
* remove jasper-runtime jar, not need anymore
Co-authored-by: DS <escheduler@outlook.com>
5 years ago
dailidong
c63cd3e237
combine logback config of master/worker/alert/api server to one ( #1898 )
...
* combine logback config of master/worker/alert/api server to one logback.xml
5 years ago
dailidong
dbbc6f58da
jasper-runtime jar is needed when api server start ( #1896 )
...
* update README about DolphinScheduler
* Update issue templates
* update
* regularize api pom xml
update rpc maven compile to 1.8
* regularize api pom xml
* change commons.lang3.StringUtils to common.utils.StringUtils
* update pom.xml
* update
* correct equals method
* jasper-runtime is needed when api server start
* jasper-runtime jar is needed when api server start
Co-authored-by: DS <escheduler@outlook.com>
5 years ago
Tboy
42b3e5bd10
fix api server startup failure ( #1886 )
...
* move version to parent pom
* move version properties to parent pom for easy management
* remove freemarker dependency
* delete CombinedApplicationServer
* #1871 correct spelling
* #1873 some updates for TaskQueueZkImpl
* #1875 remove unused properties in pom
* #1878
1. remove tomcat dependency
2. remove combined_logback.xml in api module
3. format pom.xml for not aligning
* #1885 fix api server startup failure
1. add jsp-2.1 dependency
2. remove jasper-runtime dependency
5 years ago
Yelli
5169689c35
class overrides equals() and should therefore also override hashCode() ( #1882 )
5 years ago
Tboy
6b0debec79
some updates for pom ( #1879 )
...
* move version to parent pom
* move version properties to parent pom for easy management
* remove freemarker dependency
* delete CombinedApplicationServer
* #1871 correct spelling
* #1873 some updates for TaskQueueZkImpl
* #1875 remove unused properties in pom
* #1878
1. remove tomcat dependency
2. remove combined_logback.xml in api module
3. format pom.xml for not aligning
5 years ago
Jave-Chen
ff9009a5ae
#1864 fix dependency and createCommand date check ( #1865 )
5 years ago
gabry.wu
a1b918c364
[Feature] createSchedule should return schedule's Id ( #1861 )
...
issue: https://github.com/apache/incubator-dolphinscheduler/issues/1860
5 years ago
liwenhe1993
30db5c1467
Api module relp server module/1756 ( #1766 )
...
* Remove server module on api module
1. Remove server module and add dao module.
2. Move quartz in server module to dao module.
3. Update config and class.
to resolve conflicts,I deleted CombinedApplicationServer.java
Co-authored-by: dailidong <dailidong66@gmail.com>
5 years ago
Jave-Chen
16913bacd7
fix return, obj error ( #1855 )
5 years ago
Jave-Chen
d371745ddf
Fix bug: Use try-with-resources or close this "Socket" in a "finally" clause. ( #1716 )
...
* #1714
5 years ago
Jave-Chen
c522ea7ebb
Fix bug: NullPointerException etc. ( #1721 )
...
* #1720 Fix bug: NullPointerException etc.
* fix code smell
* Update DateInterval.java
refactor equals method
Co-authored-by: dailidong <dailidong66@gmail.com>
5 years ago
老佛爷
1c77708a89
Supplementary data by schedule ( #1830 )
...
* Supplementary data by schedule
* fix sonar check bug
* fix code duplicated blocks
* ut
* loop by day
* MasterExecThread test
* test add licene
Co-authored-by: dailidong <dailidong66@gmail.com>
5 years ago
qiaozhanwei
53814425b7
revert #1686 ( #1840 )
...
* 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
* fix #1775 bug,delete process definition when process instance is running
* verifyTenantIsNull remove process definnition id print log
* revert #1686
* revert #1686
5 years ago
samz406
c558da0b75
add BaseServiceTest BaseDAGServiceTest UT ( #1835 )
...
* modify UdfFuncServiceTest UT
* fix get tenantCode my NPE
* add ResourcesServiceTest
* add error log
* add BaseServiceTest BaseServiceTest UT
* update
5 years ago
lilin
b34f9745dc
update
5 years ago
lilin
b4a6d5440f
add BaseServiceTest BaseServiceTest UT
5 years ago
Yelli
8399ab4718
add null check in markdownTable & modify EnterpriseWeChatManager logger class ( #1809 )
5 years ago
Yelli
38f30b5c4d
add null check when import process has sub-process ( #1806 )
...
* fix bug: zk hasTask method NPE
* add retMap null check for AlertSender
* add null check when import process has sub-process
5 years ago
Yelli
1c5c8b75b9
refactor import process ( #1804 )
...
* refactor import process
* add refactor import process UT
* add import process UT
* add null check UT for import process metadata
* add UT for import process
* modify dependentparam UT
* modify testAddImportDependentSpecialParam
* modify DependentParamTest
* modify processDefinitionService UT
5 years ago
Tboy
3cf21dcac0
delete CombinedApplicationServer ( #1763 )
...
* move version to parent pom
* move version properties to parent pom for easy management
* remove freemarker dependency
* delete CombinedApplicationServer
5 years ago
Yelli
7dfa9976a0
refactor export process ( #1772 )
...
* refactor process export
* comment & null check for export process
* add License
* add javadoc
* add DataSourceParamTest and DependentParamTest
* refactor process export & add exportProcessMetaDataStr UT
5 years ago
Yelli
23cec993f9
fix bug: fix ResourcesServiceTest ( #1759 )
5 years ago
Tboy
074fd41aa6
remove freemarker dependency ( #1757 )
...
* remove freemarker dependency
5 years ago
Jave-Chen
4b027fbf02
Fix SonarCloud bug “Resources should be closed” ( #1667 )
...
#1666 Fix SonarCloud bug “Resources should be closed”
5 years ago
Yelli
8125974c61
ds.server regularize log print ( #1751 )
...
* ds.server regularize log print
* log print modify
* log print modify
* modify lang3 to lang
5 years ago
elonlo
8ae401e3d7
Refactor login verification process ( #1543 )
...
* Refactor login verification process
* Delete application-combined.properties
application-combined.properties doesn't needed
Co-authored-by: dailidong <dailidong66@gmail.com>
5 years ago
Yelli
7762a62270
add null check in SubProcessTaskExecThread ( #1737 )
...
* 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()
* add hashcode() && null check
* merge if
* remove hashcode
* remove e.getMessage
5 years ago
Tboy
4cc058c931
move version properties to parent pom for easy management of api module ( #1736 )
...
* move version to parent pom
* move version properties to parent pom for easy management
5 years ago
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>
5 years ago
samz406
15ae4dfa74
fix get tenantCode my NPE ( #1684 )
...
* modify UdfFuncServiceTest UT
* fix get tenantCode my NPE
* add ResourcesServiceTest
* add error log
5 years ago
Tboy
94fa1adf9b
move version to parent pom ( #1722 )
5 years ago
qiaozhanwei
1f7db8f797
Revert "move version to parent pom ( #1712 )" ( #1715 )
...
This reverts commit 87e8f0d83b
.
5 years ago
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,
5 years ago
Tboy
4d1abb3fc7
remove commons-lang3 dependancy ( #1709 )
...
* remove commons-lang3 dependancy
* remove commons-lang3 dependancy
* remove unused import
5 years ago
lilin
b0d73fb789
add error log
5 years ago
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
5 years ago
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
5 years ago
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
5 years ago
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
5 years ago
loushang
65bb0e03b7
fix SessionServiceTest testSignOut bug (add mock)
5 years ago
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
5 years ago
loushang
5949c8d6fb
fix SessionService signOut method exception bug
5 years ago
lilin
32604123eb
add ResourcesServiceTest
5 years ago
lilin
67acd09f94
fix get tenantCode my NPE
5 years ago
samz406
dc6c18902a
modify UdfFuncServiceTest UT ( #1644 )
5 years ago
loushang
b549ee3901
fix zk monitor bug
5 years ago