kezhenxu94
065d5caccc
Only expose necessary actuator endpoints ( #12571 )
2 years ago
caishunfeng
138eab6eb3
fix import ( #12529 )
2 years ago
pandong
f5c814f23b
[fix#12439] [Alert] fix send script alert NPE ( #12495 )
...
* [fix#12439] [Alert] fix send script alert NPE
2 years ago
caishunfeng
dedff70f90
[Improvement] Merge spi.utils into common.utils ( #12502 )
...
* improve JSONUtil
* merge spi.utils into common.utils
* split constants && remove some copy utils method
* remove StringUtils
2 years ago
fuchanghai
f0a34cddec
[improvement-#12416] Use CollectionUtils.isEmpty judge the collection isEmpty to avoid NPE ( #12449 )
2 years ago
Eric Gao
d46e4659d9
[Improvement][Style] Fix remaining style errors and wildcard imports ( #12412 )
...
* Fix remaining style errors and wildcard imports
* Upgrade spotless to the latest stable version, exclude .github folder from spotless check and fix dead link
* Fix spotless matching scope of markdown files
2 years ago
kezhenxu94
4ea7eec750
Use temurin Java docker images instead of deprecated ones ( #12334 )
2 years ago
Eric Gao
2f37da0dbc
[Improvement][Test] Block the usage of powermock and move mockito dependencies from sub-modules to root pom ( #12311 )
...
* move mockito dependencies from sub-modules to root pom
* Add check in CI to block the usage of powermock
2 years ago
Eric Gao
224508850e
[Migrate][Test] Migrate all UT cases from jUnit 4 to jUnit 5 in alert and api module ( #12337 )
...
* Migrate all UT cases from jUnit 4 to jUnit 5 in alert and api module
* Fix potential problems
2 years ago
Eric Gao
9ab79e064c
[Improvement][Test] Fully remove the usage of powermock from the whole project ( #12244 )
...
* Fully remove the usage of powermock from the whole project
* Upgrade org.reflections to 0.10.12
2 years ago
Jiajie Zhong
ad4f344283
[fix][test] Fix flaky test in CI ( #12017 )
2 years ago
Eric Gao
b52da64001
[Improvement][UT] Upgrade jUnit to 5.+ ( #10976 ) ( #11332 )
...
* [Improvement][UT] Upgrade jUnit to 5.+ (#10976 )
* Refactor AlertServerTest with jUnit-5 as an example
2 years ago
Wenjun Ruan
cb4ef54a0e
Script cannot contains ''' in params ( #12067 )
2 years ago
Wenjun Ruan
4ad34483a5
Fix alert_send_status may throw duplicate key exception and add limit for query alert ( #11953 )
2 years ago
Daniel Y
009cb68011
[Improvement-11834] Upgrade docker base image to support python3.9 ( #11835 )
...
* use openjdk:8-jre-slim-bullseye instead of buster to support python3.9
* use openjdk:8-jre-slim-bullseye instead of buster across all components
2 years ago
kezhenxu94
efedc9a53c
Bump up dependencies to fix cves ( #11765 )
2 years ago
Wenjun Ruan
ea0b5acccb
Remove `not use web service` comment in alert server ( #11819 )
2 years ago
kezhenxu94
277f137358
Add Kubernetes configmap reload to all components ( #11730 )
2 years ago
Wenjun Ruan
b96d69701a
[Improvement-#11613] Add spi priority factory ( #11614 )
...
* Add spi priority factory
* Add doc
* Add override log
* Use lombok
* Add comment
2 years ago
Eric Gao
f93e93cfd2
[Feature][Style] Make sure there is one and only one empty line at the end of each java file ( #11520 )
2 years ago
Wenjun Ruan
7ff34c3947
[Feature-7024] Add waiting strategy to support master/worker can recover from registry lost ( #11368 )
...
* Add waiting strategy to support master/worker can recover from registry lost
* throw exception when zookeeper registry start failed due to interrupted
2 years ago
jackfanwan
abd5798755
[fix-10961][alert server]Change the content of alert to an array ( #11033 )
...
* Change the content of alert to an array
* Increase unit test coverage
* Modify the code format
* Modify the code format
* Modify judgment statement
* Deleting invalid References
* Modify the previous code implementation and improve the test data
* Modify the code format
* Move the location of the Content conversion
* Remove useless code
* Change the code format
* Modify unit tests
* Modify unit tests
* Modify unit tests
* Changing the location of the code
* Modify the code
Co-authored-by: fanwanlong <fanwanlong@kezaihui.com>
Co-authored-by: 范万龙 <fanwanlong@fanwanlongs-MBP.lan>
2 years ago
Wenjun Ruan
8774415197
Split ExecutionStatus to WorkflowExecutionStatus and TaskExecutionStatus ( #11340 )
2 years ago
Eric Gao
9ca1eb96c4
[Improvement][Metrics] Add metrics for alert server ( #11240 )
...
* [Improvement][Metrics] Add metrics for alert server (#11131 )
* Update related docs of metrics
* Add grafana demo dashboards for alert server metrics
* Refactor metric classes with UtilityClass annotation
* Refactor meter names in camelCase for checkstyle
2 years ago
Wenjun Ruan
caa6287d7f
Add alertPluginInstanceId in AlertInfo ( #11231 )
2 years ago
Wenjun Ruan
8e21c38c00
Write alert result into db ( #11221 )
2 years ago
SongTao Zhuang
a52d1b4acd
[11130] Refactor alert-api with lombok ( #11133 )
2 years ago
Wenjun Ruan
5e9c7dad23
Add dolphinscheduler-bom to manage the dependency version ( #11025 )
2 years ago
pinkhello
7a15877fa4
[FIX-10784][Bug] [ALERT-SERVER] FEISHU Plugin might block the whole alert process loop ( #10888 )
...
* closed 10784 [Bug] [ALERT-SERVER] FEISHU Plugin might block the whole alert process loop
2 years ago
Eric Gao
43d7cc8a98
[Improvement] [Alert Server] Add default datasource url in alert server application.yaml for consistency ( #10790 )
...
* [Improvement] [Alert Server] Add default datasource url in alert server application.yaml for consistency (#10788 )
* [Improvement] [Alert Server] Add newline at end of file (#10788 )
2 years ago
xiangzihao
1111371c9a
add datasource health check to the healthcheck endpoint ( #10588 )
2 years ago
xiangzihao
0f38217b12
fix_10514 ( #10568 )
2 years ago
Wenjun Ruan
db595b3eff
Optimize master log, use MDC to inject workflow instance id and task instance id in log ( #10516 )
...
* Optimize master log, add workflow instance id and task instance id in log
* Use MDC to set the workflow info in log4j
* Add workflowInstanceId and taskInstanceId in MDC
2 years ago
Wenjun Ruan
e21d7b1551
[Feature][metrics] Add master, worker metrics ( #10326 )
...
* Add mater metrics
* fix UT
* Add url to mysql profile
* Add worker metrics
* Update grafana config
* Add system metrics doc
* Add process failover counter
* Add metrics image
* Change jpg to png
* Add command insert metrics
* Fix UT
* Revert UT
2 years ago
kezhenxu94
d80cf21456
Clean up unused dependencies and packaging issues ( #9944 )
3 years ago
juzimao
62bd9d2c4c
[Fix] Fix the line.separator problem for alert-plugin' test case #10277 ( #10278 )
...
* [Fix] Fix the line.separator problem for alert-plugin' test case
* [Fix] Fix the line.separator problem for alert-plugin' test case
3 years ago
旺阳
aba5f8a40e
[improve] Change Mysql Driver ( #10220 )
3 years ago
旺阳
fa2f20577a
Fix unit test and remove unused import ( #10113 )
3 years ago
旺阳
844ae42ee4
Fix alert server curator health check not work ( #10111 )
3 years ago
Paul Zhang
8562f6a878
[Feature][Log]Add timezone information in log output ( #9913 )
3 years ago
Tq
69810a8a36
[BUG][ALERT-SERVER]validate script before alert script ( #9834 )
...
* validate script before alert script
* fix validate script before alert script
3 years ago
Tq
7b0b4c126e
[Bug] [Website-9764]add http alert doc and change body param to unnecessary ( #9792 )
...
* add http alert doc and change body param to unnecessary
* submit http en doc and fix doc
* fix http doc
3 years ago
Tq
6788c99578
[Bug] [Alert-9786] Http alert Get method not working ( #9787 )
...
* fix http alert issues encode before get request
* add hint to http alert
3 years ago
Jiajie Zhong
de50f43de6
[common] Make dolphinscheduler_env.sh work when start server ( #9726 )
...
* [common] Make dolphinscheduler_env.sh work
* Change dist tarball `dolphinscheduler_env.sh` location
from `bin/` to `conf/`, which users could finish their
change configuration operation in one single directory.
and we only need to add `$DOLPHINSCHEDULER_HOME/conf`
when we start our sever instead of adding both
`$DOLPHINSCHEDULER_HOME/conf` and `$DOLPHINSCHEDULER_HOME/bin`
* Change the `start.sh`'s path of `dolphinscheduler_env.sh`
* Change the setting order of `dolphinscheduler_env.sh`
* `bin/env/dolphinscheduler_env.sh` will overwrite the `<server>/conf/dolphinscheduler_env.sh`
when start the server using `bin/dolphinsceduler_daemon.sh` or `bin/install.sh`
* Change the related docs
3 years ago
worry
ecf13a8c90
[Improvement][style]add comment and clear warn ( #9247 )
3 years ago
Tq
51d47de6de
[Bug] [ALERT-9487] change email attachment filename to add random string to avoid issues ( #9498 )
...
* change email attachment filename to add random string to avoid always use same file
* change email attachment filename to add random string to avoid always use same file
3 years ago
czeming
706cdb6a8e
[Fix-9174] [Alert] Fix deduplication of alarm information ( #9371 )
...
* feat(issue #9174 ):
Fix-9174
3 years ago
Tq
df791a374e
[FIX][WEBSITE-9224]fix wechat doc and wechat form display ( #9439 )
...
Co-authored-by: Jiajie Zhong <zhongjiajie955@hotmail.com>
3 years ago
guoshupei
ca95d2f928
[Fix-9221] [alert-server] optimization and gracefully close ( #9246 )
...
* [Fix-9221] [alert-server] optimization and gracefully close
This closes #9221
* [Fix-9221] [alert-server] remove unused mock data
This closes #9221
* [Fix-9221] [alert-server] remove unused mock data
This closes #9221
* [Fix-9221] [alert-server] remove unnecessary Mockito stubbings
* [Fix-9221] [alert-server] init AlertPluginManager in AlertServer
* [Fix-9221] [alert-server] AlertServerTest add AlertPluginManager installPlugin
* [Fix-9221] [alert-server] replace @Eventlistener with @PostConstruct
* [Fix-9221] [alert-server] sonar check solution
* [Improvement-9221] [alert] update constructor injection and replace IStoppable with Closeable
Co-authored-by: guoshupei <guoshupei@lixiang.com>
3 years ago
Eric Gao
fd6b43bc81
[Dev] Switch version in pom.xml to dev-SNAPSHOT ( #9223 ) ( #9299 )
3 years ago