From 8c1f4a99dcdd1a52500b34c6c1a36f23193cf805 Mon Sep 17 00:00:00 2001 From: Remigiusz Janeczek Date: Wed, 23 Sep 2020 12:33:02 +0200 Subject: Fix undefined tenant bug in deployment status link Issue-ID: DCAEGEN2-2452 Signed-off-by: Remigiusz Janeczek Change-Id: Ie650724d2a669f3388e93290ae5b840e3a9efb35 --- lib/dcae-deployments.js | 3 ++- pom.xml | 2 +- version.properties | 2 +- 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. org.onap.dcaegen2.platform deployment-handler dcaegen2-platform-deployment-handler - 4.4.0-SNAPSHOT + 4.4.1-SNAPSHOT http://maven.apache.org UTF-8 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 -- cgit 1.2.3-korg