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

[Manual Backport 2.x][Multi data source] Add interfaces to register add-on authentication method from plug-in module #5874

Conversation

bandinib-amzn
Copy link
Member

@bandinib-amzn bandinib-amzn commented Feb 14, 2024

Description

Backport from e08bf30 from #5851

Issues Resolved

Screenshot

Testing the changes

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

Copy link

codecov bot commented Feb 14, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (57200af) 66.99% compared to head (01d5856) 67.02%.

Files Patch % Lines
...rc/plugins/data_source_management/public/plugin.ts 80.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              2.x    #5874      +/-   ##
==========================================
+ Coverage   66.99%   67.02%   +0.02%     
==========================================
  Files        3300     3302       +2     
  Lines       63570    63601      +31     
  Branches    10140    10143       +3     
==========================================
+ Hits        42589    42626      +37     
+ Misses      18520    18511       -9     
- Partials     2461     2464       +3     
Flag Coverage Δ
Linux_1 35.22% <ø> (ø)
Linux_2 55.15% <ø> (ø)
Linux_3 43.55% <93.54%> (-0.33%) ⬇️
Linux_4 35.33% <0.00%> (-0.02%) ⬇️
Windows_1 35.24% <ø> (ø)
Windows_2 55.11% <ø> (ø)
Windows_3 43.56% <93.54%> (-0.33%) ⬇️
Windows_4 35.33% <0.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@BionIT
Copy link
Collaborator

BionIT commented Feb 20, 2024

@bandinib-amzn Could you help to resolve the conflict for this PR?

…method from plug-in module (opensearch-project#5851)

* Adds method to register credential provider during data source plugin setup

Signed-off-by: Bandini Bhopi <bandinib@amazon.com>

* Adds method to register authentication method with UI elements during data source management plugin setup

Signed-off-by: Bandini Bhopi <bandinib@amazon.com>

* Adds UT for auth registry in data source plugin

Signed-off-by: Bandini Bhopi <bandinib@amazon.com>

* Adds UT for auth registry in data source management plugin

Signed-off-by: Bandini Bhopi <bandinib@amazon.com>

* Adds UT for data_source_management plugin.ts

Signed-off-by: Bandini Bhopi <bandinib@amazon.com>

* Refactor code

Signed-off-by: Bandini Bhopi <bandinib@amazon.com>

---------

Signed-off-by: Bandini Bhopi <bandinib@amazon.com>
(cherry picked from commit e08bf30)
@bandinib-amzn bandinib-amzn force-pushed the backport/backport-5851-to-2.x branch from f9ef4da to 01d5856 Compare February 20, 2024 18:43
@bandinib-amzn
Copy link
Member Author

@bandinib-amzn Could you help to resolve the conflict for this PR?

Done!

@Flyingliuhub Flyingliuhub merged commit 6923767 into opensearch-project:2.x Feb 20, 2024
63 of 66 checks passed
@bandinib-amzn bandinib-amzn deleted the backport/backport-5851-to-2.x branch February 23, 2024 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
multiple datasource multiple datasource project v2.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants