Skip to content
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 dynamic schema update using index mapping difference #18622

Conversation

nathansandi
Copy link
Contributor

@nathansandi nathansandi commented May 17, 2024

Description

  • Retrieve the Index/Template Mappings over RetryElasticSearchclient
  • Placeholders for the OpenSearch implementation
  • Update the Schema Startup to consider the Update Schema setup
  • Updated the (Abstract) Index descriptors to return getSchemaClasspathFilename() and getAllVersionsIndexNameRegexPattern()
  • Update ElastciSearch Schema Manager to Return the Expected Index Fields from the mapping, considering the differences
  • Adjust Schema Manager for create Index and Template making the public as well in order to use the methods on test
  • Extract ElasticSearchReadJson Utill to a different method (Refactor)

Its the second part of the implementation:
Part 1: #18618

Related issues

closes #18486

@github-actions github-actions bot added the component/tasklist Related to the Tasklist component/team label May 17, 2024
@nathansandi nathansandi changed the title feature: Implement dynamic schema update using index mapping difference feat: Implement dynamic schema update using index mapping difference May 17, 2024
Copy link
Contributor

github-actions bot commented May 17, 2024

Tasklist Test Results

0 tests  ±0   0 ✅ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ❌ ±0 

Results for commit f1670f6. ± Comparison against base commit 34917b3.

♻️ This comment has been updated with latest results.

Copy link
Collaborator

@houssain-barouni houssain-barouni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few comments :)

…namic-schema-update-usind-index-mapping-difference
@nathansandi
Copy link
Contributor Author

Few comments :)

Thanks @houssain-barouni I updated the branch considering all your comments.

Copy link
Collaborator

@houssain-barouni houssain-barouni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is still

<version>33.2.0-jre</version>

to be removed from the pom.xml, but you can do it in the feature branch

@nathansandi
Copy link
Contributor Author

Yes, I removed and gonna merge those changes on the feature final branch 💯

## Description

Integration test classes for Dynamic Schema Updates.

Implementation Tickets:
Part 1: #18618 
Part 2: #18622

## Related issues

closes #18486
@nathansandi nathansandi merged commit e23bfc4 into tasklist/implement-indexdiffmappingg May 23, 2024
12 of 15 checks passed
@nathansandi nathansandi deleted the Implement-dynamic-schema-update-usind-index-mapping-difference branch May 23, 2024 13:47
github-merge-queue bot pushed a commit that referenced this pull request Jun 4, 2024
## 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/tasklist Related to the Tasklist component/team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants