summaryrefslogtreecommitdiffstats
path: root/newton/newton/proxy/urls.py
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2017-10-23 17:33:20 +0800
committerBin Yang <bin.yang@windriver.com>2017-10-23 17:33:20 +0800
commitd0fcc2312d1f54bed254f186a0baef522e420f63 (patch)
tree7487d11066c8835492fe091f72393b2f93f599c2 /newton/newton/proxy/urls.py
parenta278a76179ff06861df81643ef1cf4fc6e3ef3ea (diff)
Add DNSaaS delegate service
Change-Id: Ifec8958a07a30b58602e242c1769ba4ece5677cd Issue-Id: MULTICLOUD-106 Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'newton/newton/proxy/urls.py')
-rw-r--r--newton/newton/proxy/urls.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/newton/newton/proxy/urls.py b/newton/newton/proxy/urls.py
index 556cc4e6..0e0ca52a 100644
--- a/newton/newton/proxy/urls.py
+++ b/newton/newton/proxy/urls.py
@@ -17,6 +17,7 @@ from rest_framework.urlpatterns import format_suffix_patterns
from newton.proxy.views import identityV3
from newton.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()),
]