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/test | |
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/test')
2 files changed, 2 insertions, 2 deletions
diff --git a/ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/adapter/impl/ResmgrAdapter2MSBManagerTest.java b/ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/adapter/impl/ResmgrAdapter2MSBManagerTest.java index 0bcdb81..07b53a8 100644 --- a/ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/adapter/impl/ResmgrAdapter2MSBManagerTest.java +++ b/ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/adapter/impl/ResmgrAdapter2MSBManagerTest.java @@ -234,7 +234,7 @@ public class ResmgrAdapter2MSBManagerTest { private Map<String, String> getHashMap() { Map<String, String> paramsMap = new HashMap<>(); - paramsMap.put("url", "/openoapi/microservices/v1/services"); + paramsMap.put("url", "/api/microservices/v1/services"); paramsMap.put("methodType", "post"); return paramsMap; } diff --git a/ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/adapter/impl/ResmgrAdapterMgrServiceTest.java b/ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/adapter/impl/ResmgrAdapterMgrServiceTest.java index 24200e8..0d0e24e 100644 --- a/ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/adapter/impl/ResmgrAdapterMgrServiceTest.java +++ b/ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/service/adapter/impl/ResmgrAdapterMgrServiceTest.java @@ -40,7 +40,7 @@ public class ResmgrAdapterMgrServiceTest { @Mock public String readVimAdapterInfoFromJson() throws IOException { - return "{\"serviceName\": \"resmgr\",\"version\": \"v1\",\"url\": \"/openoapi/resmgr/v1\",\"protocol\": \"REST\",\"visualRange\": \"1\",\"nodes\": [{\"ip\": \"127.0.0.1\",\"port\": \"8080\",\"ttl\": 0}]}"; + return "{\"serviceName\": \"resmgr\",\"version\": \"v1\",\"url\": \"/api/resmgr/v1\",\"protocol\": \"REST\",\"visualRange\": \"1\",\"nodes\": [{\"ip\": \"127.0.0.1\",\"port\": \"8080\",\"ttl\": 0}]}"; } }; |