Skip to content

Commit

Permalink
Merge pull request #712 from /issues/711-custom-banner
Browse files Browse the repository at this point in the history
Fix #711: Custom Spring Boot Banner
  • Loading branch information
banterCZ authored Dec 12, 2023
2 parents c3c171a + b235330 commit f6451b1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ powerauth.push.service.applicationName=powerauth-push
powerauth.push.service.applicationDisplayName=PowerAuth Push Server
powerauth.push.service.applicationEnvironment=

banner.application.name=${powerauth.push.service.applicationDisplayName}
banner.application.version=@project.version@

# PowerAuth Push Campaign Setup
powerauth.push.service.campaign.batchSize=100000

Expand Down
9 changes: 9 additions & 0 deletions powerauth-push-server/src/main/resources/banner.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
____ _ ____
| _ \ _ _ ___| |__ / ___| ___ _ ____ _____ _ __
| |_) | | | / __| '_ \ \___ \ / _ \ '__\ \ / / _ \ '__|
| __/| |_| \__ \ | | | ___) | __/ | \ V / __/ |
|_| \__,_|___/_| |_| |____/ \___|_| \_/ \___|_|

${AnsiColor.GREEN} :: ${banner.application.name} (${banner.application.version}) :: ${AnsiColor.GREEN}
${AnsiColor.RED} :: Spring Boot${spring-boot.formatted-version} :: ${AnsiColor.RED}
${AnsiColor.DEFAULT}

0 comments on commit f6451b1

Please sign in to comment.