Fix missing result field from data router
[aai/data-router.git] / src / main / java / org / onap / aai / datarouter / policy / ServiceIntegrityValidationPolicy.java
index 8960c99..9f3e049 100644 (file)
@@ -167,6 +167,7 @@ public class ServiceIntegrityValidationPolicy {
         formattedValidation.addProperty("serviceInstanceId",validation.get("entity").getAsJsonObject().get("poa-event").getAsJsonObject().get("serviceInstanceId").getAsString());\r
         formattedValidation.addProperty("requestId",validation.get("entity").getAsJsonObject().get("poa-event").getAsJsonObject().get("xTransactionId").getAsString());\r
         formattedValidation.addProperty("client",validation.get("entity").getAsJsonObject().get("poa-event").getAsJsonObject().get("xFromAppId").getAsString());\r
+        formattedValidation.addProperty("result", validation.get("result").getAsString());\r
 \r
         try {\r
             formattedValidation.addProperty("modelName", validation.get("entity").getAsJsonObject().get("context-list").getAsJsonObject().get("sdc").getAsJsonObject().get("service").getAsJsonObject().get("name").getAsString());\r