You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by li...@apache.org on 2020/12/02 09:11:47 UTC

[incubator-dolphinscheduler] 01/03: Merge pull request #25 from apache/alert_plugin_design

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

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

commit 183725dbf766bba27ea0edf8db10ec6634dc7fbe
Merge: 91eb42d 13e6ce9
Author: samz406 <sa...@foxmail.com>
AuthorDate: Fri Nov 20 17:10:42 2020 +0800

    Merge pull request #25 from apache/alert_plugin_design
    
    update

 .../dolphinscheduler-alert-script/pom.xml          | 75 ++++++++++++++++++++++
 .../plugin/alert/script/OSUtils.java               | 32 +++++++++
 .../plugin/alert/script/ProcessUtils.java          | 62 ++++++++++++++++++
 .../plugin/alert/script/ScriptAlertChannel.java    | 40 ++++++++++++
 .../alert/script/ScriptAlertChannelFactory.java    | 71 ++++++++++++++++++++
 .../plugin/alert/script/ScriptAlertPlugin.java     | 35 ++++++++++
 .../plugin/alert/script/ScriptParamsConstants.java | 36 +++++++++++
 .../plugin/alert/script/ScriptSender.java          | 74 +++++++++++++++++++++
 .../plugin/alert/script/ScriptType.java            | 62 ++++++++++++++++++
 .../plugin/alert/script/StreamGobbler.java         | 61 ++++++++++++++++++
 .../plugin/alert/script/ProcessUtilsTest.java      | 37 +++++++++++
 .../script/ScriptAlertChannelFactoryTest.java      | 48 ++++++++++++++
 .../plugin/alert/script/ScriptSenderTest.java      | 58 +++++++++++++++++
 .../src/test/script/shell/example.sh               | 25 ++++++++
 .../src/test/script/shell/scriptTest.sh            | 25 ++++++++
 dolphinscheduler-alert-plugin/pom.xml              |  1 +
 pom.xml                                            |  3 +
 17 files changed, 745 insertions(+)