diff options
author | Guangrong Fu <fu.guangrong@zte.com.cn> | 2017-09-06 17:53:51 +0800 |
---|---|---|
committer | Guangrong Fu <fu.guangrong@zte.com.cn> | 2017-09-06 17:53:51 +0800 |
commit | 8abc672e7368792cf8705e8f2ad48b28a9d4864d (patch) | |
tree | 78d48d9a4caaa2638e2a69fba0dd6e5f3fdf5ee9 /engine-d/src/main/java/org | |
parent | cabd7d8e1edc35c7078425c87c8127a30ab5c47b (diff) |
Change the API Path
Change the API path from onapapi to api
Change-Id: I62ee0a3d4e4b24de5aa40d4ca8bb92e6e78d9d1d
Issue-ID: HOLMES-39
Signed-off-by: Guangrong Fu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'engine-d/src/main/java/org')
-rw-r--r-- | engine-d/src/main/java/org/onap/holmes/engine/EngineDActiveApp.java | 2 | ||||
-rw-r--r-- | engine-d/src/main/java/org/onap/holmes/engine/manager/DroolsEngine.java | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/engine-d/src/main/java/org/onap/holmes/engine/EngineDActiveApp.java b/engine-d/src/main/java/org/onap/holmes/engine/EngineDActiveApp.java index f8c2660..5f2f3be 100644 --- a/engine-d/src/main/java/org/onap/holmes/engine/EngineDActiveApp.java +++ b/engine-d/src/main/java/org/onap/holmes/engine/EngineDActiveApp.java @@ -51,7 +51,7 @@ public class EngineDActiveApp extends IOCApplication<EngineDAppConfig> { MicroServiceInfo msinfo = new MicroServiceInfo(); msinfo.setServiceName("holmes-engine-mgmt"); msinfo.setVersion("v1"); - msinfo.setUrl("/onapapi/holmes-engine-mgmt/v1"); + msinfo.setUrl("/api/holmes-engine-mgmt/v1"); msinfo.setProtocol("REST"); msinfo.setVisualRange("0|1"); Set<Node> nodes = new HashSet<>(); diff --git a/engine-d/src/main/java/org/onap/holmes/engine/manager/DroolsEngine.java b/engine-d/src/main/java/org/onap/holmes/engine/manager/DroolsEngine.java index c8835cc..5d1f442 100644 --- a/engine-d/src/main/java/org/onap/holmes/engine/manager/DroolsEngine.java +++ b/engine-d/src/main/java/org/onap/holmes/engine/manager/DroolsEngine.java @@ -189,6 +189,7 @@ public class DroolsEngine { } catch (Exception e) {
throw new CorrelationException("Failed to delete the rule: " + packageName, e);
}
+ packageNames.remove(pkg.getName());
}
public void compileRule(String content, Locale locale)
|