diff options
author | Geora Barsky <georab@amdocs.com> | 2018-09-05 15:45:19 -0400 |
---|---|---|
committer | Geora Barsky <georab@amdocs.com> | 2018-09-07 10:52:53 -0400 |
commit | 406cd3212db281c562a16ea90957660e54fcafbc (patch) | |
tree | 157bae5e473cfaeb98ace4d4c36177fd25508a29 /src/main/java/org/onap | |
parent | 89a0e48dce48a915682000b90de43b70871aff75 (diff) |
Add additional fields validation report
Issue-ID: LOG-454
Change-Id: I8e1cf849334e9e12772570594e102c90967fd70c
Signed-off-by: Geora Barsky <georab@amdocs.com>
Diffstat (limited to 'src/main/java/org/onap')
-rw-r--r-- | src/main/java/org/onap/aai/datarouter/policy/ServiceIntegrityValidationPolicy.java | 2 |
1 files changed, 2 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 abdfebb..8960c99 100644 --- a/src/main/java/org/onap/aai/datarouter/policy/ServiceIntegrityValidationPolicy.java +++ b/src/main/java/org/onap/aai/datarouter/policy/ServiceIntegrityValidationPolicy.java @@ -165,6 +165,8 @@ public class ServiceIntegrityValidationPolicy { formattedValidation.addProperty("modelVersionId", validation.get("entity").getAsJsonObject().get("poa-event").getAsJsonObject().get("modelVersionId").getAsString());
formattedValidation.addProperty("modelInvariantId", validation.get("entity").getAsJsonObject().get("poa-event").getAsJsonObject().get("modelInvariantId").getAsString());
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());
try {
formattedValidation.addProperty("modelName", validation.get("entity").getAsJsonObject().get("context-list").getAsJsonObject().get("sdc").getAsJsonObject().get("service").getAsJsonObject().get("name").getAsString());
|