diff options
author | 2018-10-15 14:57:41 +0800 | |
---|---|---|
committer | 2018-10-15 14:57:41 +0800 | |
commit | 92838242c410e81a1beb6256169eeae7769dc94b (patch) | |
tree | 4a54ca8f6a417b1eab7c8ef1835ae5627fd914f5 /pike/pike/urls.py | |
parent | 2b7e513a3f2b3cf1b55d18ad4a1e0298b7edfa97 (diff) |
Upgrade requests v1 for pike
Change-Id: Ifc8f3a1f831b8fac3b1fbc7ae3c8d427c266e056
Issue-ID: MULTICLOUD-377
Signed-off-by: Huang Haibin <haibin.huang@intel.com>
Diffstat (limited to 'pike/pike/urls.py')
-rw-r--r-- | pike/pike/urls.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pike/pike/urls.py b/pike/pike/urls.py index fb166071..f6b57fa4 100644 --- a/pike/pike/urls.py +++ b/pike/pike/urls.py @@ -46,6 +46,8 @@ urlpatterns = [ include('pike.proxy.urlsV1')), url(r'^api/multicloud-pike/v1/(?P<cloud_owner>[0-9a-zA-Z_-]+)/(?P<cloud_region_id>[0-9a-zA-Z_-]+)/tenants/?$', tenants.APIv1Tenants.as_view()), + url(r'^api/multicloud-pike/v1/(?P<cloud_owner>[0-9a-zA-Z_-]+)/(?P<cloud_region_id>[0-9a-zA-Z_-]+)/' + '(?P<tenantid>[0-9a-zA-Z_-]{20,})/', include('pike.requests.urlsV1')), url(r'^api/multicloud-pike/v1/(?P<cloud_owner>[0-9a-zA-Z_-]+)/(?P<cloud_region_id>[0-9a-zA-Z_-]+)/infra_workload/?$', infra_workload.APIv1InfraWorkload.as_view()), |