diff options
author | Dileep Ranganathan <dileep.ranganathan@intel.com> | 2018-09-26 16:54:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-09-26 16:54:02 +0000 |
commit | e93d457429f0cb5eb01c5a5ec78c912c1e911a9a (patch) | |
tree | d31b6adf1e3c34e69145d1246b4396aa43cd9d58 /osdfapp.py | |
parent | ab35ab7d3c95b8c54ae443085277519388cef384 (diff) | |
parent | e7199cef05b7bad04f3ec2b7815423d5d07aa642 (diff) |
Merge "Disabling policy retrieval for pci opt"
Diffstat (limited to 'osdfapp.py')
-rwxr-xr-x | osdfapp.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -155,15 +155,17 @@ def do_pci_optimization(): g.request_id = req_id audit_log.info(MH.received_request(request.url, request.remote_addr, json.dumps(request_json))) PCIOptimizationAPI(request_json).validate() - policies = get_policies(request_json, "pciopt") + #disable policy retrieval + # policies = get_policies(request_json, "pciopt") audit_log.info(MH.new_worker_thread(req_id, "[for pciopt]")) - t = Thread(target=process_pci_optimation, args=(request_json, policies, osdf_config)) + t = Thread(target=process_pci_optimation, args=(request_json, osdf_config, None)) t.start() audit_log.info(MH.accepted_valid_request(req_id, request)) return req_accept(request_id=req_id, transaction_id=request_json['requestInfo']['transactionId'], request_status="accepted", status_message="") + @app.errorhandler(500) def internal_failure(error): """Returned when unexpected coding errors occur during initial synchronous processing""" |