opensearch-js
opensearch-js copied to clipboard
[FEATURE] plans to support rollup & transform APIs?
Is your feature request related to a problem?
JS client does not support rollup and transform features of OS
What solution would you like?
Add support to programmatically control rollup and transform features
Yes, please contribute specs to https://github.com/opensearch-project/opensearch-api-specification (mind https://github.com/opensearch-project/opensearch-api-specification/pull/208 that is switching to OpenAPI), the clients are generated from there.
Trying to get these specs typed up, @dblock can you point me to the source code where rollups are implemented? The docs page isn't nearly complete enough for me to work out what all the possible values are.
I think it's in ISM
Added specs for rollups and transforms
The generator for this client is still its infancy but I can try and generate some of it and edit it manually
@nhtruong any idea when we can expect these? Is this a relatively simple change?
I'm aiming to have these merged and deployed by the end of the week. I can generate these methods now. Need to iron out the edge cases and then manually insert these methods into the API. Will keep you posted on the progress through out the week.
Here's the draft. Please take a look. Still need to add some basic typing so the IDEs can autocomplete for these added functions. (Full typing will come later)
@djmadeira PR is ready for review
It will be part of 2.10.0 that will be released later today: https://github.com/opensearch-project/opensearch-js/pull/798
2.10.0 has been published