BaseRestController - IP white 적용

UMS 연동 코드 개선
This commit is contained in:
Rinjae
2026-02-02 15:32:22 +09:00
parent bb6c3d81e5
commit f917df13cb
3 changed files with 21 additions and 2 deletions
@@ -6,6 +6,7 @@ import com.eactive.ext.kjb.common.KjbProperty;
import com.eactive.ext.kjb.common.KjbPropertyHolder;
import com.eactive.ext.kjb.common.KjbUmsException;
import com.eactive.ext.kjb.ums.gson.IUmsGsonObject;
import com.eactive.ext.kjb.ums.gson.ObpMonitoringUmsTemplate;
import com.eactive.ext.kjb.ums.gson.UmsRequestPayload;
import com.eactive.ext.kjb.ums.gson.VerifyPhoneUmsTemplate;
import com.eactive.ext.kjb.utils.JsonUtil;
@@ -113,6 +114,12 @@ public class KjbUmsService {
return true;
}
public String sendObpMonitoring(String cpno, String message) throws KjbUmsException {
log.info("OBP 모니터링 용 메세지 발송 - message: {}", message);
return this.sendKakaoAlimTalk(null, UmsBizWorkCode.MONITORING, cpno, ObpMonitoringUmsTemplate.builder().message(message).build());
}
public String sendKakaoAlimTalk(String guid, UmsBizWorkCode bizWorkCode, String cpno, IUmsGsonObject content) throws KjbUmsException {
if (content == null) {
throw new IllegalArgumentException("content is null");