X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=rulemgt%2Fsrc%2Fmain%2Fjava%2Forg%2Fopeno%2Fholmes%2Frulemgt%2Fbolt%2Fenginebolt%2FEngineWrapper.java;h=329b9c99de9d3f0fc189223f3eb35adf54bdbf36;hb=5947322b7253ba4eff59ee38951114e77050c8c7;hp=e2f4fddc704fbfab091426e0c50b9dad6feee6e6;hpb=cbe87c3d24a9a3fdb3843e44cd686dd78de1debf;p=holmes%2Frule-management.git diff --git a/rulemgt/src/main/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineWrapper.java b/rulemgt/src/main/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineWrapper.java index e2f4fdd..329b9c9 100644 --- a/rulemgt/src/main/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineWrapper.java +++ b/rulemgt/src/main/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineWrapper.java @@ -17,7 +17,7 @@ package org.openo.holmes.rulemgt.bolt.enginebolt; import lombok.extern.slf4j.Slf4j; import org.jvnet.hk2.annotations.Service; -import org.openo.holmes.common.exception.CallException; +import org.openo.holmes.common.exception.CorrelationException; import org.openo.holmes.rulemgt.bean.request.CorrelationCheckRule4Engine; import org.openo.holmes.rulemgt.bean.request.CorrelationDeployRule4Engine; @@ -26,16 +26,16 @@ import org.openo.holmes.rulemgt.bean.request.CorrelationDeployRule4Engine; public class EngineWrapper { - public String deployEngine(CorrelationDeployRule4Engine correlationRule) throws CallException { + public String deployEngine(CorrelationDeployRule4Engine correlationRule) throws CorrelationException { return ""; } - public boolean deleteRuleFromEngine(String packageName) throws CallException { + public boolean deleteRuleFromEngine(String packageName) throws CorrelationException { return true; } public boolean checkRuleFromEngine(CorrelationCheckRule4Engine correlationCheckRule4Engine) - throws CallException { + throws CorrelationException { return true; } }