You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Either create a new transport action or modify the existing cluster state request action to take a ClusterStateRequest object as a parameter. The RestClusterStateAction class can probably called using the opensearch-java client with little overhead.
What alternatives have you considered?
Improving RestHighLevelClient to handle this case. Not desirable as it's on a path for deprecation.
Do you have any additional context?
This is part of the AnomalyDetectionIndices component in the AD plugin.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem?
Current SDK implementation of getting cluster state is implemented with defaults in the
ExtensionRequest
fetching the state from theClusterService
:This does not work for use cases where the specific values to be returned are configured, such as in the AD Plugin:
What solution would you like?
Either create a new transport action or modify the existing cluster state request action to take a
ClusterStateRequest
object as a parameter. TheRestClusterStateAction
class can probably called using theopensearch-java
client with little overhead.What alternatives have you considered?
Improving RestHighLevelClient to handle this case. Not desirable as it's on a path for deprecation.
Do you have any additional context?
This is part of the AnomalyDetectionIndices component in the AD plugin.
The text was updated successfully, but these errors were encountered: