|
7 | 7 |
|
8 | 8 | package org.elasticsearch.xpack.logsdb; |
9 | 9 |
|
10 | | -import org.elasticsearch.Build; |
11 | 10 | import org.elasticsearch.action.ActionRequest; |
12 | 11 | import org.elasticsearch.action.ActionResponse; |
13 | | -import org.elasticsearch.cluster.metadata.IndexNameExpressionResolver; |
14 | 12 | import org.elasticsearch.cluster.node.DiscoveryNode; |
15 | | -import org.elasticsearch.cluster.node.DiscoveryNodes; |
16 | | -import org.elasticsearch.common.io.stream.NamedWriteableRegistry; |
17 | | -import org.elasticsearch.common.settings.ClusterSettings; |
18 | | -import org.elasticsearch.common.settings.IndexScopedSettings; |
19 | 13 | import org.elasticsearch.common.settings.Setting; |
20 | 14 | import org.elasticsearch.common.settings.Settings; |
21 | | -import org.elasticsearch.common.settings.SettingsFilter; |
22 | | -import org.elasticsearch.features.NodeFeature; |
23 | 15 | import org.elasticsearch.index.IndexSettingProvider; |
24 | 16 | import org.elasticsearch.index.IndexVersion; |
25 | 17 | import org.elasticsearch.license.LicenseService; |
26 | 18 | import org.elasticsearch.license.XPackLicenseState; |
27 | 19 | import org.elasticsearch.plugins.ActionPlugin; |
28 | 20 | import org.elasticsearch.plugins.Plugin; |
29 | | -import org.elasticsearch.rest.RestController; |
30 | | -import org.elasticsearch.rest.RestHandler; |
31 | 21 | import org.elasticsearch.xpack.core.XPackPlugin; |
32 | 22 | import org.elasticsearch.xpack.core.action.XPackInfoFeatureAction; |
33 | 23 | import org.elasticsearch.xpack.core.action.XPackUsageFeatureAction; |
34 | 24 |
|
35 | 25 | import java.util.ArrayList; |
36 | 26 | import java.util.Collection; |
37 | | -import java.util.Collections; |
38 | 27 | import java.util.List; |
39 | | -import java.util.function.Predicate; |
40 | | -import java.util.function.Supplier; |
41 | 28 |
|
42 | 29 | import static org.elasticsearch.xpack.logsdb.LogsdbLicenseService.FALLBACK_SETTING; |
43 | 30 |
|
@@ -111,6 +98,7 @@ public List<Setting<?>> getSettings() { |
111 | 98 | actions.add(new ActionPlugin.ActionHandler<>(XPackInfoFeatureAction.LOGSDB, LogsDBInfoTransportAction.class)); |
112 | 99 | return actions; |
113 | 100 | } |
| 101 | + |
114 | 102 | protected XPackLicenseState getLicenseState() { |
115 | 103 | return XPackPlugin.getSharedLicenseState(); |
116 | 104 | } |
|
0 commit comments