Move painless context api spec to test local (#43122)

The painless context api is internal and currently meant only for use in
generating docs. This commit moves the spec file for the api so that it
is only used by the test for this api, and not externally by any clients
building from the public rest spec.
This commit is contained in:
Ryan Ernst 2019-06-12 08:19:14 -07:00
parent 79614aeb2d
commit 5be0fb32f8
2 changed files with 2 additions and 3 deletions

View File

@ -710,8 +710,8 @@ public class RestHighLevelClientTests extends ESTestCase {
"indices.exists_type",
"indices.get_upgrade",
"indices.put_alias",
"render_search_template",
"scripts_painless_execute"
"scripts_painless_execute",
"render_search_template"
};
//These API are not required for high-level client feature completeness
String[] notRequiredApi = new String[] {
@ -731,7 +731,6 @@ public class RestHighLevelClientTests extends ESTestCase {
"nodes.hot_threads",
"nodes.usage",
"nodes.reload_secure_settings",
"scripts_painless_context",
"search_shards",
};
List<String> booleanReturnMethods = Arrays.asList(