summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/proxy/urls.py
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2017-10-23 19:34:54 +0800
committerBin Yang <bin.yang@windriver.com>2017-10-23 19:36:19 +0800
commitd21c1fe9877aabf07a113f0f50c1b0a74dc04cd1 (patch)
tree5b4aedcac6b6ab3013e7e1d876ff58d159bdaaa0 /windriver/titanium_cloud/proxy/urls.py
parent7898e7a0c1f2ef642d43b9c0b803ed3d3f3c9cd0 (diff)
Add DNSaaS delegate
for ocata and windriver plugins Change-Id: I3f06c85a98347153b7a8acb6347805025359cfb0 Issue-Id: MULTICLOUD-106 Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'windriver/titanium_cloud/proxy/urls.py')
-rw-r--r--windriver/titanium_cloud/proxy/urls.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/windriver/titanium_cloud/proxy/urls.py b/windriver/titanium_cloud/proxy/urls.py
index 73cd428e..eaa5600f 100644
--- a/windriver/titanium_cloud/proxy/urls.py
+++ b/windriver/titanium_cloud/proxy/urls.py
@@ -17,6 +17,7 @@ from rest_framework.urlpatterns import format_suffix_patterns
from titanium_cloud.proxy.views import identityV3
from titanium_cloud.proxy.views import services
+from newton.proxy.views import dnsaasdelegate
urlpatterns = [
# url(r'^identity/v2)$',
@@ -29,6 +30,8 @@ urlpatterns = [
identityV3.TokensV2.as_view()),
url(r'^identity/v2.0/tenants/?$',
services.GetTenants.as_view()),
+ url(r'dns-delegate/(?P<requri>[0-9a-zA-Z./_-]*)$',
+ dnsaasdelegate.DnsaasDelegate.as_view()),
url(r'^(?P<servicetype>[0-9a-zA-Z_-]{,18})/(?P<requri>[0-9a-zA-Z./_-]*)$',
services.Services.as_view()),
]