summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/urls.py
diff options
context:
space:
mode:
authorYun Huang <yun.huang@windriver.com>2018-03-27 11:35:24 +0800
committerYun Huang <yun.huang@windriver.com>2018-03-27 11:35:24 +0800
commitd1ae1cdc93d35a66254f7e5403023cfb1efcbc11 (patch)
treed7b8e933042d82c0cb37f8ace1a27dcef54dd5f9 /windriver/titanium_cloud/urls.py
parent2a88867cff184409ff804d7369fe5690cd6b601b (diff)
Add event/alert check api for TC
Change-Id: I302b48882278746862917e79c39d635c9397ac52 Issue-ID: MULTICLOUD-204 Signed-off-by: Yun Huang <yun.huang@windriver.com>
Diffstat (limited to 'windriver/titanium_cloud/urls.py')
-rw-r--r--windriver/titanium_cloud/urls.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/windriver/titanium_cloud/urls.py b/windriver/titanium_cloud/urls.py
index 5b8521f9..a6fcdcfb 100644
--- a/windriver/titanium_cloud/urls.py
+++ b/windriver/titanium_cloud/urls.py
@@ -17,6 +17,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
+from titanium_cloud.resource.views import events
urlpatterns = [
url(r'^', include('titanium_cloud.swagger.urls')),
@@ -36,6 +37,9 @@ urlpatterns = [
# CapacityCheck
url(r'^api/multicloud-titanium_cloud/v0/(?P<vimid>[0-9a-zA-Z_-]+)/capacity_check/?$',
capacity.CapacityCheck.as_view()),
+ # events
+ url(r'^api/multicloud-titanium_cloud/v0/(?P<vimid>[0-9a-zA-Z_-]+)/events_check/?$',
+ events.EventsCheck.as_view()),
]