Browse Source

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

- add banner.txt
- modify application.yaml

This closes #9266
3.0.0/version-upgrade
worry 3 years ago committed by GitHub
parent
commit
b4b5241797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/resources/application.yaml
  2. 12
      dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/resources/banner.txt
  3. 4
      dolphinscheduler-api/src/main/resources/application.yaml
  4. 12
      dolphinscheduler-api/src/main/resources/banner.txt
  5. 4
      dolphinscheduler-master/src/main/resources/application.yaml
  6. 12
      dolphinscheduler-master/src/main/resources/banner.txt
  7. 4
      dolphinscheduler-standalone-server/src/main/resources/application.yaml
  8. 12
      dolphinscheduler-standalone-server/src/main/resources/banner.txt
  9. 4
      dolphinscheduler-worker/src/main/resources/application.yaml
  10. 12
      dolphinscheduler-worker/src/main/resources/banner.txt

4
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

12
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}

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

12
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}

4
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:

12
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}

4
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

12
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}

4
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:

12
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}
Loading…
Cancel
Save