diff options
author | GuangrongFu <fu.guangrong@zte.com.cn> | 2017-03-13 19:58:42 +0800 |
---|---|---|
committer | GuangrongFu <fu.guangrong@zte.com.cn> | 2017-03-13 19:58:42 +0800 |
commit | b8e477af70a3d28cd97dc7077fd6d5278aa27a22 (patch) | |
tree | b173f0c2bd0f2a89e8387affc56f5cd255b4fc75 /engine-d/src/main/java/org | |
parent | d2e00336e824c6fe34d33f2e7b8f18f956e1cdf8 (diff) |
Modify the URI of the Microservice
Change-Id: Ib8931ab80267073d51df1c5a8d1976e9568a8852
Issue-ID: HOLMES-50
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'engine-d/src/main/java/org')
-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 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; |