From 508c9f53d3dd02d53a1ee3f30530d25aec3ea828 Mon Sep 17 00:00:00 2001 From: abdellah Anas Date: Tue, 17 Sep 2024 08:19:51 +0100 Subject: [PATCH 1/2] Add UTF-8 BOM to files written to S3/Minio This change addresses issues with Excel not properly displaying Arabic characters in CSV files. By adding the BOM, we ensure that applications like Excel correctly recognize the file encoding as UTF-8. --- .../org/folio/dew/repository/BaseFilesStorage.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/folio/dew/repository/BaseFilesStorage.java b/src/main/java/org/folio/dew/repository/BaseFilesStorage.java index 3b36b0202..dd8d1836f 100644 --- a/src/main/java/org/folio/dew/repository/BaseFilesStorage.java +++ b/src/main/java/org/folio/dew/repository/BaseFilesStorage.java @@ -41,6 +41,7 @@ import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; @@ -177,16 +178,23 @@ public String upload(String path, String filename) throws IOException { * @throws IOException - if an I/O error occurs */ public String write(String path, byte[] bytes, Map headers) throws IOException { + byte[] bom = {(byte)0xEF, (byte)0xBB, (byte)0xBF}; + + ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); + outputStream.write(bom); + outputStream.write(bytes); + byte[] bytesWithBom = outputStream.toByteArray(); + path = getS3Path(path); if (isComposeWithAwsSdk) { log.info("Writing with using AWS SDK client"); s3Client.putObject(PutObjectRequest.builder().bucket(bucket) .key(path).build(), - RequestBody.fromBytes(bytes)); + RequestBody.fromBytes(bytesWithBom)); return path; } else { log.info("Writing with using Minio client"); - try(var is = new ByteArrayInputStream(bytes)) { + try (var is = new ByteArrayInputStream(bytesWithBom)) { return client.putObject(PutObjectArgs.builder() .bucket(bucket) .region(region) From 2ac919acfaa742429937e84928a84b54fd4581a2 Mon Sep 17 00:00:00 2001 From: abdellah Anas Date: Wed, 18 Sep 2024 01:19:26 +0100 Subject: [PATCH 2/2] fix some tests --- .../resources/output/authority_control/auth_heading_update.csv | 2 +- .../output/authority_control/auth_heading_update_empty.csv | 2 +- .../output/authority_control/failed_linked_bib_updates.csv | 2 +- ...lk_edit_holdings_records_bad_reference_ids_errors_output.csv | 2 +- .../output/bulk_edit_holdings_records_by_item_barcode.csv | 2 +- .../output/bulk_edit_holdings_records_empty_reference.csv | 2 +- .../output/bulk_edit_holdings_records_errors_output.csv | 2 +- .../bulk_edit_holdings_records_errors_output_inst_hrid.csv | 2 +- .../bulk_edit_holdings_records_errors_output_item_barcode.csv | 2 +- src/test/resources/output/bulk_edit_holdings_records_output.csv | 2 +- .../output/bulk_edit_holdings_records_output_instance_hrid.csv | 2 +- .../output/bulk_edit_holdings_records_output_item_barcode.csv | 2 +- .../resources/output/bulk_edit_holdings_records_output_marc.csv | 2 +- .../output/bulk_edit_holdings_records_reference_not_found.csv | 2 +- .../resources/output/bulk_edit_instance_by_issn_isbn_output.csv | 2 +- .../output/bulk_edit_instance_identifiers_errors_output.csv | 2 +- .../resources/output/bulk_edit_instance_identifiers_output.csv | 2 +- .../bulk_edit_instance_identifiers_output_some_not_found.csv | 2 +- .../output/bulk_edit_item_identifiers_errors_output.csv | 2 +- .../bulk_edit_item_identifiers_holdings_errors_output.csv | 2 +- src/test/resources/output/bulk_edit_item_identifiers_output.csv | 2 +- .../output/bulk_edit_item_identifiers_output_escaped.csv | 2 +- .../output/bulk_edit_item_identifiers_output_some_not_found.csv | 2 +- src/test/resources/output/bulk_edit_item_query_output.csv | 2 +- .../resources/output/bulk_edit_items_bad_reference_errors.csv | 2 +- src/test/resources/output/bulk_edit_items_empty_reference.csv | 2 +- .../resources/output/bulk_edit_items_reference_not_found.csv | 2 +- src/test/resources/output/bulk_edit_no_group_output.csv | 2 +- .../output/bulk_edit_user_content_updates_expected_output.csv | 2 +- .../output/bulk_edit_user_identifiers_errors_output.csv | 2 +- src/test/resources/output/bulk_edit_user_identifiers_output.csv | 2 +- .../output/bulk_edit_user_identifiers_output_some_not_found.csv | 2 +- .../bulk_edit_user_identifiers_preferred_email_output.csv | 2 +- .../resources/output/bulk_edit_users_bad_reference_errors.csv | 2 +- src/test/resources/output/bulk_edit_users_empty_reference.csv | 2 +- .../resources/output/bulk_edit_users_reference_not_found.csv | 2 +- src/test/resources/output/circulation_export.csv | 2 +- src/test/resources/output/eholdings_package_export.csv | 2 +- .../resources/output/eholdings_package_export_with_3_titles.csv | 2 +- .../output/eholdings_package_export_with_same_title_names.csv | 2 +- src/test/resources/output/eholdings_resource_export.csv | 2 +- src/test/resources/output/eholdings_single_package_export.csv | 2 +- .../expected_error_holdings_by_item_barcode_no_change.csv | 2 +- .../output/expected_items_with_deleted_permanent_loan_type.csv | 2 +- .../output/expected_items_with_deleted_permanent_location.csv | 2 +- .../output/expected_items_with_deleted_temporary_loan_type.csv | 2 +- .../output/expected_items_with_deleted_temporary_location.csv | 2 +- .../output/expected_items_with_updated_permanent_loan_type.csv | 2 +- .../output/expected_items_with_updated_permanent_location.csv | 2 +- .../output/expected_items_with_updated_temporary_loan_type.csv | 2 +- .../output/expected_items_with_updated_temporary_location.csv | 2 +- .../expected_preview_items_with_deleted_permanent_loan_type.csv | 2 +- .../expected_preview_items_with_deleted_permanent_location.csv | 2 +- .../expected_preview_items_with_deleted_temporary_loan_type.csv | 2 +- .../expected_preview_items_with_deleted_temporary_location.csv | 2 +- .../expected_preview_items_with_updated_permanent_location.csv | 2 +- .../expected_preview_items_with_updated_temporary_location.csv | 2 +- 57 files changed, 57 insertions(+), 57 deletions(-) diff --git a/src/test/resources/output/authority_control/auth_heading_update.csv b/src/test/resources/output/authority_control/auth_heading_update.csv index d17d94d08..11ecd382a 100644 --- a/src/test/resources/output/authority_control/auth_heading_update.csv +++ b/src/test/resources/output/authority_control/auth_heading_update.csv @@ -1,4 +1,4 @@ -Last updated,Original heading,New heading,Identifier,Original 1XX,New 1XX,Authority source file name,Number of bibliographic records linked,Updater +Last updated,Original heading,New heading,Identifier,Original 1XX,New 1XX,Authority source file name,Number of bibliographic records linked,Updater 2023-10-01 12:00:00.000Z,"Charles, Prince of Wales","Charles III, King",n1234567,150,110,LC Name Authority file (LCNAF),105,"Admin, Diku" 2023-10-01 12:00:00.000Z,"Charles, Prince of Wales","Charles III, King",n1234567,150,110,LC Name Authority file (LCNAF),105,"Admin, Diku" 2023-08-01 12:00:00.000Z,"Charles III, King",King Charles III,mo34056,100,100,Not specified,10,"Test, Folio" diff --git a/src/test/resources/output/authority_control/auth_heading_update_empty.csv b/src/test/resources/output/authority_control/auth_heading_update_empty.csv index 2743772f9..4731b47c7 100644 --- a/src/test/resources/output/authority_control/auth_heading_update_empty.csv +++ b/src/test/resources/output/authority_control/auth_heading_update_empty.csv @@ -1,2 +1,2 @@ -Last updated,Original heading,New heading,Identifier,Original 1XX,New 1XX,Authority source file name,Number of bibliographic records linked,Updater +Last updated,Original heading,New heading,Identifier,Original 1XX,New 1XX,Authority source file name,Number of bibliographic records linked,Updater No records found diff --git a/src/test/resources/output/authority_control/failed_linked_bib_updates.csv b/src/test/resources/output/authority_control/failed_linked_bib_updates.csv index bda9d660b..b1078033e 100644 --- a/src/test/resources/output/authority_control/failed_linked_bib_updates.csv +++ b/src/test/resources/output/authority_control/failed_linked_bib_updates.csv @@ -1,3 +1,3 @@ -Failed,Bibliographic title,Bibliographic UUID,Failed bib field update,Linked authority identifier,Reason for error +Failed,Bibliographic title,Bibliographic UUID,Failed bib field update,Linked authority identifier,Reason for error 2019-08-24 14:15:22.000Z,First title,64d2028c-ae87-4069-a624-66089d957ef9,650,mo34056,Not found 404 2019-08-24 14:15:22.000Z,Second title,65d2028c-ae87-4069-a624-66089d957ef9,150,mo34057,Invalid value \ No newline at end of file diff --git a/src/test/resources/output/bulk_edit_holdings_records_bad_reference_ids_errors_output.csv b/src/test/resources/output/bulk_edit_holdings_records_bad_reference_ids_errors_output.csv index 66b91993a..1710fdf55 100644 --- a/src/test/resources/output/bulk_edit_holdings_records_bad_reference_ids_errors_output.csv +++ b/src/test/resources/output/bulk_edit_holdings_records_bad_reference_ids_errors_output.csv @@ -1,4 +1,4 @@ -badHoldingsTypeId,Holdings type not found by id=1d51c4da-0d5f-4303-a922-3e9d7a9b22f3 +badHoldingsTypeId,Holdings type not found by id=1d51c4da-0d5f-4303-a922-3e9d7a9b22f3 badHoldingsCallNumberTypeId,Call number type not found by id=1d51c4da-0d5f-4303-a922-3e9d7a9b22f3 badHoldingsNoteTypeId,Note type not found by id=1d51c4da-0d5f-4303-a922-3e9d7a9b22f3 badIllPolicyId,Ill policy not found by id=1d51c4da-0d5f-4303-a922-3e9d7a9b22f3 diff --git a/src/test/resources/output/bulk_edit_holdings_records_by_item_barcode.csv b/src/test/resources/output/bulk_edit_holdings_records_by_item_barcode.csv index 8d67725a6..eb558e6f3 100644 --- a/src/test/resources/output/bulk_edit_holdings_records_by_item_barcode.csv +++ b/src/test/resources/output/bulk_edit_holdings_records_by_item_barcode.csv @@ -1,3 +1,3 @@ -Holdings UUID,"Instance (Title, Publisher, Publication date)",Suppress from discovery,Holdings HRID,Source,Former holdings Id,Holdings type,Statistical codes,Administrative note,Holdings permanent location,Holdings temporary location,Shelving title,Holdings copy number,Holdings level call number type,Holdings level call number prefix,Holdings level call number,Holdings level call number suffix,Number of items,Holdings statement,Holdings statement for supplements,Holdings statement for indexes,ILL policy,Digitization policy,Retention policy,Notes,Electronic access,Acquisition method,Order format,Receipt status,Tags +Holdings UUID,"Instance (Title, Publisher, Publication date)",Suppress from discovery,Holdings HRID,Source,Former holdings Id,Holdings type,Statistical codes,Administrative note,Holdings permanent location,Holdings temporary location,Shelving title,Holdings copy number,Holdings level call number type,Holdings level call number prefix,Holdings level call number,Holdings level call number suffix,Number of items,Holdings statement,Holdings statement for supplements,Holdings statement for indexes,ILL policy,Digitization policy,Retention policy,Notes,Electronic access,Acquisition method,Order format,Receipt status,Tags 0b1e3760-f689-493e-a98e-9cc9dadb7e83,title,,ho13,FOLIO,d1670310-ceac-47d9-aaba-aaeeb890bc07,Physical,"Book, print (books)",Test administrative note,Annex,Main Library,shelving title,copy number,LC Modified,prefix,call number,suffix,10,statement;statement public note;statement staff note,statement for supplements;statement for supplements public note;statement for supplements staff note,statement for indexes;statement for indexes public note;statement for indexes staff note,Limited lending policy,digitisation policy,retention policy,Note;a note;false;diku;b160f13a-ddba-4053-b9c4-60ec5ea45d56|Note;a note;true;diku;b160f13a-ddba-4053-b9c4-60ec5ea45d56,"URL relationship;URI;Link text;Materials specified;URL public note Version of resource;www.someurl.com;link text;material;www.someurl.com",aquisition method,order format,receipt status, diff --git a/src/test/resources/output/bulk_edit_holdings_records_empty_reference.csv b/src/test/resources/output/bulk_edit_holdings_records_empty_reference.csv index 2eda239b6..b30e470e4 100644 --- a/src/test/resources/output/bulk_edit_holdings_records_empty_reference.csv +++ b/src/test/resources/output/bulk_edit_holdings_records_empty_reference.csv @@ -1,4 +1,4 @@ -Holdings UUID,"Instance (Title, Publisher, Publication date)",Suppress from discovery,Holdings HRID,Source,Former holdings Id,Holdings type,Statistical codes,Administrative note,Holdings permanent location,Holdings temporary location,Shelving title,Holdings copy number,Holdings level call number type,Holdings level call number prefix,Holdings level call number,Holdings level call number suffix,Number of items,Holdings statement,Holdings statement for supplements,Holdings statement for indexes,ILL policy,Digitization policy,Retention policy,Notes,Electronic access,Acquisition method,Order format,Receipt status,Tags +Holdings UUID,"Instance (Title, Publisher, Publication date)",Suppress from discovery,Holdings HRID,Source,Former holdings Id,Holdings type,Statistical codes,Administrative note,Holdings permanent location,Holdings temporary location,Shelving title,Holdings copy number,Holdings level call number type,Holdings level call number prefix,Holdings level call number,Holdings level call number suffix,Number of items,Holdings statement,Holdings statement for supplements,Holdings statement for indexes,ILL policy,Digitization policy,Retention policy,Notes,Electronic access,Acquisition method,Order format,Receipt status,Tags 855d4693-4087-4339-8c14-c25c350e5e59,title,,ho14,FOLIO,,,,,Main Library,,,,,,,,,,,,,,,,,,,, ae4288c6-4999-492a-82f4-eceb3a6e1ec6,title,,ho14,FOLIO,,,,,Main Library,,,,,,,,,,,,,,,,,,,, 59b36165-fcf2-49d2-bf7f-25fedbc07e44,title,,ho14,FOLIO,,,,,Main Library,,,,,,,,,,,,,,,;a note;false;diku;null,,,,, diff --git a/src/test/resources/output/bulk_edit_holdings_records_errors_output.csv b/src/test/resources/output/bulk_edit_holdings_records_errors_output.csv index 0170d7207..25d7d383b 100644 --- a/src/test/resources/output/bulk_edit_holdings_records_errors_output.csv +++ b/src/test/resources/output/bulk_edit_holdings_records_errors_output.csv @@ -1,2 +1,2 @@ -789,No match found +789,No match found 123,Duplicate entry diff --git a/src/test/resources/output/bulk_edit_holdings_records_errors_output_inst_hrid.csv b/src/test/resources/output/bulk_edit_holdings_records_errors_output_inst_hrid.csv index 3dafedbc6..2c5cc2e3f 100644 --- a/src/test/resources/output/bulk_edit_holdings_records_errors_output_inst_hrid.csv +++ b/src/test/resources/output/bulk_edit_holdings_records_errors_output_inst_hrid.csv @@ -1,3 +1,3 @@ -456,Instance not found by hrid=456 +456,Instance not found by hrid=456 789,Instance not found by hrid=789 123,Duplicate entry diff --git a/src/test/resources/output/bulk_edit_holdings_records_errors_output_item_barcode.csv b/src/test/resources/output/bulk_edit_holdings_records_errors_output_item_barcode.csv index 056572865..6afa14da3 100644 --- a/src/test/resources/output/bulk_edit_holdings_records_errors_output_item_barcode.csv +++ b/src/test/resources/output/bulk_edit_holdings_records_errors_output_item_barcode.csv @@ -1,2 +1,2 @@ -789,Item not found by barcode=789 +789,Item not found by barcode=789 123,Duplicate entry diff --git a/src/test/resources/output/bulk_edit_holdings_records_output.csv b/src/test/resources/output/bulk_edit_holdings_records_output.csv index d2bde4358..3f9a7b16b 100644 --- a/src/test/resources/output/bulk_edit_holdings_records_output.csv +++ b/src/test/resources/output/bulk_edit_holdings_records_output.csv @@ -1,4 +1,4 @@ -Holdings UUID,"Instance (Title, Publisher, Publication date)",Suppress from discovery,Holdings HRID,Source,Former holdings Id,Holdings type,Statistical codes,Administrative note,Holdings permanent location,Holdings temporary location,Shelving title,Holdings copy number,Holdings level call number type,Holdings level call number prefix,Holdings level call number,Holdings level call number suffix,Number of items,Holdings statement,Holdings statement for supplements,Holdings statement for indexes,ILL policy,Digitization policy,Retention policy,Notes,Electronic access,Acquisition method,Order format,Receipt status,Tags +Holdings UUID,"Instance (Title, Publisher, Publication date)",Suppress from discovery,Holdings HRID,Source,Former holdings Id,Holdings type,Statistical codes,Administrative note,Holdings permanent location,Holdings temporary location,Shelving title,Holdings copy number,Holdings level call number type,Holdings level call number prefix,Holdings level call number,Holdings level call number suffix,Number of items,Holdings statement,Holdings statement for supplements,Holdings statement for indexes,ILL policy,Digitization policy,Retention policy,Notes,Electronic access,Acquisition method,Order format,Receipt status,Tags 0b1e3760-f689-493e-a98e-9cc9dadb7e83,title,,ho13,FOLIO,d1670310-ceac-47d9-aaba-aaeeb890bc07,Physical,"Book, print (books)",Test administrative note,Annex,Main Library,shelving title,copy number,LC Modified,prefix,call number,suffix,10,statement;statement public note;statement staff note,statement for supplements;statement for supplements public note;statement for supplements staff note,statement for indexes;statement for indexes public note;statement for indexes staff note,Limited lending policy,digitisation policy,retention policy,Note;a note;false;diku;b160f13a-ddba-4053-b9c4-60ec5ea45d56|Note;a note;true;diku;b160f13a-ddba-4053-b9c4-60ec5ea45d56,"URL relationship;URI;Link text;Materials specified;URL public note Version of resource;www.someurl.com;link text;material;www.someurl.com",aquisition method,order format,receipt status, 855d4693-4087-4339-8c14-c25c350e5e59,title,,ho14,FOLIO,,,,,Main Library,,,,,,,,,,,,,,,,,,,, diff --git a/src/test/resources/output/bulk_edit_holdings_records_output_instance_hrid.csv b/src/test/resources/output/bulk_edit_holdings_records_output_instance_hrid.csv index d2bde4358..3f9a7b16b 100644 --- a/src/test/resources/output/bulk_edit_holdings_records_output_instance_hrid.csv +++ b/src/test/resources/output/bulk_edit_holdings_records_output_instance_hrid.csv @@ -1,4 +1,4 @@ -Holdings UUID,"Instance (Title, Publisher, Publication date)",Suppress from discovery,Holdings HRID,Source,Former holdings Id,Holdings type,Statistical codes,Administrative note,Holdings permanent location,Holdings temporary location,Shelving title,Holdings copy number,Holdings level call number type,Holdings level call number prefix,Holdings level call number,Holdings level call number suffix,Number of items,Holdings statement,Holdings statement for supplements,Holdings statement for indexes,ILL policy,Digitization policy,Retention policy,Notes,Electronic access,Acquisition method,Order format,Receipt status,Tags +Holdings UUID,"Instance (Title, Publisher, Publication date)",Suppress from discovery,Holdings HRID,Source,Former holdings Id,Holdings type,Statistical codes,Administrative note,Holdings permanent location,Holdings temporary location,Shelving title,Holdings copy number,Holdings level call number type,Holdings level call number prefix,Holdings level call number,Holdings level call number suffix,Number of items,Holdings statement,Holdings statement for supplements,Holdings statement for indexes,ILL policy,Digitization policy,Retention policy,Notes,Electronic access,Acquisition method,Order format,Receipt status,Tags 0b1e3760-f689-493e-a98e-9cc9dadb7e83,title,,ho13,FOLIO,d1670310-ceac-47d9-aaba-aaeeb890bc07,Physical,"Book, print (books)",Test administrative note,Annex,Main Library,shelving title,copy number,LC Modified,prefix,call number,suffix,10,statement;statement public note;statement staff note,statement for supplements;statement for supplements public note;statement for supplements staff note,statement for indexes;statement for indexes public note;statement for indexes staff note,Limited lending policy,digitisation policy,retention policy,Note;a note;false;diku;b160f13a-ddba-4053-b9c4-60ec5ea45d56|Note;a note;true;diku;b160f13a-ddba-4053-b9c4-60ec5ea45d56,"URL relationship;URI;Link text;Materials specified;URL public note Version of resource;www.someurl.com;link text;material;www.someurl.com",aquisition method,order format,receipt status, 855d4693-4087-4339-8c14-c25c350e5e59,title,,ho14,FOLIO,,,,,Main Library,,,,,,,,,,,,,,,,,,,, diff --git a/src/test/resources/output/bulk_edit_holdings_records_output_item_barcode.csv b/src/test/resources/output/bulk_edit_holdings_records_output_item_barcode.csv index d2bde4358..3f9a7b16b 100644 --- a/src/test/resources/output/bulk_edit_holdings_records_output_item_barcode.csv +++ b/src/test/resources/output/bulk_edit_holdings_records_output_item_barcode.csv @@ -1,4 +1,4 @@ -Holdings UUID,"Instance (Title, Publisher, Publication date)",Suppress from discovery,Holdings HRID,Source,Former holdings Id,Holdings type,Statistical codes,Administrative note,Holdings permanent location,Holdings temporary location,Shelving title,Holdings copy number,Holdings level call number type,Holdings level call number prefix,Holdings level call number,Holdings level call number suffix,Number of items,Holdings statement,Holdings statement for supplements,Holdings statement for indexes,ILL policy,Digitization policy,Retention policy,Notes,Electronic access,Acquisition method,Order format,Receipt status,Tags +Holdings UUID,"Instance (Title, Publisher, Publication date)",Suppress from discovery,Holdings HRID,Source,Former holdings Id,Holdings type,Statistical codes,Administrative note,Holdings permanent location,Holdings temporary location,Shelving title,Holdings copy number,Holdings level call number type,Holdings level call number prefix,Holdings level call number,Holdings level call number suffix,Number of items,Holdings statement,Holdings statement for supplements,Holdings statement for indexes,ILL policy,Digitization policy,Retention policy,Notes,Electronic access,Acquisition method,Order format,Receipt status,Tags 0b1e3760-f689-493e-a98e-9cc9dadb7e83,title,,ho13,FOLIO,d1670310-ceac-47d9-aaba-aaeeb890bc07,Physical,"Book, print (books)",Test administrative note,Annex,Main Library,shelving title,copy number,LC Modified,prefix,call number,suffix,10,statement;statement public note;statement staff note,statement for supplements;statement for supplements public note;statement for supplements staff note,statement for indexes;statement for indexes public note;statement for indexes staff note,Limited lending policy,digitisation policy,retention policy,Note;a note;false;diku;b160f13a-ddba-4053-b9c4-60ec5ea45d56|Note;a note;true;diku;b160f13a-ddba-4053-b9c4-60ec5ea45d56,"URL relationship;URI;Link text;Materials specified;URL public note Version of resource;www.someurl.com;link text;material;www.someurl.com",aquisition method,order format,receipt status, 855d4693-4087-4339-8c14-c25c350e5e59,title,,ho14,FOLIO,,,,,Main Library,,,,,,,,,,,,,,,,,,,, diff --git a/src/test/resources/output/bulk_edit_holdings_records_output_marc.csv b/src/test/resources/output/bulk_edit_holdings_records_output_marc.csv index 4f76c18cf..213b2ed25 100644 --- a/src/test/resources/output/bulk_edit_holdings_records_output_marc.csv +++ b/src/test/resources/output/bulk_edit_holdings_records_output_marc.csv @@ -1,4 +1,4 @@ -Holdings record id,Version,HRID,Holdings type,Former ids,"Instance (Title, Publisher, Publication date)",Permanent location,Temporary location,Effective location,Electronic access,Call number type,Call number prefix,Call number,Call number suffix,Shelving title,Acquisition format,Acquisition method,Receipt status,Administrative note,Notes,Ill policy,Retention policy,Digitization policy,Holdings statements,Holdings statements for indexes,Holdings statements for supplements,Copy number,Number of items,Receiving history,Discovery suppress,Statistical codes,Tags,Source +Holdings record id,Version,HRID,Holdings type,Former ids,"Instance (Title, Publisher, Publication date)",Permanent location,Temporary location,Effective location,Electronic access,Call number type,Call number prefix,Call number,Call number suffix,Shelving title,Acquisition format,Acquisition method,Receipt status,Administrative note,Notes,Ill policy,Retention policy,Digitization policy,Holdings statements,Holdings statements for indexes,Holdings statements for supplements,Copy number,Number of items,Receiving history,Discovery suppress,Statistical codes,Tags,Source 0b1e3760-f689-493e-a98e-9cc9dadb7e83,1,ho13,Physical,d1670310-ceac-47d9-aaba-aaeeb890bc07,Sample instance;5bf370e0-8cca-4d9c-82e4-5170ab2a0a39,Annex,Main Library,Main Library,www.someurl.com;link text;material;www.someurl.com;Version of resource,LC Modified,prefix,call number,suffix,shelving title,order format,aquisition method,receipt status,Test administrative note,Note;a note;false|Note;a note;true,Limited lending policy,retention policy,digitisation policy,statement;statement public note;statement staff note,statement for indexes;statement for indexes public note;statement for indexes staff note,statement for supplements;statement for supplements public note;statement for supplements staff note,copy number,10,|true;enum;chronology|;enum2;chronology2,,"Book, print (books)",,FOLIO d29b9fa5-c7f5-4b77-9f99-79e5c3a9ae75,1,ho14,,,Sample instance;5bf370e0-8cca-4d9c-82e4-5170ab2a0a39,Main Library,Annex,Annex,,,,,,,,,,,,,,,,,,,,,,,,FOLIO 855d4693-4087-4339-8c14-c25c350e5e59,1,ho15,,,Sample instance;5bf370e0-8cca-4d9c-82e4-5170ab2a0a39,Main Library,Main Library,Main Library,,,,,,,,,,,,,,,,,,,,,,,,MARC diff --git a/src/test/resources/output/bulk_edit_holdings_records_reference_not_found.csv b/src/test/resources/output/bulk_edit_holdings_records_reference_not_found.csv index 136844fc5..66efd8ea8 100644 --- a/src/test/resources/output/bulk_edit_holdings_records_reference_not_found.csv +++ b/src/test/resources/output/bulk_edit_holdings_records_reference_not_found.csv @@ -1,4 +1,4 @@ -Holdings UUID,"Instance (Title, Publisher, Publication date)",Suppress from discovery,Holdings HRID,Source,Former holdings Id,Holdings type,Statistical codes,Administrative note,Holdings permanent location,Holdings temporary location,Shelving title,Holdings copy number,Holdings level call number type,Holdings level call number prefix,Holdings level call number,Holdings level call number suffix,Number of items,Holdings statement,Holdings statement for supplements,Holdings statement for indexes,ILL policy,Digitization policy,Retention policy,Notes,Electronic access,Acquisition method,Order format,Receipt status,Tags +Holdings UUID,"Instance (Title, Publisher, Publication date)",Suppress from discovery,Holdings HRID,Source,Former holdings Id,Holdings type,Statistical codes,Administrative note,Holdings permanent location,Holdings temporary location,Shelving title,Holdings copy number,Holdings level call number type,Holdings level call number prefix,Holdings level call number,Holdings level call number suffix,Number of items,Holdings statement,Holdings statement for supplements,Holdings statement for indexes,ILL policy,Digitization policy,Retention policy,Notes,Electronic access,Acquisition method,Order format,Receipt status,Tags 855d4693-4087-4339-8c14-c25c350e5e59,title,,ho14,FOLIO,,1d51c4da-0d5f-4303-a922-3e9d7a9b22f3,,,Main Library,,,,,,,,,,,,,,,,,,,, f836ca1d-c55a-4689-9b57-bb0de0c4d43d,title,,ho14,FOLIO,,,,,Main Library,,,,1d51c4da-0d5f-4303-a922-3e9d7a9b22f3,,,,,,,,,,,,,,,, c10bb70f-b0fd-4623-a8cf-25e5198087ad,title,,ho14,FOLIO,,,,,Main Library,,,,,,,,,,,,,,,1d51c4da-0d5f-4303-a922-3e9d7a9b22f3;a note;false;diku;1d51c4da-0d5f-4303-a922-3e9d7a9b22f3,,,,, diff --git a/src/test/resources/output/bulk_edit_instance_by_issn_isbn_output.csv b/src/test/resources/output/bulk_edit_instance_by_issn_isbn_output.csv index 9add38bfb..f6db323ca 100644 --- a/src/test/resources/output/bulk_edit_instance_by_issn_isbn_output.csv +++ b/src/test/resources/output/bulk_edit_instance_by_issn_isbn_output.csv @@ -1,2 +1,2 @@ -Instance UUID,Suppress from discovery,Staff suppress,Previously held,Instance HRID,Source,Cataloged date,Instance status term,Mode of issuance,Administrative note,Resource title,Index title,Series statements,Contributors,Edition,Physical description,Resource type,Nature of content,Formats,Languages,Publication frequency,Publication range,Notes +Instance UUID,Suppress from discovery,Staff suppress,Previously held,Instance HRID,Source,Cataloged date,Instance status term,Mode of issuance,Administrative note,Resource title,Index title,Series statements,Contributors,Edition,Physical description,Resource type,Nature of content,Formats,Languages,Publication frequency,Publication range,Notes 7fbd5d84-62d1-44c6-9c45-6cb173998bbd,false,false,true,inst000000000006,FOLIO,2024-01-26,,,Cataloging data,Bridget Jones's Baby: the diaries,,,"Fielding, Helen",First American Edition,219 pages ; 20 cm.,6312d172-f0cf-40f6-b27d-9fa8feaf332f,,,eng,A frequency description,A publication range, diff --git a/src/test/resources/output/bulk_edit_instance_identifiers_errors_output.csv b/src/test/resources/output/bulk_edit_instance_identifiers_errors_output.csv index 7216d44ac..8b9e26b0f 100644 --- a/src/test/resources/output/bulk_edit_instance_identifiers_errors_output.csv +++ b/src/test/resources/output/bulk_edit_instance_identifiers_errors_output.csv @@ -1,4 +1,4 @@ -inst000000000022,Instance type was not found by id: [6312d172-f0cf-40f6-b27d-9fa8feaf332f] +inst000000000022,Instance type was not found by id: [6312d172-f0cf-40f6-b27d-9fa8feaf332f] inst000000000022,Nature of content term was not found by id: [921e6d93-bafb-4a02-b62f-dcd027c45406] inst000000000022,Instance format was not found by id: [5cb91d15-96b1-4b8a-bf60-ec310538da66] inst000000000003,No match found diff --git a/src/test/resources/output/bulk_edit_instance_identifiers_output.csv b/src/test/resources/output/bulk_edit_instance_identifiers_output.csv index 4874ab195..628ca17f4 100644 --- a/src/test/resources/output/bulk_edit_instance_identifiers_output.csv +++ b/src/test/resources/output/bulk_edit_instance_identifiers_output.csv @@ -1,3 +1,3 @@ -Instance UUID,Suppress from discovery,Staff suppress,Previously held,Instance HRID,Source,Cataloged date,Instance status term,Mode of issuance,Administrative note,Resource title,Index title,Series statements,Contributors,Edition,Physical description,Resource type,Nature of content,Formats,Languages,Publication frequency,Publication range,Notes +Instance UUID,Suppress from discovery,Staff suppress,Previously held,Instance HRID,Source,Cataloged date,Instance status term,Mode of issuance,Administrative note,Resource title,Index title,Series statements,Contributors,Edition,Physical description,Resource type,Nature of content,Formats,Languages,Publication frequency,Publication range,Notes 00f10ab9-d845-4334-92d2-ff55862bf4f9,false,,false,inst000000000002,FOLIO,,,,,American Bar Association journal.,American Bar Association journal.,,American Bar Association; American Bar Association. Journal,,69 v. : ill. ; 23-30 cm.,6312d172-f0cf-40f6-b27d-9fa8feaf332f,,5cb91d15-96b1-4b8a-bf60-ec310538da66,eng,"Monthly, 1921-83 | Quarterly, 1915-20","Began with vol. 1, no. 1 (Jan. 1915); ceased with v. 69, [no.12] (Dec. 1983)", 549fad9e-7f8e-4d8e-9a71-00d251817866,false,true,false,inst000000000028,FOLIO,,,,,"Agile Organisation, Risiko- und Change Management Harald Augustin (Hrsg.)",,Umsetzung der DIN EN ISO 9001:2015 / Harald Augustin (Hrsg.) ; Band 2 | Berichte aus der Betriebswirtschaft | Umsetzung der DIN EN ISO 9001:2015 Band 2,"Augustin, Harald; Shaker Verlag GmbH",,"x, 148 Seiten Illustrationen 21 cm, 188 g",6312d172-f0cf-40f6-b27d-9fa8feaf332f,,,ger,,, diff --git a/src/test/resources/output/bulk_edit_instance_identifiers_output_some_not_found.csv b/src/test/resources/output/bulk_edit_instance_identifiers_output_some_not_found.csv index 9096e4b31..28412004d 100644 --- a/src/test/resources/output/bulk_edit_instance_identifiers_output_some_not_found.csv +++ b/src/test/resources/output/bulk_edit_instance_identifiers_output_some_not_found.csv @@ -1,2 +1,2 @@ -Instance UUID,Suppress from discovery,Staff suppress,Previously held,Instance HRID,Source,Cataloged date,Instance status term,Mode of issuance,Administrative note,Resource title,Index title,Series statements,Contributors,Edition,Physical description,Resource type,Nature of content,Formats,Languages,Publication frequency,Publication range,Notes +Instance UUID,Suppress from discovery,Staff suppress,Previously held,Instance HRID,Source,Cataloged date,Instance status term,Mode of issuance,Administrative note,Resource title,Index title,Series statements,Contributors,Edition,Physical description,Resource type,Nature of content,Formats,Languages,Publication frequency,Publication range,Notes 00f10ab9-d845-4334-92d2-ff55862bf4f9,false,,false,inst000000000022,FOLIO,,,,,American Bar Association journal.,American Bar Association journal.,,American Bar Association; American Bar Association. Journal,,69 v. : ill. ; 23-30 cm.,6312d172-f0cf-40f6-b27d-9fa8feaf332f,921e6d93-bafb-4a02-b62f-dcd027c45406,5cb91d15-96b1-4b8a-bf60-ec310538da66,eng,"Monthly, 1921-83 | Quarterly, 1915-20","Began with vol. 1, no. 1 (Jan. 1915); ceased with v. 69, [no.12] (Dec. 1983)", diff --git a/src/test/resources/output/bulk_edit_item_identifiers_errors_output.csv b/src/test/resources/output/bulk_edit_item_identifiers_errors_output.csv index 883bbc201..617c76f85 100644 --- a/src/test/resources/output/bulk_edit_item_identifiers_errors_output.csv +++ b/src/test/resources/output/bulk_edit_item_identifiers_errors_output.csv @@ -1,3 +1,3 @@ -12345,No match found +12345,No match found 90000,Duplicate entry invalid_date,Failed to parse Date from value "+2022-03-15T12:23:02.942+00:00" in items.status.date diff --git a/src/test/resources/output/bulk_edit_item_identifiers_holdings_errors_output.csv b/src/test/resources/output/bulk_edit_item_identifiers_holdings_errors_output.csv index c78045bc8..1d3e65ad7 100644 --- a/src/test/resources/output/bulk_edit_item_identifiers_holdings_errors_output.csv +++ b/src/test/resources/output/bulk_edit_item_identifiers_holdings_errors_output.csv @@ -1,2 +1,2 @@ -invalid_holding_uuid,No match found +invalid_holding_uuid,No match found e3ff6133-b9a2-4d4c-a1c9-dc1867d4df19,Duplicate entry diff --git a/src/test/resources/output/bulk_edit_item_identifiers_output.csv b/src/test/resources/output/bulk_edit_item_identifiers_output.csv index 6fe1dcf60..ba453f87f 100644 --- a/src/test/resources/output/bulk_edit_item_identifiers_output.csv +++ b/src/test/resources/output/bulk_edit_item_identifiers_output.csv @@ -1,4 +1,4 @@ -Item UUID,"Instance (Title, Publisher, Publication date)","Holdings (Location, Call number)",Item effective location,Effective call number,Suppress from discovery,Item HRID,Barcode,Accession number,Item identifier,Former identifier,Statistical codes,Administrative note,Material type,Copy number,Shelving order,Item level call number type,Item level call number prefix,Item level call number,Item level call number suffix,Number of pieces,Description of pieces,Enumeration,Chronology,Volume,"Year, caption",Number of missing pieces,Missing pieces,Missing pieces date,Item damaged status,Item damaged status date,Notes,Permanent loan type,Temporary loan type,Status,Check in note,Check out note,Item permanent location,Item temporary location,Electronic access,Is bound with,Bound with titles,Tags,Holdings UUID +Item UUID,"Instance (Title, Publisher, Publication date)","Holdings (Location, Call number)",Item effective location,Effective call number,Suppress from discovery,Item HRID,Barcode,Accession number,Item identifier,Former identifier,Statistical codes,Administrative note,Material type,Copy number,Shelving order,Item level call number type,Item level call number prefix,Item level call number,Item level call number suffix,Number of pieces,Description of pieces,Enumeration,Chronology,Volume,"Year, caption",Number of missing pieces,Missing pieces,Missing pieces date,Item damaged status,Item damaged status date,Notes,Permanent loan type,Temporary loan type,Status,Check in note,Check out note,Item permanent location,Item temporary location,Electronic access,Is bound with,Bound with titles,Tags,Holdings UUID 100d10bf-2f06-4aa0-be15-0b95b2d9f9e3,title,Main Library > TK5105.88815 . A58 2004 FT MEADE,Annex,TK5105.88815 . A58 2004 FT MEADE,,item000000000015,90000,,,,books,,book,,TK 45105.88815 A58 42004 FT MEADE,,,TK5105.88815 . A58 2004 FT MEADE,,,,,,,,,,,Not Damaged,2022-03-15,Note;Sample note;false;diku;8d0a5eca-25de-4391-81a9-236eeefdd20b,Can circulate,,Paged,Check in note,,Main Library,Annex,"URL relationship;URI;Link text;Materials specified;URL public note Version of resource;http://www.loc.gov/catdir/toc/ecip0718/2007020429.html;Links available;Table of contents;Table of contents only",false,,,e3ff6133-b9a2-4d4c-a1c9-dc1867d4df19 7212ba6a-8dcf-45a1-be9a-ffaa847c4423,title,Main Library > TK5105.88815 . A58 2004 FT MEADE,Main Library,TK5105.88815 . A58 2004 FT MEADE,,item000000000014,10101,,,,books,,book,Copy 2,TK 45105.88815 A58 42004 FT MEADE COPY 12,,,TK5105.88815 . A58 2004 FT MEADE,,,,,,,,,,,,,,Can circulate,,Paged,,,Main Library,,"URL relationship;URI;Link text;Materials specified;URL public note diff --git a/src/test/resources/output/bulk_edit_item_identifiers_output_escaped.csv b/src/test/resources/output/bulk_edit_item_identifiers_output_escaped.csv index 8260a2a97..47ae50a50 100644 --- a/src/test/resources/output/bulk_edit_item_identifiers_output_escaped.csv +++ b/src/test/resources/output/bulk_edit_item_identifiers_output_escaped.csv @@ -1,3 +1,3 @@ -Item UUID,"Instance (Title, Publisher, Publication date)","Holdings (Location, Call number)",Item effective location,Effective call number,Suppress from discovery,Item HRID,Barcode,Accession number,Item identifier,Former identifier,Statistical codes,Administrative note,Material type,Copy number,Shelving order,Item level call number type,Item level call number prefix,Item level call number,Item level call number suffix,Number of pieces,Description of pieces,Enumeration,Chronology,Volume,"Year, caption",Number of missing pieces,Missing pieces,Missing pieces date,Item damaged status,Item damaged status date,Notes,Permanent loan type,Temporary loan type,Status,Check in note,Check out note,Item permanent location,Item temporary location,Electronic access,Is bound with,Bound with titles,Tags,Holdings UUID +Item UUID,"Instance (Title, Publisher, Publication date)","Holdings (Location, Call number)",Item effective location,Effective call number,Suppress from discovery,Item HRID,Barcode,Accession number,Item identifier,Former identifier,Statistical codes,Administrative note,Material type,Copy number,Shelving order,Item level call number type,Item level call number prefix,Item level call number,Item level call number suffix,Number of pieces,Description of pieces,Enumeration,Chronology,Volume,"Year, caption",Number of missing pieces,Missing pieces,Missing pieces date,Item damaged status,Item damaged status date,Notes,Permanent loan type,Temporary loan type,Status,Check in note,Check out note,Item permanent location,Item temporary location,Electronic access,Is bound with,Bound with titles,Tags,Holdings UUID 7212ba6a-8dcf-45a1-be9a-ffaa847c4423,title,Main Library > TK5105.88815 . A58 2004 FT MEADE,Main Library,TK5105.88815 . A58 2004 FT MEADE,,item000000000014,10101,,,,books,,book,Copy 2,TK 45105.88815 A58 42004 FT MEADE COPY 12,,,TK5105.88815 . A58 2004 FT MEADE,,,,,,,,,,,,,,Can circulate,,Paged,,,Main Library,,"URL relationship;URI;Link text;Materials specified;URL public note Version of resource;http://www.loc.gov/catdir/toc/ecip0718/2007020429.html;Links available;Table of contents;Table of contents only",false,,,e3ff6133-b9a2-4d4c-a1c9-dc1867d4df19 diff --git a/src/test/resources/output/bulk_edit_item_identifiers_output_some_not_found.csv b/src/test/resources/output/bulk_edit_item_identifiers_output_some_not_found.csv index 824ae6f07..08b519e84 100644 --- a/src/test/resources/output/bulk_edit_item_identifiers_output_some_not_found.csv +++ b/src/test/resources/output/bulk_edit_item_identifiers_output_some_not_found.csv @@ -1,3 +1,3 @@ -Item UUID,"Instance (Title, Publisher, Publication date)","Holdings (Location, Call number)",Item effective location,Effective call number,Suppress from discovery,Item HRID,Barcode,Accession number,Item identifier,Former identifier,Statistical codes,Administrative note,Material type,Copy number,Shelving order,Item level call number type,Item level call number prefix,Item level call number,Item level call number suffix,Number of pieces,Description of pieces,Enumeration,Chronology,Volume,"Year, caption",Number of missing pieces,Missing pieces,Missing pieces date,Item damaged status,Item damaged status date,Notes,Permanent loan type,Temporary loan type,Status,Check in note,Check out note,Item permanent location,Item temporary location,Electronic access,Is bound with,Bound with titles,Tags,Holdings UUID +Item UUID,"Instance (Title, Publisher, Publication date)","Holdings (Location, Call number)",Item effective location,Effective call number,Suppress from discovery,Item HRID,Barcode,Accession number,Item identifier,Former identifier,Statistical codes,Administrative note,Material type,Copy number,Shelving order,Item level call number type,Item level call number prefix,Item level call number,Item level call number suffix,Number of pieces,Description of pieces,Enumeration,Chronology,Volume,"Year, caption",Number of missing pieces,Missing pieces,Missing pieces date,Item damaged status,Item damaged status date,Notes,Permanent loan type,Temporary loan type,Status,Check in note,Check out note,Item permanent location,Item temporary location,Electronic access,Is bound with,Bound with titles,Tags,Holdings UUID 100d10bf-2f06-4aa0-be15-0b95b2d9f9e3,title,Main Library > TK5105.88815 . A58 2004 FT MEADE,Annex,TK5105.88815 . A58 2004 FT MEADE,,item000000000015,90000,,,,books,,book,,TK 45105.88815 A58 42004 FT MEADE,,,TK5105.88815 . A58 2004 FT MEADE,,,,,,,,,,,Not Damaged,2022-03-15,Note;Sample note;false;diku;8d0a5eca-25de-4391-81a9-236eeefdd20b,Can circulate,,Paged,Check in note,,Main Library,Annex,"URL relationship;URI;Link text;Materials specified;URL public note Version of resource;http://www.loc.gov/catdir/toc/ecip0718/2007020429.html;Links available;Table of contents;Table of contents only",false,,,e3ff6133-b9a2-4d4c-a1c9-dc1867d4df19 diff --git a/src/test/resources/output/bulk_edit_item_query_output.csv b/src/test/resources/output/bulk_edit_item_query_output.csv index 5b8e93b90..78d83c73f 100644 --- a/src/test/resources/output/bulk_edit_item_query_output.csv +++ b/src/test/resources/output/bulk_edit_item_query_output.csv @@ -1,3 +1,3 @@ -Item UUID,"Instance (Title, Publisher, Publication date)","Holdings (Location, Call number)",Item effective location,Effective call number,Suppress from discovery,Item HRID,Barcode,Accession number,Item identifier,Former identifier,Statistical codes,Administrative note,Material type,Copy number,Shelving order,Item level call number type,Item level call number prefix,Item level call number,Item level call number suffix,Number of pieces,Description of pieces,Enumeration,Chronology,Volume,"Year, caption",Number of missing pieces,Missing pieces,Missing pieces date,Item damaged status,Item damaged status date,Notes,Permanent loan type,Temporary loan type,Status,Check in note,Check out note,Item permanent location,Item temporary location,Electronic access,Is bound with,Bound with titles,Tags,Holdings UUID +Item UUID,"Instance (Title, Publisher, Publication date)","Holdings (Location, Call number)",Item effective location,Effective call number,Suppress from discovery,Item HRID,Barcode,Accession number,Item identifier,Former identifier,Statistical codes,Administrative note,Material type,Copy number,Shelving order,Item level call number type,Item level call number prefix,Item level call number,Item level call number suffix,Number of pieces,Description of pieces,Enumeration,Chronology,Volume,"Year, caption",Number of missing pieces,Missing pieces,Missing pieces date,Item damaged status,Item damaged status date,Notes,Permanent loan type,Temporary loan type,Status,Check in note,Check out note,Item permanent location,Item temporary location,Electronic access,Is bound with,Bound with titles,Tags,Holdings UUID 100d10bf-2f06-4aa0-be15-0b95b2d9f9e3,title,Main Library > TK5105.88815 . A58 2004 FT MEADE,Annex,TK5105.88815 . A58 2004 FT MEADE,,item000000000015,123123123,,,,books,,book,,TK 45105.88815 A58 42004 FT MEADE,,,TK5105.88815 . A58 2004 FT MEADE,,,,,,,,,,,Not Damaged,2022-03-15,Note;Sample note;false,Can circulate,,Paged,Check in note,,Main Library,Annex,"URL relationship;URI;Link text;Materials specified;URL public note Version of resource;http://www.loc.gov/catdir/toc/ecip0718/2007020429.html;Links available;Table of contents;Table of contents only",false,,,e3ff6133-b9a2-4d4c-a1c9-dc1867d4df19 diff --git a/src/test/resources/output/bulk_edit_items_bad_reference_errors.csv b/src/test/resources/output/bulk_edit_items_bad_reference_errors.csv index 885dd26f8..bb51162dd 100644 --- a/src/test/resources/output/bulk_edit_items_bad_reference_errors.csv +++ b/src/test/resources/output/bulk_edit_items_bad_reference_errors.csv @@ -1,4 +1,4 @@ -badCallNumberType,Call number type was not found by id: [1d51c4da-0d5f-4303-a922-3e9d7a9b22f3] +badCallNumberType,Call number type was not found by id: [1d51c4da-0d5f-4303-a922-3e9d7a9b22f3] badDamagedStatus,Damaged status was not found by id: [a6236035-b88f-4d0c-a1ca-48af9bdde3c8] badNoteType,Note type was not found by id: [43286219-6c16-4884-b967-65b419e48f8d] badStatisticalCode,Statistical code was not found by id: [1d51c4da-0d5f-4303-a922-3e9d7a9b22f3] diff --git a/src/test/resources/output/bulk_edit_items_empty_reference.csv b/src/test/resources/output/bulk_edit_items_empty_reference.csv index 250e1fc82..216f2966c 100644 --- a/src/test/resources/output/bulk_edit_items_empty_reference.csv +++ b/src/test/resources/output/bulk_edit_items_empty_reference.csv @@ -1,4 +1,4 @@ -Item UUID,"Instance (Title, Publisher, Publication date)","Holdings (Location, Call number)",Item effective location,Effective call number,Suppress from discovery,Item HRID,Barcode,Accession number,Item identifier,Former identifier,Statistical codes,Administrative note,Material type,Copy number,Shelving order,Item level call number type,Item level call number prefix,Item level call number,Item level call number suffix,Number of pieces,Description of pieces,Enumeration,Chronology,Volume,"Year, caption",Number of missing pieces,Missing pieces,Missing pieces date,Item damaged status,Item damaged status date,Notes,Permanent loan type,Temporary loan type,Status,Check in note,Check out note,Item permanent location,Item temporary location,Electronic access,Is bound with,Bound with titles,Tags,Holdings UUID +Item UUID,"Instance (Title, Publisher, Publication date)","Holdings (Location, Call number)",Item effective location,Effective call number,Suppress from discovery,Item HRID,Barcode,Accession number,Item identifier,Former identifier,Statistical codes,Administrative note,Material type,Copy number,Shelving order,Item level call number type,Item level call number prefix,Item level call number,Item level call number suffix,Number of pieces,Description of pieces,Enumeration,Chronology,Volume,"Year, caption",Number of missing pieces,Missing pieces,Missing pieces date,Item damaged status,Item damaged status date,Notes,Permanent loan type,Temporary loan type,Status,Check in note,Check out note,Item permanent location,Item temporary location,Electronic access,Is bound with,Bound with titles,Tags,Holdings UUID 8feb55ab-a2d1-4358-abb0-6ca462e7d847,title,Main Library > TK5105.88815 . A58 2004 FT MEADE,Main Library,,,it00000000001,emptyCallNumberType,,,,,,book,,,,,,,,,,,,,,,,,,,Can circulate,,Available,,,,,,false,,,9f5e359f-3e23-4936-942b-3827f7d5e683 8feb55ab-a2d1-4358-abb0-6ca462e7d847,title,Main Library > TK5105.88815 . A58 2004 FT MEADE,Main Library,,,it00000000001,emptyDamagedStatus,,,,,,book,,,,,,,,,,,,,,,,,2022-12-02,,Can circulate,,Available,,,,,,false,,,9f5e359f-3e23-4936-942b-3827f7d5e683 8feb55ab-a2d1-4358-abb0-6ca462e7d847,title,Main Library > TK5105.88815 . A58 2004 FT MEADE,Main Library,,,it00000000001,emptyNoteType,,,,,,book,,,,,,,,,,,,,,,,,2022-12-02,;Note;false;diku;null,Can circulate,,Available,,,,,,false,,,9f5e359f-3e23-4936-942b-3827f7d5e683 diff --git a/src/test/resources/output/bulk_edit_items_reference_not_found.csv b/src/test/resources/output/bulk_edit_items_reference_not_found.csv index 639668513..bd2bf8c8b 100644 --- a/src/test/resources/output/bulk_edit_items_reference_not_found.csv +++ b/src/test/resources/output/bulk_edit_items_reference_not_found.csv @@ -1,4 +1,4 @@ -Item UUID,"Instance (Title, Publisher, Publication date)","Holdings (Location, Call number)",Item effective location,Effective call number,Suppress from discovery,Item HRID,Barcode,Accession number,Item identifier,Former identifier,Statistical codes,Administrative note,Material type,Copy number,Shelving order,Item level call number type,Item level call number prefix,Item level call number,Item level call number suffix,Number of pieces,Description of pieces,Enumeration,Chronology,Volume,"Year, caption",Number of missing pieces,Missing pieces,Missing pieces date,Item damaged status,Item damaged status date,Notes,Permanent loan type,Temporary loan type,Status,Check in note,Check out note,Item permanent location,Item temporary location,Electronic access,Is bound with,Bound with titles,Tags,Holdings UUID +Item UUID,"Instance (Title, Publisher, Publication date)","Holdings (Location, Call number)",Item effective location,Effective call number,Suppress from discovery,Item HRID,Barcode,Accession number,Item identifier,Former identifier,Statistical codes,Administrative note,Material type,Copy number,Shelving order,Item level call number type,Item level call number prefix,Item level call number,Item level call number suffix,Number of pieces,Description of pieces,Enumeration,Chronology,Volume,"Year, caption",Number of missing pieces,Missing pieces,Missing pieces date,Item damaged status,Item damaged status date,Notes,Permanent loan type,Temporary loan type,Status,Check in note,Check out note,Item permanent location,Item temporary location,Electronic access,Is bound with,Bound with titles,Tags,Holdings UUID 8feb55ab-a2d1-4358-abb0-6ca462e7d847,title,Main Library > TK5105.88815 . A58 2004 FT MEADE,Main Library,,,it00000000001,badCallNumberType,,,,,,book,,,1d51c4da-0d5f-4303-a922-3e9d7a9b22f3,,,,,,,,,,,,,,,,Can circulate,,Available,,,,,,false,,,9f5e359f-3e23-4936-942b-3827f7d5e683 8feb55ab-a2d1-4358-abb0-6ca462e7d847,title,Main Library > TK5105.88815 . A58 2004 FT MEADE,Main Library,,,it00000000001,badDamagedStatus,,,,,,book,,,,,,,,,,,,,,,,a6236035-b88f-4d0c-a1ca-48af9bdde3c8,2022-12-02,,Can circulate,,Available,,,,,,false,,,9f5e359f-3e23-4936-942b-3827f7d5e683 8feb55ab-a2d1-4358-abb0-6ca462e7d847,title,Main Library > TK5105.88815 . A58 2004 FT MEADE,Main Library,,,it00000000001,badNoteType,,,,,,book,,,,,,,,,,,,,,,,,2022-12-02,43286219-6c16-4884-b967-65b419e48f8d;Note;false;diku;43286219-6c16-4884-b967-65b419e48f8d,Can circulate,,Available,,,,,,false,,,9f5e359f-3e23-4936-942b-3827f7d5e683 diff --git a/src/test/resources/output/bulk_edit_no_group_output.csv b/src/test/resources/output/bulk_edit_no_group_output.csv index 967e87f4f..754756c9a 100644 --- a/src/test/resources/output/bulk_edit_no_group_output.csv +++ b/src/test/resources/output/bulk_edit_no_group_output.csv @@ -1,2 +1,2 @@ -User name,User id,External system id,Barcode,Active,Type,Patron group,Departments,Proxy for,Last name,First name,Middle name,Preferred first name,Email,Phone,Mobile phone,Date of birth,Addresses,Preferred contact type id,Link to the profile picture,Enrollment date,Expiration date,Tags,Custom fields,Preferred email communications +User name,User id,External system id,Barcode,Active,Type,Patron group,Departments,Proxy for,Last name,First name,Middle name,Preferred first name,Email,Phone,Mobile phone,Date of birth,Addresses,Preferred contact type id,Link to the profile picture,Enrollment date,Expiration date,Tags,Custom fields,Preferred email communications morty,bec20636-fb68-41fd-84ea-2cf910673599,,456,true,,,,,morty,panic,,,morty@example.com,,,,,002,,2020-10-07 04:00:00.000Z,,,, diff --git a/src/test/resources/output/bulk_edit_user_content_updates_expected_output.csv b/src/test/resources/output/bulk_edit_user_content_updates_expected_output.csv index 30b0b4131..221e00f6b 100644 --- a/src/test/resources/output/bulk_edit_user_content_updates_expected_output.csv +++ b/src/test/resources/output/bulk_edit_user_content_updates_expected_output.csv @@ -1,4 +1,4 @@ -User name,User id,External system id,Barcode,Active,Type,Patron group,Departments,Proxy for,Last name,First name,Middle name,Preferred first name,Email,Phone,Mobile phone,Date of birth,Addresses,Preferred contact type id,Enrollment date,Expiration date,Created date,Updated date,Tags,Custom fields +User name,User id,External system id,Barcode,Active,Type,Patron group,Departments,Proxy for,Last name,First name,Middle name,Preferred first name,Email,Phone,Mobile phone,Date of birth,Addresses,Preferred contact type id,Enrollment date,Expiration date,Created date,Updated date,Tags,Custom fields ,,,123,false,,some new group,,,,,,,123@example1.com,,,,,,,2022-06-12 23:59:00.000Z,,,, ,,,456,false,,some new group,,,,,,,456@example2.com,,,,,,,2022-06-12 23:59:00.000Z,,,, ,,,789,false,,some new group,,,,,,,789@example3.com,,,,,,,2022-06-12 23:59:00.000Z,,,, diff --git a/src/test/resources/output/bulk_edit_user_identifiers_errors_output.csv b/src/test/resources/output/bulk_edit_user_identifiers_errors_output.csv index 294e5f1e4..4c0b8f1b9 100644 --- a/src/test/resources/output/bulk_edit_user_identifiers_errors_output.csv +++ b/src/test/resources/output/bulk_edit_user_identifiers_errors_output.csv @@ -1,3 +1,3 @@ -455,No match found +455,No match found invalid_date,Failed to parse Date from value "+2000-06-08T00:00:00.000+00:00" in users.personal.dateOfBirth 789,Duplicate entry diff --git a/src/test/resources/output/bulk_edit_user_identifiers_output.csv b/src/test/resources/output/bulk_edit_user_identifiers_output.csv index 9306925c0..488eed3bd 100644 --- a/src/test/resources/output/bulk_edit_user_identifiers_output.csv +++ b/src/test/resources/output/bulk_edit_user_identifiers_output.csv @@ -1,4 +1,4 @@ -User name,User id,External system id,Barcode,Active,Type,Patron group,Departments,Proxy for,Last name,First name,Middle name,Preferred first name,Email,Phone,Mobile phone,Date of birth,Addresses,Preferred contact type id,Link to the profile picture,Enrollment date,Expiration date,Tags,Custom fields,Preferred email communications +User name,User id,External system id,Barcode,Active,Type,Patron group,Departments,Proxy for,Last name,First name,Middle name,Preferred first name,Email,Phone,Mobile phone,Date of birth,Addresses,Preferred contact type id,Link to the profile picture,Enrollment date,Expiration date,Tags,Custom fields,Preferred email communications morty,bec20636-fb68-41fd-84ea-2cf910673599,,456,true,,staff,,,morty,panic,,,morty@example.com,,,,;BE;Address line 1;Address line 2;Some City;;12345;;Home,002,655938e6-55a8-4960-b1ce-f90471253f20,2020-10-07 04:00:00.000Z,,tag1;tag2;tag3,TestTextArea:morty's text area|TestRadio:r2|TestTextField:morty's text field|TestSingleSelect:ss2|TestMultiSelect:ms2;ms1|TestCheckbox:true, rick,2205005b-ca51-4a04-87fd-938eefa8f6de,,123,true,,staff,,,rick,psych,,,rick@example.com,,,,,002,655938e6-55a8-4960-b1ce-f90471253f20,2020-10-07 04:00:00.000Z,,,TestMultiSelect:, sheldon,b4cee18d-f862-4ef1-95a5-879fdd619603,,789,true,,staff,,,sheldon,bazinga,,,sheldon@example.com,,,,,002,,,,,, diff --git a/src/test/resources/output/bulk_edit_user_identifiers_output_some_not_found.csv b/src/test/resources/output/bulk_edit_user_identifiers_output_some_not_found.csv index f583ce814..9072af06e 100644 --- a/src/test/resources/output/bulk_edit_user_identifiers_output_some_not_found.csv +++ b/src/test/resources/output/bulk_edit_user_identifiers_output_some_not_found.csv @@ -1,3 +1,3 @@ -User name,User id,External system id,Barcode,Active,Type,Patron group,Departments,Proxy for,Last name,First name,Middle name,Preferred first name,Email,Phone,Mobile phone,Date of birth,Addresses,Preferred contact type id,Link to the profile picture,Enrollment date,Expiration date,Tags,Custom fields,Preferred email communications +User name,User id,External system id,Barcode,Active,Type,Patron group,Departments,Proxy for,Last name,First name,Middle name,Preferred first name,Email,Phone,Mobile phone,Date of birth,Addresses,Preferred contact type id,Link to the profile picture,Enrollment date,Expiration date,Tags,Custom fields,Preferred email communications morty,bec20636-fb68-41fd-84ea-2cf910673599,,456,true,,staff,,,morty,panic,,,morty@example.com,,,,;BE;Address line 1;Address line 2;Some City;;12345;;Home,002,655938e6-55a8-4960-b1ce-f90471253f20,2020-10-07 04:00:00.000Z,,tag1;tag2;tag3,TestTextArea:morty's text area|TestRadio:r2|TestTextField:morty's text field|TestSingleSelect:ss2|TestMultiSelect:ms2;ms1|TestCheckbox:true, sheldon,b4cee18d-f862-4ef1-95a5-879fdd619603,,789,true,,staff,,,sheldon,bazinga,,,sheldon@example.com,,,,,002,,,,,, diff --git a/src/test/resources/output/bulk_edit_user_identifiers_preferred_email_output.csv b/src/test/resources/output/bulk_edit_user_identifiers_preferred_email_output.csv index 540fa8bd1..1ab9a3d89 100644 --- a/src/test/resources/output/bulk_edit_user_identifiers_preferred_email_output.csv +++ b/src/test/resources/output/bulk_edit_user_identifiers_preferred_email_output.csv @@ -1,2 +1,2 @@ -User name,User id,External system id,Barcode,Active,Type,Patron group,Departments,Proxy for,Last name,First name,Middle name,Preferred first name,Email,Phone,Mobile phone,Date of birth,Addresses,Preferred contact type id,Link to the profile picture,Enrollment date,Expiration date,Tags,Custom fields,Preferred email communications +User name,User id,External system id,Barcode,Active,Type,Patron group,Departments,Proxy for,Last name,First name,Middle name,Preferred first name,Email,Phone,Mobile phone,Date of birth,Addresses,Preferred contact type id,Link to the profile picture,Enrollment date,Expiration date,Tags,Custom fields,Preferred email communications rickemail,2205005b-ca51-4a04-87fd-938eefa8f6de,,123,true,,staff,,,rick,psych,,,rick@example.com,,,,,002,655938e6-55a8-4960-b1ce-f90471253f20,2020-10-07 04:00:00.000Z,,,TestMultiSelect:,Programs diff --git a/src/test/resources/output/bulk_edit_users_bad_reference_errors.csv b/src/test/resources/output/bulk_edit_users_bad_reference_errors.csv index ce2610b8f..9a2953342 100644 --- a/src/test/resources/output/bulk_edit_users_bad_reference_errors.csv +++ b/src/test/resources/output/bulk_edit_users_bad_reference_errors.csv @@ -1,2 +1,2 @@ -badAddressType,Address type was not found by id: [db541cda-fcc7-403b-8077-3613f3244901] +badAddressType,Address type was not found by id: [db541cda-fcc7-403b-8077-3613f3244901] badDepartments,Department was not found by id: [103aee0f-c5f6-44de-94aa-74093f0e45d9] diff --git a/src/test/resources/output/bulk_edit_users_empty_reference.csv b/src/test/resources/output/bulk_edit_users_empty_reference.csv index fd889d2e3..60430216f 100644 --- a/src/test/resources/output/bulk_edit_users_empty_reference.csv +++ b/src/test/resources/output/bulk_edit_users_empty_reference.csv @@ -1,4 +1,4 @@ -User name,User id,External system id,Barcode,Active,Type,Patron group,Departments,Proxy for,Last name,First name,Middle name,Preferred first name,Email,Phone,Mobile phone,Date of birth,Addresses,Preferred contact type id,Link to the profile picture,Enrollment date,Expiration date,Tags,Custom fields,Preferred email communications +User name,User id,External system id,Barcode,Active,Type,Patron group,Departments,Proxy for,Last name,First name,Middle name,Preferred first name,Email,Phone,Mobile phone,Date of birth,Addresses,Preferred contact type id,Link to the profile picture,Enrollment date,Expiration date,Tags,Custom fields,Preferred email communications morty,bec20636-fb68-41fd-84ea-2cf910673599,,emptyAddressType,true,,staff,Departments,,morty,panic,,,morty@example.com,,,,;;add1;add2;city;;;;,002,,2020-10-07 04:00:00.000Z,,,, morty,bec20636-fb68-41fd-84ea-2cf910673599,,emptyPreferredContactTypeId,true,,staff,Departments,,morty,panic,,,morty@example.com,,,,;;add1;add2;city;;;;Home,,,2020-10-07 04:00:00.000Z,,,, morty,bec20636-fb68-41fd-84ea-2cf910673599,,emptyDepartments,true,,staff,,,morty,panic,,,morty@example.com,,,,;;add1;add2;city;;;;Home,002,,2020-10-07 04:00:00.000Z,,,, diff --git a/src/test/resources/output/bulk_edit_users_reference_not_found.csv b/src/test/resources/output/bulk_edit_users_reference_not_found.csv index 079284d04..da6f77991 100644 --- a/src/test/resources/output/bulk_edit_users_reference_not_found.csv +++ b/src/test/resources/output/bulk_edit_users_reference_not_found.csv @@ -1,3 +1,3 @@ -User name,User id,External system id,Barcode,Active,Type,Patron group,Departments,Proxy for,Last name,First name,Middle name,Preferred first name,Email,Phone,Mobile phone,Date of birth,Addresses,Preferred contact type id,Link to the profile picture,Enrollment date,Expiration date,Tags,Custom fields,Preferred email communications +User name,User id,External system id,Barcode,Active,Type,Patron group,Departments,Proxy for,Last name,First name,Middle name,Preferred first name,Email,Phone,Mobile phone,Date of birth,Addresses,Preferred contact type id,Link to the profile picture,Enrollment date,Expiration date,Tags,Custom fields,Preferred email communications morty,bec20636-fb68-41fd-84ea-2cf910673599,,badAddressType,true,,staff,Departments,,morty,panic,,,morty@example.com,,,,;;add1;add2;city;;;;db541cda-fcc7-403b-8077-3613f3244901,002,,2020-10-07 04:00:00.000Z,,,, morty,bec20636-fb68-41fd-84ea-2cf910673599,,badDepartments,true,,staff,103aee0f-c5f6-44de-94aa-74093f0e45d9,,morty,panic,,,morty@example.com,,,,;;add1;add2;city;;;;Home,002,,2020-10-07 04:00:00.000Z,,,, diff --git a/src/test/resources/output/circulation_export.csv b/src/test/resources/output/circulation_export.csv index d5a09d6ed..05d185c2b 100644 --- a/src/test/resources/output/circulation_export.csv +++ b/src/test/resources/output/circulation_export.csv @@ -1,4 +1,4 @@ -User barcode,Item barcode,Object,Circ action,Date,Service point,Source,Description +User barcode,Item barcode,Object,Circ action,Date,Service point,Source,Description ,4539876054383,Fee/Fine,Billed,2021-03-12 19:32,Online,"ADMINISTRATOR, DIKU",Fee/Fine type: Test ff type. Fee/Fine owner: Bursar owner. Amount: 5.00. manual 456,,Fee/Fine,Billed,2021-03-17 00:43,Online,"ADMINISTRATOR, DIKU",Fee/Fine type: Test ff type. Fee/Fine owner: Bursar owner. Amount: 100.00. manual 456,,Fee/Fine,Transferred partially,2021-03-17 00:44,Online,"ADMINISTRATOR, DIKU",Fee/Fine type: Test ff type. Amount: 10.00. Balance: 90.00. Transfer account: Transfer2bursar. Additional information to staff: . Additional information to patron: . diff --git a/src/test/resources/output/eholdings_package_export.csv b/src/test/resources/output/eholdings_package_export.csv index 4c067cf5f..fc5f12b04 100644 --- a/src/test/resources/output/eholdings_package_export.csv +++ b/src/test/resources/output/eholdings_package_export.csv @@ -1,4 +1,4 @@ -Provider Id,Provider Name,Provider Level Token,Package Id,Package Name,Package Type,Package Holdings Status,Package Content Type,Package Custom Coverage,Package Show To Patrons,Package Automatically Select,Package Level Token,Package Proxy,Package Access Status Type,Package Tags,Package Agreements,Package Note +Provider Id,Provider Name,Provider Level Token,Package Id,Package Name,Package Type,Package Holdings Status,Package Content Type,Package Custom Coverage,Package Show To Patrons,Package Automatically Select,Package Level Token,Package Proxy,Package Access Status Type,Package Tags,Package Agreements,Package Note 1,API DEV CORPORATE CUSTOMER,id=;ProviderToken 1,1-22,"custom-package, 13",Custom,Selected,Unknown,,Yes,No,ISBN;token 1-22,ezproxy(inherited),Test,,2022-06-02;Test2;Draft | 2022-06-01;Test;Active, Title Id,Title Name,Alternate Titles,Title Holdings Status,Publication Type,Title Type,Contributors,Edition,Publisher,ISSN Print,ISSN Online,ISBN Print,ISBN Online,Subjects,Peer Reviewed,Description,Managed Coverage,Custom Coverage,Coverage Statement,Managed Embargo,Custom Embargo,Title Show To Patrons,Title Proxy,Url,Title Access Status Type,Custom Value 1,Custom Value 2,Custom Value 3,Custom Value 4,Custom Value 5,Title Tags,Title Agreements,Title Note 1,Title Note 2 333,ABC of Diabetes (ABC Series),,Selected,Book,Managed,Tim Holt (Author) | Sudhesh Kumar (Author),,Wiley-Blackwell,,,978-1-4051-7784-9,978-1-4443-1697-1 | 978-1-282-46121-5 | 978-1-118-68486-3,Specialties of internal medicine | Internal Medicine | Internal Medicine | MEDICAL / Endocrinology & Metabolism | Internal medicine | Medicine and Health Sciences | Medicine,,,,2019/03/20 - 2019/03/23 | 2019/03/07 - 2019/03/08,,,,Yes,ezproxy(inherited),,-,,,,,,,2022-06-01;Test;Active,2021-04-01 00:02:01.051Z;Technical note;OCLC Record Status;

Not updated

,2020-03-26 00:03:07.582Z;Customer Support ;UBM;

UBM

diff --git a/src/test/resources/output/eholdings_package_export_with_3_titles.csv b/src/test/resources/output/eholdings_package_export_with_3_titles.csv index 73241ee2f..030623bd2 100644 --- a/src/test/resources/output/eholdings_package_export_with_3_titles.csv +++ b/src/test/resources/output/eholdings_package_export_with_3_titles.csv @@ -1,4 +1,4 @@ -Provider Id,Provider Name,Provider Level Token,Package Id,Package Name,Package Type,Package Holdings Status,Package Content Type,Package Custom Coverage,Package Show To Patrons,Package Automatically Select,Package Level Token,Package Proxy,Package Access Status Type,Package Tags,Package Agreements,Package Note +Provider Id,Provider Name,Provider Level Token,Package Id,Package Name,Package Type,Package Holdings Status,Package Content Type,Package Custom Coverage,Package Show To Patrons,Package Automatically Select,Package Level Token,Package Proxy,Package Access Status Type,Package Tags,Package Agreements,Package Note 1,API DEV CORPORATE CUSTOMER,id=;ProviderToken 1,1-21,"custom-package, 13",Custom,Selected,Unknown,,Yes,No,ISBN;token 1-21,ezproxy(inherited),Test,,2022-06-02;Test2;Draft | 2022-06-01;Test;Active, Title Id,Title Name,Alternate Titles,Title Holdings Status,Publication Type,Title Type,Contributors,Edition,Publisher,ISSN Print,ISSN Online,ISBN Print,ISBN Online,Subjects,Peer Reviewed,Description,Managed Coverage,Custom Coverage,Coverage Statement,Managed Embargo,Custom Embargo,Title Show To Patrons,Title Proxy,Url,Title Access Status Type,Custom Value 1,Custom Value 2,Custom Value 3,Custom Value 4,Custom Value 5,Title Tags,Title Agreements,Title Note 1,Title Note 2 3301,custom title 01,,Selected,Database,Custom,,,,,,,,,,,,2001/01/01 - 9999/12/31,Test Coverage Statement,,5 null,Yes,ezproxy(inherited),https://test,Test,,,,,,,2022-06-01;Test;Active,2021-04-01 00:02:01.051Z;Technical note;OCLC Record Status;

Not updated

,2020-03-26 00:03:07.582Z;Customer Support ;UBM;

UBM

diff --git a/src/test/resources/output/eholdings_package_export_with_same_title_names.csv b/src/test/resources/output/eholdings_package_export_with_same_title_names.csv index 4d90f99b4..c1e78bc52 100644 --- a/src/test/resources/output/eholdings_package_export_with_same_title_names.csv +++ b/src/test/resources/output/eholdings_package_export_with_same_title_names.csv @@ -1,4 +1,4 @@ -Provider Id,Provider Name,Provider Level Token,Package Id,Package Name,Package Type,Package Holdings Status,Package Content Type,Package Custom Coverage,Package Show To Patrons,Package Automatically Select,Package Level Token,Package Proxy,Package Access Status Type,Package Tags +Provider Id,Provider Name,Provider Level Token,Package Id,Package Name,Package Type,Package Holdings Status,Package Content Type,Package Custom Coverage,Package Show To Patrons,Package Automatically Select,Package Level Token,Package Proxy,Package Access Status Type,Package Tags 1,API DEV CORPORATE CUSTOMER,id=;ProviderToken 1,1-24,"custom-package, 13",Custom,Selected,Unknown,,Yes,No,ISBN;token 1-24,ezproxy(inherited),Test, Title Id,Title Name,Alternate Titles,Title Holdings Status,Publication Type,Title Type,Contributors,Edition,Publisher,ISSN Print,ISSN Online,ISBN Print,ISBN Online,Subjects,Peer Reviewed,Description,Managed Coverage,Custom Coverage,Coverage Statement,Managed Embargo,Custom Embargo,Title Show To Patrons,Title Proxy,Url,Title Access Status Type,Custom Value 1,Custom Value 2,Custom Value 3,Custom Value 4,Custom Value 5,Title Tags 3301,custom title Aa,,Selected,Database,Custom,,,,,,,,,,,,2001/01/01 - 9999/12/31,Test Coverage Statement,,5 null,Yes,ezproxy(inherited),https://test,Test,,,,,, diff --git a/src/test/resources/output/eholdings_resource_export.csv b/src/test/resources/output/eholdings_resource_export.csv index 5b3cdc971..d571b2bd0 100644 --- a/src/test/resources/output/eholdings_resource_export.csv +++ b/src/test/resources/output/eholdings_resource_export.csv @@ -1,4 +1,4 @@ -Provider Id,Provider Name,Package Id,Package Name,Package Type,Package Holdings Status,Package Content Type,Package Custom Coverage,Package Show To Patrons,Package Automatically Select,Package Level Token,Package Proxy,Package Access Status Type,Package Tags,Package Agreements,Package Note +Provider Id,Provider Name,Package Id,Package Name,Package Type,Package Holdings Status,Package Content Type,Package Custom Coverage,Package Show To Patrons,Package Automatically Select,Package Level Token,Package Proxy,Package Access Status Type,Package Tags,Package Agreements,Package Note 1,API DEV CORPORATE CUSTOMER,1-22,"custom-package, 13",Custom,Selected,Unknown,,Yes,No,ISBN;token 1-22,ezproxy(inherited),Test,,2022-06-02;Test2;Draft | 2022-06-01;Test;Active, Title Id,Title Name,Alternate Titles,Title Holdings Status,Publication Type,Title Type,Contributors,Edition,Publisher,ISSN Print,ISSN Online,ISBN Print,ISBN Online,Subjects,Peer Reviewed,Description,Managed Coverage,Custom Coverage,Coverage Statement,Managed Embargo,Custom Embargo,Title Show To Patrons,Title Proxy,Url,Title Access Status Type,Custom Value 1,Custom Value 2,Custom Value 3,Custom Value 4,Custom Value 5,Title Tags,Title Agreements,Title Note 1,Title Note 2 333,5000 Years of Geometry: Mathematics in History and Culture,,Selected,Book,Managed,Maetzener (editor) | Christoph J. Scriba (author) | Peter Schreiber (author),1,Springer Basel AG,,,978-3-0348-0897-2 | 978-3-0348-0898-9,978-3-0348-0898-9,Mathematics | Geometry. Trigonometry. Topology | Mathematics | Mathematics | MATHEMATICS / Geometry / General | MATHEMATICS / History & Philosophy,No,,,,,,,Yes,ezproxy(inherited),,Test,,,,,,,2022-06-01;Test;Active,2021-04-01 00:02:01.051Z;Technical note;OCLC Record Status;

Not updated

,2020-03-26 00:03:07.582Z;Customer Support ;UBM;

UBM

diff --git a/src/test/resources/output/eholdings_single_package_export.csv b/src/test/resources/output/eholdings_single_package_export.csv index 64fc6cc46..3305e8d48 100644 --- a/src/test/resources/output/eholdings_single_package_export.csv +++ b/src/test/resources/output/eholdings_single_package_export.csv @@ -1,3 +1,3 @@ -Provider Id,Provider Name,Provider Level Token,Package Id,Package Name,Package Type,Package Holdings Status,Package Content Type,Package Custom Coverage,Package Show To Patrons,Package Automatically Select,Package Level Token,Package Proxy,Package Access Status Type,Package Tags,Package Agreements,Package Note 1,Package Note 2 +Provider Id,Provider Name,Provider Level Token,Package Id,Package Name,Package Type,Package Holdings Status,Package Content Type,Package Custom Coverage,Package Show To Patrons,Package Automatically Select,Package Level Token,Package Proxy,Package Access Status Type,Package Tags,Package Agreements,Package Note 1,Package Note 2 1,API DEV CORPORATE CUSTOMER,id=;ProviderToken 1,1-23,"custom-package, 13",Custom,Selected,Unknown,,Yes,No,ISSN;token 1-23,ezproxy(inherited),Test,,2022-06-02;Test2;Draft | 2022-06-01;Test;Active,2021-04-01 00:02:01.051Z;Technical note;OCLC Record Status;

Not updated

,2020-03-26 00:03:07.582Z;Customer Support ;UBM;

UBM

Title Id,Title Name,Alternate Titles,Title Holdings Status,Publication Type,Title Type,Contributors,Edition,Publisher,ISSN Print,ISSN Online,ISBN Print,ISBN Online,Subjects,Peer Reviewed,Description,Managed Coverage,Custom Coverage,Coverage Statement,Managed Embargo,Custom Embargo,Title Show To Patrons,Title Proxy,Url,Title Access Status Type,Custom Value 1,Custom Value 2,Custom Value 3,Custom Value 4,Custom Value 5,Title Tags,Title Agreements,Title Note diff --git a/src/test/resources/output/expected_error_holdings_by_item_barcode_no_change.csv b/src/test/resources/output/expected_error_holdings_by_item_barcode_no_change.csv index 9251fdde1..039d2f364 100644 --- a/src/test/resources/output/expected_error_holdings_by_item_barcode_no_change.csv +++ b/src/test/resources/output/expected_error_holdings_by_item_barcode_no_change.csv @@ -1 +1 @@ -123,No change in value needed +123,No change in value needed diff --git a/src/test/resources/output/expected_items_with_deleted_permanent_loan_type.csv b/src/test/resources/output/expected_items_with_deleted_permanent_loan_type.csv index 7ef1a5b84..c4a09755e 100644 --- a/src/test/resources/output/expected_items_with_deleted_permanent_loan_type.csv +++ b/src/test/resources/output/expected_items_with_deleted_permanent_loan_type.csv @@ -1,3 +1,3 @@ -Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn +Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn 18f746e4-7c9c-48be-86a4-ff1c96934203,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,Annex,,,,,,,, a869598f-9085-4470-949f-1f33f7cb74bf,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,Can circulate,Annex,,,,,,,, diff --git a/src/test/resources/output/expected_items_with_deleted_permanent_location.csv b/src/test/resources/output/expected_items_with_deleted_permanent_location.csv index 62087bda1..35876ceed 100644 --- a/src/test/resources/output/expected_items_with_deleted_permanent_location.csv +++ b/src/test/resources/output/expected_items_with_deleted_permanent_location.csv @@ -1,4 +1,4 @@ -Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn +Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn f84325f4-7d2a-495f-b15e-fa822354a932,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,,,Main Library,,,,,, 14475730-a4a0-4c1a-b4b4-67ad458e711d,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,,Main Library,Main Library,,,,,, a869598f-9085-4470-949f-1f33f7cb74bf,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,,,Main Library,,,,,, diff --git a/src/test/resources/output/expected_items_with_deleted_temporary_loan_type.csv b/src/test/resources/output/expected_items_with_deleted_temporary_loan_type.csv index f4b0f6827..c8bea1298 100644 --- a/src/test/resources/output/expected_items_with_deleted_temporary_loan_type.csv +++ b/src/test/resources/output/expected_items_with_deleted_temporary_loan_type.csv @@ -1,2 +1,2 @@ -Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn +Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn a869598f-9085-4470-949f-1f33f7cb74bf,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,Annex,,,,,,,, diff --git a/src/test/resources/output/expected_items_with_deleted_temporary_location.csv b/src/test/resources/output/expected_items_with_deleted_temporary_location.csv index 33e32ed8c..a5a2a57c7 100644 --- a/src/test/resources/output/expected_items_with_deleted_temporary_location.csv +++ b/src/test/resources/output/expected_items_with_deleted_temporary_location.csv @@ -1,4 +1,4 @@ -Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn +Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn 42c6e3a2-774b-46e3-b76d-9385e908550e,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,,,Main Library,,,,,, 14475730-a4a0-4c1a-b4b4-67ad458e711d,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,Main Library,,Main Library,,,,,, 94803587-275f-449b-8208-ea626d85d522,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,,,Main Library,,,,,, diff --git a/src/test/resources/output/expected_items_with_updated_permanent_loan_type.csv b/src/test/resources/output/expected_items_with_updated_permanent_loan_type.csv index 206fcb178..9baf0548f 100644 --- a/src/test/resources/output/expected_items_with_updated_permanent_loan_type.csv +++ b/src/test/resources/output/expected_items_with_updated_permanent_loan_type.csv @@ -1,3 +1,3 @@ -Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn +Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn 18f746e4-7c9c-48be-86a4-ff1c96934203,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Reading room,,Annex,,,,,,,, a869598f-9085-4470-949f-1f33f7cb74bf,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Reading room,Can circulate,Annex,,,,,,,, diff --git a/src/test/resources/output/expected_items_with_updated_permanent_location.csv b/src/test/resources/output/expected_items_with_updated_permanent_location.csv index 0a68343a5..8997acb2f 100644 --- a/src/test/resources/output/expected_items_with_updated_permanent_location.csv +++ b/src/test/resources/output/expected_items_with_updated_permanent_location.csv @@ -1,4 +1,4 @@ -Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn +Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn b7a9718a-0c26-4d43-ace9-52234ff74ad8,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,Annex,,Annex,,,,,, f84325f4-7d2a-495f-b15e-fa822354a932,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,Annex,,Annex,,,,,, 42c6e3a2-774b-46e3-b76d-9385e908550e,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,Annex,Main Library,Main Library,,,,,, diff --git a/src/test/resources/output/expected_items_with_updated_temporary_loan_type.csv b/src/test/resources/output/expected_items_with_updated_temporary_loan_type.csv index cb43bf0de..f52a72baf 100644 --- a/src/test/resources/output/expected_items_with_updated_temporary_loan_type.csv +++ b/src/test/resources/output/expected_items_with_updated_temporary_loan_type.csv @@ -1,3 +1,3 @@ -Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn +Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn 18f746e4-7c9c-48be-86a4-ff1c96934203,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,Reading room,Annex,,,,,,,, a869598f-9085-4470-949f-1f33f7cb74bf,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,Reading room,Annex,,,,,,,, diff --git a/src/test/resources/output/expected_items_with_updated_temporary_location.csv b/src/test/resources/output/expected_items_with_updated_temporary_location.csv index 57054f2b5..ae32d73e5 100644 --- a/src/test/resources/output/expected_items_with_updated_temporary_location.csv +++ b/src/test/resources/output/expected_items_with_updated_temporary_location.csv @@ -1,4 +1,4 @@ -Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn +Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn b7a9718a-0c26-4d43-ace9-52234ff74ad8,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,,Annex,Annex,,,,,, f84325f4-7d2a-495f-b15e-fa822354a932,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,Main Library,Annex,Annex,,,,,, 42c6e3a2-774b-46e3-b76d-9385e908550e,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,,Annex,Annex,,,,,, diff --git a/src/test/resources/output/expected_preview_items_with_deleted_permanent_loan_type.csv b/src/test/resources/output/expected_preview_items_with_deleted_permanent_loan_type.csv index 7e833fbd4..3b354e6c9 100644 --- a/src/test/resources/output/expected_preview_items_with_deleted_permanent_loan_type.csv +++ b/src/test/resources/output/expected_preview_items_with_deleted_permanent_loan_type.csv @@ -1,3 +1,3 @@ -Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn +Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn 18f746e4-7c9c-48be-86a4-ff1c96934203,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,,,Annex,,,,,,,, a869598f-9085-4470-949f-1f33f7cb74bf,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,,Can circulate,Annex,,,,,,,, diff --git a/src/test/resources/output/expected_preview_items_with_deleted_permanent_location.csv b/src/test/resources/output/expected_preview_items_with_deleted_permanent_location.csv index 721d711e5..356ab4340 100644 --- a/src/test/resources/output/expected_preview_items_with_deleted_permanent_location.csv +++ b/src/test/resources/output/expected_preview_items_with_deleted_permanent_location.csv @@ -1,4 +1,4 @@ -Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn +Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn b7a9718a-0c26-4d43-ace9-52234ff74ad8,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,,,Main Library,,,,,, f84325f4-7d2a-495f-b15e-fa822354a932,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,,,Main Library,,,,,, 42c6e3a2-774b-46e3-b76d-9385e908550e,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,,Main Library,Main Library,,,,,, diff --git a/src/test/resources/output/expected_preview_items_with_deleted_temporary_loan_type.csv b/src/test/resources/output/expected_preview_items_with_deleted_temporary_loan_type.csv index a445d53bc..8386714e6 100644 --- a/src/test/resources/output/expected_preview_items_with_deleted_temporary_loan_type.csv +++ b/src/test/resources/output/expected_preview_items_with_deleted_temporary_loan_type.csv @@ -1,3 +1,3 @@ -Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn +Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn 18f746e4-7c9c-48be-86a4-ff1c96934203,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,Annex,,,,,,,, a869598f-9085-4470-949f-1f33f7cb74bf,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,Annex,,,,,,,, diff --git a/src/test/resources/output/expected_preview_items_with_deleted_temporary_location.csv b/src/test/resources/output/expected_preview_items_with_deleted_temporary_location.csv index 16fa3c441..081afe93f 100644 --- a/src/test/resources/output/expected_preview_items_with_deleted_temporary_location.csv +++ b/src/test/resources/output/expected_preview_items_with_deleted_temporary_location.csv @@ -1,4 +1,4 @@ -Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn +Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn b7a9718a-0c26-4d43-ace9-52234ff74ad8,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,,,Main Library,,,,,, f84325f4-7d2a-495f-b15e-fa822354a932,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,Main Library,,Main Library,,,,,, 42c6e3a2-774b-46e3-b76d-9385e908550e,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,,,Main Library,,,,,, diff --git a/src/test/resources/output/expected_preview_items_with_updated_permanent_location.csv b/src/test/resources/output/expected_preview_items_with_updated_permanent_location.csv index 3796402b6..2e10e73ba 100644 --- a/src/test/resources/output/expected_preview_items_with_updated_permanent_location.csv +++ b/src/test/resources/output/expected_preview_items_with_updated_permanent_location.csv @@ -1,4 +1,4 @@ -Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn +Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn b7a9718a-0c26-4d43-ace9-52234ff74ad8,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,Annex,,Annex,,,,,, f84325f4-7d2a-495f-b15e-fa822354a932,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,Annex,,Annex,,,,,, 42c6e3a2-774b-46e3-b76d-9385e908550e,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,Annex,Main Library,Main Library,,,,,, diff --git a/src/test/resources/output/expected_preview_items_with_updated_temporary_location.csv b/src/test/resources/output/expected_preview_items_with_updated_temporary_location.csv index 25e4c99bc..0b7a808c2 100644 --- a/src/test/resources/output/expected_preview_items_with_updated_temporary_location.csv +++ b/src/test/resources/output/expected_preview_items_with_updated_temporary_location.csv @@ -1,4 +1,4 @@ -Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn +Item id,Version,Item HRID,Holdings Record Id,Former Ids,Discovery Suppress,Title,Contributor Names,Call Number,Barcode,Effective Shelving Order,Accession Number,Item Level Call Number,Item Level Call Number Prefix,Item Level Call Number Suffix,Item Level Call Number Type,Effective Call Number Components,Volume,Enumeration,Chronology,Year Caption,Item Identifier,Copy Number,Number Of Pieces,Description Of Pieces,Number Of Missing Pieces,Missing Pieces,Missing Pieces Date,Item Damaged Status,Item Damaged Status Date,Administrative note,Notes,Circulation Notes,Status,Material Type,Is Bound With,Bound With Titles,Permanent Loan Type,Temporary Loan Type,Permanent Location,Temporary Location,Effective Location,Electronic Access,In Transit Destination Service Point,Statistical Codes,Purchase Order LineIdentifier,Tags,Last CheckIn b7a9718a-0c26-4d43-ace9-52234ff74ad8,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,,Annex,Annex,,,,,, f84325f4-7d2a-495f-b15e-fa822354a932,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,Main Library,Annex,Annex,,,,,, 42c6e3a2-774b-46e3-b76d-9385e908550e,1,it00000000002,4929e3d5-8de5-4bb2-8818-3c23695e7505,,,Sample instance,,,0001,,,,,,,;;;,,,,,,,,,,,,,,,,,Available;2022-04-01 07:43:16.737Z,book,false,,Can circulate,,,Annex,Annex,,,,,,