-
Notifications
You must be signed in to change notification settings - Fork 905
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
[nodejs client] fix hookup issues in src/core/server/opensearch #1194
[nodejs client] fix hookup issues in src/core/server/opensearch #1194
Conversation
d7f01ed
to
4b799c7
Compare
Looks asyncSearch was only really used by |
yeah from my search, it is still a x-pack feature in 7.10 |
@@ -169,7 +169,7 @@ describe('pollOpenSearchNodesVersion', () => { | |||
internalClient.nodes.info.mockImplementationOnce(() => createOpenSearchError(error)); | |||
}; | |||
|
|||
it('returns iscCompatible=false and keeps polling when a poll request throws', (done) => { |
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.
nice catch
1. import Client from '@opensearch-project/opensearch/api/new' to hook up the new types 2. remove asynSearch 3. apply type assertion 4. fix undefined and mismatched types Remove retry_call_cluster.test.ts due to removing all asyncSearch api Issue Resolved: opensearch-project#1193 Partical Resolved: opensearch-project#837 Signed-off-by: Anan Zhuang <ananzh@amazon.com>
4b799c7
to
9e9f2b6
Compare
…h-project#1194) adds `pointerUpdateDebounce` and `pointerUpdateTrigger` to `Settings` spec to control debounce timing and what value changes trigger the listener. Adds projected values to all `onPointerUpdate` events. BREAKING CHANGE: the `PointerOverEvent` type now extends `ProjectedValues` and drops value. This effectively replaces value with `x`, `y`, `smVerticalValue` and `smHorizontalValue`.
…h-project#1194) adds `pointerUpdateDebounce` and `pointerUpdateTrigger` to `Settings` spec to control debounce timing and what value changes trigger the listener. Adds projected values to all `onPointerUpdate` events. BREAKING CHANGE: the `PointerOverEvent` type now extends `ProjectedValues` and drops value. This effectively replaces value with `x`, `y`, `smVerticalValue` and `smHorizontalValue`.
# [31.0.0](elastic/elastic-charts@v30.2.0...v31.0.0) (2021-06-29) ### Bug Fixes * **xy:** render gridlines behind axis ([opensearch-project#1204](elastic/elastic-charts#1204)) ([bf9ccbd](elastic/elastic-charts@bf9ccbd)), closes [#1203](elastic/elastic-charts#1203) * memory leak related to re-reselect cache ([opensearch-project#1201](elastic/elastic-charts#1201)) ([8cb6876](elastic/elastic-charts@8cb6876)) * **partition:** getLegendItemsExtra no longer assumes a singleton ([opensearch-project#1199](elastic/elastic-charts#1199)) ([ecbcc1e](elastic/elastic-charts@ecbcc1e)) ### Features * **annotations:** option to render rect annotations outside chart ([opensearch-project#1207](elastic/elastic-charts#1207)) ([ddffc00](elastic/elastic-charts@ddffc00)) * **heatmap:** enable brushing on categorical charts ([opensearch-project#1212](elastic/elastic-charts#1212)) ([5c426b3](elastic/elastic-charts@5c426b3)), closes [opensearch-project#1170](elastic/elastic-charts#1170) [opensearch-project#1171](elastic/elastic-charts#1171) * **xy:** add onPointerUpdate debounce and trigger options ([opensearch-project#1194](elastic/elastic-charts#1194)) ([aa068f6](elastic/elastic-charts@aa068f6)) ### BREAKING CHANGES * **xy:** the `PointerOverEvent` type now extends `ProjectedValues` and drops value. This effectively replaces value with `x`, `y`, `smVerticalValue` and `smHorizontalValue`.
Can we merge this? |
1. import Client from '@opensearch-project/opensearch/api/new' to hook up the new types 2. remove asynSearch 3. apply type assertion 4. fix undefined and mismatched types Remove retry_call_cluster.test.ts due to removing all asyncSearch api Issue Resolved: #1193 Partical Resolved: #837 Signed-off-by: Anan Zhuang <ananzh@amazon.com>
1. import Client from '@opensearch-project/opensearch/api/new' to hook up the new types 2. remove asynSearch 3. apply type assertion 4. fix undefined and mismatched types Remove retry_call_cluster.test.ts due to removing all asyncSearch api Issue Resolved: #1193 Partical Resolved: #837 Signed-off-by: Anan Zhuang <ananzh@amazon.com>
Description
up the new types
Issues Resolved
Resolves #1193
Partially addresses #837
Check List
yarn test:jest
yarn test:jest_integration
yarn test:ftr