diff options
author | Xiaohua Zhang <xiaohua.zhang@windriver.com> | 2018-08-27 08:16:42 +0000 |
---|---|---|
committer | Xiaohua Zhang <xiaohua.zhang@windriver.com> | 2018-08-27 08:16:42 +0000 |
commit | 805de22470e41705667d6df7a15c4fe7991b1063 (patch) | |
tree | dc590d6ed0d32160c9b514038cd2d788f089070d /windriver/titanium_cloud/urls.py | |
parent | 92e88758f73b99c8b817f318702d7b63e265a634 (diff) |
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 <xiaohua.zhang@windriver.com>
Diffstat (limited to 'windriver/titanium_cloud/urls.py')
-rw-r--r-- | windriver/titanium_cloud/urls.py | 3 |
1 files changed, 3 insertions, 0 deletions
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<cloud_owner>[0-9a-zA-Z_-]+)/(?P<cloud_region_id>[0-9a-zA-Z_-]+)/vesagent/?$', vesagent_ctrl.APIv1VesAgentCtrl.as_view()), + url(r'^api/multicloud-titanium_cloud/v1/(?P<cloud_owner>[0-9a-zA-Z_-]+)/(?P<cloud_region_id>[0-9a-zA-Z_-]+)/infra_workload/?$', + infra_workload.APIv1InfraWorkload.as_view()), ] |