From 7a91f8c03b2f177568dd02436df0bd908d8bb293 Mon Sep 17 00:00:00 2001 From: Alex Shatov Date: Fri, 11 May 2018 10:32:41 -0400 Subject: 2.1.5 - fixed getting node-instances from cfy 4.x - added _size=1000 to params on getting node-instances from cloudify = cloudify 4.x does not like to have the _offset=0 without _size param cfy assumes that _size=0 and returns no items. = that was working fine in cloudify 3.4 = the max _size is now only 1000 in 4.x versus 10,000 in 3.4 - external version 2.1.5, internal version 4.4.5 - unit test code coverage Statements : 83.99% ( 939/1118 ) Branches : 62.75% ( 320/510 ) Functions : 81.15% ( 155/191 ) Lines : 84.13% ( 928/1103 ) Change-Id: I4c47522c49acc028841c5c08787995f33e7ef0e3 Signed-off-by: Alex Shatov Issue-ID: DCAEGEN2-500 --- lib/cloudify.js | 2 +- package.json | 2 +- pom.xml | 2 +- version.properties | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/cloudify.js b/lib/cloudify.js index 90e7dff..0832dc7 100644 --- a/lib/cloudify.js +++ b/lib/cloudify.js @@ -352,7 +352,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); diff --git a/package.json b/package.json index 261edd2..6f587b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "onap-dcae-deployment-handler", - "version": "4.4.4", + "version": "4.4.5", "description": "ONAP DCAE Deployment Handler", "main": "deployment-handler.js", "dependencies": { diff --git a/pom.xml b/pom.xml index a141047..2e2e381 100644 --- a/pom.xml +++ b/pom.xml @@ -29,7 +29,7 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. org.onap.dcaegen2.platform deployment-handler dcaegen2-platform-deployment-handler - 2.1.4-SNAPSHOT + 2.1.5-SNAPSHOT http://maven.apache.org UTF-8 diff --git a/version.properties b/version.properties index 8d45f75..201272e 100644 --- a/version.properties +++ b/version.properties @@ -1,6 +1,6 @@ major=2 minor=1 -patch=4 +patch=5 base_version=${major}.${minor}.${patch} release_version=${base_version} snapshot_version=${base_version}-SNAPSHOT -- cgit 1.2.3-korg