This is an automated email from the ASF dual-hosted git repository.
wuzhiguo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/bigtop-manager.git
The following commit(s) were added to refs/heads/main by this push:
new 52f20ec BIGTOP-4119: Add banner (#7)
52f20ec is described below
commit 52f20ec177c31a9b6aa5f86570a95463f570e8dc
Author: timyuer <[email protected]>
AuthorDate: Thu Jun 13 12:43:56 2024 +0800
BIGTOP-4119: Add banner (#7)
---
.licenserc.yaml | 1 +
bigtop-manager-agent/src/main/resources/application.yml | 4 ++++
bigtop-manager-agent/src/main/resources/banner.txt | 8 ++++++++
bigtop-manager-server/src/main/resources/application.yml | 4 ++++
bigtop-manager-server/src/main/resources/banner.txt | 8 ++++++++
5 files changed, 25 insertions(+)
diff --git a/.licenserc.yaml b/.licenserc.yaml
index 1faa1c7..0aeb0fb 100644
--- a/.licenserc.yaml
+++ b/.licenserc.yaml
@@ -37,5 +37,6 @@ header:
- 'LICENSE'
- 'pnpm-lock.yaml'
- '**/*.proto'
+ - '**/*.txt'
comment: on-failure
diff --git a/bigtop-manager-agent/src/main/resources/application.yml
b/bigtop-manager-agent/src/main/resources/application.yml
index 5c5cf75..d2de797 100644
--- a/bigtop-manager-agent/src/main/resources/application.yml
+++ b/bigtop-manager-agent/src/main/resources/application.yml
@@ -24,8 +24,12 @@ bigtop:
port: 8080
spring:
+ banner:
+ charset: utf-8
application:
name: bigtop-manager-agent
+ main:
+ banner-mode: log
server:
port: 8081
diff --git a/bigtop-manager-agent/src/main/resources/banner.txt
b/bigtop-manager-agent/src/main/resources/banner.txt
new file mode 100644
index 0000000..3aed718
--- /dev/null
+++ b/bigtop-manager-agent/src/main/resources/banner.txt
@@ -0,0 +1,8 @@
+
+ ____ ___ ____ _____ ___ ____ __ __ _ _ _ _ ____ _____ ____
+ | __ )_ _/ ___|_ _/ _ \| _ \ | \/ | / \ | \ | | / \ / ___| ____| _
\
+ | _ \| | | _ | || | | | |_) | | |\/| | / _ \ | \| | / _ \| | _| _| |
|_) |
+ | |_) | | |_| | | || |_| | __/ | | | |/ ___ \| |\ |/ ___ \ |_| | |___| _
<
+ |____/___\____| |_| \___/|_| |_| |_/_/ \_\_| \_/_/ \_\____|_____|_|
\_\
+
+:: Bigtop Manager Agent :: ${application.formatted-version}
\ No newline at end of file
diff --git a/bigtop-manager-server/src/main/resources/application.yml
b/bigtop-manager-server/src/main/resources/application.yml
index fcdb9f1..06c1bab 100644
--- a/bigtop-manager-server/src/main/resources/application.yml
+++ b/bigtop-manager-server/src/main/resources/application.yml
@@ -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
diff --git a/bigtop-manager-server/src/main/resources/banner.txt
b/bigtop-manager-server/src/main/resources/banner.txt
new file mode 100644
index 0000000..40556af
--- /dev/null
+++ b/bigtop-manager-server/src/main/resources/banner.txt
@@ -0,0 +1,8 @@
+
+ ____ ___ ____ _____ ___ ____ __ __ _ _ _ _ ____ _____ ____
+ | __ )_ _/ ___|_ _/ _ \| _ \ | \/ | / \ | \ | | / \ / ___| ____| _
\
+ | _ \| | | _ | || | | | |_) | | |\/| | / _ \ | \| | / _ \| | _| _| |
|_) |
+ | |_) | | |_| | | || |_| | __/ | | | |/ ___ \| |\ |/ ___ \ |_| | |___| _
<
+ |____/___\____| |_| \___/|_| |_| |_/_/ \_\_| \_/_/ \_\____|_____|_|
\_\
+
+:: Bigtop Manager Server :: ${application.formatted-version}
\ No newline at end of file