aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAlex Shatov <alexs@att.com>2018-10-08 13:26:04 -0400
committerAlex Shatov <alexs@att.com>2018-10-08 13:28:19 -0400
commit5e78f6b0ef3d6690157c89afdc198fc40071cd2c (patch)
tree5ba2388ccb92a41770bf53226601cbf9ada4483b /lib
parentcb017456dbe09fc8f3e5270e641ab8f323ecde76 (diff)
3.0.3 restored &_size=1000 param to cloudify3.0.33.0.1-ONAP3.0.0-ONAPcasablanca
- external version 3.0.3 - internal version 5.0.3 for code change - no API change - restored the lost param &_size=1000 from deployment-handler to cloudify = without this fix, cloudify 4.x does not return any items thru its web api when _offset id provided - this behavior was broken by previous change https://jira.onap.org/browse/DCAEGEN2-548 - unit tested Coverage summary Statements : 76.94% ( 904/1175 ) Branches : 53.12% ( 281/529 ) Functions : 78.89% ( 157/199 ) Lines : 77.42% ( 895/1156 ) Change-Id: Idcf21115294ce3db5577def7e8ee5b00aa0850a7 Signed-off-by: Alex Shatov <alexs@att.com> Issue-ID: DCAEGEN2-862
Diffstat (limited to 'lib')
-rw-r--r--lib/cloudify.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cloudify.js b/lib/cloudify.js
index 5ab0663..5c5c658 100644
--- a/lib/cloudify.js
+++ b/lib/cloudify.js
@@ -446,7 +446,7 @@ exports.getNodeInstances = function (mainReq, on_next_node_instances, offset) {
offset = offset || 0;
var reqOptions = {
method : "GET",
- uri : cfyAPI + "/node-instances?_include=id,deployment_id,runtime_properties&_offset=" + offset
+ uri : cfyAPI + "/node-instances?_include=id,deployment_id,runtime_properties&_size=1000&_offset=" + offset
};
addAuthToOptions(reqOptions, mainReq);