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

Refactor code to use TemplateProcessor for all templates #632

Merged

Conversation

gaiksaya
Copy link
Member

Description

#631 adds TemplateProcessor for easy template processing. This change refactors the code to use the same instead of repetitive methods in all shared libraries.

Issues Resolved

opensearch-project/opensearch-build#5332

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.

Copy link

codecov bot commented Mar 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.04%. Comparing base (3766071) to head (ee45f1f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #632   +/-   ##
=========================================
  Coverage     89.04%   89.04%           
  Complexity      118      118           
=========================================
  Files           118      118           
  Lines           575      575           
  Branches         32       32           
=========================================
  Hits            512      512           
  Misses           31       31           
  Partials         32       32           

☔ 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.

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
@gaiksaya gaiksaya force-pushed the accomodate-templateProcessor branch from e1540e8 to f3dcdc3 Compare March 24, 2025 22:15
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
@gaiksaya gaiksaya changed the title Refactor code to use TemplateProcessor for all template processings Refactor code to use TemplateProcessor for all templates Mar 25, 2025
@gaiksaya gaiksaya merged commit 3b6b899 into opensearch-project:main Mar 25, 2025
9 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 25, 2025
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
(cherry picked from commit 3b6b899)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants