Skip to content

CMR-10369: Elastic 8 Upgrade#2459

Merged
jmaeng72 merged 37 commits into
masterfrom
CMR-10369-es8-feature
Jul 6, 2026
Merged

CMR-10369: Elastic 8 Upgrade#2459
jmaeng72 merged 37 commits into
masterfrom
CMR-10369-es8-feature

Conversation

@jmaeng72

@jmaeng72 jmaeng72 commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Overview

What is the objective?

Update CMR to work with Elastic 8 upgrade

REMINDER: This was a feature branch that had previous PR's merged into it that were approved, so this PR is more of a sanity check then a true full PR review

What are the changes?

  • removed clojurewerkz
  • update es-spatial-plugin to work with elastic 8

What areas of the application does this impact?

all

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

jmaeng72 added 30 commits April 8, 2026 10:10
* remove clojurewerkz and replace with clj-http

* fix 2 int tests

* update clj-http error handling to mimic clojurewerkz

* consolidate dup funcs into common util file

* minor code fixes from pr comments

* update func comments and replace with mapv and seq

* add more exception throwing for non-200 non-400 errors

* fix margin inline comments
jmaeng72 added 6 commits June 4, 2026 11:54
* update es spatial plugin for diff types

* add new tests for ords translation issue

* fix test path in group 1 sys test list

* update for classcastexception from old ruby version

* remove throw-exceptions false in spatial test create index
@jmaeng72 jmaeng72 self-assigned this Jul 6, 2026
@jmaeng72 jmaeng72 changed the title CMR-10369: Elastic 8 feature CMR-10369: Elastic 8 Upgrade Jul 6, 2026
@codecov-commenter

codecov-commenter commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 4.78873% with 338 lines in your changes missing coverage. Please review.
✅ Project coverage is 57.92%. Comparing base (1b13525) to head (4a798c5).

Files with missing lines Patch % Lines
...stic-utils-lib/src/cmr/elastic_utils/es_helper.clj 0.00% 103 Missing ⚠️
...tils-lib/src/cmr/elastic_utils/es_index_helper.clj 0.00% 67 Missing ⚠️
.../cmr/elasticsearch/plugins/spatial/script/core.clj 9.52% 38 Missing ⚠️
...p/src/cmr/indexer/data/index_set_elasticsearch.clj 0.00% 35 Missing ⚠️
...tils-lib/src/cmr/elastic_utils/search/es_index.clj 0.00% 16 Missing ⚠️
...lastic-utils-lib/src/cmr/elastic_utils/connect.clj 11.76% 15 Missing ⚠️
...lastic-utils-lib/src/cmr/elastic_utils/es_util.clj 27.77% 13 Missing ⚠️
.../src/cmr/elastic_utils/embedded_elastic_server.clj 0.00% 9 Missing ⚠️
indexer-app/src/cmr/indexer/data/elasticsearch.clj 0.00% 8 Missing ⚠️
indexer-app/src/cmr/indexer/services/messages.clj 0.00% 8 Missing ⚠️
... and 9 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2459      +/-   ##
==========================================
- Coverage   58.06%   57.92%   -0.14%     
==========================================
  Files        1071     1072       +1     
  Lines       74364    74530     +166     
  Branches     2168     2167       -1     
==========================================
- Hits        43180    43175       -5     
- Misses      29162    29329     +167     
- Partials     2022     2026       +4     

☔ 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.

@jmaeng72 jmaeng72 merged commit a003fd8 into master Jul 6, 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