diff --git a/dev/Server/build.gradle b/dev/Server/build.gradle
index c5b0a98..81c0419 100644
--- a/dev/Server/build.gradle
+++ b/dev/Server/build.gradle
@@ -6,7 +6,7 @@ plugins {
}
group = 'com.hours22'
-version = '2.1-SNAPSHOT'
+version = '2.3-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
diff --git a/dev/Server/src/main/java/com/hours22/system_monitor_ver11/controller/CommonController.java b/dev/Server/src/main/java/com/hours22/system_monitor_ver11/controller/CommonController.java
index ba4e2f9..078c2d6 100644
--- a/dev/Server/src/main/java/com/hours22/system_monitor_ver11/controller/CommonController.java
+++ b/dev/Server/src/main/java/com/hours22/system_monitor_ver11/controller/CommonController.java
@@ -61,7 +61,6 @@ public void GetIndex(HttpServletRequest req, HttpServletResponse response) throw
"O pc 언제꺼 ??? db에 반영 됌.
" +
"- observer pattern 적용 필요\r\n" +
"- 비동기 처리 필요");
-
System.out.println("--------------------------------------------------------------------------------------------");
System.out.println("Input : / <- GET method [Client Ip : "+ cic.getClientIp(req) +" ] at " + transFormat.format(new Date()));
}
@@ -69,7 +68,6 @@ public void GetIndex(HttpServletRequest req, HttpServletResponse response) throw
@RequestMapping(value = "/testpage", method = RequestMethod.GET)
public @ResponseBody String GetTestPage(HttpServletRequest request, HttpServletResponse response) throws IOException {
dss.test();
-
System.out.println("--------------------------------------------------------------------------------------------");
System.out.println("Input : /testpage <- GET method [Client Ip : " +cic.getClientIp(request)+" ] at " + transFormat.format(new Date()));
return "Test Page";
@@ -77,7 +75,6 @@ public void GetIndex(HttpServletRequest req, HttpServletResponse response) throw
@RequestMapping(value = "/pc/{id}", method = RequestMethod.GET)
public @ResponseBody String GetPcInstanceData(HttpServletRequest req, HttpServletResponse response, @PathVariable String id) throws IOException {
-
System.out.println("--------------------------------------------------------------------------------------------");
System.out.println("Input : /pc/"+ id +" <- GET method [Client Ip : "+ cic.getClientIp(req) + " ] at " + transFormat.format(new Date()));
@@ -91,7 +88,6 @@ public void GetIndex(HttpServletRequest req, HttpServletResponse response) throw
@RequestMapping(value = "/pc/{id}", method = RequestMethod.POST)
public void PostPcInstanceData(HttpServletRequest request, HttpServletResponse response, @RequestBody Map map, @PathVariable String id) throws IOException {
String json = ojm.writeValueAsString(map);
-
System.out.println("--------------------------------------------------------------------------------------------");
System.out.println("Input : "+ json +" <- POST method [Client : "+ cic.getClientIp(request) + " ] at "+transFormat.format(new Date()));
diff --git a/dev/Server/src/main/java/com/hours22/system_monitor_ver11/controller/MobileController.java b/dev/Server/src/main/java/com/hours22/system_monitor_ver11/controller/MobileController.java
index 199d661..49820c4 100644
--- a/dev/Server/src/main/java/com/hours22/system_monitor_ver11/controller/MobileController.java
+++ b/dev/Server/src/main/java/com/hours22/system_monitor_ver11/controller/MobileController.java
@@ -52,17 +52,14 @@ public class MobileController{
@Autowired
ClientInfoController cic;
-
SimpleDateFormat transFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm");
@RequestMapping(value = "/mobile/pc", method = RequestMethod.GET)
public void GetPcData(HttpServletRequest request, HttpServletResponse response) throws IOException {
-
response.setContentType("application/json;charset=UTF-8");
// RedisLoad_JsonToObj();
// HttpResponse_ObjToJson();
System.out.println("--------------------------------------------------------------------------------------------");
-
System.out.println("Input : /mobile/pc <- GET method [Client Ip : "+ cic.getClientIp(request)+"] at "+transFormat.format(new Date()) );
lc.getConnection();
@@ -132,13 +129,11 @@ public String call() throws Exception {
@RequestMapping(value = "/mobile/pc/{id}/data", method = RequestMethod.GET)
public void GetPcRamCpuData(HttpServletRequest request, HttpServletResponse response, @PathVariable String id) throws IOException {
-
response.setContentType("application/json;charset=UTF-8");
// RedisLoad_JsonToObj();
// HttpResponse_ObjToJson();
lc.getConnection();
-
System.out.println("--------------------------------------------------------------------------------------------");
System.out.println("Input : /mobile/pc/"+id+"/data <- GET method [Client Ip : "+ cic.getClientIp(request) +" ] at " + transFormat.format(new Date()));
@@ -154,7 +149,6 @@ public void GetPcRamCpuData(HttpServletRequest request, HttpServletResponse resp
@RequestMapping(value = "/mobile/pc/{id}/power/{endTime}", method = RequestMethod.POST)
-
public @ResponseBody Callable