# -------------------------------------------------------------------------
-# 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.
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"
ACCEPTED_MESSAGE_TEMPLATE = Template("""
{
"requestId": "{{ request_id }}",
- "text": "{{ description }}"
+ "transactionId": "{{ transaction_id }}",
+ "requestStatus": "{{ request_status }}",
+ "statusMessage": "{{ status_message }}"
}
""")