Fixed the HAS response attribute names 43/49443/1
authorPatel, Ankitkumar <ankit@research.att.com>
Wed, 30 May 2018 00:45:21 +0000 (20:45 -0400)
committerPatel, Ankitkumar <ankit@research.att.com>
Wed, 30 May 2018 00:46:09 +0000 (20:46 -0400)
Fixed the HAS response attribute names

Issue-ID: OPTFRA-247
Change-Id: Id6afeafcb9fb094710ef7b624f2111e3608973dc
Signed-off-by: Patel, Ankitkumar <ankit@research.att.com>
osdf/optimizers/placementopt/conductor/conductor.py

index 9f680c3..f40ee95 100644 (file)
@@ -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': []