-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MODSOURCE-859: Create new API POST /source-storage/records/{id}/un-delete #673
base: master
Are you sure you want to change the base?
Conversation
fa9b862
to
48fc39c
Compare
mod-source-record-storage-server/src/main/java/org/folio/services/RecordServiceImpl.java
Outdated
Show resolved
Hide resolved
@@ -421,6 +422,21 @@ public Future<Void> deleteRecordById(String id, IdType idType, Map<String, Strin | |||
.compose(record -> updateRecord(record, okapiHeaders)).map(r -> null); | |||
} | |||
|
|||
@Override | |||
public Future<Void> unDeleteRecordById(String id, IdType idType, Map<String, String> okapiHeaders) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this method send domain event?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More code coverage is needed. Changes in RecordServiceImpl is not tested. |
@AndreiBordak there are 3 New issues |
|
Purpose
Undelete feature for records
Approach
API
TODOS and Open Questions
Learning
Describe the research stage. Add links to blog posts, patterns, libraries or addons used to solve this problem.