-
Notifications
You must be signed in to change notification settings - Fork 7
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
MODSOURAMN-1063 - Update RecordProcessingLogDto to contain incoming record id #838
Conversation
save IncomingRecords with JournalRecords after incoming records are parsed
…d service layers functionality (#823)
…CE_CREATED event received (#834) MODSOURMAN-1070: Filled in two journals records for Instance and Marc bib during INSTANCE_CREATED event type
…d service layers functionality (#823)
…CE_CREATED event received (#834) MODSOURMAN-1070: Filled in two journals records for Instance and Marc bib during INSTANCE_CREATED event type
…-record-manager into MODSOURMAN-1063-2 # Conflicts: # NEWS.md # mod-source-record-manager-server/src/main/java/org/folio/services/JournalRecordService.java # mod-source-record-manager-server/src/main/java/org/folio/services/JournalRecordServiceImpl.java
Schema changes will be done in the separate PR after this implementation will be tested. For testing purposes changes in schema is provided in this way in .raml-file: |
Also, currently I'm working on fixing/improving unit-tests. |
34ef783
to
ac69b58
Compare
…-record-manager into MODSOURMAN-1063-2 # Conflicts: # NEWS.md # mod-source-record-manager-server/src/main/java/org/folio/services/ChangeEngineServiceImpl.java # mod-source-record-manager-server/src/main/java/org/folio/services/JournalRecordService.java # mod-source-record-manager-server/src/main/java/org/folio/services/JournalRecordServiceImpl.java # mod-source-record-manager-server/src/test/java/org/folio/rest/impl/AbstractRestTest.java # mod-source-record-manager-server/src/test/java/org/folio/rest/impl/changeManager/ChangeManagerAPITest.java # mod-source-record-manager-server/src/test/java/org/folio/services/ChangeEngineServiceImplTest.java
This should be done when merging to master-branch!!! |
ac69b58
to
e708698
Compare
…-record-manager into MODSOURMAN-1063-2 # Conflicts: # NEWS.md # mod-source-record-manager-server/src/main/java/org/folio/services/JournalRecordService.java # mod-source-record-manager-server/src/main/java/org/folio/services/JournalRecordServiceImpl.java # mod-source-record-manager-server/src/main/java/org/folio/services/journal/JournalUtil.java # mod-source-record-manager-server/src/main/resources/templates/db_scripts/create_get_job_log_entries_function.sql # mod-source-record-manager-server/src/main/resources/templates/db_scripts/schema.json
mod-source-record-manager-server/src/main/java/org/folio/dao/JournalRecordDaoImpl.java
Outdated
Show resolved
Hide resolved
...g/folio/rest/impl/metadataProvider/MetaDataProviderRecordProcessingLogCollectionAPITest.java
Outdated
Show resolved
Hide resolved
Quality Gate passedThe SonarCloud Quality Gate passed, but some issues were introduced. 10 New issues |
Purpose
Added incomingRecordId in https://github.com/folio-org/data-import-raml-storage/blob/master/schemas/dto/recordProcessingLogDto.json schema. SourceRecordId will still correspond to SRS record id, but may be empty if record is not saved in srs, therefore - remove sourceRecordId from "required" section
Checked specifics of Invoice Lines display. What 'relatedInvoiceLineInfo' refers to and add to ProcessingLogDto if needed
Made changes in MetadataProvider services and dao to populate incomingRecordId in ProcessingLogDto
Made changes in MetadataProvider for /metadata-provider/jobLogEntries/{jobExecutionId} to return collection of ProcessingLogDto. jobLogEntryDtoCollection schema should be changed or new collection schema is added
Remove https://github.com/folio-org/data-import-raml-storage/blob/master/schemas/dto/jobLogEntryDto.json
Updated tests
Approach
get_job_log_entries function improved to be able to fill the "RecordProcessingLogDto"-entity in collection.
Depends on: folio-org/data-import-raml-storage#304
Is this change testable? If not - why?
Checklist