Skip to content

Commit

Permalink
BIGTOP-4119: Add banner
Browse files Browse the repository at this point in the history
  • Loading branch information
timyuer committed Jun 3, 2024
1 parent 0be0d5c commit 2aea141
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
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}
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@
<exclude>**/*.ftl</exclude>
<exclude>**/*.log</exclude>
<exclude>pnpm-lock.yaml</exclude>
<exclude>**/banner.txt</exclude>
</excludes>
</configuration>
</plugin>
Expand Down

0 comments on commit 2aea141

Please sign in to comment.