added humidity executor to deployment
This commit is contained in:
@@ -29,7 +29,6 @@ public class Executor extends ExecutorBase {
|
||||
protected
|
||||
String execution(String inputData) {
|
||||
|
||||
executorLogger.info("TEST");
|
||||
executorLogger.info("Executor | Starting execution with inputData: " + inputData);
|
||||
|
||||
ScriptEngineManager mgr = new ScriptEngineManager();
|
||||
@@ -45,10 +44,11 @@ public class Executor extends ExecutorBase {
|
||||
}
|
||||
|
||||
try {
|
||||
TimeUnit.SECONDS.sleep(5);
|
||||
TimeUnit.SECONDS.sleep(1);
|
||||
} catch (InterruptedException e) {
|
||||
executorLogger.log(Level.SEVERE, e.getLocalizedMessage(), e);
|
||||
Thread.currentThread().interrupt();
|
||||
return result;
|
||||
// executorLogger.log(Level.SEVERE, e.getLocalizedMessage(), e);
|
||||
// Thread.currentThread().interrupt();
|
||||
}
|
||||
|
||||
executorLogger.info("Executor | Finish execution");
|
||||
|
Reference in New Issue
Block a user