/**\r
* Copyright 2017-2020 ZTE Corporation.\r
- *\r
+ * <p>\r
* Licensed under the Apache License, Version 2.0 (the "License");\r
* you may not use this file except in compliance with the License.\r
* You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
+ * <p>\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ * <p>\r
* Unless required by applicable law or agreed to in writing, software\r
* distributed under the License is distributed on an "AS IS" BASIS,\r
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
@Inject\r
private EngineService engineService;\r
\r
- public String deployEngine(CorrelationDeployRule4Engine correlationRule,String ip) throws CorrelationException {\r
+ public String deployEngine(CorrelationDeployRule4Engine correlationRule, String ip) throws CorrelationException {\r
HttpResponse response;\r
try {\r
response = engineService.deploy(correlationRule, ip);\r
}\r
}\r
\r
- public boolean deleteRuleFromEngine(String packageName,String ip) throws CorrelationException {\r
+ public boolean deleteRuleFromEngine(String packageName, String ip) throws CorrelationException {\r
HttpResponse response;\r
try {\r
response = engineService.delete(packageName, ip);\r
}\r
}\r
\r
- public boolean checkRuleFromEngine(CorrelationCheckRule4Engine correlationCheckRule4Engine,String ip)\r
+ public boolean checkRuleFromEngine(CorrelationCheckRule4Engine correlationCheckRule4Engine, String ip)\r
throws CorrelationException {\r
log.info("Rule Contents: " + correlationCheckRule4Engine.getContent());\r
HttpResponse response;\r