Authored by FengRuwei

预留手动执行task接口

... ... @@ -48,6 +48,8 @@ public class HttpUriContants {
public static final String JAVA_API_STATUS = "/javaApiStatus/query";
public static final String JAVA_API_HIS = "/javaApiStatus/queryhis";
public static final String JAVA_API_STATUS_ALL = "/javaApiStatus/queryAll";
public static final String JAVA_API_TASK_TEST = "/javaApiStatus/tasktest";
public static final String JAVA_API_DETAILS = "/javaApi/apiDetails";
... ...
... ... @@ -127,6 +127,7 @@ public class JavaAPICtrl {
/**
* 获取所有服务状态
*
* @return
*/
@RequestMapping("/allStatus")
... ... @@ -144,4 +145,17 @@ public class JavaAPICtrl {
return rep;
}
/**
* 预留手动执行服务任务
*
* @return
*/
@RequestMapping("/tasktest")
@ResponseBody
public String taskTest() {
String rep = httpClient.defaultGet(HttpUriContants.JAVA_API_TASK_TEST, String.class);
return rep;
}
}
... ...