diff options
author | youbowu <wu.youbo@zte.com.cn> | 2017-03-11 11:59:58 +0800 |
---|---|---|
committer | 6092002067 <wu.youbo@zte.com.cn> | 2017-03-11 11:59:58 +0800 |
commit | a07e2612edf2b7f52a30151886a580cbea49ee52 (patch) | |
tree | 20e574741d4abc73b60e99b728185bd79cc23b4a /rulemgt/src/main/java | |
parent | e7818be7045d8d71917986c22bc3fae41e256eb0 (diff) |
Modify service name
Issue-ID: HOLMES-51
Change-Id: I73dd06f566896bb3be9bf397471f6eb7c4561dd6
Signed-off-by: youbowu <wu.youbo@zte.com.cn>
Diffstat (limited to 'rulemgt/src/main/java')
-rw-r--r-- | rulemgt/src/main/java/org/openo/holmes/rulemgt/resources/RuleMgtResources.java | 4 |
1 files changed, 2 insertions, 2 deletions
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;
|