Why is REST API not returning audit history for some artifacts in DNG?
For some artifacts in our DNG 6.0.4 repository, the "resources" query with "&history=true" is not returning any audit history. Also, when we run the out-of-the-box Audit History report (which uses this same query) we get nothing. However, when we run the "revisions" query, we get all the revision history records. Also, the audit history shows up in the "Audit" tab in the UI. Again, this only happens for some artifacts. Others return the history just fine via the API.
|
One answer
Development has opened a defect on this problem. Turns out that it only affects DNG repositories that have opted out of using configuration management.
We are now testing a patch to fix this issue.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
As it only happens for some artifacts, have you been able to find the pattern(s) of these artifacts?
Not yet. I agree, we need to spend some time trying to establish what these artifacts that are not returning history have in common.
It turns out that the artifacts that are not returning history have "Validated by" links to Test Cases in RQM. We added debugging parameters to the log and identified the following error in the history service. Our logs are still in the hands of the development team.
Thank you for keeping us updated and it is good to hear that you've made some progress. Is it a distributed environment? If so, please let the team know. I remember seeing a defect where the authentication is not handled properly in a RQM/DNG distributed integration environment, and this one may be similar.