Adjust searchable snapshot license ()

No longer needs Platinum license for testing on staging.
This commit is contained in:
Yannick Welsch 2020-08-03 13:18:06 +02:00
parent 9e24a54382
commit b0d601fa63
7 changed files with 7 additions and 6 deletions
buildSrc/src/main/groovy/org/elasticsearch/gradle/doc
docs/reference/searchable-snapshots/apis
x-pack/plugin/core/src/main/java/org/elasticsearch/license

@ -259,6 +259,7 @@ class RestTestsFromSnippetsTask extends SnippetsTask {
case 'basic':
case 'gold':
case 'platinum':
case 'enterprise':
current.println(" - xpack")
break;
default:

@ -1,5 +1,5 @@
[role="xpack"]
[testenv="platinum"]
[testenv="enterprise"]
[[searchable-snapshots-api-clear-cache]]
=== Clear cache API
++++

@ -1,5 +1,5 @@
[role="xpack"]
[testenv="platinum"]
[testenv="enterprise"]
[[searchable-snapshots-api-stats]]
=== Searchable snapshot statistics API
++++

@ -1,5 +1,5 @@
[role="xpack"]
[testenv="platinum"]
[testenv="enterprise"]
[[searchable-snapshots-api-mount-snapshot]]
=== Mount snapshot API
++++

@ -1,5 +1,5 @@
[role="xpack"]
[testenv="platinum"]
[testenv="enterprise"]
[[searchable-snapshots-repository-stats]]
=== Searchable snapshot repository statistics API
++++

@ -1,5 +1,5 @@
[role="xpack"]
[testenv="platinum"]
[testenv="enterprise"]
[[searchable-snapshots-apis]]
== Searchable snapshots APIs

@ -100,7 +100,7 @@ public class XPackLicenseState {
ANALYTICS(OperationMode.MISSING, true),
SEARCHABLE_SNAPSHOTS(OperationMode.PLATINUM, true);
SEARCHABLE_SNAPSHOTS(OperationMode.ENTERPRISE, true);
final OperationMode minimumOperationMode;
final boolean needsActive;