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

[Backport 2.x] [Multiple Datasource] Handle form values(request payload) if the selected type is available in the authentication registry. #6099

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 6f4d814 from #6049.

…cted type is available in the authentication registry. (#6049)

* [Token Exchange Unification] Send registered crendentail field for dataSource creation and dataSource edition

Signed-off-by: Xinrui Bai <[email protected]>

* [UT] Add unit test for extractRegisteredAuthTypeCredentials newly defined in untils.ts

Signed-off-by: Xinrui Bai <[email protected]>

* [UT] add more test cases for util.ts

Signed-off-by: Xinrui Bai <[email protected]>

* [UT] Add test cases for datasource creation form and datasource edition form

Signed-off-by: Xinrui Bai <[email protected]>

* [Token Exchange Unification + UT] Button create-data-source and save-changes enable / disable control and unit test cases

Signed-off-by: Xinrui Bai <[email protected]>

* Update changelog file

Signed-off-by: Xinrui Bai <[email protected]>

* Addressing comments

Signed-off-by: Xinrui Bai <[email protected]>

---------

Signed-off-by: Xinrui Bai <[email protected]>
(cherry picked from commit 6f4d814)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
Copy link

codecov bot commented Mar 8, 2024

Codecov Report

Attention: Patch coverage is 70.37037% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 67.12%. Comparing base (8ccc90e) to head (4dd2c38).

Files Patch % Lines
...omponents/validation/datasource_form_validation.ts 50.00% 1 Missing and 4 partials ⚠️
...components/create_form/create_data_source_form.tsx 75.00% 0 Missing and 2 partials ⚠️
...rce/components/edit_form/edit_data_source_form.tsx 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              2.x    #6099      +/-   ##
==========================================
- Coverage   67.12%   67.12%   -0.01%     
==========================================
  Files        3314     3314              
  Lines       63875    63895      +20     
  Branches    10186    10194       +8     
==========================================
+ Hits        42877    42890      +13     
- Misses      18525    18526       +1     
- Partials     2473     2479       +6     
Flag Coverage Δ
Linux_1 35.21% <ø> (ø)
Linux_2 55.12% <ø> (ø)
Linux_3 44.67% <70.37%> (+<0.01%) ⬆️
Linux_4 35.31% <16.66%> (-0.01%) ⬇️
Windows_1 35.23% <ø> (ø)
Windows_2 55.09% <ø> (ø)
Windows_3 44.69% <70.37%> (+0.01%) ⬆️
Windows_4 35.31% <16.66%> (-0.01%) ⬇️

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.

@ZilongX ZilongX merged commit 5203830 into 2.x Mar 11, 2024
90 of 91 checks passed
@ZilongX ZilongX deleted the backport/backport-6049-to-2.x branch March 11, 2024 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut Skip the changelog verification check on backports multiple datasource multiple datasource project v2.13.0 valued-contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants