Resources in the Sonador Cache are not being deleted when the associated records in the database are being removed
After recent updates to the Sonador resource cache for NSYNC-JC, a regression appeared which resulted in orphan entries in the cache.
Development tasks:
-
Troubleshoot source of the regression and create a patch
Create methods within the Sonador client library which allows for an entry to be cleared from the cache without requiring its removal from Orthanc (or that can be used to remove the entry in the cache if the database entry no longer exists)
-
Create a functional test which uploads data, generates an index entry, removes the index entry (verifies that an appropriate error is raised), re-generates an index entry (verifies that fetching via index works again), and removes the resource from the server (verifies that Orthanc throws a 404 value)
Edited by Rob Oakes