Skip to content

Commit

Permalink
Resolves #763.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjordan committed Apr 3, 2024
1 parent c2d6146 commit 0777318
Show file tree
Hide file tree
Showing 74 changed files with 106 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ task: create
host: https://islandora.traefik.me
username: admin
password: password
secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ host: https://islandora.traefik.me
username: admin
password: password
content_type: invalid_content_type
secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ host: https://islandora.traefik.me
username: admin
password: password
use_node_title_for_media: true
use_nid_in_media_title: true
use_nid_in_media_title: true
secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ username: admin
password: password
use_node_title_for_media: true
field_for_media_title: true
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/additional_files_test/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ additional_files:
- preservation: "http://pcdm.org/use#PreservationMasterFile"
- transcript: "http://pcdm.org/use#Transcript"
standalone_media_url: true
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/additional_files_test/rollback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ password: password
input_dir: tests/assets/additional_files_test
input_csv: rollback.csv
standalone_media_url: true
secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ log_file_path: tests/assets/allow_missing_files_test/add_media_additional_files_
additional_files:
- preservation: http://pcdm.org/use#PreservationMasterFile
- transcript: http://pcdm.org/use#Transcript
secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ additional_files:
- preservation: http://pcdm.org/use#PreservationMasterFile
- transcript: http://pcdm.org/use#Transcript
perform_soft_checks: true
secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ allow_missing_files: true
additional_files:
- preservation: http://pcdm.org/use#PreservationMasterFile
- transcript: http://pcdm.org/use#Transcript

secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ input_csv: add_media.csv
standalone_media_url: true
log_file_path: tests/assets/allow_missing_files_test/add_media_allow_missing_files_false.log
media_use_tid: http://pcdm.org/use#Transcript
secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ standalone_media_url: true
log_file_path: tests/assets/allow_missing_files_test/add_media_allow_missing_files_false_with_soft_checks.log
media_use_tid: http://pcdm.org/use#Transcript
perform_soft_checks: true
secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ standalone_media_url: true
log_file_path: tests/assets/allow_missing_files_test/add_media_allow_missing_files_true.log
media_use_tid: http://pcdm.org/use#Transcript
allow_missing_files: true
secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ input_csv: add_media_create_nodes.csv
standalone_media_url: true
allow_missing_files: true
log_file_path: tests/assets/allow_missing_files_test/add_media_create_nodes.log
secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ standalone_media_url: true
log_file_path: tests/assets/allow_missing_files_test/additional_files_allow_missing_files_false.log
additional_files:
- tn: "http://pcdm.org/use#ThumbnailImage"
secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ log_file_path: tests/assets/allow_missing_files_test/additional_files_allow_miss
additional_files:
- tn: "http://pcdm.org/use#ThumbnailImage"
perform_soft_checks: true
secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ log_file_path: tests/assets/allow_missing_files_test/additional_files_allow_miss
additional_files:
- tn: "http://pcdm.org/use#ThumbnailImage"
allow_missing_files: true
secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ input_dir: tests/assets/allow_missing_files_test
input_csv: metadata_check.csv
standalone_media_url: true
log_file_path: tests/assets/allow_missing_files_test/allow_missing_files_false.log
secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ input_csv: metadata_check.csv
standalone_media_url: true
perform_soft_checks: true
log_file_path: tests/assets/allow_missing_files_test/allow_missing_files_false_with_soft_checks.log
secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ input_csv: metadata_check.csv
standalone_media_url: true
allow_missing_files: true
log_file_path: tests/assets/allow_missing_files_test/allow_missing_files_true.log
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/check_test/add_media.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ host: https://islandora.traefik.me
username: admin
password: password
input_csv: add_media.csv
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/check_test/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ task: create
host: https://islandora.traefik.me
username: admin
password: password
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/check_test/delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ host: https://islandora.traefik.me
username: admin
password: password
input_csv: delete.csv
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/check_test/google_sheet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ username: admin
password: password
input_csv: 'https://docs.google.com/spreadsheets/d/13Mw7gtBy1A3ZhYEAlBzmkswIdaZvX18xoRBxfbgxqWc/edit#gid=0'
nodes_only: true
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/check_test/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ host: https://islandora.traefik.me
username: admin
password: password
input_csv: update.csv
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/commented_csvs_test/excel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ password: password
input_dir: "tests/assets/commented_csvs_test"
input_csv: test_excel_file_commented_row.xlsx
nodes_only: true
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/commented_csvs_test/google_sheets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ input_dir: tests/assets/commented_csvs_test
input_csv: 'https://docs.google.com/spreadsheets/d/13Mw7gtBy1A3ZhYEAlBzmkswIdaZvX18xoRBxfbgxqWc/edit#gid=0'
nodes_only: true
google_sheets_gid: 2133768507
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/commented_csvs_test/raw_csv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ username: admin
password: password
input_dir: "tests/assets/commented_csvs_test"
nodes_only: true
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/create_from_files_test/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ models:
- 'http://purl.org/coar/resource_type/c_12ce': ['mp4']
# log_json: true
standalone_media_url: true
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/create_from_files_test/create_drupal_8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ models:
- 26: ['mp4']
log_json: true
drupal_8: true
secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ username: admin
password: password
input_dir: tests/assets/create_paged_content_from_directories_test/samplebooks
standalone_media_url: true
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/create_paged_content_test/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ password: password
input_dir: "tests/assets/create_paged_content_test"
nodes_only: true
id_field: field_local_identifier
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/create_test/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ password: password
input_dir: "tests/assets/create_test"
media_type: image
allow_missing_files: True
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/create_with_field_templates_test/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ csv_field_templates:
- field_rights: This test is in the public domain.
- field_description: Testing CSV field templates.
- field_model: Image
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/delete_test/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ password: password
input_dir: "tests/assets/delete_test"
allow_missing_files: True
nodes_only: true
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/delete_test/delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ username: admin
password: password
input_dir: "tests/assets/delete_test"
input_csv: /tmp/workbenchdeletetesttnids.txt
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/delimiter_test/create_tab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ input_csv: metadata.tsv
delimiter: "\t"
allow_missing_files: true
exit_on_first_missing_file_during_check: false
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/execute_bootstrap_script_test/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ host: https://islandora.traefik.me
username: admin
password: password
media_type: document
secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ password: password
input_dir: tests/assets/execute_post_action_entity_script_test
nodes_only: true
node_post_create: ['tests/assets/execute_post_action_entity_script_test/script.py']
secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ username: admin
password: islandora
input_dir: tests/assets/execute_post_action_entity_script_test
input_csv: rollback.csv
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/geolocation_test/bad_geocoordinates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ password: password
input_dir: tests/assets/geolocation_test/input_data
input_csv: bad_geocoorindates_fail.csv
nodes_only: true
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/google_gid_test/gid_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ username: admin
password: password
input_csv: 'https://docs.google.com/spreadsheets/d/13Mw7gtBy1A3ZhYEAlBzmkswIdaZvX18xoRBxfbgxqWc/edit#gid=0'
nodes_only: true
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/google_gid_test/gid_1867618389.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ password: password
input_csv: 'https://docs.google.com/spreadsheets/d/13Mw7gtBy1A3ZhYEAlBzmkswIdaZvX18xoRBxfbgxqWc/edit#gid=0'
nodes_only: true
google_sheets_gid: 1867618389
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/google_gid_test/gid_390347846.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ password: password
input_csv: 'https://docs.google.com/spreadsheets/d/13Mw7gtBy1A3ZhYEAlBzmkswIdaZvX18xoRBxfbgxqWc/edit#gid=0'
nodes_only: true
google_sheets_gid: 390347846
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/google_gid_test/gid_953977578.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ password: password
input_csv: 'https://docs.google.com/spreadsheets/d/13Mw7gtBy1A3ZhYEAlBzmkswIdaZvX18xoRBxfbgxqWc/edit#gid=0'
nodes_only: true
google_sheets_gid: 953977578
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/header_column_mismatch_test/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ username: admin
password: password
input_dir: "tests/assets/header_column_mismatch_test"
nodes_only: true
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/max_node_title_length_test/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ input_dir: "tests/assets/max_node_title_length_test"
input_csv: create_max_node_title_length.csv
nodes_only: True
max_node_title_length: 30
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/max_node_title_length_test/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ password: password
input_dir: "tests/assets/max_node_title_length_test"
input_csv: update_max_node_title_length.csv
max_node_title_length: 30
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/non_latin_text_test/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ password: password
input_dir: "tests/assets/non_latin_text_test"
allow_missing_files: True
nodes_only: true
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/non_latin_text_test/delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ username: admin
password: password
input_dir: "tests/assets/non_latin_text_test"
input_csv: /tmp/workbenchcreatenonlatintestnids.txt
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/parents_precede_children_test/bad.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ password: password
input_dir: tests/assets/parents_precede_children_test
input_csv: bad.csv
nodes_only: true
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/parents_precede_children_test/good.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ password: password
input_dir: tests/assets/parents_precede_children_test
input_csv: good.csv
nodes_only: true
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/secondary_task_test/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ nodes_only: true
secondary_tasks: ['tests/assets/secondary_task_test/secondary_create.yml']
csv_field_templates:
- field_model: https://schema.org/DigitalDocument
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/secondary_task_test/secondary_create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ nodes_only: true
csv_field_templates:
- field_model: https://schema.org/DigitalDocument
input_csv: secondary.csv
secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ id_field: field_local_identifier
input_dir: tests/assets/secondary_task_with_google_sheets_and_excel_test
input_csv: secondary_task_with_excel.xlsx
excel_worksheet: primary


secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,4 @@ id_field: field_local_identifier
input_dir: tests/assets/secondary_task_with_google_sheets_and_excel_test
input_csv: secondary_task_with_excel.xlsx
excel_worksheet: secondary



secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ csv_field_templates:
- field_model: https://schema.org/DigitalDocument
id_field: field_local_identifier
input_csv: https://docs.google.com/spreadsheets/d/19AxFWEFuwEoNqH8ciUo0PRAroIpNE9BuBhE5tIE6INQ/edit#gid=0


secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,4 @@ csv_field_templates:
id_field: field_local_identifier
input_csv: https://docs.google.com/spreadsheets/d/19AxFWEFuwEoNqH8ciUo0PRAroIpNE9BuBhE5tIE6INQ/edit
google_sheets_gid: 637387343



secure_ssl_only: false
2 changes: 2 additions & 0 deletions tests/assets/set_media_type_test/multi_types_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ media_types_override:
- video: ['ogg']
- foomedia: ['foo']
- sometextmedia: ['txt']

secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/taxonomies_test/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ password: password
input_dir: tests/assets/taxonomies_test
media_type: image
exit_on_first_missing_file_during_check: false
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/taxonomies_test/delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ username: admin
password: islandora
input_dir: tests/assets/taxonomies_test
input_csv: /tmp/workbenchtaxonomiestestnids.txt
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/taxonomies_test/term_id_not_in_taxonomy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ password: password
input_dir: tests/assets/taxonomies_test
input_csv: term_id_not_in_taxonomy.csv
media_type: image
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/taxonomies_test/term_name_not_in_taxonomy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ password: password
input_dir: tests/assets/taxonomies_test
input_csv: term_name_not_in_taxonomy.csv
media_type: image
secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ input_dir: tests/assets/typed_relation_test/input_data
input_csv: new_typed_relation.csv
nodes_only: true
allow_adding_terms: true
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/typed_relation_test/bad_relator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ password: password
input_dir: tests/assets/typed_relation_test/input_data
input_csv: bad_typed_relation_fail.csv
nodes_only: true
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/typed_relation_test/bad_uri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ password: password
input_dir: tests/assets/typed_relation_test/input_data
input_csv: bad_uri_fail.csv
nodes_only: true
secure_ssl_only: false
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ input_dir: tests/assets/typed_relation_test/input_data
input_csv: create_with_new_typed_relation.csv
nodes_only: true
allow_adding_terms: true
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/typed_relation_test/no_namespace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ input_dir: tests/assets/typed_relation_test/input_data
input_csv: no_namespace.csv
nodes_only: true
allow_adding_terms: true
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/update_media_test/update_media.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ input_csv: update_media.csv
standalone_media_url: true
allow_adding_terms: true
media_type: 'file'
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/update_test/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ password: password
input_dir: "tests/assets/update_test"
input_csv: create.csv
allow_missing_files: true
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/update_test/delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ username: admin
password: password
input_dir: "tests/assets/update_test"
input_csv: /tmp/workbenchupdatetestnids.txt
secure_ssl_only: false
1 change: 1 addition & 0 deletions tests/assets/update_test/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ password: password
input_dir: "tests/assets/update_test"
input_csv: workbenchupdatetest.csv
validate_title_length: false
secure_ssl_only: false
Loading

0 comments on commit 0777318

Please sign in to comment.