uuid 규칙 변경(instid 제외, - 제외)

This commit is contained in:
Yunsam.Eo
2025-11-27 10:03:57 +09:00
parent 3477613a61
commit 5469115dca
@@ -121,19 +121,20 @@ public class RequestProcessor extends RequestProcessorSupport {
String bidInterface = adptGrpVO.getBidInterface();
String testMasterYn = adptGrpVO.getTestMasterYn();
// UUID 생성 : UUID = server구분4자리 + UUID
// UUID 생성 : UUID = "-" 없는 32자리 UUID(광주은행 요청)
String uuid = "";
uuid = UUIDGenerator.getUUID().toString().replaceAll("-", "");
if(instid != null) {
uuid = instid + UUIDGenerator.getUUID();
if (logger.isDebug()) logger.debug("RequestProcessor] UUID ["+uuid+"]");
}
else {
String rspErrorCode = "RECEAIIRP030";
String rspErrorMsg = ErrorCodeHandler.getMessage(rspErrorCode);
if (logger.isError()) logger.error(rspErrorMsg);
throw new RequestProcessorException(rspErrorMsg);
}
// if(instid != null) {
// uuid = instid + UUIDGenerator.getUUID();
// if (logger.isDebug()) logger.debug("RequestProcessor] UUID ["+uuid+"]");
// }
// else {
// String rspErrorCode = "RECEAIIRP030";
// String rspErrorMsg = ErrorCodeHandler.getMessage(rspErrorCode);
// if (logger.isError()) logger.error(rspErrorMsg);
// throw new RequestProcessorException(rspErrorMsg);
// }
ProcessVO vo = new ProcessVO();
vo.setAdapterGroupName(adapterGroupName);