summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcin Migdal <marcin.migdal@nokia.com>2019-03-27 13:05:51 +0100
committerMarcin Migdal <marcin.migdal@nokia.com>2019-03-27 13:05:51 +0100
commit2647dd6e2451dab9f758034c9189271c40ecf600 (patch)
tree486c701ae03763051cbf270dc4eac821c2ead5e3
parent7fed7d3348f36cbd4698caa2c987f413f72745f5 (diff)
Add logging to DmaapConsumerJsonParser for input
Change-Id: I42d7ab9beab80f8ea07aff3eb05a43b64836f75c Issue-ID: DCAEGEN2-1361 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
-rw-r--r--prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/service/DmaapConsumerJsonParser.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/service/DmaapConsumerJsonParser.java b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/service/DmaapConsumerJsonParser.java
index 7f2cc696..d9a673ca 100644
--- a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/service/DmaapConsumerJsonParser.java
+++ b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/service/DmaapConsumerJsonParser.java
@@ -85,6 +85,8 @@ public class DmaapConsumerJsonParser {
private Flux<ConsumerDmaapModel> getConsumerDmaapModelFromJsonArray(JsonElement jsonElement) {
+ LOGGER.debug("DmaapConsumerJsonParser input for parsing: {}",jsonElement);
+
if(jsonElement instanceof JsonObject)
return create(Flux.just((JsonObject) jsonElement));