You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ki...@apache.org on 2020/11/05 11:37:04 UTC

[incubator-dolphinscheduler] branch alert_plugin_design updated (449cbbe -> c61e536)

This is an automated email from the ASF dual-hosted git repository.

kirs pushed a change to branch alert_plugin_design
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git.


    from 449cbbe  [feature#3356] alert-spi support DingTalk&WeChat (#3869)
     new 2df6ecb   the alert module support service.
     new 30d75f2   the alert module support service.
     new 36cfcc4  Delete blank lines.
     new a263455  add code checkstyle.
     new 5c1561a  Solve the sonar bug.
     new 3341317  Re-execute build.
     new 500d481  add test.
     new 0fdb001  update ut.
     new 54802bb  add test class.
     new 72942ac  update test.
     new c61e536  Merge pull request #3979 from zhuangchong/alert_spi_support_sync_service

The 3313 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 dolphinscheduler-alert/pom.xml                     |   8 +
 .../apache/dolphinscheduler/alert/AlertServer.java |  54 +++++-
 .../alert/processor/AlertRequestProcessor.java     |  67 ++++++++
 .../dolphinscheduler/alert/runner/AlertSender.java | 120 +++++++++++---
 .../dolphinscheduler/alert/AlertServerTest.java    |  87 ++++++++++
 .../alert/processor/AlertRequestProcessorTest.java |  61 +++++++
 .../alert/runner/AlertSenderTest.java              | 181 +++++++++++++++++++++
 .../apache/dolphinscheduler/common/Constants.java  |   6 +-
 .../remote/command/CommandType.java                |   2 +-
 .../AlertSendRequestCommand.java}                  |  53 ++++--
 .../AlertSendResponseCommand.java}                 |  44 +++--
 .../command/alert/AlertSendResponseResult.java     |  21 ++-
 .../alert/AlertSendRequestCommandTest.java}        |  27 +--
 .../alert/AlertSendResponseCommandTest.java        |  48 ++++++
 .../service/alert/AlertClientService.java          |  94 +++++++++++
 .../service/alert/AlertClientServiceTest.java      | 152 +++++++++++++++++
 pom.xml                                            |   6 +
 17 files changed, 950 insertions(+), 81 deletions(-)
 create mode 100644 dolphinscheduler-alert/src/main/java/org/apache/dolphinscheduler/alert/processor/AlertRequestProcessor.java
 create mode 100644 dolphinscheduler-alert/src/test/java/org/apache/dolphinscheduler/alert/AlertServerTest.java
 create mode 100644 dolphinscheduler-alert/src/test/java/org/apache/dolphinscheduler/alert/processor/AlertRequestProcessorTest.java
 create mode 100644 dolphinscheduler-alert/src/test/java/org/apache/dolphinscheduler/alert/runner/AlertSenderTest.java
 copy dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/{log/GetLogBytesRequestCommand.java => alert/AlertSendRequestCommand.java} (58%)
 copy dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/{log/GetLogBytesResponseCommand.java => alert/AlertSendResponseCommand.java} (57%)
 copy dolphinscheduler-spi/src/main/java/org/apache/dolphinscheduler/spi/alert/AlertResult.java => dolphinscheduler-remote/src/main/java/org/apache/dolphinscheduler/remote/command/alert/AlertSendResponseResult.java (70%)
 copy dolphinscheduler-remote/src/test/java/org/apache/dolphinscheduler/remote/{RemoveTaskLogRequestCommandTest.java => command/alert/AlertSendRequestCommandTest.java} (53%)
 create mode 100644 dolphinscheduler-remote/src/test/java/org/apache/dolphinscheduler/remote/command/alert/AlertSendResponseCommandTest.java
 create mode 100644 dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/alert/AlertClientService.java
 create mode 100644 dolphinscheduler-service/src/test/java/org/apache/dolphinscheduler/service/alert/AlertClientServiceTest.java