summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/urls.py
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2018-08-14 07:59:14 +0000
committerBin Yang <bin.yang@windriver.com>2018-08-14 07:59:14 +0000
commit8fc0a0bea90005c598bd5d60db2c9fc03362072b (patch)
treedc71311f51c2b265fed700af25e515423a28d199 /windriver/titanium_cloud/urls.py
parent2e99e50a4e623f9b1c95f13ae68e3a4deee42cb2 (diff)
API upgrade for registry
Change-Id: I25fd280332cfc772fa100b7b768e3a5056457f87 Issue-ID: MULTICLOUD-297 Signed-off-by: Bin Yang <bin.yang@windriver.com>
Diffstat (limited to 'windriver/titanium_cloud/urls.py')
-rw-r--r--windriver/titanium_cloud/urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/windriver/titanium_cloud/urls.py b/windriver/titanium_cloud/urls.py
index f1ee90a5..cecfcbd0 100644
--- a/windriver/titanium_cloud/urls.py
+++ b/windriver/titanium_cloud/urls.py
@@ -45,8 +45,8 @@ urlpatterns = [
vesagent_ctrl.VesAgentCtrl.as_view()),
#API upgrading
-# url(r'^api/multicloud-titanium_cloud/v1/(?P<cloud_owner>[0-9a-zA-Z_-]+)/(?P<cloud_region_id>[0-9a-zA-Z_-]+)/registry/?$',
-# registration.Registry.as_view()),
+ url(r'^api/multicloud-titanium_cloud/v1/(?P<cloud_owner>[0-9a-zA-Z_-]+)/(?P<cloud_region_id>[0-9a-zA-Z_-]+)/registry/?$',
+ registration.RegistryV1.as_view()),
# url(r'^api/multicloud-titanium_cloud/v1/(?P<cloud_owner>[0-9a-zA-Z_-]+)/(?P<cloud_region_id>[0-9a-zA-Z_-]+)/?$',
# registration.Registry.as_view()),
# url(r'^api/multicloud-titanium_cloud/v1/(?P<cloud_owner>[0-9a-zA-Z_-]+)/(?P<cloud_region_id>[0-9a-zA-Z_-]+)/exten',