diff --git a/WebContent/WEB-INF/weblogic.xml b/WebContent/WEB-INF/weblogic.xml index ec07529..7905f48 100644 --- a/WebContent/WEB-INF/weblogic.xml +++ b/WebContent/WEB-INF/weblogic.xml @@ -6,10 +6,10 @@ monitoring - 3600 + 1800 JSESSIONID_EMS - memory - replicated_if_clustered + + replicated_if_clustered diff --git a/src/test/java/com/eactive/eai/rms/onl/manage/rule/layoutsync/LayoutSyncControllerTest.java b/src/test/java/com/eactive/eai/rms/onl/manage/rule/layoutsync/LayoutSyncControllerTest.java index 2b7ab07..1f721ab 100644 --- a/src/test/java/com/eactive/eai/rms/onl/manage/rule/layoutsync/LayoutSyncControllerTest.java +++ b/src/test/java/com/eactive/eai/rms/onl/manage/rule/layoutsync/LayoutSyncControllerTest.java @@ -9,6 +9,8 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.web.client.RestTemplate; +import java.nio.charset.Charset; + import static org.junit.jupiter.api.Assertions.*; /** @@ -37,9 +39,9 @@ class LayoutSyncControllerTest { String url = BASE_URL + "?cmd=Message&schema=APIGW"; - // HTTP 헤더 설정 + // HTTP 헤더 설정 (EUC-KR) HttpHeaders headers = new HttpHeaders(); - headers.setContentType(MediaType.APPLICATION_XML); + headers.setContentType(new MediaType("application", "xml", Charset.forName("EUC-KR"))); // 요청 생성 HttpEntity request = new HttpEntity<>(requestXml, headers);