first commit

This commit is contained in:
himanshu
2025-10-24 17:16:53 +05:30
parent 988fc8edca
commit 948e508d0c
25 changed files with 1070 additions and 1 deletions
+40
View File
@@ -0,0 +1,40 @@
spring.application.name=bbps
# JPA & Hibernate
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
# DataSource
spring.datasource.url=jdbc:postgresql://localhost:5432/personalPractice
spring.datasource.username=postgres
spring.datasource.password=Admin123
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
# Server port
server.port=8086
# Logging levels
logging.level.io.github.resilience4j.retry=DEBUG
# Certificate
certificate.path=D:/Switch Document/rbl_lincpay/rbl_lincpay.pfx
certificate.password=lincpay
# NPCI URLs
npci.respPay.url=https://globalcertzone.npci.org.in:443/imps/RespPay/2.0/urn:txnid:
npci.respChkTxn.url=https://globalcertzone.npci.org.in:443/imps/RespChkTxn/2.0/urn:txnid:
npci.respValAdd.url=https://globalcertzone.npci.org.in:443/imps/RespValAdd/2.0/urn:txnid:
npci.ack.schemas=src/main/resources/schemas/imps_ack.xsd
# Resilience4j Retry
resilience4j.retry.instances.callbackService.max-attempts=1
resilience4j.retry.instances.callbackService.wait-duration=2s
+29
View File
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://npci.org/upi/schema/"
xmlns:ns2="http://npci.org/upi/schema/"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<!-- Root element -->
<xs:element name="Ack">
<xs:complexType>
<!-- Attributes of Ack -->
<xs:attribute name="api" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<!-- Allowed API values -->
<xs:enumeration value="ReqPay"/>
<xs:enumeration value="ReqChkTxn"/>
<xs:enumeration value="ReqValAdd"/>
<xs:enumeration value="ReqListAccPvd"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="reqMsgId" type="xs:string" use="required"/>
<xs:attribute name="ts" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:schema>