-
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
MODSOURMAN-1203 Add additional validation before marc bib record saving #638
Conversation
import static org.folio.services.util.AdditionalFieldsUtil.TAG_999; | ||
import static org.folio.services.util.AdditionalFieldsUtil.addFieldToMarcRecord; | ||
import static org.folio.services.util.AdditionalFieldsUtil.getFieldFromMarcRecord; | ||
import static org.folio.services.util.AdditionalFieldsUtil.*; |
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.
@dmytrokrutii, please, return single class import.
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.
Please fix SonarCube warnings.
Quality Gate passedIssues Measures |
Purpose
Add validation on MARC_BIB record save
Approach
Validate that record has externalInstanceId, externalHrId, and 001 field in parsed record content.
TODOS and Open Questions
Learning
MODSOURMAN-1203