remove leftover use of onIndexService and disable license check

Original commit: elastic/x-pack-elasticsearch@1cdf5c9f95
This commit is contained in:
jaymode 2015-12-03 11:16:41 -05:00
parent 9b2dd0c11d
commit aca0c96d6a
2 changed files with 2 additions and 7 deletions

View File

@ -16,6 +16,8 @@ ext.versions = [
// TODO: fix this! https://github.com/elastic/x-plugins/issues/1066
ext.compactProfile = 'full'
dependencyLicenses.enabled = false
dependencies {
// license deps
compile project(':x-plugins:elasticsearch:license:plugin-api')

View File

@ -14,7 +14,6 @@ import org.elasticsearch.common.logging.Loggers;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.http.HttpServerModule;
import org.elasticsearch.index.IndexModule;
import org.elasticsearch.index.IndexService;
import org.elasticsearch.license.plugin.LicensePlugin;
import org.elasticsearch.marvel.MarvelPlugin;
import org.elasticsearch.plugins.Plugin;
@ -123,12 +122,6 @@ public class XPackPlugin extends Plugin {
marvelPlugin.onModule(module);
}
public void onIndexService(IndexService indexService) {
shieldPlugin.onIndexService(indexService);
watcherPlugin.onIndexService(indexService);
marvelPlugin.onIndexService(indexService);
}
public void onIndexModule(IndexModule module) {
shieldPlugin.onIndexModule(module);
watcherPlugin.onIndexModule(module);