diff options
author | Murali-P <murali.p@huawei.com> | 2018-04-26 15:47:55 +0530 |
---|---|---|
committer | Murali-P <murali.p@huawei.com> | 2018-04-26 15:47:55 +0530 |
commit | 468e19a2d588af69bb98d2af57801dafd962ed25 (patch) | |
tree | 3ac8a7a9e1b385bf41630f91ed96901e0955422a | |
parent | df1c9127ffbbd85c5df00552ddfbe5dd1e32ba58 (diff) |
Remove hostIP and port from baseURL
Swagger UI and Swagger docs
Issue-ID: VNFSDK-157
Change-Id: I35bb4fe7e97dca9f26098c85aac1f1196a3f70f7
Signed-off-by: Murali-P <murali.p@huawei.com>
-rw-r--r-- | vnfmarket-be/vnf-sdk-marketplace/src/main/webapp/WEB-INF/web.xml | 2 | ||||
-rw-r--r-- | vnfmarket-be/vnf-sdk-marketplace/src/main/webapp/apidocs/index.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vnfmarket-be/vnf-sdk-marketplace/src/main/webapp/WEB-INF/web.xml b/vnfmarket-be/vnf-sdk-marketplace/src/main/webapp/WEB-INF/web.xml index cf229269..e9ab3ca3 100644 --- a/vnfmarket-be/vnf-sdk-marketplace/src/main/webapp/WEB-INF/web.xml +++ b/vnfmarket-be/vnf-sdk-marketplace/src/main/webapp/WEB-INF/web.xml @@ -33,7 +33,7 @@ </init-param> <init-param> <param-name>swagger.api.basepath</param-name> - <param-value>http://localhost:8702//onapapi/vnfsdk-marketplace/v1</param-value> + <param-value>/onapapi/vnfsdk-marketplace/v1</param-value> </init-param> <load-on-startup>2</load-on-startup> </servlet> diff --git a/vnfmarket-be/vnf-sdk-marketplace/src/main/webapp/apidocs/index.html b/vnfmarket-be/vnf-sdk-marketplace/src/main/webapp/apidocs/index.html index 47f9c8ac..d6005ca1 100644 --- a/vnfmarket-be/vnf-sdk-marketplace/src/main/webapp/apidocs/index.html +++ b/vnfmarket-be/vnf-sdk-marketplace/src/main/webapp/apidocs/index.html @@ -41,7 +41,7 @@ // Build a system const ui = SwaggerUIBundle({ - url: "http://localhost:8702/onapapi/vnfsdk-marketplace/v1/swagger.json", + url: "/onapapi/vnfsdk-marketplace/v1/swagger.json", dom_id: '#swagger-ui', deepLinking: true, presets: [ |