-
Notifications
You must be signed in to change notification settings - Fork 885
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] Fix server sider endpoint validation by passing in request when creating datasource client #6822
[MD] Fix server sider endpoint validation by passing in request when creating datasource client #6822
Conversation
d33d6f3
to
9bdba20
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6822 +/- ##
===========================================
- Coverage 67.56% 56.92% -10.64%
===========================================
Files 3428 3141 -287
Lines 67343 63342 -4001
Branches 10996 10378 -618
===========================================
- Hits 45498 36059 -9439
- Misses 19176 25045 +5869
+ Partials 2669 2238 -431
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
… source client Signed-off-by: Zhongnan Su <szhongna@amazon.com>
41a9ca2
to
6d21e1c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -290,6 +304,7 @@ export class DataSourceSavedObjectsClientWrapper { | |||
savedObjects: {} as any, | |||
cryptography: this.cryptography, | |||
testClientDataSourceAttr: attributes as DataSourceAttributes, | |||
request, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming this.dataSourcesService.getDataSourceClient
already supports this option being passed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, it's an optional param tho
…creating datasource client (#6822) (#6824) * [MD] Fix endpoint validation by passing in request when creating data source client (cherry picked from commit 54b5eb5) 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>
…creating datasource client (opensearch-project#6822) * [MD] Fix endpoint validation by passing in request when creating data source client Signed-off-by: Zhongnan Su <szhongna@amazon.com>
Description
Issues Resolved
Screenshot
Testing the changes
Changelog
Check List
yarn test:jest
yarn test:jest_integration