diff options
author | Ankitkumar Patel <ankit@research.att.com> | 2018-03-27 15:02:46 -0400 |
---|---|---|
committer | Ankitkumar Patel <ankit@research.att.com> | 2018-03-27 15:16:29 -0400 |
commit | ca43ea7c87abbcaa71617de50598449ff5ff007c (patch) | |
tree | 072f8ed4673d14a042646107e564d0143902caf1 /osdf/optimizers/placementopt/conductor/conductor.py | |
parent | a775ec8b904a0ea7ed863726ffe7f7d9b363d47a (diff) |
Updated the conductor adaptor
Updated the conductor adaptor code.
Issue-ID: OPTFRA-207
Change-Id: I41bd6f2e39bc5ca6d2d27539772175363590416f
Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
Diffstat (limited to 'osdf/optimizers/placementopt/conductor/conductor.py')
-rw-r--r-- | osdf/optimizers/placementopt/conductor/conductor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/osdf/optimizers/placementopt/conductor/conductor.py b/osdf/optimizers/placementopt/conductor/conductor.py index 32a4728..dc67517 100644 --- a/osdf/optimizers/placementopt/conductor/conductor.py +++ b/osdf/optimizers/placementopt/conductor/conductor.py @@ -32,7 +32,7 @@ from osdf.utils.interfaces import RestClient from osdf.operation.exceptions import BusinessException -def request(req_object, osdf_config, grouped_policies, prov_status): +def request(req_object, osdf_config, grouped_policies): """ Process a placement request from a Client (build Conductor API call, make the call, return result) :param req_object: Request parameters from the client @@ -53,7 +53,7 @@ def request(req_object, osdf_config, grouped_policies, prov_status): ping_wait_time = config.get('conductorPingWaitTime', 60) rc = RestClient(userid=uid, passwd=passwd, method="GET", log_func=debug_log.debug, headers=headers) - conductor_req_json_str = conductor_api_builder(req_object, grouped_policies, local_config, prov_status) + conductor_req_json_str = conductor_api_builder(req_object, grouped_policies, local_config) conductor_req_json = json.loads(conductor_req_json_str) debug_log.debug("Sending first Conductor request for request_id {}".format(req_id)) |