You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ca...@apache.org on 2022/03/30 08:45:37 UTC

[dolphinscheduler] branch dev updated: [DS-9266][feat][server]Implement show dolphinscheduler banner at launch (#9273)

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

caishunfeng pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new b4b5241  [DS-9266][feat][server]Implement show dolphinscheduler banner at launch (#9273)
b4b5241 is described below

commit b4b524179715d0788b68a4ee2adfed013dc65b2a
Author: worry <70...@qq.com>
AuthorDate: Wed Mar 30 16:45:24 2022 +0800

    [DS-9266][feat][server]Implement show dolphinscheduler banner at launch (#9273)
    
    - add banner.txt
    - modify application.yaml
    
    This closes #9266
---
 .../src/main/resources/application.yaml                      |  4 ++--
 .../src/main/resources/banner.txt                            | 12 ++++++++++++
 dolphinscheduler-api/src/main/resources/application.yaml     |  4 ++--
 dolphinscheduler-api/src/main/resources/banner.txt           | 12 ++++++++++++
 dolphinscheduler-master/src/main/resources/application.yaml  |  4 ++--
 dolphinscheduler-master/src/main/resources/banner.txt        | 12 ++++++++++++
 .../src/main/resources/application.yaml                      |  4 ++--
 .../src/main/resources/banner.txt                            | 12 ++++++++++++
 dolphinscheduler-worker/src/main/resources/application.yaml  |  4 ++--
 dolphinscheduler-worker/src/main/resources/banner.txt        | 12 ++++++++++++
 10 files changed, 70 insertions(+), 10 deletions(-)

diff --git a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/resources/application.yaml b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/resources/application.yaml
index 1de6b9f..40e4b78 100644
--- a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/resources/application.yaml
+++ b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/resources/application.yaml
@@ -21,8 +21,8 @@ spring:
   jackson:
     time-zone: UTC
     date-format: "yyyy-MM-dd HH:mm:ss"
-  main:
-    banner-mode: off
+  banner:
+    charset: UTF-8
   datasource:
     driver-class-name: org.postgresql.Driver
     url: jdbc:postgresql://127.0.0.1:5432/dolphinscheduler
diff --git a/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/resources/banner.txt b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/resources/banner.txt
new file mode 100644
index 0000000..1b0e621
--- /dev/null
+++ b/dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/resources/banner.txt
@@ -0,0 +1,12 @@
+${AnsiColor.BLUE}${AnsiStyle.BOLD}
+================================================================================
+     _       _       _     _       ____       _              _       _
+  __| | ___ | |_ __ | |__ (_)_ __ / ___|  ___| |__   ___  __| |_   _| | ___ _ __
+ / _` |/ _ \| | '_ \| '_ \| | '_ \\___ \ / __| '_ \ / _ \/ _` | | | | |/ _ \ '__|
+| (_| | (_) | | |_) | | | | | | | |___) | (__| | | |  __/ (_| | |_| | |  __/ |
+ \__,_|\___/|_| .__/|_| |_|_|_| |_|____/ \___|_| |_|\___|\__,_|\__,_|_|\___|_|
+              |_|
+================================================================================
+${AnsiColor.BLUE}${AnsiStyle.BOLD}
+::  Dolphinscheduler alert server ::  ${application.formatted-version}
+${AnsiStyle.NORMAL}
diff --git a/dolphinscheduler-api/src/main/resources/application.yaml b/dolphinscheduler-api/src/main/resources/application.yaml
index 02b64b1..3db21c3 100644
--- a/dolphinscheduler-api/src/main/resources/application.yaml
+++ b/dolphinscheduler-api/src/main/resources/application.yaml
@@ -30,8 +30,8 @@ server:
 spring:
   application:
     name: api-server
-  main:
-    banner-mode: off
+  banner:
+    charset: UTF-8
   jackson:
     time-zone: UTC
     date-format: "yyyy-MM-dd HH:mm:ss"
diff --git a/dolphinscheduler-api/src/main/resources/banner.txt b/dolphinscheduler-api/src/main/resources/banner.txt
new file mode 100644
index 0000000..28ece5e
--- /dev/null
+++ b/dolphinscheduler-api/src/main/resources/banner.txt
@@ -0,0 +1,12 @@
+${AnsiColor.BLUE}${AnsiStyle.BOLD}
+================================================================================
+     _       _       _     _       ____       _              _       _
+  __| | ___ | |_ __ | |__ (_)_ __ / ___|  ___| |__   ___  __| |_   _| | ___ _ __
+ / _` |/ _ \| | '_ \| '_ \| | '_ \\___ \ / __| '_ \ / _ \/ _` | | | | |/ _ \ '__|
+| (_| | (_) | | |_) | | | | | | | |___) | (__| | | |  __/ (_| | |_| | |  __/ |
+ \__,_|\___/|_| .__/|_| |_|_|_| |_|____/ \___|_| |_|\___|\__,_|\__,_|_|\___|_|
+              |_|
+================================================================================
+${AnsiColor.BLUE}${AnsiStyle.BOLD}
+::  Dolphinscheduler api server ::  ${application.formatted-version}
+${AnsiStyle.NORMAL}
diff --git a/dolphinscheduler-master/src/main/resources/application.yaml b/dolphinscheduler-master/src/main/resources/application.yaml
index 0065ce3..0b6b3c8 100644
--- a/dolphinscheduler-master/src/main/resources/application.yaml
+++ b/dolphinscheduler-master/src/main/resources/application.yaml
@@ -15,8 +15,8 @@
 # limitations under the License.
 #
 spring:
-  main:
-    banner-mode: off
+  banner:
+    charset: UTF-8
   application:
     name: master-server
   jackson:
diff --git a/dolphinscheduler-master/src/main/resources/banner.txt b/dolphinscheduler-master/src/main/resources/banner.txt
new file mode 100644
index 0000000..ce8c3b5
--- /dev/null
+++ b/dolphinscheduler-master/src/main/resources/banner.txt
@@ -0,0 +1,12 @@
+${AnsiColor.BLUE}${AnsiStyle.BOLD}
+================================================================================
+     _       _       _     _       ____       _              _       _
+  __| | ___ | |_ __ | |__ (_)_ __ / ___|  ___| |__   ___  __| |_   _| | ___ _ __
+ / _` |/ _ \| | '_ \| '_ \| | '_ \\___ \ / __| '_ \ / _ \/ _` | | | | |/ _ \ '__|
+| (_| | (_) | | |_) | | | | | | | |___) | (__| | | |  __/ (_| | |_| | |  __/ |
+ \__,_|\___/|_| .__/|_| |_|_|_| |_|____/ \___|_| |_|\___|\__,_|\__,_|_|\___|_|
+              |_|
+================================================================================
+${AnsiColor.BLUE}${AnsiStyle.BOLD}
+::  Dolphinscheduler master server ::  ${application.formatted-version}
+${AnsiStyle.NORMAL}
diff --git a/dolphinscheduler-standalone-server/src/main/resources/application.yaml b/dolphinscheduler-standalone-server/src/main/resources/application.yaml
index 0598820..7950d80 100644
--- a/dolphinscheduler-standalone-server/src/main/resources/application.yaml
+++ b/dolphinscheduler-standalone-server/src/main/resources/application.yaml
@@ -21,8 +21,8 @@ spring:
   jackson:
     time-zone: UTC
     date-format: "yyyy-MM-dd HH:mm:ss"
-  main:
-    banner-mode: off
+  banner:
+    charset: UTF-8
   cache:
     # default enable cache, you can disable by `type: none`
     type: none
diff --git a/dolphinscheduler-standalone-server/src/main/resources/banner.txt b/dolphinscheduler-standalone-server/src/main/resources/banner.txt
new file mode 100644
index 0000000..0b1f002
--- /dev/null
+++ b/dolphinscheduler-standalone-server/src/main/resources/banner.txt
@@ -0,0 +1,12 @@
+${AnsiColor.BLUE}${AnsiStyle.BOLD}
+================================================================================
+     _       _       _     _       ____       _              _       _
+  __| | ___ | |_ __ | |__ (_)_ __ / ___|  ___| |__   ___  __| |_   _| | ___ _ __
+ / _` |/ _ \| | '_ \| '_ \| | '_ \\___ \ / __| '_ \ / _ \/ _` | | | | |/ _ \ '__|
+| (_| | (_) | | |_) | | | | | | | |___) | (__| | | |  __/ (_| | |_| | |  __/ |
+ \__,_|\___/|_| .__/|_| |_|_|_| |_|____/ \___|_| |_|\___|\__,_|\__,_|_|\___|_|
+              |_|
+================================================================================
+${AnsiColor.BLUE}${AnsiStyle.BOLD}
+::  Dolphinscheduler standalone server ::  ${application.formatted-version}
+${AnsiStyle.NORMAL}
diff --git a/dolphinscheduler-worker/src/main/resources/application.yaml b/dolphinscheduler-worker/src/main/resources/application.yaml
index 77c539f..f0be99c 100644
--- a/dolphinscheduler-worker/src/main/resources/application.yaml
+++ b/dolphinscheduler-worker/src/main/resources/application.yaml
@@ -15,8 +15,8 @@
 # limitations under the License.
 #
 spring:
-  main:
-    banner-mode: off
+  banner:
+    charset: UTF-8
   application:
     name: worker-server
   jackson:
diff --git a/dolphinscheduler-worker/src/main/resources/banner.txt b/dolphinscheduler-worker/src/main/resources/banner.txt
new file mode 100644
index 0000000..7f93ee9
--- /dev/null
+++ b/dolphinscheduler-worker/src/main/resources/banner.txt
@@ -0,0 +1,12 @@
+${AnsiColor.BLUE}${AnsiStyle.BOLD}
+================================================================================
+     _       _       _     _       ____       _              _       _
+  __| | ___ | |_ __ | |__ (_)_ __ / ___|  ___| |__   ___  __| |_   _| | ___ _ __
+ / _` |/ _ \| | '_ \| '_ \| | '_ \\___ \ / __| '_ \ / _ \/ _` | | | | |/ _ \ '__|
+| (_| | (_) | | |_) | | | | | | | |___) | (__| | | |  __/ (_| | |_| | |  __/ |
+ \__,_|\___/|_| .__/|_| |_|_|_| |_|____/ \___|_| |_|\___|\__,_|\__,_|_|\___|_|
+              |_|
+================================================================================
+${AnsiColor.BLUE}${AnsiStyle.BOLD}
+::  Dolphinscheduler work server ::  ${application.formatted-version}
+${AnsiStyle.NORMAL}