Commit Graph

242 Commits

Author SHA1 Message Date
Jay Chung f64b254809 [maven-release-plugin] prepare release 3.2.0 2023-10-11 16:59:08 +08:00
Jay Chung 6d7dbe6733
Reduce the size of tarball to continue ASF release (#15004)
* Reduce the size of tarball to continue ASF release

for more detail you can see https://lists.apache.org/thread/rmp7fghlj0n7h9y2v3p8gkw9f9qbo6qt

* rename the new module

* spotless

* license

* fix api test

* fix api test
2023-10-11 16:19:25 +08:00
旺阳 33305532bf [Improvement][Alert] HTTP Related Alert plugin add retry logic (#14972)
* add RetryHandler for http client

* fix spotless

* update

(cherry picked from commit a866de1754)
2023-10-11 15:59:03 +08:00
Hunter e2c8815457 fix(dolphinscheduler-alert): fix create http request error (#14793)
request type should use equalsIgnoreCase to equal,msg should add URLEncoder.encode

Co-authored-by: hunter-cloud09 <liuhunter09@gmail.com>
Co-authored-by: Aaron Wang <wangweirao16@gmail.com>
Co-authored-by: JinYong Li <42576980+JinyLeeChina@users.noreply.github.com>
(cherry picked from commit 3c71fb05f6)
2023-10-11 15:44:26 +08:00
Aaron Wang 1bc266a202 [Fix-14512][BOM] kubernetes-client version conflict (#14561)
(cherry picked from commit ca760aabd4)
2023-08-30 13:58:27 +08:00
Wenjun Ruan c047e2350c Add host/port in heartbeat (#14591)
(cherry picked from commit cbd354d134)
2023-08-30 13:56:10 +08:00
Wenjun Ruan 714bf768d5 Add log for NetUtils (#14578)
(cherry picked from commit 399d0d0ce9)
2023-07-20 11:30:40 +08:00
Wenjun Ruan e801e5dd57 Use jvm_args_env.sh to set JVM args (#14487)
(cherry picked from commit 406aeaf659)
2023-07-20 11:29:58 +08:00
c3Vu 774d61ddd7 [Improvement-11913] Mask password when creating/editing alert instances (#14415)
* [Improvement-11913] Mask password when creating/editing alert instances

(cherry picked from commit 50195c46aa)
2023-07-20 11:24:17 +08:00
旺阳 30171c4182 [Alert] [HTTP Plugin] Lose HTTP port (#14341)
(cherry picked from commit c1a6790514)
2023-07-20 10:00:34 +08:00
Rick Cheng 95e2279bfb [Improvement-14292][Common] Remove the duplicate OSUtils (#14293)
(cherry picked from commit 2c057d6a8f)
2023-07-20 09:54:25 +08:00
kingbabingge 81aa105ff6
[Fix-13820][alert] Fix bodyParams is empty get error log (#13821)
initialize an empty objectNode to save contentField.
2023-04-19 15:35:13 +08:00
Wenjun Ruan 61a689aa5a
Use percentage to represent memory/cpu usage (#13896) 2023-04-13 15:48:20 +08:00
Wenjun Ruan 41a8ba9aab
Support alert server HA (#13865)
* Support alert server cluster

* Remove WORKER_ALERT_LISTEN_HOST in statefulset-dolphinscheduler-worker.yaml
2023-04-05 17:31:50 +08:00
Jay Chung 6a33d2bec0
fix: Alarm instance port verification (#13827)
close: #13532
2023-03-30 18:57:47 +08:00
Wenjun Ruan 68660ec96b
Refactor remote command (#13809)
* Refactor remote command

* Rename Command to Message
2023-03-29 17:54:57 +08:00
旺阳 69e744961b
[Fix][Alert] Fix when auth is false and user || pwd null can't send email excection (#13761)
* fix send email error

* fix spotless

* fix-sonar
2023-03-21 13:59:01 +08:00
Wenjun Ruan 1f365819a6
Ignore unknown VM options in start.sh (#13719) 2023-03-10 17:34:09 +08:00
旺阳 aea84055fe
Fix webex teams alert plugin null exception error (#13591) 2023-02-21 20:10:48 +08:00
seedscoder 8d12dc0702
[Improvement-13491] Use lombok @Slf4j annotation to generate logger (#13509) 2023-02-07 20:32:53 +08:00
Yann Ann 6ef74073cc
[Improve-13001]migrate commons-collections -> commons-collections4 (#13002) 2022-12-10 23:50:19 +08:00
旺阳 602971c724
change alert start.sh (#13100) 2022-12-06 00:26:27 +08:00
Wenjun Ruan 169168ef34
Add plugin-all module (#13079) 2022-12-02 23:19:08 +08:00
Wenjun Ruan ffc9fb280a
Add gc timestampt (#13059) 2022-12-01 10:00:27 +08:00
旺阳 d02991a2e6
[Bug] [Alert] Ignore alert not write info to db (#12867)
* add alert not match return info
2022-11-17 14:14:12 +08:00
Tq 70fe39bb2d
add spring-context to alert api (#12892) 2022-11-14 17:23:28 +08:00
Tq 250d81bcf8
[bug][alert-12865] translate alert input field tips to chinese when using chinese (#12879)
* submit email ding talk changes

* submit alert messages

* submit format

* submit format
2022-11-14 11:14:14 +08:00
kezhenxu94 065d5caccc
Only expose necessary actuator endpoints (#12571) 2022-10-28 07:40:32 +08:00
caishunfeng 138eab6eb3
fix import (#12529) 2022-10-25 21:39:06 +08:00
pandong f5c814f23b
[fix#12439] [Alert] fix send script alert NPE (#12495)
* [fix#12439] [Alert] fix send script alert NPE
2022-10-25 15:11:54 +08:00
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
2022-10-23 21:23:54 +08:00
fuchanghai f0a34cddec
[improvement-#12416] Use CollectionUtils.isEmpty judge the collection isEmpty to avoid NPE (#12449) 2022-10-20 14:26:56 +08:00
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
2022-10-19 11:08:04 +08:00
kezhenxu94 4ea7eec750
Use temurin Java docker images instead of deprecated ones (#12334) 2022-10-17 15:46:21 +08:00
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
2022-10-14 12:06:51 +08:00
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
2022-10-13 14:40:57 +08:00
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
2022-10-10 10:43:38 +08:00
Jiajie Zhong ad4f344283
[fix][test] Fix flaky test in CI (#12017) 2022-09-28 14:05:26 +08:00
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
2022-09-21 10:15:21 +08:00
Wenjun Ruan cb4ef54a0e
Script cannot contains ''' in params (#12067) 2022-09-21 08:52:51 +08:00
Wenjun Ruan 4ad34483a5
Fix alert_send_status may throw duplicate key exception and add limit for query alert (#11953) 2022-09-16 13:26:33 +08:00
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
2022-09-14 09:29:45 +08:00
kezhenxu94 efedc9a53c
Bump up dependencies to fix cves (#11765) 2022-09-08 09:05:05 +08:00
Wenjun Ruan ea0b5acccb
Remove `not use web service` comment in alert server (#11819) 2022-09-07 15:05:18 +08:00
kezhenxu94 277f137358
Add Kubernetes configmap reload to all components (#11730) 2022-09-02 12:03:19 +08:00
Wenjun Ruan b96d69701a
[Improvement-#11613] Add spi priority factory (#11614)
* Add spi priority factory

* Add doc

* Add override log

* Use lombok

* Add comment
2022-08-24 19:51:47 +08:00
Eric Gao f93e93cfd2
[Feature][Style] Make sure there is one and only one empty line at the end of each java file (#11520) 2022-08-17 12:59:08 +08:00
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
2022-08-13 09:52:03 +08:00
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>
2022-08-12 09:57:27 +08:00
Wenjun Ruan 8774415197
Split ExecutionStatus to WorkflowExecutionStatus and TaskExecutionStatus (#11340) 2022-08-10 11:00:23 +08:00