nasa / Common-Metadata-Repository

Apache License 2.0
337 stars 92 forks source link

CMR-9429: Validate collection processing level Id #2129

Closed sxu123 closed 3 months ago

sxu123 commented 3 months ago

Overview

What is the feature/fix?

Validate Collection ProcessingLevel Id. when "Cmr-Validate-Keywords: true" header is set

What is the Solution?

Add the validation

What areas of the application does this impact?

CMR Ingest

Checklist

codecov-commenter commented 3 months ago

Codecov Report

Attention: Patch coverage is 16.66667% with 5 lines in your changes missing coverage. Please review.

Project coverage is 57.97%. Comparing base (f226797) to head (cf10d0e). Report is 4 commits behind head on master.

Files Patch % Lines
...ngest-app/src/cmr/ingest/validation/validation.clj 0.00% 3 Missing :warning:
ingest-app/src/cmr/ingest/services/messages.clj 33.33% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2129 +/- ## ========================================== - Coverage 57.98% 57.97% -0.01% ========================================== Files 1041 1041 Lines 70151 70157 +6 Branches 1996 1994 -2 ========================================== - Hits 40677 40676 -1 - Misses 27616 27621 +5 - Partials 1858 1860 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.