diff options
author | Bin Yang <bin.yang@windriver.com> | 2017-10-23 19:34:54 +0800 |
---|---|---|
committer | Bin Yang <bin.yang@windriver.com> | 2017-10-23 19:36:19 +0800 |
commit | d21c1fe9877aabf07a113f0f50c1b0a74dc04cd1 (patch) | |
tree | 5b4aedcac6b6ab3013e7e1d876ff58d159bdaaa0 | |
parent | 7898e7a0c1f2ef642d43b9c0b803ed3d3f3c9cd0 (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>
-rw-r--r-- | ocata/ocata/proxy/urls.py | 3 | ||||
-rw-r--r-- | windriver/titanium_cloud/proxy/urls.py | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ocata/ocata/proxy/urls.py b/ocata/ocata/proxy/urls.py index e59b2e06..34b84728 100644 --- a/ocata/ocata/proxy/urls.py +++ b/ocata/ocata/proxy/urls.py @@ -17,6 +17,7 @@ from rest_framework.urlpatterns import format_suffix_patterns from ocata.proxy.views import identityV3 from ocata.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()), ] 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()), ] |