Skip to content

Comments

tests: Replace TransportClient by NodeClient#1660

Merged
davidlago merged 6 commits intoopensearch-project:mainfrom
rs-eliatra:transportclient-replacement-by-node-client-in-tests
Mar 4, 2022
Merged

tests: Replace TransportClient by NodeClient#1660
davidlago merged 6 commits intoopensearch-project:mainfrom
rs-eliatra:transportclient-replacement-by-node-client-in-tests

Conversation

@rs-eliatra
Copy link
Contributor

Description

[Describe what this change achieves]

Issues Resolved

#1578

Testing

Testing done:

  • unit testing

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.

@rs-eliatra rs-eliatra requested a review from a team March 2, 2022 20:59
Copy link
Member

@peternied peternied left a comment

Choose a reason for hiding this comment

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

This change is a little hard to review with out seeing #1638 merged. If you don't mind I'm going to review these changes in https://github.com/rs-eliatra/security/pull/11/files. Let me know if you have another recommendation.

thanks for rebasing after the other change was merged

@codecov-commenter
Copy link

codecov-commenter commented Mar 2, 2022

Codecov Report

Merging #1660 (5bb38ec) into main (fc3842c) will decrease coverage by 0.92%.
The diff coverage is 50.48%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main    #1660      +/-   ##
============================================
- Coverage     64.61%   63.68%   -0.93%     
+ Complexity     3217     3166      -51     
============================================
  Files           247      249       +2     
  Lines         17352    17481     +129     
  Branches       3082     3097      +15     
============================================
- Hits          11212    11133      -79     
- Misses         4594     4795     +201     
- Partials       1546     1553       +7     
Impacted Files Coverage Δ
...g/opensearch/security/support/WildcardMatcher.java 61.03% <ø> (ø)
...a/org/opensearch/security/tools/SecurityAdmin.java 45.80% <39.14%> (-1.92%) ⬇️
...opensearch/security/filter/SecurityRestFilter.java 76.66% <66.66%> (+0.80%) ⬆️
...opensearch/security/rest/SecurityWhoAmIAction.java 78.37% <78.37%> (ø)
.../action/configupdate/ConfigUpdateNodeResponse.java 81.81% <83.33%> (-5.69%) ⬇️
...arch/security/rest/SecurityConfigUpdateAction.java 95.23% <95.23%> (ø)
.../opensearch/security/OpenSearchSecurityPlugin.java 79.54% <100.00%> (-1.39%) ⬇️
...rity/action/configupdate/ConfigUpdateResponse.java 64.28% <100.00%> (-35.72%) ⬇️
...ensearch/security/action/whoami/WhoAmIRequest.java 0.00% <0.00%> (-100.00%) ⬇️
...nsearch/security/action/whoami/WhoAmIResponse.java 0.00% <0.00%> (-82.86%) ⬇️
... and 22 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fc3842c...5bb38ec. Read the comment docs.

Signed-off-by: rs-eliatra <rafal.stobiecki@eliatra.com>
Signed-off-by: rs-eliatra <rafal.stobiecki@eliatra.com>
Signed-off-by: rs-eliatra <rafal.stobiecki@eliatra.com>
…s - part4

Signed-off-by: rs-eliatra <rafal.stobiecki@eliatra.com>
… - part5

Signed-off-by: rs-eliatra <rafal.stobiecki@eliatra.com>
Signed-off-by: rs-eliatra <rafal.stobiecki@eliatra.com>
@rs-eliatra rs-eliatra force-pushed the transportclient-replacement-by-node-client-in-tests branch from 5bb38ec to ea3e1f7 Compare March 2, 2022 23:33
@davidlago davidlago merged commit c9e89dc into opensearch-project:main Mar 4, 2022
DarshitChanpura pushed a commit to DarshitChanpura/security that referenced this pull request Mar 7, 2022
* tests: Replace TransportClient by NodeClient

Signed-off-by: rs-eliatra <rafal.stobiecki@eliatra.com>
@cliu123 cliu123 mentioned this pull request Mar 30, 2022
3 tasks
@rs-eliatra rs-eliatra deleted the transportclient-replacement-by-node-client-in-tests branch April 13, 2022 08:57
wuychn pushed a commit to ochprince/security that referenced this pull request Mar 16, 2023
* tests: Replace TransportClient by NodeClient

Signed-off-by: rs-eliatra <rafal.stobiecki@eliatra.com>
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.

4 participants