From fa2064fbf296d42cf913f8f3d398b4989ae553f9 Mon Sep 17 00:00:00 2001 From: youbowu Date: Sat, 11 Mar 2017 11:25:39 +0800 Subject: Modify service name Issue-ID: HOLMES-47 Change-Id: I33bf32f12370fedb22fce92d6ee8448579b7fdb5 Signed-off-by: youbowu --- .../main/java/org/openo/holmes/engine/resources/EngineResources.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine-d/src') 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; -- cgit 1.2.3-korg