summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemigiusz Janeczek <remigiusz.janeczek@nokia.com>2020-09-23 12:33:02 +0200
committerRemigiusz Janeczek <remigiusz.janeczek@nokia.com>2020-09-23 12:35:41 +0200
commit8c1f4a99dcdd1a52500b34c6c1a36f23193cf805 (patch)
tree7772fdd5131da911ccca7e5fd93bcc810864349e
parentbc243113b0eb99301fb952472bd880e2de53fb24 (diff)
Fix undefined tenant bug in deployment status link4.4.1
Issue-ID: DCAEGEN2-2452 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Ie650724d2a669f3388e93290ae5b840e3a9efb35
-rw-r--r--lib/dcae-deployments.js3
-rw-r--r--pom.xml2
-rw-r--r--version.properties2
3 files changed, 4 insertions, 3 deletions
diff --git a/lib/dcae-deployments.js b/lib/dcae-deployments.js
index 708a949..6f9f782 100644
--- a/lib/dcae-deployments.js
+++ b/lib/dcae-deployments.js
@@ -1,5 +1,6 @@
/*
Copyright(c) 2017-2020 AT&T Intellectual Property. All rights reserved.
+Copyright(c) 2020 Nokia. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -64,7 +65,7 @@ const createLinks = function(req, deploymentId, executionId) {
var baseURL = req.protocol + '://' + req.get('Host') + req.app.mountpath + '/' + deploymentId;
return {
self: baseURL,
- status: baseURL + '/operation/' + executionId + '?cfy_tenant_name=' + req.query.cfy_tenant_name || DEFAULT_TENANT
+ status: baseURL + '/operation/' + executionId + '?cfy_tenant_name=' + (req.query.cfy_tenant_name || DEFAULT_TENANT)
};
};
diff --git a/pom.xml b/pom.xml
index 04b06dc..58b10a7 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>4.4.0-SNAPSHOT</version>
+ <version>4.4.1-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 509d1ca..8dc9725 100644
--- a/version.properties
+++ b/version.properties
@@ -1,6 +1,6 @@
major=4
minor=4
-patch=0
+patch=1
base_version=${major}.${minor}.${patch}
release_version=${base_version}
snapshot_version=${base_version}-SNAPSHOT