From a07e2612edf2b7f52a30151886a580cbea49ee52 Mon Sep 17 00:00:00 2001 From: youbowu Date: Sat, 11 Mar 2017 11:59:58 +0800 Subject: Modify service name Issue-ID: HOLMES-51 Change-Id: I73dd06f566896bb3be9bf397471f6eb7c4561dd6 Signed-off-by: youbowu --- .../java/org/openo/holmes/rulemgt/resources/RuleMgtResources.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rulemgt') diff --git a/rulemgt/src/main/java/org/openo/holmes/rulemgt/resources/RuleMgtResources.java b/rulemgt/src/main/java/org/openo/holmes/rulemgt/resources/RuleMgtResources.java index 68b12bf..b8158bf 100644 --- a/rulemgt/src/main/java/org/openo/holmes/rulemgt/resources/RuleMgtResources.java +++ b/rulemgt/src/main/java/org/openo/holmes/rulemgt/resources/RuleMgtResources.java @@ -179,10 +179,10 @@ public class RuleMgtResources { private ServiceRegisterEntity initServiceEntity() { ServiceRegisterEntity serviceRegisterEntity = new ServiceRegisterEntity(); - serviceRegisterEntity.setServiceName("holmes-rule-management"); + serviceRegisterEntity.setServiceName("holmes-rulemgt"); serviceRegisterEntity.setProtocol("REST"); serviceRegisterEntity.setVersion("v1"); - serviceRegisterEntity.setUrl("/api/holmes/v1"); + serviceRegisterEntity.setUrl("/api/holmes-rulemgt/v1"); serviceRegisterEntity.setSingleNode(MicroServiceConfig.getServiceIp(), "9101", 0); serviceRegisterEntity.setVisualRange("1"); return serviceRegisterEntity; -- cgit 1.2.3-korg