Skip to content

Commit

Permalink
set BILLING_ENGINE_PREFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
pasquy73 committed Jan 23, 2025
1 parent a5b5716 commit 7e749a2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion RELEASE_NOTE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### <code>0.0.4</code> :calendar: 23/01/2025
**Feature**
* Usage of **SWAGGER_PREFIX** to add prefix for **Swagger APIs**. Use `/billing-engine` prefix in Kubernetes if you use Ingress to separate the billing services.
* Usage of **BILLING_ENGINE_PREFIX** to add prefix for **Swagger APIs**. Use `/billing-engine` prefix in Kubernetes if you use Ingress to separate the billing services.

### <code>0.0.3</code> :calendar: 20/01/2025
**Feature**
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>it.eng.dome.billing</groupId>
<artifactId>proxy</artifactId>
<version>0.0.3a</version>
<version>0.0.3b</version>
<name>Billing Proxy</name>
<description>Billing Proxy for DOME project</description>

Expand Down
10 changes: 2 additions & 8 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# Spring Configuration
server:
port: 8080
servlet:
context-path: ${BILLING_ENGINE_PREFIX:/}

application:
name: "@project.artifactId@"
Expand All @@ -17,14 +19,6 @@ logging:
it.eng.dome: ${LOG_LEVEL:DEBUG}
#org: TRACE

# Swagger prefix
springdoc:
api-docs:
path: ${SWAGGER_PREFIX:}/swagger-ui/v3/api-docs
swagger-ui:
path: ${SWAGGER_PREFIX:}/
url: ${SWAGGER_PREFIX:}/swagger-ui/v3/api-docs

# Spring Boot Actuator
management:
server:
Expand Down

0 comments on commit 7e749a2

Please sign in to comment.