import java.io.ByteArrayOutputStream;\r
import java.io.IOException;\r
import java.io.UnsupportedEncodingException;\r
+import lombok.extern.slf4j.Slf4j;\r
import org.apache.commons.lang3.StringUtils;\r
import org.apache.http.HttpEntity;\r
import org.apache.http.HttpResponse;\r
import org.openo.holmes.rulemgt.bean.request.CorrelationDeployRule4Engine;\r
import org.openo.holmes.rulemgt.constant.RuleMgtConstant;\r
\r
+@Slf4j\r
@Service\r
public class EngineService {\r
\r
CloseableHttpClient httpClient = HttpClients.createDefault();\r
try {\r
HttpPost httpPost = new HttpPost(url);\r
+ log.info("url:" + url + "," + "post:" + httpPost);\r
setHeader(httpPost);\r
if (StringUtils.isNotEmpty(content)) {\r
httpPost.setEntity(new ByteArrayEntity(content.getBytes()));\r