GUID 생성 시 시스템코드 OPA 사용으로 변경
This commit is contained in:
@@ -80,6 +80,10 @@ public class StandardMessageCoordinatorDJB extends DefaultStandardMessageCoordin
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void coordinateAfterParsing(StandardMessage standardMessage, Object paramObject, Properties prop) {
|
public void coordinateAfterParsing(StandardMessage standardMessage, Object paramObject, Properties prop) {
|
||||||
|
// TODO 표준전문을 수신할 경우, 전문의 interface id로 가져온 eaiSvcCd가 다른 값으로 치환되어야 할 수도 있다.
|
||||||
|
// 수신한 if_id를 기준으로 api gw의 eaiSvcCd를 매핑하는 프러퍼티가 있어야 한다.
|
||||||
|
// PropGroup : DJB_IN_STDHEAD_IFID_MAPPING, DJB_IN_HTTHEAD_STDHEAD_MAPPING
|
||||||
|
// standardMessage.setEaiSvcCd(mappedIfId);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -88,7 +92,7 @@ public class StandardMessageCoordinatorDJB extends DefaultStandardMessageCoordin
|
|||||||
InterfaceMapper mapper = manager.getMapper();
|
InterfaceMapper mapper = manager.getMapper();
|
||||||
|
|
||||||
// GUID 생성 (40자) 및 설정
|
// GUID 생성 (40자) 및 설정
|
||||||
String guid = GUIDGeneratorDJB.getGUID("EAI");
|
String guid = GUIDGeneratorDJB.getGUID("OPA");
|
||||||
mapper.setGuid(standardMessage, guid);
|
mapper.setGuid(standardMessage, guid);
|
||||||
|
|
||||||
// GUID 진행번호 초기화 (최초=001)
|
// GUID 진행번호 초기화 (최초=001)
|
||||||
|
|||||||
Reference in New Issue
Block a user