This commit is contained in:
@@ -270,6 +270,9 @@ public interface MonitoringContext {
|
|||||||
// 최대 로그인 실패 허용횟수 (0이면 계정 잠금 미적용)
|
// 최대 로그인 실패 허용횟수 (0이면 계정 잠금 미적용)
|
||||||
public static final String RMS_PASSWORD_FAIL_COUNT = "rms.password.fail.count";
|
public static final String RMS_PASSWORD_FAIL_COUNT = "rms.password.fail.count";
|
||||||
|
|
||||||
|
// API 상태변화 스윙챗 발송여부
|
||||||
|
public static final String DJB_UMS_MESSENGER_APISTATUS_ENABLED = "djb.ums.messenger.apistatus.enabled";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -90,8 +90,11 @@ public class ApiStatusService {
|
|||||||
String event = entry.getKey();
|
String event = entry.getKey();
|
||||||
List<String> apiIds = entry.getValue();
|
List<String> apiIds = entry.getValue();
|
||||||
|
|
||||||
HashMap<String, Object> params = getSwingChatMessage(event, apiIds);
|
//내부직원 스윙챗 발송
|
||||||
ums.send("api-monitor", MessageCode.API_STATUS_CHANGED, params);
|
if (monitoringContext.getBooleanProperty(MonitoringContext.DJB_UMS_MESSENGER_APISTATUS_ENABLED, true)) {
|
||||||
|
HashMap<String, Object> params = getSwingChatMessage(event, apiIds);
|
||||||
|
ums.send("api-monitor", MessageCode.API_STATUS_CHANGED, params);
|
||||||
|
}
|
||||||
|
|
||||||
//제휴사 웹훅 발송
|
//제휴사 웹훅 발송
|
||||||
if (monitoringContext.getBooleanProperty(MonitoringContext.RMS_WEBHOOK_ENABLED, true)) {
|
if (monitoringContext.getBooleanProperty(MonitoringContext.RMS_WEBHOOK_ENABLED, true)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user