aboutsummaryrefslogtreecommitdiffstats
path: root/osdfapp.py
diff options
context:
space:
mode:
Diffstat (limited to 'osdfapp.py')
-rwxr-xr-xosdfapp.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/osdfapp.py b/osdfapp.py
index 047ef63..62062fc 100755
--- a/osdfapp.py
+++ b/osdfapp.py
@@ -116,8 +116,10 @@ def do_placement_opt():
t = Thread(target=process_placement_opt, args=(request_json, policies, osdf_config))
t.start()
audit_log.info(MH.accepted_valid_request(req_id, request))
- return osdf.operation.responses.osdf_response_for_request_accept(
- req_id=req_id, text="Accepted placement request. Response will be posted to callback URL")
+ return osdf.operation.responses.osdf_response_for_request_accept(request_id=req_id,
+ transaction_id=request_json['transactionId'],
+ request_status="accepted",
+ status_message="")
@app.errorhandler(500)