From b8e477af70a3d28cd97dc7077fd6d5278aa27a22 Mon Sep 17 00:00:00 2001 From: GuangrongFu Date: Mon, 13 Mar 2017 19:58:42 +0800 Subject: Modify the URI of the Microservice Change-Id: Ib8931ab80267073d51df1c5a8d1976e9568a8852 Issue-ID: HOLMES-50 Signed-off-by: GuangrongFu --- .../main/java/org/openo/holmes/engine/resources/EngineResources.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine-d/src/main/java/org/openo') 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 0025695..194546b 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 @@ -132,10 +132,10 @@ public class EngineResources { private ServiceRegisterEntity initServiceEntity() { ServiceRegisterEntity serviceRegisterEntity = new ServiceRegisterEntity(); - serviceRegisterEntity.setServiceName("holmes-engine"); + serviceRegisterEntity.setServiceName("holmes-engine-mgmt"); serviceRegisterEntity.setProtocol("REST"); serviceRegisterEntity.setVersion("v1"); - serviceRegisterEntity.setUrl("/api/holmes-engine/v1"); + serviceRegisterEntity.setUrl("/openoapi/holmes-engine-mgmt/v1"); serviceRegisterEntity.setSingleNode(MicroServiceConfig.getServiceIp(), "9102", 0); serviceRegisterEntity.setVisualRange("1|0"); return serviceRegisterEntity; -- cgit 1.2.3-korg