summaryrefslogtreecommitdiffstats
path: root/engine-d/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'engine-d/src/main')
-rw-r--r--engine-d/src/main/java/org/onap/holmes/engine/EngineDActiveApp.java2
-rw-r--r--engine-d/src/main/java/org/onap/holmes/engine/manager/DroolsEngine.java1
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)