Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
disable PPL endpoint (#738)
Browse files Browse the repository at this point in the history
  • Loading branch information
penghuo authored Sep 16, 2020
1 parent 89c6e05 commit 8a43356
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
11 changes: 0 additions & 11 deletions docs/category.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
{
"bash": [
"experiment/ppl/interfaces/endpoint.rst",
"experiment/ppl/interfaces/protocol.rst",
"experiment/ppl/admin/settings.rst"
],
"ppl_cli": [
"experiment/ppl/cmd/dedup.rst",
"experiment/ppl/cmd/eval.rst",
"experiment/ppl/cmd/fields.rst",
"experiment/ppl/cmd/rename.rst",
"experiment/ppl/cmd/search.rst",
"experiment/ppl/cmd/sort.rst",
"experiment/ppl/cmd/stats.rst",
"experiment/ppl/cmd/where.rst"
],
"sql_cli": [
"user/dql/expressions.rst",
Expand Down
3 changes: 3 additions & 0 deletions integ-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ task integTestWithNewEngine(type: RestIntegTestTask) {

// Skip old semantic analyzer IT because analyzer in new engine has different behavior
exclude 'com/amazon/opendistroforelasticsearch/sql/legacy/QueryAnalysisIT.class'

// Exclude PPL
exclude 'com/amazon/opendistroforelasticsearch/sql/ppl/**'
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
import com.amazon.opendistroforelasticsearch.sql.legacy.plugin.RestSqlSettingsAction;
import com.amazon.opendistroforelasticsearch.sql.legacy.plugin.RestSqlStatsAction;
import com.amazon.opendistroforelasticsearch.sql.legacy.plugin.SqlSettings;
import com.amazon.opendistroforelasticsearch.sql.plugin.rest.RestPPLQueryAction;
import com.amazon.opendistroforelasticsearch.sql.plugin.rest.RestPPLStatsAction;
import com.google.common.collect.ImmutableList;
import java.util.Arrays;
import java.util.Collection;
Expand Down Expand Up @@ -98,11 +96,9 @@ public List<RestHandler> getRestHandlers(Settings settings, RestController restC
Metrics.getInstance().registerDefaultMetrics();

return Arrays.asList(
new RestPPLQueryAction(restController, clusterService, pluginSettings, settings),
new RestSqlAction(settings, clusterService, pluginSettings),
new RestSqlStatsAction(settings, restController),
new RestSqlSettingsAction(settings, restController),
new RestPPLStatsAction(settings, restController)
new RestSqlSettingsAction(settings, restController)
);
}

Expand Down

0 comments on commit 8a43356

Please sign in to comment.