improved agentservice validation
This commit is contained in:
@@ -496,7 +496,6 @@ public class AgentServiceImpl implements AgentService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
String fullUrl = agentDtaUrl + BBPSConstant.BILL_VALIDATE_BY_CLIENT_REQ_ID + billInitiate.get().getTxnId();
|
String fullUrl = agentDtaUrl + BBPSConstant.BILL_VALIDATE_BY_CLIENT_REQ_ID + billInitiate.get().getTxnId();
|
||||||
helper.validateMerchant(billValidateByClientIdRequest.getMid());
|
|
||||||
OutboundTraceLog outboundLog = helper.createOutboundLog(txnId, reqId, apiName, fullUrl, BBPSConstant.HTTP_GET,
|
OutboundTraceLog outboundLog = helper.createOutboundLog(txnId, reqId, apiName, fullUrl, BBPSConstant.HTTP_GET,
|
||||||
null);
|
null);
|
||||||
|
|
||||||
@@ -542,11 +541,9 @@ public class AgentServiceImpl implements AgentService {
|
|||||||
String clientReqId = billFetchByClientIdRequest.getClientReqId();
|
String clientReqId = billFetchByClientIdRequest.getClientReqId();
|
||||||
String mid = billFetchByClientIdRequest.getMid();
|
String mid = billFetchByClientIdRequest.getMid();
|
||||||
String requestJson = helper.convertObjectToJson(billFetchByClientIdRequest);
|
String requestJson = helper.convertObjectToJson(billFetchByClientIdRequest);
|
||||||
|
|
||||||
LOGGER.info("[{}] START | reqId={} | mid={} | clientReqId={}", apiName, reqId, mid,
|
LOGGER.info("[{}] START | reqId={} | mid={} | clientReqId={}", apiName, reqId, mid,
|
||||||
billFetchByClientIdRequest.getClientReqId());
|
billFetchByClientIdRequest.getClientReqId());
|
||||||
String txnId = helper.generateTxnId(15);
|
String txnId = helper.generateTxnId(15);
|
||||||
helper.validateMerchant(billFetchByClientIdRequest.getMid());
|
|
||||||
InboundTraceLog inboundLog = helper.createInboundLog(reqId, txnId, apiName, billFetchByClientIdRequest.getMid(),
|
InboundTraceLog inboundLog = helper.createInboundLog(reqId, txnId, apiName, billFetchByClientIdRequest.getMid(),
|
||||||
BBPSConstant.HTTP_GET, requestJson);
|
BBPSConstant.HTTP_GET, requestJson);
|
||||||
helper.validateMerchant(billFetchByClientIdRequest.getMid());
|
helper.validateMerchant(billFetchByClientIdRequest.getMid());
|
||||||
|
|||||||
Reference in New Issue
Block a user