From 98bf3833b9424314fa07a787cd572ba59617b3b5 Mon Sep 17 00:00:00 2001 From: Huang Haibin Date: Thu, 16 Aug 2018 14:27:35 +0800 Subject: API upgradeing for ocata Change-Id: I23d4bad7429ff367128c39bd41f9bad81e426349 Issue-ID: MULTICLOUD-297 Signed-off-by: Huang Haibin --- ocata/ocata/urls.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ocata/ocata/urls.py') diff --git a/ocata/ocata/urls.py b/ocata/ocata/urls.py index bcac8669..525650df 100644 --- a/ocata/ocata/urls.py +++ b/ocata/ocata/urls.py @@ -44,6 +44,14 @@ urlpatterns = [ url(r'^api/multicloud-ocata/v0/(?P[0-9a-zA-Z_-]+)/vesagent/?$', vesagent_ctrl.VesAgentCtrl.as_view()), + # API upgrading + url(r'^api/multicloud-ocata/v1/(?P[0-9a-zA-Z_-]+)/registry$', + registration.RegistryV1.as_view()), + url(r'^api/multicloud-ocata/v1/(?P[0-9a-zA-Z_-]+)$', + registration.RegistryV1.as_view()), + url(r'^api/multicloud-ocata/v1/(?P[0-9a-zA-Z_-]+)/exten', + include('ocata.extensions.urlsV1')), + ] -- cgit 1.2.3-korg