From 805de22470e41705667d6df7a15c4fe7991b1063 Mon Sep 17 00:00:00 2001 From: Xiaohua Zhang Date: Mon, 27 Aug 2018 08:16:42 +0000 Subject: Add API handler stub for infra_workload API handler stub for API infra_workload Change-Id: Icad08493fdcc12c1bc8225e0c81567d7d3c156be Issue-ID: MULTICLOUD-338 Signed-off-by: Xiaohua Zhang --- windriver/titanium_cloud/urls.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'windriver/titanium_cloud/urls.py') diff --git a/windriver/titanium_cloud/urls.py b/windriver/titanium_cloud/urls.py index d56be236..3be252a6 100644 --- a/windriver/titanium_cloud/urls.py +++ b/windriver/titanium_cloud/urls.py @@ -19,6 +19,7 @@ from newton_base.openoapi import tenants from titanium_cloud.resource.views import capacity from titanium_cloud.resource.views import events from titanium_cloud.vesagent import vesagent_ctrl +from titanium_cloud.resource.views import infra_workload urlpatterns = [ url(r'^', include('titanium_cloud.swagger.urls')), @@ -65,6 +66,8 @@ urlpatterns = [ # events.EventsCheck.as_view()), url(r'^api/multicloud-titanium_cloud/v1/(?P[0-9a-zA-Z_-]+)/(?P[0-9a-zA-Z_-]+)/vesagent/?$', vesagent_ctrl.APIv1VesAgentCtrl.as_view()), + url(r'^api/multicloud-titanium_cloud/v1/(?P[0-9a-zA-Z_-]+)/(?P[0-9a-zA-Z_-]+)/infra_workload/?$', + infra_workload.APIv1InfraWorkload.as_view()), ] -- cgit 1.2.3-korg