diff options
Diffstat (limited to 'windriver/titanium_cloud/urls.py')
-rw-r--r-- | windriver/titanium_cloud/urls.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/windriver/titanium_cloud/urls.py b/windriver/titanium_cloud/urls.py index 10e24268..5b8521f9 100644 --- a/windriver/titanium_cloud/urls.py +++ b/windriver/titanium_cloud/urls.py @@ -16,6 +16,7 @@ from django.conf.urls import include, url from titanium_cloud.registration.views import registration from newton_base.openoapi import tenants +from titanium_cloud.resource.views import capacity urlpatterns = [ url(r'^', include('titanium_cloud.swagger.urls')), @@ -32,6 +33,9 @@ urlpatterns = [ tenants.Tenants.as_view()), url(r'^api/multicloud-titanium_cloud/v0/(?P<vimid>[0-9a-zA-Z_-]+)/' '(?P<tenantid>[0-9a-zA-Z_-]{20,})/', include('titanium_cloud.requests.urls')), + # CapacityCheck + url(r'^api/multicloud-titanium_cloud/v0/(?P<vimid>[0-9a-zA-Z_-]+)/capacity_check/?$', + capacity.CapacityCheck.as_view()), ] |