Feature/issue 248 - Track ingest operations need to query UAT for granule files #249
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.
Github Issue: #248
Description
SIT testing #238 revealed a bug where the first query for granules in CMR was set to search in SIT and UAT by parent collection with a bearer token but the second query for granule files was not set up in the same way producing inconsistent results and sometimes not returning associated granule files. For track ingest operations running in SIT or UAT, all CMR queries need to query either SIT or UAT collections but should return file info for the UAT environment.
Overview of work done
_query_granule_files
to query SIT or UAT and return files associated with the SWOT-UAT environment. This is consistent with thequery_cmr
method.Overview of verification done
Overview of integration done
Deployed feature branch to SIT and ran tests on reaches, nodes, and prior lakes.
Prior Lake Test Event
Track Ingest Logs
CNM Logs
Load Granule Logs
Confirmed track ingest tables were updated as expected.
PR checklist:
See Pull Request Review Checklist for pointers on reviewing this pull request