[Rest Api Compatibility] Framework support for EQL and SQL endpoints #92710
Labels
:Analytics/EQL
EQL querying
:Analytics/SQL
SQL querying
:Core/Infra/REST API
REST infrastructure and utilities
>enhancement
Team:Analytics
Meta label for analytical engine team (ESQL/Aggs/Geo)
Team:Core/Infra
Meta label for core/infra team
Description
Rest api compatibility was not covering the support for eql and sql plugins (not supporting any plugins) at the time when we were implementing it.
SQL and EQL have a custom logic on creating
XContentBuilder.Those two places (and possibly more) should be revisited to make sure the right parameters are passed in when creating
XContentBuilderelasticsearch/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/plugin/RestSqlClearCursorAction.java
Line 56 in 237fd28
elasticsearch/x-pack/plugin/eql/src/main/java/org/elasticsearch/xpack/eql/plugin/RestEqlSearchAction.java
Line 71 in 237fd28
I recon at some point we can consider extending the rest api compatibility coverage to plugins and fix this for EQL and SQL. The rest api compatibility framework should support additional media types used in SQL (just headers formatting, not request/respone parsing)
steps to reproduce currently not working behaviour
The text was updated successfully, but these errors were encountered: