API 거래 uuid(TRANSACTION_UUID) 앞 prefix에 GroupInstId 추가
This commit is contained in:
@@ -51,6 +51,7 @@ public class DJBApiAdapterController implements HttpAdapterServiceKey {
|
||||
@Autowired
|
||||
DJBApiAdapterService service;
|
||||
|
||||
EAIServerManager eaiServerManager;
|
||||
/**
|
||||
* DJErp OAuth 조기 적용을 위한 Controller
|
||||
*
|
||||
@@ -89,7 +90,13 @@ public class DJBApiAdapterController implements HttpAdapterServiceKey {
|
||||
|
||||
ResponseEntity<String> responseEntity = null;
|
||||
Properties transactionProp = new Properties();
|
||||
String uuid = UUIDGenerator.getUUID().toString().replaceAll("-", "");
|
||||
|
||||
if(eaiServerManager == null)
|
||||
eaiServerManager = EAIServerManager.getInstance();
|
||||
|
||||
String instid = eaiServerManager.getGroupInstId();
|
||||
String uuid = instid+UUIDGenerator.getUUID().toString().replaceAll("-", "");
|
||||
|
||||
transactionProp.setProperty(TransactionContextKeys.TRANSACTION_UUID, uuid);
|
||||
transactionProp.put(INBOUND_REQUESTED_TIME, receivedTimeStr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user