diff options
author | Patel, Ankitkumar <ankit@research.att.com> | 2018-05-29 20:45:21 -0400 |
---|---|---|
committer | Patel, Ankitkumar <ankit@research.att.com> | 2018-05-29 20:46:09 -0400 |
commit | e0833e0345df370b1d82c462caabbc36a0c341f4 (patch) | |
tree | 1399e4e2850326ffb816bda22939866ff85608bc | |
parent | 839b658537f201b6f18c23ace1dc78d091eed7f1 (diff) |
Fixed the HAS response attribute names
Fixed the HAS response attribute names
Issue-ID: OPTFRA-247
Change-Id: Id6afeafcb9fb094710ef7b624f2111e3608973dc
Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
-rw-r--r-- | osdf/optimizers/placementopt/conductor/conductor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osdf/optimizers/placementopt/conductor/conductor.py b/osdf/optimizers/placementopt/conductor/conductor.py index 9f680c3..f40ee95 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": name_map.get(c['inventory_type'], c['inventory_type']), + 'solution': {"identifierType": name_map.get(c['inventory_type'], c['inventory_type']), 'identifiers': [c['candidate_id']], 'cloudOwner': c.get('cloud_owner', "")}, 'assignmentInfo': [] |