- HttpResponse response;\r
- try {\r
- response = engineService.check(correlationCheckRule4Engine, ip);\r
- } catch (Exception e) {\r
- throw new CorrelationException("Failed to call the rule verification RESTful API.", e);\r
- }\r
- if (response.getStatusLine().getStatusCode() == RuleMgtConstant.RESPONSE_STATUS_OK) {\r
- log.info("Succeeded in calling the rule verification RESTful API from the engine management service.");\r
- return true;\r
- } else {\r
- log.info(response.getStatusLine().getStatusCode() + " " + response.getEntity());\r