CMR-11367: Update business validation rules for collection ingest to fold behind the collection-granule-consistency-toggle#2463
Open
eudoroolivares2016 wants to merge 4 commits into
Open
CMR-11367: Update business validation rules for collection ingest to fold behind the collection-granule-consistency-toggle#2463eudoroolivares2016 wants to merge 4 commits into
eudoroolivares2016 wants to merge 4 commits into
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2463 +/- ##
==========================================
- Coverage 57.91% 57.90% -0.01%
==========================================
Files 1073 1073
Lines 74616 74618 +2
Branches 2174 2170 -4
==========================================
- Hits 43212 43210 -2
- Misses 29378 29379 +1
- Partials 2026 2029 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
eudoroolivares2016
requested review from
eereiter,
jmaeng72,
william-valencia and
zimzoom
July 15, 2026 01:27
eereiter
reviewed
Jul 15, 2026
|
|
||
| [] | ||
| (concat | ||
| [aa/additional-attribute-searches tiling-validation/deleted-tiling-searches |
Contributor
There was a problem hiding this comment.
line up tiling-validation below aa/additional-attribute-searches
Contributor
Author
There was a problem hiding this comment.
Moved really not sure how that even happened
eereiter
requested changes
Jul 15, 2026
eereiter
left a comment
Contributor
There was a problem hiding this comment.
just line up tiling-validation below aa/additional-attribute-searches
eudoroolivares2016
marked this pull request as ready for review
July 15, 2026 15:08
eereiter
approved these changes
Jul 15, 2026
zimzoom
approved these changes
Jul 16, 2026
jceaser
approved these changes
Jul 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
What is the objective?
In
CMR-11242we added a feature toggle to allow users to ingest granules that have mismatched keywords into collections to unblock that ingest pipeline. Within this scope we also need to disable the rule preventing collections to be ingested in cases where the granule keywords differ.What are the changes?
Conditionally include the validation rules for projects, instruments parents, and child instruments behind the validation
toggle for granule-collection consistency
I use the
lein cljfmt fixto format the files according to common clojure conventionWhat areas of the application does this impact?
Ingest app
Testing
To test this ingest a collection and granule pair that have the same (project, instrument, platform) data then update those values and do a subsequent collection ingest request it should succeed. Note if doing this off local
you might need to do a
(cfg/set-enforce-granule-collection-consistency! false)in the repl and then reload namespaces. Alternatively you can just locally update the defconfig value at compile time more similar to how it works in prodRequired Checklist
Build Link: https://ci.earthdata.nasa.gov/browse/CN2-CSN21021-2
Additional Checklist