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

[MD]Remove endpoint validation for create data source saved object API #6899

Merged

Conversation

zhongnansu
Copy link
Member

@zhongnansu zhongnansu commented Jun 4, 2024

Description

We need to enable user to import data source, but this is conflict with previously added endpoint validation from create data source saved object API. So we decide to remove endpoint validation in api level.

  • can create data source
    iShot_2024-06-03_17 36 33

  • can import data source

iShot_2024-06-04_10 16 48

Issues Resolved

#6893

Screenshot

Testing the changes

Changelog

  • feat: Remove endpoint validation for create data source saved object API

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
Contributor

github-actions bot commented Jun 4, 2024

❌ Empty Changelog Section

The Changelog section in your PR description is empty. Please add a valid changelog entry or entries. If you did add a changelog entry, check to make sure that it was not accidentally included inside the comment block in the Changelog section.

opensearch-changeset-bot bot added a commit to zhongnansu/OpenSearch-Dashboards that referenced this pull request Jun 4, 2024
Copy link

codecov bot commented Jun 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.41%. Comparing base (6a20742) to head (71f7f4d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6899      +/-   ##
==========================================
- Coverage   67.42%   67.41%   -0.02%     
==========================================
  Files        3444     3443       -1     
  Lines       67781    67770      -11     
  Branches    11023    11023              
==========================================
- Hits        45702    45687      -15     
- Misses      19413    19417       +4     
  Partials     2666     2666              
Flag Coverage Δ
Linux_1 33.11% <ø> (ø)
Linux_2 55.04% <ø> (ø)
Linux_3 45.24% <100.00%> (-0.02%) ⬇️
Linux_4 34.85% <ø> (ø)
Windows_1 33.13% <ø> (ø)
Windows_2 54.99% <ø> (-0.02%) ⬇️
Windows_3 45.24% <100.00%> (-0.02%) ⬇️
Windows_4 34.85% <ø> (ø)

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.

zhongnansu pushed a commit to zhongnansu/OpenSearch-Dashboards that referenced this pull request Jun 4, 2024
@zhongnansu zhongnansu changed the title Remove endpoint validation for create data source saved object API [MD]Remove endpoint validation for create data source saved object API Jun 4, 2024
@zhongnansu zhongnansu marked this pull request as ready for review June 4, 2024 17:04
@zhongnansu zhongnansu added the multiple datasource multiple datasource project label Jun 4, 2024
@zhongnansu zhongnansu merged commit 47bd391 into opensearch-project:main Jun 5, 2024
67 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 5, 2024
#6899)

* Remove endpoint validation for create data source saved object API

Signed-off-by: Zhongnan Su <szhongna@amazon.com>

* Changeset file for PR #6899 created/updated

---------

Signed-off-by: Zhongnan Su <szhongna@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 47bd391)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
BionIT pushed a commit that referenced this pull request Jun 5, 2024
#6899) (#6927)

* Remove endpoint validation for create data source saved object API



* Changeset file for PR #6899 created/updated

---------



(cherry picked from commit 47bd391)

Signed-off-by: Zhongnan Su <szhongna@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants