din k code
This commit is contained in:
@@ -18,10 +18,10 @@ public class MasterCategoryRequest extends BaseClass {
|
|||||||
@NotNull
|
@NotNull
|
||||||
private String category;
|
private String category;
|
||||||
|
|
||||||
private Integer pageStart = 0;
|
private Integer pageNo = 0;
|
||||||
|
|
||||||
@NotNull(message = "pageEnd is required")
|
@NotNull(message = "pageEnd is required")
|
||||||
@Min(value = 1, message = "pageEnd must be greater than 0")
|
@Min(value = 1, message = "pageEnd must be greater than 0")
|
||||||
private Integer pageEnd;
|
private Integer pageSize;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -285,7 +285,7 @@ public class MasterDataServiceImpl implements MasterDataService {
|
|||||||
helper.validateMerchant(masterRequest.getMid());
|
helper.validateMerchant(masterRequest.getMid());
|
||||||
String fullUrl = String.format("%s%s?billerName=%s&category=%s&page=%d&pagesize=%d", masterRegisterUrl,
|
String fullUrl = String.format("%s%s?billerName=%s&category=%s&page=%d&pagesize=%d", masterRegisterUrl,
|
||||||
BBPSConstant.BILLER_URL, masterRequest.getBillerName(), masterRequest.getCategory(),
|
BBPSConstant.BILLER_URL, masterRequest.getBillerName(), masterRequest.getCategory(),
|
||||||
masterRequest.getPageStart(), masterRequest.getPageEnd());
|
masterRequest.getPageNo(), masterRequest.getPageSize());
|
||||||
|
|
||||||
OutboundTraceLog outboundLog = helper.createOutboundLog(txnID, requestId, apiName, fullUrl, "GET", null);
|
OutboundTraceLog outboundLog = helper.createOutboundLog(txnID, requestId, apiName, fullUrl, "GET", null);
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,50 @@
|
|||||||
|
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://192.168.1.24:9090
|
||||||
|
|
||||||
|
swagger.server.description=Local Development Server
|
||||||
|
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
|
||||||
|
# Resilience4j Retry
|
||||||
|
resilience4j.retry.instances.callbackService.max-attempts=1
|
||||||
|
resilience4j.retry.instances.callbackService.wait-duration=2s
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
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://11.godemo.in/BBPS
|
||||||
|
swagger.server.description=Production Server
|
||||||
|
|
||||||
|
#swagger.server.url=http://localhost:9090
|
||||||
|
#swagger.server.description=Local Development Server
|
||||||
|
|
||||||
|
|
||||||
|
# DataSource
|
||||||
|
spring.datasource.url=jdbc:postgresql://localhost:5432/bbps
|
||||||
|
spring.datasource.username=postgres
|
||||||
|
spring.datasource.password=LincPay098)(*
|
||||||
|
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
|
||||||
|
|
||||||
|
|
||||||
|
# Resilience4j Retry
|
||||||
|
resilience4j.retry.instances.callbackService.max-attempts=1
|
||||||
|
resilience4j.retry.instances.callbackService.wait-duration=2s
|
||||||
@@ -16,15 +16,15 @@ swagger.server.url=http://192.168.1.24:9090
|
|||||||
|
|
||||||
swagger.server.description=Local Development Server
|
swagger.server.description=Local Development Server
|
||||||
|
|
||||||
|
spring.profiles.active=local
|
||||||
|
|
||||||
|
|
||||||
# DataSource
|
# DataSource
|
||||||
spring.datasource.url=jdbc:postgresql://localhost:5432/BBPS
|
spring.datasource.url=jdbc:postgresql://localhost:5432/BBPS
|
||||||
spring.datasource.username=postgres
|
spring.datasource.username=postgres
|
||||||
<<<<<<< HEAD
|
|
||||||
spring.datasource.password=UAT@DB_2025
|
spring.datasource.password=UAT@DB_2025
|
||||||
=======
|
|
||||||
spring.datasource.password=himanshu@123
|
#spring.datasource.password=himanshu@123
|
||||||
>>>>>>> 43baedfecdf5e3718ba3e8b932536b3798957d22
|
|
||||||
spring.datasource.driver-class-name=org.postgresql.Driver
|
spring.datasource.driver-class-name=org.postgresql.Driver
|
||||||
spring.datasource.type=com.zaxxer.hikari.HikariDataSource
|
spring.datasource.type=com.zaxxer.hikari.HikariDataSource
|
||||||
|
|
||||||
@@ -40,7 +40,6 @@ spring.datasource.hikari.auto-commit=true
|
|||||||
# Logging levels
|
# Logging levels
|
||||||
logging.level.io.github.resilience4j.retry=DEBUG
|
logging.level.io.github.resilience4j.retry=DEBUG
|
||||||
|
|
||||||
|
|
||||||
# BBPS URLs
|
# BBPS URLs
|
||||||
master.data.url = https://bbps-staging.digiledge.in/agent/cou-master/masters
|
master.data.url = https://bbps-staging.digiledge.in/agent/cou-master/masters
|
||||||
agent.data.url=https://bbps-staging.digiledge.in/agent/bill-payment-new
|
agent.data.url=https://bbps-staging.digiledge.in/agent/bill-payment-new
|
||||||
|
|||||||
Reference in New Issue
Block a user