summaryrefslogtreecommitdiffstats
path: root/ocata
diff options
context:
space:
mode:
Diffstat (limited to 'ocata')
-rw-r--r--ocata/ocata/proxy/urls.py2
-rw-r--r--ocata/ocata/swagger/views.py2
-rw-r--r--ocata/ocata/urls.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/ocata/ocata/proxy/urls.py b/ocata/ocata/proxy/urls.py
index e32702f5..6f41d080 100644
--- a/ocata/ocata/proxy/urls.py
+++ b/ocata/ocata/proxy/urls.py
@@ -25,7 +25,7 @@ urlpatterns = [
identityV3.Tokens.as_view()),
url(r'^identity/(?:v2.0/|)tenants$',
services.GetTenants.as_view()),
- url(r'^(?P<servicetype>[0-9a-zA-Z_-]+)/(?P<requri>[0-9a-zA-Z./_-]*)$',
+ url(r'^(?P<servicetype>[0-9a-zA-Z_-]{,18})/(?P<requri>[0-9a-zA-Z./_-]*)$',
services.Services.as_view()),
]
diff --git a/ocata/ocata/swagger/views.py b/ocata/ocata/swagger/views.py
index e2f97e73..fbcac6e5 100644
--- a/ocata/ocata/swagger/views.py
+++ b/ocata/ocata/swagger/views.py
@@ -37,7 +37,7 @@ class SwaggerJsonView(newton_json_view.SwaggerJsonView):
json_data = resp.data if resp else None
if json_data:
json_data["basePath"] = "/api/multicloud-ocata/v0/"
- json_data["info"]["title"] = "Service NBI of MultiCloud plugin for OpenStack Newton"
+ json_data["info"]["title"] = "Service NBI of MultiCloud plugin for OpenStack Ocata"
return Response(data=json_data, status=200)
else:
return Response(data={'error':'internal error'}, status=500)
diff --git a/ocata/ocata/urls.py b/ocata/ocata/urls.py
index cc553ed6..f15790f5 100644
--- a/ocata/ocata/urls.py
+++ b/ocata/ocata/urls.py
@@ -28,7 +28,7 @@ urlpatterns = [
url(r'^api/multicloud-ocata/v0/(?P<vimid>[0-9a-zA-Z_-]+)/tenants$',
tenants.Tenants.as_view()),
url(r'^api/multicloud-ocata/v0/(?P<vimid>[0-9a-zA-Z_-]+)/'
- '(?P<tenantid>[0-9a-zA-Z_-]{8,})/', include('ocata.requests.urls')),
+ '(?P<tenantid>[0-9a-zA-Z_-]{20,})/', include('ocata.requests.urls')),
]