diff --git a/WebContent/jsp/onl/admin/inflow/inflowClientControlManDetail.jsp b/WebContent/jsp/onl/admin/inflow/inflowClientControlManDetail.jsp index 54c0cd9..a1a7e04 100644 --- a/WebContent/jsp/onl/admin/inflow/inflowClientControlManDetail.jsp +++ b/WebContent/jsp/onl/admin/inflow/inflowClientControlManDetail.jsp @@ -494,11 +494,6 @@ $(document).ready(function() { 0req -
- 적용 API - 0 - -
diff --git a/src/main/java/com/eactive/eai/rms/onl/manage/inflow/inflow/InflowControlManService.java b/src/main/java/com/eactive/eai/rms/onl/manage/inflow/inflow/InflowControlManService.java index 10e604a..f5d0a0f 100644 --- a/src/main/java/com/eactive/eai/rms/onl/manage/inflow/inflow/InflowControlManService.java +++ b/src/main/java/com/eactive/eai/rms/onl/manage/inflow/inflow/InflowControlManService.java @@ -1,5 +1,6 @@ package com.eactive.eai.rms.onl.manage.inflow.inflow; +import java.net.URI; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -16,6 +17,7 @@ import org.springframework.data.domain.Pageable; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Service; import org.springframework.web.client.RestTemplate; +import org.springframework.web.util.UriComponentsBuilder; import com.eactive.eai.data.entity.onl.inflow.InflowControl; import com.eactive.eai.data.entity.onl.inflow.InflowControlId; @@ -181,9 +183,12 @@ public class InflowControlManService extends BaseService { serverStatus.put("serverPort", serverPort); try { - String url = String.format("http://%s:%s/manage/inflow/%s/%s/bucket-status", - serverIp, serverPort, target, targetId); - ResponseEntity response = restTemplate.getForEntity(url, Map.class); + URI uri = UriComponentsBuilder.fromHttpUrl(String.format("http://%s:%s/manage/inflow", serverIp, serverPort)) + .pathSegment(target, targetId, "bucket-status") + .build() + .encode() + .toUri(); + ResponseEntity response = restTemplate.getForEntity(uri, Map.class); if (response.getBody() != null && Boolean.TRUE.equals(response.getBody().get("success"))) { serverStatus.put("status", "online");