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/11/15 02:35:05 UTC
[incubator-dolphinscheduler] branch alert_plugin_design updated
(c61e536 -> c3695a0)
This is an automated email from the ASF dual-hosted git repository.
lidongdai pushed a change to branch alert_plugin_design
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git.
from c61e536 Merge pull request #3979 from zhuangchong/alert_spi_support_sync_service
new f4ef86c [FEATURE#4029] alert spi support script alert
new 4c7743f code style
new 05eabda code smell
new e4641da add test
new 03ed107 code style
new 5b14319 code smell
new 66afe5a code style
new 63522ad fix name error
new c3695a0 Merge pull request #4063 from CalvinKirs/alert_script
The 3322 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:
.../pom.xml | 7 +-
.../plugin/alert/script/OSUtils.java | 17 +++--
.../plugin/alert/script/ProcessUtils.java | 62 ++++++++++++++++++
.../plugin/alert/script/ScriptAlertChannel.java} | 15 ++---
.../alert/script/ScriptAlertChannelFactory.java | 71 +++++++++++++++++++++
.../plugin/alert/script/ScriptAlertPlugin.java} | 9 +--
.../plugin/alert/script/ScriptParamsConstants.java | 50 ++++++---------
.../plugin/alert/script/ScriptSender.java | 74 ++++++++++++++++++++++
.../plugin/alert/script/ScriptType.java | 42 ++++++------
.../plugin/alert/script/StreamGobbler.java | 61 ++++++++++++++++++
.../plugin/alert/script/ProcessUtilsTest.java | 18 ++++--
.../script/ScriptAlertChannelFactoryTest.java} | 16 ++---
.../plugin/alert/script/ScriptSenderTest.java | 58 +++++++++++++++++
.../src/test/script/shell/example.sh | 11 ++--
.../src/test/script/shell/scriptTest.sh | 11 +++-
dolphinscheduler-alert-plugin/pom.xml | 1 +
pom.xml | 3 +
17 files changed, 428 insertions(+), 98 deletions(-)
copy dolphinscheduler-alert-plugin/{dolphinscheduler-alert-dingtalk => dolphinscheduler-alert-script}/pom.xml (92%)
copy dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/EncryptionUtilsTest.java => dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/src/main/java/org/apache/dolphinscheduler/plugin/alert/script/OSUtils.java (73%)
create mode 100644 dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/src/main/java/org/apache/dolphinscheduler/plugin/alert/script/ProcessUtils.java
copy dolphinscheduler-alert-plugin/{dolphinscheduler-alert-wechat/src/main/java/org/apache/dolphinscheduler/plugin/alert/wechat/WeChatAlertChannel.java => dolphinscheduler-alert-script/src/main/java/org/apache/dolphinscheduler/plugin/alert/script/ScriptAlertChannel.java} (75%)
create mode 100644 dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/src/main/java/org/apache/dolphinscheduler/plugin/alert/script/ScriptAlertChannelFactory.java
copy dolphinscheduler-alert-plugin/{dolphinscheduler-alert-wechat/src/main/java/org/apache/dolphinscheduler/plugin/alert/wechat/WeChatAlertPlugin.java => dolphinscheduler-alert-script/src/main/java/org/apache/dolphinscheduler/plugin/alert/script/ScriptAlertPlugin.java} (84%)
copy dolphinscheduler-ui/src/js/module/components/crontab/source/index.scss => dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/src/main/java/org/apache/dolphinscheduler/plugin/alert/script/ScriptParamsConstants.java (63%)
mode change 100755 => 100644
create mode 100644 dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/src/main/java/org/apache/dolphinscheduler/plugin/alert/script/ScriptSender.java
copy dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/enums/UdfType.java => dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/src/main/java/org/apache/dolphinscheduler/plugin/alert/script/ScriptType.java (61%)
create mode 100644 dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/src/main/java/org/apache/dolphinscheduler/plugin/alert/script/StreamGobbler.java
copy dolphinscheduler-common/src/test/java/org/apache/dolphinscheduler/common/utils/EncryptionUtilsTest.java => dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/src/test/java/org/apache/dolphinscheduler/plugin/alert/script/ProcessUtilsTest.java (62%)
copy dolphinscheduler-alert-plugin/{dolphinscheduler-alert-wechat/src/test/java/org/apache/dolphinscheduler/plugin/alert/wechat/WeChatAlertChannelFactoryTest.java => dolphinscheduler-alert-script/src/test/java/org/apache/dolphinscheduler/plugin/alert/script/ScriptAlertChannelFactoryTest.java} (71%)
create mode 100644 dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/src/test/java/org/apache/dolphinscheduler/plugin/alert/script/ScriptSenderTest.java
copy docker/build/hooks/push => dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/src/test/script/shell/example.sh (81%)
mode change 100644 => 100755
copy ambari_plugin/common-services/DOLPHIN/1.2.1/package/templates/alert.properties.j2 => dolphinscheduler-alert-plugin/dolphinscheduler-alert-script/src/test/script/shell/scriptTest.sh (90%)
mode change 100644 => 100755