summaryrefslogtreecommitdiffstats
path: root/rulemgt/src/main/java
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2017-03-13 11:01:55 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2017-03-13 11:01:55 +0800
commit31815a746a4e2d695e3eadff5f8281148b68ac13 (patch)
tree7ac0f48bf4ab12e57fe5d8f762f8f14c8168cace /rulemgt/src/main/java
parent1ab0cd13b9eb88f3c324d6d676e334d66629a9d9 (diff)
Add Logs for the Response
Change-Id: I433c3e74289175cb94bc87417fa4357047486d36 Issue-ID: HOLMES-50 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'rulemgt/src/main/java')
-rw-r--r--rulemgt/src/main/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineWrapper.java1
1 files changed, 1 insertions, 0 deletions
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 79c5c88..a65d88b 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
@@ -46,6 +46,7 @@ public class EngineWrapper {
log.info("Call deploy rule rest interface in engine successfully.");
String content = engineService.getResponseContent(httpResponse);
try {
+ log.info("Deploy result from the engine is: " + content + ".");
JSONObject json = JSONObject.fromObject(content);
return json.get(RuleMgtConstant.PACKAGE).toString();
} catch (Exception e) {