added logs in masterdataserviceimpl

This commit is contained in:
himanshu
2025-11-04 02:59:38 +05:30
parent f7c2669d11
commit 7d6db124e7
10 changed files with 282 additions and 110 deletions
@@ -47,11 +47,17 @@ public class InboundTraceLog {
@Column(length = 255)
private String remark; // error ya note
public InboundTraceLog(String requestId, String txnId, String apiName, String requestPayload) {
this.requestId = requestId;
this.txnId = txnId;
this.apiName = apiName;
this.requestPayload = requestPayload;
this.requestTime = LocalDateTime.now();
}
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;
this.mid = mid;
this.orgId = orgId;
this.httpMethod = httpMethod;
this.requestPayload = requestPayload;
this.requestTime = LocalDateTime.now();
this.createdAt = LocalDateTime.now();
}
}