summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaibin Huang <haibin.huang@intel.com>2019-01-30 13:36:52 +0800
committerHaibin Huang <haibin.huang@intel.com>2019-01-30 14:14:55 +0800
commitce43527ffd8751081dfe7373b2cee0cf90d7fd4c (patch)
tree828cd05a45a1f34e6070276a486f7d2527aa7053
parent0c7383c5e80a7718216a2b9a0d8669553a03bd6d (diff)
Remove the heatbridge call in master
The heatbridge call results in API timeout due to AAI performance constraints. Change-Id: Ia30065cefc6cb4853e1093dd0f5c874e99c4cd0d Issue-ID: MULTICLOUD-456 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
-rw-r--r--share/newton_base/resource/infra_workload.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/share/newton_base/resource/infra_workload.py b/share/newton_base/resource/infra_workload.py
index 74c187fe..7bf07952 100644
--- a/share/newton_base/resource/infra_workload.py
+++ b/share/newton_base/resource/infra_workload.py
@@ -173,8 +173,8 @@ class InfraWorkload(APIView):
# return error messsages
resp_template['workload_response'] = content
- if ('CREATE_COMPLETE' == stack_status):
- self.heatbridge_update(request, vimid, stack_id)
+ # if ('CREATE_COMPLETE' == stack_status):
+ # self.heatbridge_update(request, vimid, stack_id)
self._logger.info("RESP with data> result:%s" % resp_template)
return Response(data=resp_template, status=os_status)
@@ -246,10 +246,10 @@ class InfraWorkload(APIView):
v2_token_resp_json,
service_type, resource_uri,
None, "DELETE")
- if retcode == 0:
- stack_status = "DELETE_IN_PROCESS"
- # and update AAI inventory by heatbridge-delete
- self.heatbridge_delete(request, vimid, stack1['id'])
+ # if retcode == 0:
+ # stack_status = "DELETE_IN_PROCESS"
+ # # and update AAI inventory by heatbridge-delete
+ # self.heatbridge_delete(request, vimid, stack1['id'])
# stub response
resp_template = {