Skip to content

Commit

Permalink
Fix #711: Custom Spring Boot Banner
Browse files Browse the repository at this point in the history
  • Loading branch information
banterCZ committed Dec 8, 2023
1 parent 297be5f commit b235330
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 b235330

Please sign in to comment.