Skip to content

Circ 2531 storage layer for request anonymization#1651

Open
longvo-cv wants to merge 10 commits intomasterfrom
CIRC-2531-Storage-Layer-For-Request-Anonymization
Open

Circ 2531 storage layer for request anonymization#1651
longvo-cv wants to merge 10 commits intomasterfrom
CIRC-2531-Storage-Layer-For-Request-Anonymization

Conversation

@longvo-cv
Copy link

CIRC-2531: Storage Layer for Request Anonymization

What does this PR do?

Implements the storage layer for automated request anonymization, mirroring the existing loan anonymization pattern.

Changes

  • New file: AnonymizeStorageRequestsRepository - batch anonymization to storage module
  • Modified: RequestRepository - added findRequestsToAnonymize() and findClosedRequests()
  • Modified: RequestStatus - added closedStates() method
  • Modified: Clients - added anonymizeStorageRequestsClient()

Pattern

Mirrors LoanRepository and AnonymizeStorageLoansRepository exactly as specified in the ticket.

Ticket

https://folio-org.atlassian.net/browse/CIRC-2531

@longvo-cv longvo-cv requested a review from yuntianhu February 5, 2026 16:40
throws MalformedURLException {

return getCollectionResourceClient(client, context,
"/request-storage/requests/anonymize");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't see this endpoint built at anywhere. may I know where is this endpoint declared?
from what I understand, we should use circulation setting/circulation setting storage endpoints
please read the design
https://folio-org.atlassian.net/wiki/spaces/DD/pages/1056210996/Request+anonymization

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants