Initial model changes and api changes for pci-opt
[optf/osdf.git] / osdf / __init__.py
index d0993ae..c33639e 100755 (executable)
@@ -1,5 +1,5 @@
 # -------------------------------------------------------------------------
-#   Copyright (c) 2015-2017 AT&T Intellectual Property
+#   Copyright (c) 2015-2018 AT&T Intellectual Property
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
@@ -24,6 +24,7 @@ from jinja2 import Template
 end_point_auth_mapping = {  # map a URL endpoint to auth group
     "cmscheduler": "CMScheduler",
     "placement": "Placement",
+    "pci": "PCIOpt"
 }
 
 userid_suffix, passwd_suffix = "Username", "Password"
@@ -40,6 +41,8 @@ ERROR_TEMPLATE = Template("""
 ACCEPTED_MESSAGE_TEMPLATE = Template("""
 {
    "requestId": "{{ request_id }}",
-   "text": "{{ description }}"
+   "transactionId": "{{ transaction_id }}",
+   "requestStatus": "{{ request_status }}",
+   "statusMessage": "{{ status_message }}"
 }
 """)