diff options
author | luxin <luxin7@huawei.com> | 2017-09-04 17:40:41 +0800 |
---|---|---|
committer | luxin <luxin7@huawei.com> | 2017-09-04 17:40:41 +0800 |
commit | d45def4032e4455b46093c3439e8e5c7af76ea76 (patch) | |
tree | 12aac69dbff1b8babc95fb960fee560f805dc3db /ResmanagementService/service/src/main | |
parent | 09687684134eedeae9563aeddc16c72f35589be7 (diff) |
Modify vfc url openoapi to api
Change-Id: Ibd24d6d4d3742121fbf6a76c9dec30dc9f14675e
Issue-Id:VFC-216
Signed-off-by: luxin <luxin7@huawei.com>
Diffstat (limited to 'ResmanagementService/service/src/main')
3 files changed, 12 insertions, 12 deletions
diff --git a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/constant/UrlConstant.java b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/constant/UrlConstant.java index 3abb3c4..68dc312 100644 --- a/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/constant/UrlConstant.java +++ b/ResmanagementService/service/src/main/java/org/onap/vfc/nfvo/resmanagement/common/constant/UrlConstant.java @@ -35,16 +35,16 @@ public class UrlConstant { /** * MSB register url. */ - public static final String REST_MSB_REGISTER = "/openoapi/microservices/v1/services"; + public static final String REST_MSB_REGISTER = "/api/microservices/v1/services"; - public static final String ESR_GET_VIM_URL = "/openoapi/extsys/v1/vims/%s"; + public static final String ESR_GET_VIM_URL = "/api/extsys/v1/vims/%s"; - public static final String ESR_GET_VIMS_URL = "/openoapi/extsys/v1/vims"; + public static final String ESR_GET_VIMS_URL = "/api/extsys/v1/vims"; /** * send resource info to monitor url */ - public static final String SEND_MSG_MONITOR = "/openoapi/umc/v1/resinfo"; + public static final String SEND_MSG_MONITOR = "/api/umc/v1/resinfo"; /** * networks url. @@ -149,32 +149,32 @@ public class UrlConstant { /** * getNetworkURL. */ - public static final String GET_NETWORK_URL = "/openoapi/multivim/v1/%s/%s/networks"; + public static final String GET_NETWORK_URL = "/api/multivim/v1/%s/%s/networks"; /** * getTenantURL. */ - public static final String GET_TENANT_URL = "/openoapi/multivim/v1/%s/tenants"; + public static final String GET_TENANT_URL = "/api/multivim/v1/%s/tenants"; /** * getHostURL. */ - public static final String GET_HOST_URL = "/openoapi/multivim/v1/%s/%s/hosts"; + public static final String GET_HOST_URL = "/api/multivim/v1/%s/%s/hosts"; /** * getHostDetailURL. */ - public static final String GET_HOSTDETAIL_URL = "/openoapi/multivim/v1/%s/%s/hosts/%s"; + public static final String GET_HOSTDETAIL_URL = "/api/multivim/v1/%s/%s/hosts/%s"; /** * getNetworkURL. */ - public static final String GET_PORT_URL = "/openoapi/multivim/v1/%s/%s/ports"; + public static final String GET_PORT_URL = "/api/multivim/v1/%s/%s/ports"; /** * getLimitsURL. */ - public static final String GET_LIMITS_URL = "/openoapi/multivim/v1/%s/%s/limits"; + public static final String GET_LIMITS_URL = "/api/multivim/v1/%s/%s/limits"; /** * template notify M url. diff --git a/ResmanagementService/service/src/main/resources/swagger.json b/ResmanagementService/service/src/main/resources/swagger.json index 6273c04..6a31591 100644 --- a/ResmanagementService/service/src/main/resources/swagger.json +++ b/ResmanagementService/service/src/main/resources/swagger.json @@ -10,7 +10,7 @@ "name": "Resource Management services" } ], - "basePath": "/openoapi/resmgr/v1", + "basePath": "/api/resmgr/v1", "paths": { "/limits": { "get": { diff --git a/ResmanagementService/service/src/main/webapp/WEB-INF/web.xml b/ResmanagementService/service/src/main/webapp/WEB-INF/web.xml index 5e7e6bd..eb4ff01 100644 --- a/ResmanagementService/service/src/main/webapp/WEB-INF/web.xml +++ b/ResmanagementService/service/src/main/webapp/WEB-INF/web.xml @@ -29,7 +29,7 @@ </servlet> <servlet-mapping> <servlet-name>CXFServlet</servlet-name> - <url-pattern>/openoapi/resmgr/*</url-pattern> + <url-pattern>/api/resmgr/*</url-pattern> </servlet-mapping> <context-param> |