From d7ab76f5fc5a3a88f95cd87d616d2d3e7b9b569b Mon Sep 17 00:00:00 2001 From: Ivan Maslov Date: Wed, 1 May 2019 00:39:19 +0300 Subject: [PATCH] #RestartOrchestrator --- Orchestrator/Web/Index.xhtml | 19 +++++++++++++++++++ Orchestrator/orchestratorProcessor.py | 12 ++++++++++-- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/Orchestrator/Web/Index.xhtml b/Orchestrator/Web/Index.xhtml index 1c7d7d55..8528ac95 100644 --- a/Orchestrator/Web/Index.xhtml +++ b/Orchestrator/Web/Index.xhtml @@ -104,6 +104,20 @@ dataType: "text" }); } + ///Перезагрузить Orchestrator + mGlobal.Controller.OrchestratorRestart=function() { + $.ajax({ + type: "POST", + url: 'ProcessingRun', + data: '{"actionList":[{"type":"ActivityRestartOrchestrator"}]}', + success: + function(lData,l2,l3) + { + var lResponseJSON=JSON.parse(lData) + }, + dataType: "text" + }); + } ////////////////////////// /////Monitor JS module @@ -277,6 +291,11 @@ Look machine screenshot + +