update link to upper-constraints.txt
[optf/osdf.git] / osdf / __init__.py
index 6529b0a..8036d89 100755 (executable)
 
 from jinja2 import Template
 
-
 end_point_auth_mapping = {  # map a URL endpoint to auth group
     "cmscheduler": "CMScheduler",
     "placement": "Placement",
+    "pci": "PCIOpt",
+    "optmodel": "OptEngine",
+    "optengine": "OptEngine"
 }
 
 userid_suffix, passwd_suffix = "Username", "Password"
@@ -40,6 +42,8 @@ ERROR_TEMPLATE = Template("""
 ACCEPTED_MESSAGE_TEMPLATE = Template("""
 {
    "requestId": "{{ request_id }}",
-   "text": "{{ description }}"
+   "transactionId": "{{ transaction_id }}",
+   "requestStatus": "{{ request_status }}",
+   "statusMessage": "{{ status_message }}"
 }
 """)