diff options
author | 2017-09-30 10:36:04 +0800 | |
---|---|---|
committer | 2017-09-30 10:36:04 +0800 | |
commit | 468a6e2e958b7e221d5036d72a4b920dbc2db30d (patch) | |
tree | ace37d3d42978253b88cea386c4d65bca57bdc6a | |
parent | efe189710967bf5b7bcf8158c2de82ad9c9f0d0e (diff) |
Fix vfc-nfvo-catalog service name and url
Change-Id: I722523f08dc77621891d4a0ed104f4e006663fc1
Issue-ID: VFC-489
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
-rw-r--r-- | catalog/pub/config/config.py | 4 | ||||
-rw-r--r-- | catalog/samples/urls.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/catalog/pub/config/config.py b/catalog/pub/config/config.py index b89620d6..1f4f32f1 100644 --- a/catalog/pub/config/config.py +++ b/catalog/pub/config/config.py @@ -32,9 +32,9 @@ DB_PASSWD = "nfvocatalog" REG_TO_MSB_WHEN_START = True REG_TO_MSB_REG_URL = "/api/microservices/v1/services" REG_TO_MSB_REG_PARAM = { - "serviceName": "nfvocatalog", + "serviceName": "catalog", "version": "v1", - "url": "/api/nfvocatalog/v1", + "url": "/api/catalog/v1", "protocol": "REST", "visualRange": "1", "nodes": [{ diff --git a/catalog/samples/urls.py b/catalog/samples/urls.py index 7d65b36c..9ab008a0 100644 --- a/catalog/samples/urls.py +++ b/catalog/samples/urls.py @@ -16,5 +16,5 @@ from django.conf.urls import url from catalog.samples import views urlpatterns = [ - url(r'^api/nfvocatalog/v1/mandb/(?P<modelName>[a-zA-Z\-]+)$', views.TablesList.as_view()), + url(r'^api/catalog/v1/mandb/(?P<modelName>[a-zA-Z\-]+)$', views.TablesList.as_view()), url(r'^samples/$', views.SampleList.as_view()), ] |