Skip to content

[Backport 2.19] Allow plugins to copy folders into their config dir during installation (#19343)#19418

Merged
cwperks merged 2 commits into
opensearch-project:2.19from
cwperks:backport-19343-to-2.19
Sep 25, 2025
Merged

[Backport 2.19] Allow plugins to copy folders into their config dir during installation (#19343)#19418
cwperks merged 2 commits into
opensearch-project:2.19from
cwperks:backport-19343-to-2.19

Conversation

@cwperks
Copy link
Copy Markdown
Member

@cwperks cwperks commented Sep 25, 2025

(cherry picked from commit bb9a7d4)

Description

Manual backport of #19343 to 2.19.

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

…on (opensearch-project#19343)

Signed-off-by: Craig Perkins <cwperx@amazon.com>
(cherry picked from commit bb9a7d4)
@cwperks cwperks requested a review from a team as a code owner September 25, 2025 15:04
@github-actions
Copy link
Copy Markdown
Contributor

❌ Gradle check result for c2a62bb: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Signed-off-by: Craig Perkins <cwperx@amazon.com>
@github-actions
Copy link
Copy Markdown
Contributor

✅ Gradle check result for 6655264: SUCCESS

@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 25, 2025

Codecov Report

❌ Patch coverage is 78.94737% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.87%. Comparing base (1cec4d1) to head (6655264).
⚠️ Report is 1 commits behind head on 2.19.

Files with missing lines Patch % Lines
...a/org/opensearch/plugins/InstallPluginCommand.java 78.94% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               2.19   #19418      +/-   ##
============================================
- Coverage     72.00%   71.87%   -0.14%     
+ Complexity    66011    65934      -77     
============================================
  Files          5341     5341              
  Lines        307260   307273      +13     
  Branches      44842    44845       +3     
============================================
- Hits         221245   220845     -400     
- Misses        67520    68013     +493     
+ Partials      18495    18415      -80     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cwperks cwperks merged commit cbbac30 into opensearch-project:2.19 Sep 25, 2025
44 checks passed
sokdak pushed a commit to sokdak/OpenSearch that referenced this pull request Oct 15, 2025
…uring installation (opensearch-project#19343) (opensearch-project#19418)

* Allow plugins to copy folders into their config dir during installation (opensearch-project#19343)

Signed-off-by: Craig Perkins <cwperx@amazon.com>
(cherry picked from commit bb9a7d4)

* Fix compilation issue

Signed-off-by: Craig Perkins <cwperx@amazon.com>

---------

Signed-off-by: Craig Perkins <cwperx@amazon.com>
@cwperks cwperks deleted the backport-19343-to-2.19 branch May 1, 2026 21:17
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