-
Notifications
You must be signed in to change notification settings - Fork 562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: implement index dynamic schema update on opensearch #18684
feat: implement index dynamic schema update on opensearch #18684
Conversation
Tasklist Test Results40 tests - 509 40 ✅ - 504 28s ⏱️ - 1h 33m 55s Results for commit 5355976. ± Comparison against base commit c2e4ec0. This pull request removes 509 tests.
|
…tasklist/add-index-dynamic-schema-update-on-opensearch
…tasklist/add-index-dynamic-schema-update-on-opensearch
… of https://github.com/camunda/zeebe into tasklist/add-index-dynamic-schema-update-on-opensearch
… into tasklist/add-integration-test-for-dynamic-schema-update
This reverts commit 46223ef.
…-integration-test-for-dynamic-schema-update
This name is more fitting as we don't guarantee that the scheduled task is ran at the provided timestamp. The only guarantee we provide is that it is ran at some point at or after the timestamp.
This reverts commit 176af26. It's not necessary to be so explicit, as schedulers can never really achieve running at a specific timestamp.
fix: POST backups endpoint fails with 403 Closes #18588
… into tasklist/add-integration-test-for-dynamic-schema-update
…' into tasklist/update-migration-tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment about reducing the duplicate code in IndexSchemaValidator
implementations 🔧
tasklist/common/src/main/java/io/camunda/tasklist/property/TasklistOpenSearchProperties.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this class, I don't see anything that depends on OpenSearch besides org.opensearch.client.opensearch.indices.IndexSettings
Would it be possible to have a shared component that is used by IndexSchemaValidatorOpenSearch
and IndexSchemaValidatoElasticSearch
to avoid duplicated code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with this @houssain-barouni (I am already working on that in a separate branch), I will work this on a different PR once involve refactor of methods that were previous implemented as well, and in order to make the review process easier, so I will do this out of scope of this Pull Request.
This work is located on this Pull request: #18896
## Description - Create IndexSchemaValidatorUtil to store reusable methods - run lint - add zeebe client as dependency to els-schema ## Related issues closes #
fe133e3
into
tasklist/implement-indexdiffmappingg
## Description Initial PR changes: - Add the Index Schema Mapping Difference - This PR Implements the Index Difference part for Elastic search - It is a divided PR for the implementation of Elastic Search Update The second PR will make this one functional A third PR will be open for the tests Complementary pull requests merged: (Elastic Search implementation) // Already Approved 1) #18622 2) #18623 OpenSearch implementation: (To be merged/reviewed) 1) #18684 2) #18769 3) #18812 Refactor: 1) #18896 ## Related issues closes #18486
Description
Tests updates:
Related issues
closes #18487