summaryrefslogtreecommitdiffstats
path: root/holmes-actions/src
diff options
context:
space:
mode:
authorGuangrong Fu <fu.guangrong@zte.com.cn>2017-09-06 20:17:13 +0800
committerGuangrong Fu <fu.guangrong@zte.com.cn>2017-09-06 20:17:13 +0800
commit24c65df2bbe1f244b5f13b39243c25ad95c6635b (patch)
tree2adf197404aecaf6d541441d3f9d5b4828945218 /holmes-actions/src
parent3d9201cd04d80d99d6a79dc471a43a4ac6299166 (diff)
Change the API Path
Change the url from onapapi to api Change-Id: I0e62ddecb561c810a0a29d09abf893f33261be77 Issue-ID: HOLMES-39 Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'holmes-actions/src')
-rw-r--r--holmes-actions/src/main/java/org/onap/holmes/common/constant/AlarmConst.java2
-rw-r--r--holmes-actions/src/main/java/org/onap/holmes/common/msb/MicroserviceBusRest.java2
-rw-r--r--holmes-actions/src/test/java/org/onap/holmes/common/utils/MSBRegisterUtilTest.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/holmes-actions/src/main/java/org/onap/holmes/common/constant/AlarmConst.java b/holmes-actions/src/main/java/org/onap/holmes/common/constant/AlarmConst.java
index e9e5361..690cde6 100644
--- a/holmes-actions/src/main/java/org/onap/holmes/common/constant/AlarmConst.java
+++ b/holmes-actions/src/main/java/org/onap/holmes/common/constant/AlarmConst.java
@@ -21,7 +21,7 @@ public interface AlarmConst {
String MQ_TOPIC_NAME_ALARM = "topic://voss/fm/alarm";
- String NFVO_PATH = "/onapapi/umc/v1/fm/curalarms/findAll";
+ String NFVO_PATH = "/api/umc/v1/fm/curalarms/findAll";
int NFVO_STATUS_OK = 200;
diff --git a/holmes-actions/src/main/java/org/onap/holmes/common/msb/MicroserviceBusRest.java b/holmes-actions/src/main/java/org/onap/holmes/common/msb/MicroserviceBusRest.java
index 10ecda3..06b91e5 100644
--- a/holmes-actions/src/main/java/org/onap/holmes/common/msb/MicroserviceBusRest.java
+++ b/holmes-actions/src/main/java/org/onap/holmes/common/msb/MicroserviceBusRest.java
@@ -24,7 +24,7 @@ import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;
import org.onap.holmes.common.api.entity.ServiceRegisterEntity;
-@Path("/onapapi/microservices/v1/services")
+@Path("/api/microservices/v1/services")
public interface MicroserviceBusRest {
@Path("")
diff --git a/holmes-actions/src/test/java/org/onap/holmes/common/utils/MSBRegisterUtilTest.java b/holmes-actions/src/test/java/org/onap/holmes/common/utils/MSBRegisterUtilTest.java
index a38c26e..72d9a61 100644
--- a/holmes-actions/src/test/java/org/onap/holmes/common/utils/MSBRegisterUtilTest.java
+++ b/holmes-actions/src/test/java/org/onap/holmes/common/utils/MSBRegisterUtilTest.java
@@ -55,7 +55,7 @@ public class MSBRegisterUtilTest {
serviceRegisterEntity.setServiceName("holmes-rule-mgmt");
serviceRegisterEntity.setProtocol("REST");
serviceRegisterEntity.setVersion("v1");
- serviceRegisterEntity.setUrl("/onapapi/holmes-rule-mgmt/v1");
+ serviceRegisterEntity.setUrl("/api/holmes-rule-mgmt/v1");
serviceRegisterEntity.setSingleNode(MicroServiceConfig.getServiceIp(), "9101", 0);
serviceRegisterEntity.setVisualRange("1|0");
return serviceRegisterEntity;