Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration script for collections #2310

Merged
merged 4 commits into from
Sep 3, 2024
Merged

Conversation

laritakr
Copy link
Collaborator

refs notch8/adventist_knapsack#773

Creates rake task migrate_collections which will submit MigrateResourcesJob for each tenant to migrate all ActiveFedora AdminSets and Collections to Valkyrie resources.

Also sets solr_default_method = :post

LaRita Robinson added 3 commits August 30, 2024 16:03
Uses lazy migration to migrate all AdminSets & Collections via
rake task `migrate_collections`
The default method used for Solr queries. Values are :get or :post.
Post is suggested to prevent issues with URL length.
config.solr_default_method = :post
Fixes migrate resources job
Adds spec for job
@laritakr laritakr added the patch-ver for release notes label Aug 31, 2024
Copy link

github-actions bot commented Aug 31, 2024

Test Results

    3 files  ±0      3 suites  ±0   17m 42s ⏱️ +4s
2 033 tests +1  1 983 ✅ +1  50 💤 ±0  0 ❌ ±0 
2 060 runs  +1  2 008 ✅ +1  52 💤 ±0  0 ❌ ±0 

Results for commit a0d0a4a. ± Comparison against base commit 2428f56.

This pull request removes 42 and adds 43 tests. Note that renamed tests count towards both.
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to destroy ca211155-876b-4e52-861e-d2515fa0c524
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to edit 0a12f2a3-819a-440a-b7c6-02e3861b3ef3
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to read 86e0b441-5dea-4cc9-b770-c0ad203784fe
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to update 8acd0bc6-98ad-449e-9938-17a08aa0a734
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to destroy 2ef63b60-02fe-4ad6-a9ac-7c3185150c97
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to edit 1be16b5a-3d4d-49d7-b525-192b0bc9e9f6
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to read eee4fec4-d9a4-4bec-aa5e-2425b253e9ed
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to update ff827593-83ec-4eea-bdb3-882baf496b29
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor GenericWork permissions is expected not to be able to destroy bccb2616-d68f-489c-90f2-c79753573d52
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor GenericWork permissions is expected not to be able to edit a6388357-0ce5-4baa-ae60-c41eee09b7ff
…
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to destroy cb953b36-2869-4a30-b5af-7fad4c7d754e
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to edit 379059ae-d235-4c7b-b9dc-26910e581ef4
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to read 4ec95090-6bba-486d-8604-e19654a43c52
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to update e73633bd-71e6-40db-996f-c66292625ea6
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to destroy 3cd2862f-0e31-4626-89b1-c7ac8e46a384
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to edit d5a97904-3a14-447c-90da-d88cdaac56d3
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to read 234dffe1-9811-4af7-a9de-138b59b8e09f
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to update f826b007-123b-4c98-82d0-fa7e8c7a91d8
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor GenericWork permissions is expected not to be able to destroy 14536ca4-d25d-4921-a1bb-58d0874ee24c
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor GenericWork permissions is expected not to be able to edit 096dfa5a-e92b-4820-8785-a70bc4bced37
…

♻️ This comment has been updated with latest results.

@laritakr laritakr merged commit f09b786 into main Sep 3, 2024
8 checks passed
@laritakr laritakr deleted the migration-script-for-collections branch September 3, 2024 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch-ver for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants