|
@@ -13,7 +13,6 @@ import io.minio.errors.*;
|
|
|
import io.renren.common.utils.*;
|
|
|
|
|
|
import io.renren.modules.sys.entity.VisiWorkflowEntity;
|
|
|
-import io.renren.common.utils.MyWebSocket;
|
|
|
import io.renren.modules.sys.service.VisiWorkflowService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
@@ -1086,7 +1085,7 @@ public class VisiWorkflowController extends AbstractController {
|
|
|
workflowcontent.put("wait", sbwait.toString());
|
|
|
System.out.println(workflowcontent);
|
|
|
String paramjson = JSONObject.toJSONString(workflowcontent);
|
|
|
- MyWebSocket.sendMessage(paramjson);
|
|
|
+// MyWebSocket.sendMessage(paramjson);
|
|
|
// Thread.sleep(1000*3); // 休眠3秒
|
|
|
// }while(successworkflow.getStatus().getPhase()!="Succeeded"&&successworkflow.getStatus().getPhase()!="Error"&&successworkflow.getStatus().getPhase()!="Failed");
|
|
|
// MyWebSocket.sendMessage("日志获取结束");
|
|
@@ -1287,7 +1286,7 @@ public class VisiWorkflowController extends AbstractController {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
String podcontentjson = JSONObject.toJSONString(podcontent);
|
|
|
- MyWebSocket.sendMessage(podcontentjson);
|
|
|
+// MyWebSocket.sendMessage(podcontentjson);
|
|
|
// Thread.sleep(1000*3); // 休眠3秒
|
|
|
// }while(podphase!="Succeeded"&&podphase!="Completed"&&podphase!="Failed");
|
|
|
// MyWebSocket.sendMessage("获取节点日志结束");
|