summaryrefslogtreecommitdiffstats
path: root/zte
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-12-01 16:14:23 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2017-12-01 16:14:23 +0800
commit557412b9939bd45f09b951fa08c772ea9280c337 (patch)
tree1401b389af82e64ce8d3ea4a844347a474031efb /zte
parent6fd09a47ab75b0f8177db35c9ded5aefb85e0aa8 (diff)
Modify vfc-ztevnfmdriver service name
Change-Id: I9fd47d89f56867b2cebe84424072581b837d60eb Issue-ID: VFC-602 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'zte')
-rw-r--r--zte/vmanager/driver/pub/config/config.py4
-rw-r--r--zte/vmanager/driver/swagger/swagger.json2
-rw-r--r--zte/vmanager/driver/swagger/tests.py2
-rw-r--r--zte/vmanager/driver/swagger/urls.py2
4 files changed, 5 insertions, 5 deletions
diff --git a/zte/vmanager/driver/pub/config/config.py b/zte/vmanager/driver/pub/config/config.py
index 3ccdde3d..925f280d 100644
--- a/zte/vmanager/driver/pub/config/config.py
+++ b/zte/vmanager/driver/pub/config/config.py
@@ -23,9 +23,9 @@ MSB_SERVICE_PORT = '80'
REG_TO_MSB_WHEN_START = True
REG_TO_MSB_REG_URL = "/api/microservices/v1/services"
REG_TO_MSB_REG_PARAM = {
- "serviceName": "ztevmanagerdriver",
+ "serviceName": "ztevnfmdriver",
"version": "v1",
- "url": "/api/ztevmanagerdriver/v1",
+ "url": "/api/ztevnfmdriver/v1",
"protocol": "REST",
"visualRange": "1",
"nodes": [{
diff --git a/zte/vmanager/driver/swagger/swagger.json b/zte/vmanager/driver/swagger/swagger.json
index 96d1399f..0378e6ec 100644
--- a/zte/vmanager/driver/swagger/swagger.json
+++ b/zte/vmanager/driver/swagger/swagger.json
@@ -7,7 +7,7 @@
"basePath": "/api/{vnfmtype}/v1",
"tags": [
{
- "name": "ztevmanagerdriver"
+ "name": "ztevnfmdriver"
}
],
"paths": {
diff --git a/zte/vmanager/driver/swagger/tests.py b/zte/vmanager/driver/swagger/tests.py
index 157b92a2..981329a7 100644
--- a/zte/vmanager/driver/swagger/tests.py
+++ b/zte/vmanager/driver/swagger/tests.py
@@ -26,5 +26,5 @@ class SwaggerViewTest(unittest.TestCase):
pass
def test_sample(self):
- response = self.client.get("/api/ztevmanagerdriver/v1/swagger.json")
+ response = self.client.get("/api/ztevnfmdriver/v1/swagger.json")
self.assertEqual(status.HTTP_200_OK, response.status_code, response.content)
diff --git a/zte/vmanager/driver/swagger/urls.py b/zte/vmanager/driver/swagger/urls.py
index 8e4a2e1d..d2ee8110 100644
--- a/zte/vmanager/driver/swagger/urls.py
+++ b/zte/vmanager/driver/swagger/urls.py
@@ -16,5 +16,5 @@ from django.conf.urls import url
from driver.swagger import views
urlpatterns = [
- url(r'^api/ztevmanagerdriver/v1/swagger.json$', views.SwaggerView.as_view()),
+ url(r'^api/ztevnfmdriver/v1/swagger.json$', views.SwaggerView.as_view()),
]