diff options
Diffstat (limited to 'newton/newton/urls.py')
-rw-r--r-- | newton/newton/urls.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newton/newton/urls.py b/newton/newton/urls.py index ab09346d..53796539 100644 --- a/newton/newton/urls.py +++ b/newton/newton/urls.py @@ -17,6 +17,7 @@ from django.conf.urls import include, url from newton.registration.views import registration from newton_base.openoapi import tenants from newton.resource.views import capacity +from newton.resource.views import events urlpatterns = [ url(r'^', include('newton.swagger.urls')), @@ -36,6 +37,9 @@ urlpatterns = [ # CapacityCheck url(r'^api/multicloud-newton/v0/(?P<vimid>[0-9a-zA-Z_-]+)/capacity_check/?$', capacity.CapacityCheck.as_view()), + # events + url(r'^api/multicloud-newton/v0/(?P<vimid>[0-9a-zA-Z_-]+)/events_check/?$', + events.EventsCheck.as_view()), ] |