- Service: BIGDECIMAL 매핑 추가 - 반환 유형 'number' - Monitoring: Properties 초기화 및 null 체크 로직 추가 - JS: 샘플 응답 상태 시 안내 메시지 추가
This commit is contained in:
@@ -36,7 +36,7 @@ class MonitoringContextImpl implements MonitoringContext {
|
||||
@Autowired
|
||||
private MonitoringContextDAO monitoringContextDAO;
|
||||
|
||||
private Properties properties = null;
|
||||
private Properties properties = new Properties();
|
||||
|
||||
private String instancePropertyGroupName;
|
||||
|
||||
@@ -73,7 +73,10 @@ class MonitoringContextImpl implements MonitoringContext {
|
||||
String hostIp = InetAddress.getLocalHost().getHostAddress();
|
||||
this.instancePropertyGroupName = String
|
||||
.format(MonitoringPropertyGroupService.MONITORING_PROPERTY_KEY_FORMAT, hostIp);
|
||||
this.properties = monitoringContextDAO.getProperties(instancePropertyGroupName);
|
||||
Properties loaded = monitoringContextDAO.getProperties(instancePropertyGroupName);
|
||||
if (loaded != null) {
|
||||
this.properties = loaded;
|
||||
}
|
||||
|
||||
String eaiAgentId = System.getProperty(EAI_AGENTID);
|
||||
if (StringUtils.isBlank(eaiAgentId)) {
|
||||
|
||||
@@ -676,6 +676,7 @@ public class ApiSpecManService {
|
||||
return "integer";
|
||||
case "DECIMAL":
|
||||
case "DOUBLE":
|
||||
case "BIGDECIMAL":
|
||||
return "number";
|
||||
case "BOOLEAN":
|
||||
return "boolean";
|
||||
|
||||
Reference in New Issue
Block a user