nasa / Common-Metadata-Repository

Apache License 2.0
340 stars 94 forks source link

CMR-9797 elastic-lib migration #2095

Closed jceaser closed 6 months ago

jceaser commented 6 months ago

Overview

CMR-9797: move code into elastic lib

Picked a selection of code and moved it into the elastic lib

What areas of the application does this impact?

Search, Common-Lib, Common-App-Lib, AccessControl, ElasticUtils

List impacted areas.

Checklist

zimzoom commented 6 months ago

FYI, Currently failing to start REPL

codecov-commenter commented 6 months ago

Codecov Report

Attention: Patch coverage is 47.90419% with 261 lines in your changes are missing coverage. Please review.

Project coverage is 58.13%. Comparing base (7443352) to head (7b654a9). Report is 15 commits behind head on master.

Files Patch % Lines
...c/cmr/elastic_utils/search/es_query_to_elastic.clj 28.72% 129 Missing :warning:
...rch/results_handlers/reference_results_handler.clj 3.84% 25 Missing :warning:
...tils-lib/src/cmr/elastic_utils/search/es_index.clj 11.76% 15 Missing :warning:
...tils-lib/src/cmr/elastic_utils/search/es_debug.clj 20.00% 12 Missing :warning:
.../results_handlers/atom_spatial_results_handler.clj 20.00% 12 Missing :warning:
...mr/search/results_handlers/kml_results_handler.clj 0.00% 11 Missing :warning:
...arch/results_handlers/timeline_results_handler.clj 61.90% 8 Missing :warning:
...arch/results_handlers/metadata_results_handler.clj 0.00% 6 Missing :warning:
elastic-utils-lib/src/cmr/elastic_utils/config.clj 78.26% 0 Missing and 5 partials :warning:
...tils-lib/src/cmr/elastic_utils/datetime_helper.clj 64.28% 5 Missing :warning:
... and 20 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2095 +/- ## ========================================== - Coverage 58.14% 58.13% -0.01% ========================================== Files 1042 1045 +3 Lines 69804 69856 +52 Branches 1962 1955 -7 ========================================== + Hits 40587 40613 +26 - Misses 27372 27402 +30 + Partials 1845 1841 -4 ```

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