You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by xx...@apache.org on 2023/01/10 06:43:27 UTC

[kylin] 02/04: [KYLIN-5361] modify email notification function and adjust email hard code to config file

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

xxyu pushed a commit to branch kylin5.0.0-alpha
in repository https://gitbox.apache.org/repos/asf/kylin.git

commit d9a68c5d43de86a40d202cd63f339ccb3a9c617b
Author: cli2 <ss...@pku.edu.cn>
AuthorDate: Tue Jan 3 15:38:57 2023 +0800

    [KYLIN-5361] modify email notification function and adjust  email hard code to config file
---
 .../apache/kylin/common/constant/NonCustomProjectLevelConfig.java  | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/core-common/src/main/java/org/apache/kylin/common/constant/NonCustomProjectLevelConfig.java b/src/core-common/src/main/java/org/apache/kylin/common/constant/NonCustomProjectLevelConfig.java
index 5712084642..7158a8bb7f 100644
--- a/src/core-common/src/main/java/org/apache/kylin/common/constant/NonCustomProjectLevelConfig.java
+++ b/src/core-common/src/main/java/org/apache/kylin/common/constant/NonCustomProjectLevelConfig.java
@@ -40,9 +40,10 @@ public enum NonCustomProjectLevelConfig {
     PUSH_DOWN_ENABLED("kylin.query.pushdown-enabled"),
 
     JOB_DATA_LOAD_EMPTY_NOTIFICATION_ENABLED(
-            "kylin.job.notification-on-empty-data-load"), JOB_ERROR_NOTIFICATION_ENABLED(
-                    "kylin.job.notification-on-job-error"), NOTIFICATION_ADMIN_EMAILS(
-                            "kylin.job.notification-admin-emails"),
+            "kylin.job.notification-on-empty-data-load"), JOB_NOTIFICATION_ENABLED_STATES(
+                    "kylin.job.notification-enable-states"), NOTIFICATION_USER_EMAILS(
+                            "kylin.job.notification-user-emails"), NOTIFICATION_ON_METADATA_PERSIST(
+                                    "kylin.job.notification-on-metadata-persist"),
 
     ENGINE_SPARK_YARN_QUEUE("kylin.engine.spark-conf.spark.yarn.queue"),