diff options
author | ying.yunlong <ying.yunlong@zte.com.cn> | 2017-11-23 15:33:17 +0800 |
---|---|---|
committer | ying.yunlong <ying.yunlong@zte.com.cn> | 2017-11-23 15:33:17 +0800 |
commit | e032ec712973945147d7de481453dcb4d43a5237 (patch) | |
tree | e7cd11f82354aa03549cca8e41daaa146051a4d8 /lcm | |
parent | 8caba28ed1db2c346185b2e7549cb4eb8be0778e (diff) |
Fix vfc-vnflcm swagger bug
Change-Id: I46b5728ba8f0cab239c8d0a2a9bfc19d0e548f03
Issue-ID: VFC-589
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'lcm')
-rw-r--r-- | lcm/lcm/samples/urls.py | 2 | ||||
-rw-r--r-- | lcm/lcm/swagger/swagger.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lcm/lcm/samples/urls.py b/lcm/lcm/samples/urls.py index 2e163274..0756d137 100644 --- a/lcm/lcm/samples/urls.py +++ b/lcm/lcm/samples/urls.py @@ -16,5 +16,5 @@ from django.conf.urls import url from lcm.samples import views urlpatterns = [ - url(r'^api/vnflcm/v1/resources/(?P<action_type>[inst|term]+)$', views.ResourceList.as_view()), + url(r'^api/vnflcm/v1/resources/(?P<action_type>(inst|term)+)$', views.ResourceList.as_view()), url(r'^samples/$', views.SampleList.as_view()), ] diff --git a/lcm/lcm/swagger/swagger.json b/lcm/lcm/swagger/swagger.json index a15556dc..f098d282 100644 --- a/lcm/lcm/swagger/swagger.json +++ b/lcm/lcm/swagger/swagger.json @@ -4,7 +4,7 @@ "version": "1.0.0", "title": "VNF Manager LCM Service rest API" }, - "basePath": "/gvnfmapi/lcm/v1", + "basePath": "/api/vnflcm/v1", "tags": [ { "name": "lcm Resource" |