Skip to content

CMR-11588: As a user, I want to perform bulk updates on related urls and collection progresses - #2537

Merged
eudoroolivares2016 merged 4 commits into
masterfrom
CMR-11588
Nov 20, 2026
Merged

eudoroolivares2016 merged 4 commits into
masterfrom
CMR-11588

Conversation

@eudoroolivares2016

@eudoroolivares2016 eudoroolivares2016 commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Overview

What is the objective?

Extend the CMR collection bulk update capability so that users can bulk update additional collection metadata fields:

  • Related URLs: users can perform bulk updates on a collection's RelatedUrls.
  • Collection Progress: users can perform bulk updates on a collection's CollectionProgress.

This lets providers apply these changes across many collections in a single bulk update request, rather than updating each collection individually.

What are the changes?

  • Added COLLECTION_PROGRESS as a supported field for collection bulk update operations.
  • Added RELATED_URLS as a supported field for collection bulk update operations.
  • Added handling for scaler-fields (COLLECTION_PROGRESS)
  • Related Urls works as the the regular use-case but, collection progress only the CLEAR_ALL_AND_REPLACE and FIND_AND_REPLACE since the other operations would be the same. CollProgress is just a string of defined enum values only

What areas of the application does this impact?

  • bulk-update-app
  • ingest-app (bulk update API endpoints and validation)
  • API documentation for bulk update

Required Checklist

  • New and existing unit and int tests pass locally and remotely
  • clj-kondo has been run locally and all errors in changed files are corrected
  • I have commented my code, particularly in hard-to-understand areas
  • I have made changes to the documentation (if necessary)
  • My changes generate no new warnings

Additional Checklist

  • I have removed unnecessary/dead code and imports in files I have changed
  • I have cleaned up integration tests by doing one or more of the following:
    • migrated any are2 tests to are3 in files I have changed
    • de-duped, consolidated, removed dead int tests
    • transformed applicable int tests into unit tests
    • reduced number of system state resets by updating fixtures. Ex) (use-fixtures :each (ingest/reset-fixture {})) to be :once instead of :each

@eudoroolivares2016 eudoroolivares2016 changed the title Cmr 11588 CMR-11588: As a user, I want to perform bulk updates on related urls and collection progresses Nov 13, 2026
@codecov-commenter

codecov-commenter commented Nov 16, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 43.48%. Comparing base (59a1dce) to head (2f7b19c).

❗ There is a different number of reports uploaded between BASE (59a1dce) and HEAD (2f7b19c). Click for more details.

HEAD has 2 uploads less than BASE
Flag BASE (59a1dce) HEAD (2f7b19c)
6 4
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #2537       +/-   ##
===========================================
- Coverage   54.54%   43.48%   -11.06%     
===========================================
  Files        1049      270      -779     
  Lines       73886    19627    -54259     
  Branches     2445      518     -1927     
===========================================
- Hits        40300     8535    -31765     
+ Misses      31273    10690    -20583     
+ Partials     2313      402     -1911     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@eudoroolivares2016
eudoroolivares2016 marked this pull request as ready for review November 16, 2026 21:46
Comment thread ingest-app/docs/api.md Resolved
Comment thread ingest-app/docs/api.md Resolved
Comment thread ingest-app/docs/api.md Resolved
@eudoroolivares2016
eudoroolivares2016 merged commit ceeb0db into master Nov 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants