Merge pull request 'feature3-userId-added' (#32) from feature3-userId-added into develop
Reviewed-on: https://git.zeptic.in/himanshu/bbps/pulls/32
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
package com.billpaymentservice.bbps.entites;
|
||||
|
||||
import com.billpaymentservice.bbps.audit.Auditable;
|
||||
|
||||
import jakarta.persistence.Entity;
|
||||
import jakarta.persistence.GeneratedValue;
|
||||
import jakarta.persistence.GenerationType;
|
||||
|
||||
@@ -14,7 +14,10 @@ import lombok.Setter;
|
||||
import lombok.ToString;
|
||||
|
||||
@Entity
|
||||
@Getter @Setter @NoArgsConstructor @ToString
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@ToString
|
||||
@Table(name = "bbps_inbound_trace_log")
|
||||
public class InboundTraceLog {
|
||||
|
||||
@@ -50,8 +53,8 @@ public class InboundTraceLog {
|
||||
@Column(length = 255)
|
||||
private String remark; // error ya note
|
||||
|
||||
public InboundTraceLog(String requestId, String txnId, String apiName, String mid,
|
||||
String orgId, String httpMethod, String requestPayload) {
|
||||
public InboundTraceLog(String requestId, String txnId, String apiName, String mid, String orgId, String httpMethod,
|
||||
String requestPayload) {
|
||||
this.requestId = requestId;
|
||||
this.txnId = txnId;
|
||||
this.apiName = apiName;
|
||||
|
||||
@@ -14,7 +14,10 @@ import lombok.Setter;
|
||||
import lombok.ToString;
|
||||
|
||||
@Entity
|
||||
@Getter @Setter @NoArgsConstructor @ToString
|
||||
@ToString
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@Table(name = "bbps_outbound_trace_log")
|
||||
public class OutboundTraceLog {
|
||||
|
||||
@@ -46,8 +49,9 @@ public class OutboundTraceLog {
|
||||
|
||||
@Column(length = 255)
|
||||
private String remark;
|
||||
public OutboundTraceLog(String txnId, String requestId, String apiName,
|
||||
String endpointUrl, String httpMethod, String requestPayload) {
|
||||
|
||||
public OutboundTraceLog(String txnId, String requestId, String apiName, String endpointUrl, String httpMethod,
|
||||
String requestPayload) {
|
||||
this.txnId = txnId;
|
||||
this.requestId = requestId;
|
||||
this.apiName = apiName;
|
||||
|
||||
@@ -38,4 +38,7 @@ public class UserEntity extends Auditable {
|
||||
@Column(name = "mid")
|
||||
private String mid;
|
||||
|
||||
@Column(name = "is_enabled")
|
||||
private boolean enabled = true;
|
||||
|
||||
}
|
||||
@@ -3,7 +3,6 @@ spring.application.name=bbps
|
||||
|
||||
# Server port
|
||||
server.port=9090
|
||||
spring.jpa.open-in-view=false
|
||||
|
||||
# JPA & Hibernate
|
||||
spring.jpa.hibernate.ddl-auto=update
|
||||
@@ -19,12 +18,11 @@ swagger.server.description=Local Development Server
|
||||
|
||||
|
||||
# DataSource
|
||||
#spring.datasource.url=jdbc:postgresql://localhost:5432/devdbuat
|
||||
spring.datasource.url=jdbc:postgresql://localhost:5432/bbps_enhanced
|
||||
spring.datasource.url=jdbc:postgresql://localhost:5432/devdbuat
|
||||
spring.datasource.username=postgres
|
||||
#spring.datasource.password=UAT@DB_2025
|
||||
spring.datasource.password=UAT@DB_2025
|
||||
|
||||
spring.datasource.password=himanshu@123
|
||||
#spring.datasource.password=himanshu@123
|
||||
spring.datasource.driver-class-name=org.postgresql.Driver
|
||||
spring.datasource.type=com.zaxxer.hikari.HikariDataSource
|
||||
|
||||
|
||||
Reference in New Issue
Block a user