summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Shatov <alexs@att.com>2018-05-11 10:32:41 -0400
committerAlex Shatov <alexs@att.com>2018-05-11 10:32:41 -0400
commit7a91f8c03b2f177568dd02436df0bd908d8bb293 (patch)
tree886b5da593047a69d1098c0dc44469c76b588c83
parentbfdffbbb60b0ee6cff12022bbb17bd075c1ffd51 (diff)
2.1.5 - fixed getting node-instances from cfy 4.x2.0.0-ONAPbeijing2.0.0-ONAP
- 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 <alexs@att.com> Issue-ID: DCAEGEN2-500
-rw-r--r--lib/cloudify.js2
-rw-r--r--package.json2
-rw-r--r--pom.xml2
-rw-r--r--version.properties2
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.
<groupId>org.onap.dcaegen2.platform</groupId>
<artifactId>deployment-handler</artifactId>
<name>dcaegen2-platform-deployment-handler</name>
- <version>2.1.4-SNAPSHOT</version>
+ <version>2.1.5-SNAPSHOT</version>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
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