Skip to content

[Backport 2.x] Increment version to 2.7.0-SNAPSHOT and update usage of XContentFactory.xContent#2451

Merged
stephen-crawford merged 7 commits into2.xfrom
backport/backport-2433-to-2.x
Feb 24, 2023
Merged

[Backport 2.x] Increment version to 2.7.0-SNAPSHOT and update usage of XContentFactory.xContent#2451
stephen-crawford merged 7 commits into2.xfrom
backport/backport-2433-to-2.x

Conversation

@opensearch-trigger-bot
Copy link
Contributor

Backport bae002b from #2433

* Switch from XContentType to MediaType

Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Peter Nied <petern@amazon.com>
Co-authored-by: Peter Nied <petern@amazon.com>
(cherry picked from commit bae002b)
@opensearch-trigger-bot opensearch-trigger-bot bot requested a review from a team February 21, 2023 18:59
@cwperks
Copy link
Member

cwperks commented Feb 21, 2023

The CI will fail for this until Core merges the corresponding change in. I'm opening this PR to get ahead of this change in core. See comment from original core PR: opensearch-project/OpenSearch#6218

@kartg
Copy link
Member

kartg commented Feb 21, 2023

@cwperks the dependent changes have been backported to 2.x in opensearch-project/OpenSearch#6414

RyanL1997
RyanL1997 previously approved these changes Feb 22, 2023
@codecov-commenter
Copy link

codecov-commenter commented Feb 22, 2023

Codecov Report

Merging #2451 (be64409) into 2.x (ce207b8) will increase coverage by 0.04%.
The diff coverage is 100.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@             Coverage Diff              @@
##                2.x    #2451      +/-   ##
============================================
+ Coverage     61.08%   61.13%   +0.04%     
- Complexity     3252     3256       +4     
============================================
  Files           258      258              
  Lines         18130    18130              
  Branches       3231     3231              
============================================
+ Hits          11075    11083       +8     
+ Misses         5485     5478       -7     
+ Partials       1570     1569       -1     
Impacted Files Coverage Δ
.../org/opensearch/security/support/ConfigHelper.java 86.00% <100.00%> (ø)
...a/org/opensearch/security/tools/SecurityAdmin.java 36.00% <100.00%> (ø)
...ecurity/configuration/ConfigurationRepository.java 74.31% <0.00%> (+2.18%) ⬆️
...security/auditlog/sink/ExternalOpenSearchSink.java 61.72% <0.00%> (+2.46%) ⬆️
...ch/security/auditlog/routing/AsyncStoragePool.java 55.55% <0.00%> (+5.55%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@cwperks
Copy link
Member

cwperks commented Feb 22, 2023

The backport in core was merged 6 hr ago: opensearch-project/OpenSearch#6433

I will re-run the CI for this as soon as a new SNAPSHOT includes the backport.

@cwperks
Copy link
Member

cwperks commented Feb 24, 2023

This PR depends on the version increment PR: #2473

@cwperks
Copy link
Member

cwperks commented Feb 24, 2023

I will push a change to this PR to also include the version increment

Signed-off-by: Craig Perkins <cwperx@amazon.com>
@cwperks cwperks dismissed stale reviews from stephen-crawford and RyanL1997 via 2f16bb5 February 24, 2023 15:40
@cwperks cwperks changed the title [Backport 2.x] Update usage of XContentFactory.xContent [Backport 2.x] Increment version to 2.7.0-SNAPSHOT and update usage of XContentFactory.xContent Feb 24, 2023
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
@stephen-crawford stephen-crawford merged commit eb8c59d into 2.x Feb 24, 2023
@stephen-crawford stephen-crawford deleted the backport/backport-2433-to-2.x branch February 24, 2023 18:36
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.

7 participants