-
Bug
-
Resolution: Done
-
High
-
None
-
SIMPLY S10 April 28 - May 12, SIMPLY S11 May 12 - May 26
The "cloudevents" endpoint of the Cloud Library API is currently serving documents that make it look like nothing has happened recently:
<LibraryEventBatch xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" />
These empty documents are incorrect: they are served even when I ask for events for the last 24 hours, and I know there has been some Bibliotheca activity at NYPL today.
This represents a problem that needs to be fixed on the Bibliotheca end, but we also need to change the circulation manager product. If we get a document like this, we need to treat it as an API failure, not a period where nothing happened. We can't progress our internal timeline of events until we hear from the API about something specific happening. An empty event feed might just mean the API isn't working.
This is similar to https://jira.nypl.org/browse/SIMPLY-1078 – where another API endpoint was incorrectly returning a valid, empty document – but much more serious. There, the worst that could happen is individual patrons would periodically be unable to access their loans. Here, there's a risk that titles can be added to a library's collection without the library's circulation manger ever hearing about them.