diff options
author | GuangrongFu <fu.guangrong@zte.com.cn> | 2017-03-13 19:57:07 +0800 |
---|---|---|
committer | GuangrongFu <fu.guangrong@zte.com.cn> | 2017-03-13 19:57:07 +0800 |
commit | 159ae613c08dcdddbda9efb8dc26634b691c5693 (patch) | |
tree | 34c63d6443dd8e064daebb928d633a168adb0093 /rulemgt/src/main | |
parent | 4f4eb055ff1e6d7f35315f0b742e2505ea025549 (diff) |
Modify the URI of the Microservice
Change-Id: I22f4859d6f44f5efd32296a7f072adb515f0fa94
Issue-ID: HOLMES-50
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'rulemgt/src/main')
-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 b8158bf..2c2c88d 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-rulemgt");
+ serviceRegisterEntity.setServiceName("holmes-rule-mgmt");
serviceRegisterEntity.setProtocol("REST");
serviceRegisterEntity.setVersion("v1");
- serviceRegisterEntity.setUrl("/api/holmes-rulemgt/v1");
+ serviceRegisterEntity.setUrl("/openoapi/holmes-rule-mgmt/v1");
serviceRegisterEntity.setSingleNode(MicroServiceConfig.getServiceIp(), "9101", 0);
serviceRegisterEntity.setVisualRange("1");
return serviceRegisterEntity;
|