diff options
author | GuangrongFu <fu.guangrong@zte.com.cn> | 2017-03-13 11:01:55 +0800 |
---|---|---|
committer | GuangrongFu <fu.guangrong@zte.com.cn> | 2017-03-13 11:01:55 +0800 |
commit | 31815a746a4e2d695e3eadff5f8281148b68ac13 (patch) | |
tree | 7ac0f48bf4ab12e57fe5d8f762f8f14c8168cace /rulemgt | |
parent | 1ab0cd13b9eb88f3c324d6d676e334d66629a9d9 (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')
-rw-r--r-- | rulemgt/src/main/java/org/openo/holmes/rulemgt/bolt/enginebolt/EngineWrapper.java | 1 |
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) {
|