From 556928ec47610a82ffcede0e3d350c47e692ba14 Mon Sep 17 00:00:00 2001 From: Alex Shatov Date: Thu, 22 Feb 2018 15:37:07 -0500 Subject: reduce messaging when deployment not busy - reduce the messaging when the deployment is not busy in cloudify - returned checking the version and existence when the deployment not busy - otherwise just send all data to plugin in cloudify - bumped up pom version to 2.0.1 Change-Id: I8520de58f4e344bac9f32e21ddcfed7d4ebb205b Signed-off-by: Alex Shatov Issue-ID: DCAEGEN2-356 --- lib/cloudify.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/cloudify.js') diff --git a/lib/cloudify.js b/lib/cloudify.js index e6f1753..0dbb876 100644 --- a/lib/cloudify.js +++ b/lib/cloudify.js @@ -64,7 +64,8 @@ ExeQueue.prototype.nextExecution = function(deployment_id) { } return depl.exe_queue[0]; }; -var exeQueue = new ExeQueue(); +const exeQueue = new ExeQueue(); +exports.exeQueue = exeQueue; // Delay function--returns a promise that's resolved after 'dtime' // milliseconds.` -- cgit 1.2.3-korg