Files
bbps-backend/src/main/resources/application.properties
T
2025-11-26 18:01:36 +05:30

67 lines
2.0 KiB
Properties

spring.application.name=bbps
# Server port
server.port=9090
# JPA & Hibernate
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.properties.hibernate.default_schema=public
#swagger.server.url=https://procurelinc.in/BBPS
#swagger.server.description=Production Server
swagger.server.url=http://localhost:9090
swagger.server.description=Local Development Server
spring.profiles.active=local
# DataSource
spring.datasource.url=jdbc:postgresql://localhost:5432/BBPS
spring.datasource.username=postgres
#spring.datasource.password=UAT@DB_2025
spring.datasource.password=himanshu@123
spring.datasource.driver-class-name=org.postgresql.Driver
spring.datasource.type=com.zaxxer.hikari.HikariDataSource
# HikariCP settings
spring.datasource.hikari.connection-timeout=10000
spring.datasource.hikari.minimum-idle=10
spring.datasource.hikari.maximum-pool-size=50
spring.datasource.hikari.idle-timeout=2000000
spring.datasource.hikari.max-lifetime=110000
spring.datasource.hikari.auto-commit=true
# Logging levels
logging.level.io.github.resilience4j.retry=DEBUG
# BBPS URLs
master.data.url = https://bbps-staging.digiledge.in/agent/cou-master/masters
agent.data.url=https://bbps-staging.digiledge.in/agent/bill-payment-new
payment.data.url=https://bbps-staging.digiledge.in/couapp
complaint.data.url=https://bbps-staging.digiledge.in/agent/bill-payment-new
# throw NoHandlerFoundException for 404s
spring.mvc.throw-exception-if-no-handler-found=true
# disable white-label error page
spring.web.resources.add-mappings=false
# (optional) to avoid path match issues on Spring Boot 2.6+
spring.mvc.pathmatch.matching-strategy=ANT_PATH_MATCHER
jwt.secret=6C756148487475787A414646736D4B6E444E585A766145396E6A4555594A595566657A6E434D62536856674A704C494F6C6E666B366A4A6A6D5630323564716C614F
# Resilience4j Retry
resilience4j.retry.instances.callbackService.max-attempts=1
resilience4j.retry.instances.callbackService.wait-duration=2s