summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorShane Daniel <shane.daniel@amdocs.com>2018-09-26 18:53:16 +0000
committerShane Daniel <shane.daniel@amdocs.com>2018-09-26 19:37:23 +0000
commit79bc7861480bed0a1b3a1b643f5cbad6b09dfd5c (patch)
treef5820740995d6c2be8dcfef36f7d1deadca2375b /src/main
parent3a50e4c2dd8bdfca4b4c834316abee075448f27e (diff)
Fix missing result field from data router
Issue-ID: LOG-682 Change-Id: I6b63bb0a2e353248351c6fa6efce4f799a4d4077 Signed-off-by: Shane Daniel <shane.daniel@amdocs.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/onap/aai/datarouter/policy/ServiceIntegrityValidationPolicy.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/onap/aai/datarouter/policy/ServiceIntegrityValidationPolicy.java b/src/main/java/org/onap/aai/datarouter/policy/ServiceIntegrityValidationPolicy.java
index 8960c99..9f3e049 100644
--- a/src/main/java/org/onap/aai/datarouter/policy/ServiceIntegrityValidationPolicy.java
+++ b/src/main/java/org/onap/aai/datarouter/policy/ServiceIntegrityValidationPolicy.java
@@ -167,6 +167,7 @@ public class ServiceIntegrityValidationPolicy {
formattedValidation.addProperty("serviceInstanceId",validation.get("entity").getAsJsonObject().get("poa-event").getAsJsonObject().get("serviceInstanceId").getAsString());
formattedValidation.addProperty("requestId",validation.get("entity").getAsJsonObject().get("poa-event").getAsJsonObject().get("xTransactionId").getAsString());
formattedValidation.addProperty("client",validation.get("entity").getAsJsonObject().get("poa-event").getAsJsonObject().get("xFromAppId").getAsString());
+ formattedValidation.addProperty("result", validation.get("result").getAsString());
try {
formattedValidation.addProperty("modelName", validation.get("entity").getAsJsonObject().get("context-list").getAsJsonObject().get("sdc").getAsJsonObject().get("service").getAsJsonObject().get("name").getAsString());