From 5e78f6b0ef3d6690157c89afdc198fc40071cd2c Mon Sep 17 00:00:00 2001 From: Alex Shatov Date: Mon, 8 Oct 2018 13:26:04 -0400 Subject: 3.0.3 restored &_size=1000 param to cloudify - 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 Issue-ID: DCAEGEN2-862 --- 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 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); diff --git a/package.json b/package.json index e8083fd..1cfc046 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "onap-dcae-deployment-handler", - "version": "5.0.2", + "version": "5.0.3", "description": "ONAP DCAE Deployment Handler", "main": "deployment-handler.js", "dependencies": { diff --git a/pom.xml b/pom.xml index d161251..f8be698 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 - 3.0.2-SNAPSHOT + 3.0.3-SNAPSHOT http://maven.apache.org UTF-8 diff --git a/version.properties b/version.properties index 40a0e39..0453b60 100644 --- a/version.properties +++ b/version.properties @@ -1,6 +1,6 @@ major=3 minor=0 -patch=2 +patch=3 base_version=${major}.${minor}.${patch} release_version=${base_version} snapshot_version=${base_version}-SNAPSHOT -- cgit 1.2.3-korg