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

Initialize SDKClient with instance of ExtensionSettings #579

Merged
merged 14 commits into from
Mar 20, 2023

Conversation

Kuanysh-kst
Copy link
Contributor

Description

Describe what this change achieves.

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

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.

Kuanysh-kst and others added 11 commits March 10, 2023 20:08
Signed-off-by: Kuanysh <kuanysh4646@gmail.com>
Signed-off-by: Kuanysh <kuanysh4646@gmail.com>
Signed-off-by: Kuanysh <kuanysh4646@gmail.com>
Signed-off-by: Kuanysh <kuanysh4646@gmail.com>
Signed-off-by: Kuanysh <kuanysh4646@gmail.com>
Signed-off-by: Kuanysh <kuanysh4646@gmail.com>
Signed-off-by: Kuanysh <kuanysh4646@gmail.com>
Signed-off-by: Kuanysh <kuanysh4646@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Mar 16, 2023

Codecov Report

Merging #579 (9bca5d0) into main (4dc426a) will increase coverage by 0.06%.
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              @@
##               main     #579      +/-   ##
============================================
+ Coverage     69.85%   69.92%   +0.06%     
  Complexity      216      216              
============================================
  Files            40       40              
  Lines           889      891       +2     
  Branches         26       26              
============================================
+ Hits            621      623       +2     
  Misses          257      257              
  Partials         11       11              
Impacted Files Coverage Δ
...main/java/org/opensearch/sdk/ExtensionsRunner.java 77.34% <100.00%> (ø)
src/main/java/org/opensearch/sdk/SDKClient.java 91.66% <100.00%> (+0.17%) ⬆️

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

dbwiddis
dbwiddis previously approved these changes Mar 16, 2023
Copy link
Member

@dbwiddis dbwiddis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! Approving but would like a few small requests with variable naming and comments.

Signed-off-by: Kuanysh <kuanysh4646@gmail.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 20, 2023
* Created the MapperExtension interface and added the MapperPlugin content

Signed-off-by: Kuanysh <kuanysh4646@gmail.com>

* deleted comments

Signed-off-by: Kuanysh <kuanysh4646@gmail.com>

* add javadoc

Signed-off-by: Kuanysh <kuanysh4646@gmail.com>

* add unit test

Signed-off-by: Kuanysh <kuanysh4646@gmail.com>

* refactor for unit test

Signed-off-by: Kuanysh <kuanysh4646@gmail.com>

* refactor

Signed-off-by: Kuanysh <kuanysh4646@gmail.com>

* add constructor SDKClient, change methods, change tests

Signed-off-by: Kuanysh <kuanysh4646@gmail.com>

* refactor

Signed-off-by: Kuanysh <kuanysh4646@gmail.com>

* refactor for gradle check

Signed-off-by: Kuanysh <kuanysh4646@gmail.com>

* refactor for parametrs and comments

Signed-off-by: Kuanysh <kuanysh4646@gmail.com>

---------

Signed-off-by: Kuanysh <kuanysh4646@gmail.com>
(cherry picked from commit 7e4cf0b)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@dbwiddis dbwiddis added the CCI Part of the College Contributor Initiative label Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 1.x CCI Part of the College Contributor Initiative
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants