summaryrefslogtreecommitdiffstats
path: root/windriver
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2018-08-14 08:50:33 +0000
committerBin Yang <bin.yang@windriver.com>2018-08-14 08:50:33 +0000
commit39d394d0a5c02fbe122f0b78f4a5a47bf5ec4bae (patch)
tree19dd713f9fc861125efc5fe6bc4f504ac08523fb /windriver
parent375fa747adf4096042c9f606d2bb21e0e8165570 (diff)
API upgrading for dnsaas
Change-Id: I328f8838b96013d5738354f751f5668f2136b1dc Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'windriver')
-rw-r--r--windriver/titanium_cloud/proxy/urlsV1.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/windriver/titanium_cloud/proxy/urlsV1.py b/windriver/titanium_cloud/proxy/urlsV1.py
index 4b23fa7a..757ddf7e 100644
--- a/windriver/titanium_cloud/proxy/urlsV1.py
+++ b/windriver/titanium_cloud/proxy/urlsV1.py
@@ -17,11 +17,9 @@ from rest_framework.urlpatterns import format_suffix_patterns
from titanium_cloud.proxy.views import identityV3
from titanium_cloud.proxy.views import services
-#from newton_base.proxy import dnsaasdelegate
+from newton_base.proxy import dnsaasdelegate
urlpatterns = [
- # url(r'^identity/v2)$',
- # identityV2.Tokens.as_view()),
url(r'^identity/v3/auth/tokens/?$',
identityV3.APIv1Tokens.as_view()),
url(r'^identity/v3/?$',
@@ -32,8 +30,8 @@ urlpatterns = [
identityV3.APIv1TokensV2.as_view()),
url(r'^identity/v2.0/tenants/?$',
services.APIv1GetTenants.as_view()),
-# url(r'dns-delegate/(?P<requri>[0-9a-zA-Z./_-]*)$',
-# dnsaasdelegate.APIv1DnsaasDelegate.as_view()),
+ url(r'dns-delegate/(?P<requri>[0-9a-zA-Z./_-]*)$',
+ dnsaasdelegate.APIv1DnsaasDelegate.as_view()),
url(r'^(?P<servicetype>[0-9a-zA-Z_-]{,18})/(?P<requri>[0-9a-zA-Z./_-]*)$',
services.APIv1Services.as_view()),
]