diff options
author | krishnaa96 <krishna.moorthy6@wipro.com> | 2021-04-08 14:14:48 +0530 |
---|---|---|
committer | krishnaa96 <krishna.moorthy6@wipro.com> | 2021-04-08 14:14:48 +0530 |
commit | 7ef613de6d9cd794fd10ae43d98ffa9312418e68 (patch) | |
tree | 7fb698b06166d0227b6dc8c04347df4c5a11ed18 /apps/nxi_termination/optimizers/response_processor.py | |
parent | aafb48a95fe5ace431ebe607cab660fddde8c2cc (diff) |
Update AAI query to DSL query - Slice termination
Issue-ID: OPTFRA-936
Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com>
Change-Id: I7a2bba7d23645c8bff9f503361a93fd3ac3ebc3a
Diffstat (limited to 'apps/nxi_termination/optimizers/response_processor.py')
-rw-r--r-- | apps/nxi_termination/optimizers/response_processor.py | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/apps/nxi_termination/optimizers/response_processor.py b/apps/nxi_termination/optimizers/response_processor.py index e7f1041..3ea35c0 100644 --- a/apps/nxi_termination/optimizers/response_processor.py +++ b/apps/nxi_termination/optimizers/response_processor.py @@ -16,6 +16,7 @@ # ------------------------------------------------------------------------- # + def get_nxi_termination_response(request_info, response): """Get NXI termination response from final solution @@ -29,17 +30,3 @@ def get_nxi_termination_response(request_info, response): 'requestStatus': response["requestStatus"], 'terminateResponse': response["terminateResponse"], 'reason': response['reason']} - - -def get_nxi_termination_failure_response(request_info, response): - - """Get NXI termination response from final solution - - :param request_info: request info - :param response: response to be send - :return: NxI Termination response to send back as dictionary - """ - return {'requestId': request_info['requestId'], - 'transactionId': request_info['transactionId'], - 'requestStatus': response["requestStatus"], - 'reason': response['reason']} |