未验证 提交 b4b52417 编写于 作者: W worry 提交者: GitHub

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

- add banner.txt
- modify application.yaml

This closes #9266
上级 fd76436d
...@@ -21,8 +21,8 @@ spring: ...@@ -21,8 +21,8 @@ spring:
jackson: jackson:
time-zone: UTC time-zone: UTC
date-format: "yyyy-MM-dd HH:mm:ss" date-format: "yyyy-MM-dd HH:mm:ss"
main: banner:
banner-mode: off charset: UTF-8
datasource: datasource:
driver-class-name: org.postgresql.Driver driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://127.0.0.1:5432/dolphinscheduler url: jdbc:postgresql://127.0.0.1:5432/dolphinscheduler
......
${AnsiColor.BLUE}${AnsiStyle.BOLD}
================================================================================
_ _ _ _ ____ _ _ _
__| | ___ | |_ __ | |__ (_)_ __ / ___| ___| |__ ___ __| |_ _| | ___ _ __
/ _` |/ _ \| | '_ \| '_ \| | '_ \\___ \ / __| '_ \ / _ \/ _` | | | | |/ _ \ '__|
| (_| | (_) | | |_) | | | | | | | |___) | (__| | | | __/ (_| | |_| | | __/ |
\__,_|\___/|_| .__/|_| |_|_|_| |_|____/ \___|_| |_|\___|\__,_|\__,_|_|\___|_|
|_|
================================================================================
${AnsiColor.BLUE}${AnsiStyle.BOLD}
:: Dolphinscheduler alert server :: ${application.formatted-version}
${AnsiStyle.NORMAL}
...@@ -30,8 +30,8 @@ server: ...@@ -30,8 +30,8 @@ server:
spring: spring:
application: application:
name: api-server name: api-server
main: banner:
banner-mode: off charset: UTF-8
jackson: jackson:
time-zone: UTC time-zone: UTC
date-format: "yyyy-MM-dd HH:mm:ss" date-format: "yyyy-MM-dd HH:mm:ss"
......
${AnsiColor.BLUE}${AnsiStyle.BOLD}
================================================================================
_ _ _ _ ____ _ _ _
__| | ___ | |_ __ | |__ (_)_ __ / ___| ___| |__ ___ __| |_ _| | ___ _ __
/ _` |/ _ \| | '_ \| '_ \| | '_ \\___ \ / __| '_ \ / _ \/ _` | | | | |/ _ \ '__|
| (_| | (_) | | |_) | | | | | | | |___) | (__| | | | __/ (_| | |_| | | __/ |
\__,_|\___/|_| .__/|_| |_|_|_| |_|____/ \___|_| |_|\___|\__,_|\__,_|_|\___|_|
|_|
================================================================================
${AnsiColor.BLUE}${AnsiStyle.BOLD}
:: Dolphinscheduler api server :: ${application.formatted-version}
${AnsiStyle.NORMAL}
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
# limitations under the License. # limitations under the License.
# #
spring: spring:
main: banner:
banner-mode: off charset: UTF-8
application: application:
name: master-server name: master-server
jackson: jackson:
......
${AnsiColor.BLUE}${AnsiStyle.BOLD}
================================================================================
_ _ _ _ ____ _ _ _
__| | ___ | |_ __ | |__ (_)_ __ / ___| ___| |__ ___ __| |_ _| | ___ _ __
/ _` |/ _ \| | '_ \| '_ \| | '_ \\___ \ / __| '_ \ / _ \/ _` | | | | |/ _ \ '__|
| (_| | (_) | | |_) | | | | | | | |___) | (__| | | | __/ (_| | |_| | | __/ |
\__,_|\___/|_| .__/|_| |_|_|_| |_|____/ \___|_| |_|\___|\__,_|\__,_|_|\___|_|
|_|
================================================================================
${AnsiColor.BLUE}${AnsiStyle.BOLD}
:: Dolphinscheduler master server :: ${application.formatted-version}
${AnsiStyle.NORMAL}
...@@ -21,8 +21,8 @@ spring: ...@@ -21,8 +21,8 @@ spring:
jackson: jackson:
time-zone: UTC time-zone: UTC
date-format: "yyyy-MM-dd HH:mm:ss" date-format: "yyyy-MM-dd HH:mm:ss"
main: banner:
banner-mode: off charset: UTF-8
cache: cache:
# default enable cache, you can disable by `type: none` # default enable cache, you can disable by `type: none`
type: none type: none
......
${AnsiColor.BLUE}${AnsiStyle.BOLD}
================================================================================
_ _ _ _ ____ _ _ _
__| | ___ | |_ __ | |__ (_)_ __ / ___| ___| |__ ___ __| |_ _| | ___ _ __
/ _` |/ _ \| | '_ \| '_ \| | '_ \\___ \ / __| '_ \ / _ \/ _` | | | | |/ _ \ '__|
| (_| | (_) | | |_) | | | | | | | |___) | (__| | | | __/ (_| | |_| | | __/ |
\__,_|\___/|_| .__/|_| |_|_|_| |_|____/ \___|_| |_|\___|\__,_|\__,_|_|\___|_|
|_|
================================================================================
${AnsiColor.BLUE}${AnsiStyle.BOLD}
:: Dolphinscheduler standalone server :: ${application.formatted-version}
${AnsiStyle.NORMAL}
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
# limitations under the License. # limitations under the License.
# #
spring: spring:
main: banner:
banner-mode: off charset: UTF-8
application: application:
name: worker-server name: worker-server
jackson: jackson:
......
${AnsiColor.BLUE}${AnsiStyle.BOLD}
================================================================================
_ _ _ _ ____ _ _ _
__| | ___ | |_ __ | |__ (_)_ __ / ___| ___| |__ ___ __| |_ _| | ___ _ __
/ _` |/ _ \| | '_ \| '_ \| | '_ \\___ \ / __| '_ \ / _ \/ _` | | | | |/ _ \ '__|
| (_| | (_) | | |_) | | | | | | | |___) | (__| | | | __/ (_| | |_| | | __/ |
\__,_|\___/|_| .__/|_| |_|_|_| |_|____/ \___|_| |_|\___|\__,_|\__,_|_|\___|_|
|_|
================================================================================
${AnsiColor.BLUE}${AnsiStyle.BOLD}
:: Dolphinscheduler work server :: ${application.formatted-version}
${AnsiStyle.NORMAL}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册