summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShankaranarayanan Puzhavakath Narayanan <snarayanan@research.att.com>2018-04-23 17:59:08 +0000
committerGerrit Code Review <gerrit@onap.org>2018-04-23 17:59:08 +0000
commit955c99d8c51ef7c10cf6e1d0e429d15d8ea59305 (patch)
tree27f0f6c5a415cdb09b3a3fc94d734a022121291d
parent2c9200329228e1b7b6991f3cae5f775e0b06426c (diff)
parenteab1f236abbe1d1748cd6bcd3eaea35633da84f1 (diff)
Merge "[OPTFRA-217] Fix identifier value in placementSol"
-rw-r--r--osdf/optimizers/placementopt/conductor/conductor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdf/optimizers/placementopt/conductor/conductor.py b/osdf/optimizers/placementopt/conductor/conductor.py
index 682f606..49e7bfc 100644
--- a/osdf/optimizers/placementopt/conductor/conductor.py
+++ b/osdf/optimizers/placementopt/conductor/conductor.py
@@ -135,7 +135,7 @@ def conductor_response_processor(conductor_response, raw_response, req_id):
solution = {
'resourceModuleName': resource,
'serviceResourceId': reco[resource].get('service_resource_id', ""),
- 'solution': {"identifier": c['inventory_type'],
+ 'solution': {"identifier": name_map.get(c['inventory_type'], c['inventory_type']),
'identifiers': [c['candidate_id']],
'cloudOwner': c.get('cloud_owner', "")},
'assignmentInfo': []