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

- add banner.txt
- modify application.yaml

This closes #9266
migrate-dev-docs-to-main
worry 2022-03-30 16:45:24 +08:00 committed by GitHub
parent fd76436d87
commit b4b5241797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 70 additions and 10 deletions

View File

@ -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

View File

@ -0,0 +1,12 @@
${AnsiColor.BLUE}${AnsiStyle.BOLD}
================================================================================
_ _ _ _ ____ _ _ _
__| | ___ | |_ __ | |__ (_)_ __ / ___| ___| |__ ___ __| |_ _| | ___ _ __
/ _` |/ _ \| | '_ \| '_ \| | '_ \\___ \ / __| '_ \ / _ \/ _` | | | | |/ _ \ '__|
| (_| | (_) | | |_) | | | | | | | |___) | (__| | | | __/ (_| | |_| | | __/ |
\__,_|\___/|_| .__/|_| |_|_|_| |_|____/ \___|_| |_|\___|\__,_|\__,_|_|\___|_|
|_|
================================================================================
${AnsiColor.BLUE}${AnsiStyle.BOLD}
:: Dolphinscheduler alert server :: ${application.formatted-version}
${AnsiStyle.NORMAL}

View File

@ -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"

View File

@ -0,0 +1,12 @@
${AnsiColor.BLUE}${AnsiStyle.BOLD}
================================================================================
_ _ _ _ ____ _ _ _
__| | ___ | |_ __ | |__ (_)_ __ / ___| ___| |__ ___ __| |_ _| | ___ _ __
/ _` |/ _ \| | '_ \| '_ \| | '_ \\___ \ / __| '_ \ / _ \/ _` | | | | |/ _ \ '__|
| (_| | (_) | | |_) | | | | | | | |___) | (__| | | | __/ (_| | |_| | | __/ |
\__,_|\___/|_| .__/|_| |_|_|_| |_|____/ \___|_| |_|\___|\__,_|\__,_|_|\___|_|
|_|
================================================================================
${AnsiColor.BLUE}${AnsiStyle.BOLD}
:: Dolphinscheduler api server :: ${application.formatted-version}
${AnsiStyle.NORMAL}

View File

@ -15,8 +15,8 @@
# limitations under the License.
#
spring:
main:
banner-mode: off
banner:
charset: UTF-8
application:
name: master-server
jackson:

View File

@ -0,0 +1,12 @@
${AnsiColor.BLUE}${AnsiStyle.BOLD}
================================================================================
_ _ _ _ ____ _ _ _
__| | ___ | |_ __ | |__ (_)_ __ / ___| ___| |__ ___ __| |_ _| | ___ _ __
/ _` |/ _ \| | '_ \| '_ \| | '_ \\___ \ / __| '_ \ / _ \/ _` | | | | |/ _ \ '__|
| (_| | (_) | | |_) | | | | | | | |___) | (__| | | | __/ (_| | |_| | | __/ |
\__,_|\___/|_| .__/|_| |_|_|_| |_|____/ \___|_| |_|\___|\__,_|\__,_|_|\___|_|
|_|
================================================================================
${AnsiColor.BLUE}${AnsiStyle.BOLD}
:: Dolphinscheduler master server :: ${application.formatted-version}
${AnsiStyle.NORMAL}

View File

@ -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

View File

@ -0,0 +1,12 @@
${AnsiColor.BLUE}${AnsiStyle.BOLD}
================================================================================
_ _ _ _ ____ _ _ _
__| | ___ | |_ __ | |__ (_)_ __ / ___| ___| |__ ___ __| |_ _| | ___ _ __
/ _` |/ _ \| | '_ \| '_ \| | '_ \\___ \ / __| '_ \ / _ \/ _` | | | | |/ _ \ '__|
| (_| | (_) | | |_) | | | | | | | |___) | (__| | | | __/ (_| | |_| | | __/ |
\__,_|\___/|_| .__/|_| |_|_|_| |_|____/ \___|_| |_|\___|\__,_|\__,_|_|\___|_|
|_|
================================================================================
${AnsiColor.BLUE}${AnsiStyle.BOLD}
:: Dolphinscheduler standalone server :: ${application.formatted-version}
${AnsiStyle.NORMAL}

View File

@ -15,8 +15,8 @@
# limitations under the License.
#
spring:
main:
banner-mode: off
banner:
charset: UTF-8
application:
name: worker-server
jackson:

View File

@ -0,0 +1,12 @@
${AnsiColor.BLUE}${AnsiStyle.BOLD}
================================================================================
_ _ _ _ ____ _ _ _
__| | ___ | |_ __ | |__ (_)_ __ / ___| ___| |__ ___ __| |_ _| | ___ _ __
/ _` |/ _ \| | '_ \| '_ \| | '_ \\___ \ / __| '_ \ / _ \/ _` | | | | |/ _ \ '__|
| (_| | (_) | | |_) | | | | | | | |___) | (__| | | | __/ (_| | |_| | | __/ |
\__,_|\___/|_| .__/|_| |_|_|_| |_|____/ \___|_| |_|\___|\__,_|\__,_|_|\___|_|
|_|
================================================================================
${AnsiColor.BLUE}${AnsiStyle.BOLD}
:: Dolphinscheduler work server :: ${application.formatted-version}
${AnsiStyle.NORMAL}