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

Moves ui-metadata field from state to template index #636

Merged
merged 2 commits into from
Apr 2, 2024

Conversation

joshpalis
Copy link
Member

Description

Moves the ui-metadata field from the state to template index mapping

Issues Resolved

#140

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@github-actions github-actions bot added the backport 2.x backport PRs to 2.x branch label Apr 2, 2024
@joshpalis joshpalis added skip-changelog and removed backport 2.x backport PRs to 2.x branch labels Apr 2, 2024
@joshpalis
Copy link
Member Author

@owaiskazi19 should I also increment the schema versions of both mappings? This field is not searchable, only used by the front end, so not sure if we would need to

Copy link

codecov bot commented Apr 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.39%. Comparing base (bc87e88) to head (11d3e73).

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #636   +/-   ##
=========================================
  Coverage     72.39%   72.39%           
  Complexity      684      684           
=========================================
  Files            82       82           
  Lines          3535     3535           
  Branches        288      288           
=========================================
  Hits           2559     2559           
  Misses          850      850           
  Partials        126      126           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@owaiskazi19
Copy link
Member

@owaiskazi19 should I also increment the schema versions of both mappings? This field is not searchable, only used by the front end, so not sure if we would need to

This change will be a part of 2.14 after GA in 2.13, so yes we should increment it.

Signed-off-by: Joshua Palis <[email protected]>
@joshpalis joshpalis merged commit 28cf793 into opensearch-project:main Apr 2, 2024
32 checks passed
@joshpalis joshpalis added the backport 2.x backport PRs to 2.x branch label Apr 2, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 2, 2024
* moving ui-metadata from state to template index

Signed-off-by: Joshua Palis <[email protected]>

* incrementing schema versions

Signed-off-by: Joshua Palis <[email protected]>

---------

Signed-off-by: Joshua Palis <[email protected]>
(cherry picked from commit 28cf793)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
joshpalis pushed a commit that referenced this pull request Apr 2, 2024
…637)

Moves ui-metadata field from state to template index (#636)

* moving ui-metadata from state to template index



* incrementing schema versions



---------


(cherry picked from commit 28cf793)

Signed-off-by: Joshua Palis <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@dbwiddis
Copy link
Member

dbwiddis commented Apr 2, 2024

Should we add this to the BWC tests? What happens if we read a template from a 2.13 index (that has this field) in 2.14?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport PRs to 2.x branch skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants