Audit service over rides fields in keyvaluemap #629
Replies: 2 comments 2 replies
-
can we get the latest image build for this https://github.com/egovernments/Digit-Core/tree/audit-details-extractSanitizedFieldNameFromJsonPath? also https://github.com/pucardotorg/kerala-configs/blob/6d20f5a33aff4857c2cd414ca68fc700035b9a85/egov-persister/case-persister.yml#L313 for this with above implementation , the key would be "cases.representatives[][?({id} in @.representing[].id)].id" . it is not blocker as there wont be any overrides and we can uniquely identify them |
Beta Was this translation helpful? Give feedback.
-
Hey @manimaarans please find the latest build: |
Beta Was this translation helpful? Give feedback.
-
Audit service overrides the key value pair if sanitized jsonpath are same for more than one entry
sanitized jsonpath implementation:
Digit-Core/core-services/audit-service/src/main/java/org/egov/auditservice/persisterauditclient/PersisterAuditClientService.java
Line 428 in 347bafe
keyvalueMap:
Digit-Core/core-services/audit-service/src/main/java/org/egov/auditservice/persisterauditclient/PersisterAuditClientService.java
Line 134 in 347bafe
persister config where this is happening : in the following example litigant id is replaced by case id
this litigant id : https://github.com/pucardotorg/kerala-configs/blob/6d20f5a33aff4857c2cd414ca68fc700035b9a85/egov-persister/case-persister.yml#L270
case id : https://github.com/pucardotorg/kerala-configs/blob/6d20f5a33aff4857c2cd414ca68fc700035b9a85/egov-persister/case-persister.yml#L277
this makes it difficult to go though audit trail as we are expecting to track by litigant id to identify the unique records , but caseid present instead of it.
any suggestions on this ?
Beta Was this translation helpful? Give feedback.
All reactions