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

[Backport 2.x] add auto upgrade mapping logic #735

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 5670c35 from #699.

* add auto upgrade mapping logic

Signed-off-by: zhichao-aws <[email protected]>

* put load mapping to initialize step

Signed-off-by: zhichao-aws <[email protected]>

* add schema_version field

Signed-off-by: zhichao-aws <[email protected]>

* add integ test

Signed-off-by: zhichao-aws <[email protected]>

* add integ test for lacking _meta field

Signed-off-by: zhichao-aws <[email protected]>

---------

Signed-off-by: zhichao-aws <[email protected]>
(cherry picked from commit 5670c35)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Aug 8, 2023

Codecov Report

Merging #735 (2bed5b1) into 2.x (b67c5bd) will increase coverage by 0.09%.
The diff coverage is 70.83%.

@@             Coverage Diff              @@
##                2.x     #735      +/-   ##
============================================
+ Coverage     65.77%   65.86%   +0.09%     
- Complexity      253      257       +4     
============================================
  Files            39       39              
  Lines          1677     1699      +22     
  Branches        158      165       +7     
============================================
+ Hits           1103     1119      +16     
- Misses          456      457       +1     
- Partials        118      123       +5     
Flag Coverage Δ
opensearch-notifications 65.86% <70.83%> (+0.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
...rch/notifications/index/NotificationConfigIndex.kt 70.45% <70.83%> (+0.32%) ⬆️

@zhichao-aws zhichao-aws merged commit 63b5fd3 into 2.x Aug 8, 2023
@github-actions github-actions bot deleted the backport/backport-699-to-2.x branch August 8, 2023 03:52
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.

2 participants