Skip to content

Commit

Permalink
BIGTOP-4119: Add banner (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
timyuer authored Jun 13, 2024
1 parent 87b1d90 commit 52f20ec
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ header:
- 'LICENSE'
- 'pnpm-lock.yaml'
- '**/*.proto'
- '**/*.txt'

comment: on-failure
4 changes: 4 additions & 0 deletions bigtop-manager-agent/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@ bigtop:
port: 8080

spring:
banner:
charset: utf-8
application:
name: bigtop-manager-agent
main:
banner-mode: log

server:
port: 8081
Expand Down
8 changes: 8 additions & 0 deletions bigtop-manager-agent/src/main/resources/banner.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

____ ___ ____ _____ ___ ____ __ __ _ _ _ _ ____ _____ ____
| __ )_ _/ ___|_ _/ _ \| _ \ | \/ | / \ | \ | | / \ / ___| ____| _ \
| _ \| | | _ | || | | | |_) | | |\/| | / _ \ | \| | / _ \| | _| _| | |_) |
| |_) | | |_| | | || |_| | __/ | | | |/ ___ \| |\ |/ ___ \ |_| | |___| _ <
|____/___\____| |_| \___/|_| |_| |_/_/ \_\_| \_/_/ \_\____|_____|_| \_\

:: Bigtop Manager Agent :: ${application.formatted-version}
4 changes: 4 additions & 0 deletions bigtop-manager-server/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@ bigtop:
type: eclipselink

spring:
banner:
charset: utf-8
application:
name: bigtop-manager-server
main:
banner-mode: log
datasource:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://localhost:5432/bigtop_manager
Expand Down
8 changes: 8 additions & 0 deletions bigtop-manager-server/src/main/resources/banner.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

____ ___ ____ _____ ___ ____ __ __ _ _ _ _ ____ _____ ____
| __ )_ _/ ___|_ _/ _ \| _ \ | \/ | / \ | \ | | / \ / ___| ____| _ \
| _ \| | | _ | || | | | |_) | | |\/| | / _ \ | \| | / _ \| | _| _| | |_) |
| |_) | | |_| | | || |_| | __/ | | | |/ ___ \| |\ |/ ___ \ |_| | |___| _ <
|____/___\____| |_| \___/|_| |_| |_/_/ \_\_| \_/_/ \_\____|_____|_| \_\

:: Bigtop Manager Server :: ${application.formatted-version}

0 comments on commit 52f20ec

Please sign in to comment.