diff options
-rw-r--r-- | zte/vmanager/driver/pub/config/config.py | 4 | ||||
-rw-r--r-- | zte/vmanager/driver/swagger/swagger.json | 2 | ||||
-rw-r--r-- | zte/vmanager/driver/swagger/tests.py | 2 | ||||
-rw-r--r-- | zte/vmanager/driver/swagger/urls.py | 2 |
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()), ] |