diff options
author | Alex Shatov <alexs@att.com> | 2018-10-08 13:26:04 -0400 |
---|---|---|
committer | Alex Shatov <alexs@att.com> | 2018-10-08 13:28:19 -0400 |
commit | 5e78f6b0ef3d6690157c89afdc198fc40071cd2c (patch) | |
tree | 5ba2388ccb92a41770bf53226601cbf9ada4483b | |
parent | cb017456dbe09fc8f3e5270e641ab8f323ecde76 (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
-rw-r--r-- | lib/cloudify.js | 2 | ||||
-rw-r--r-- | package.json | 2 | ||||
-rw-r--r-- | pom.xml | 2 | ||||
-rw-r--r-- | 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": { @@ -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>3.0.2-SNAPSHOT</version> + <version>3.0.3-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 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
|