added logs in masterdataserviceimpl
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user