diff options
author | youbowu <wu.youbo@zte.com.cn> | 2017-03-11 11:25:39 +0800 |
---|---|---|
committer | 6092002067 <wu.youbo@zte.com.cn> | 2017-03-11 11:29:34 +0800 |
commit | fa2064fbf296d42cf913f8f3d398b4989ae553f9 (patch) | |
tree | 35abc28d574645987c7f8d10fabccdf33117bc9d | |
parent | ead9980a33723871831b7e69523e449545fd3027 (diff) |
Modify service name
Issue-ID: HOLMES-47
Change-Id: I33bf32f12370fedb22fce92d6ee8448579b7fdb5
Signed-off-by: youbowu <wu.youbo@zte.com.cn>
-rw-r--r-- | engine-d/src/main/java/org/openo/holmes/engine/resources/EngineResources.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine-d/src/main/java/org/openo/holmes/engine/resources/EngineResources.java b/engine-d/src/main/java/org/openo/holmes/engine/resources/EngineResources.java index 24de064..355a040 100644 --- a/engine-d/src/main/java/org/openo/holmes/engine/resources/EngineResources.java +++ b/engine-d/src/main/java/org/openo/holmes/engine/resources/EngineResources.java @@ -131,10 +131,10 @@ public class EngineResources { private ServiceRegisterEntity initServiceEntity() { ServiceRegisterEntity serviceRegisterEntity = new ServiceRegisterEntity(); - serviceRegisterEntity.setServiceName("holmes"); + serviceRegisterEntity.setServiceName("holmes-engine"); serviceRegisterEntity.setProtocol("REST"); serviceRegisterEntity.setVersion("v1"); - serviceRegisterEntity.setUrl("/api/holmes/v1"); + serviceRegisterEntity.setUrl("/api/holmes-engine/v1"); serviceRegisterEntity.setSingleNode(MicroServiceConfig.getServiceIp(), "9102", 0); serviceRegisterEntity.setVisualRange("1"); return serviceRegisterEntity; |