files must be contained in a directory called elasticsearch. Plugin descriptor file All plugins must contain a file called plugin-descriptor.properties in the folder named elasticsearch. Optional plugin security file Plugin elasticsearch version must match elasticsearch server version
from 2.x public final void onModule(SettingsModule settingsModule) {} public final void onModule(ScriptModule module) {} public final void onModule(AnalysisModule module) {} public final void onModule(ActionModule module) {} ...
'An example plugin implementing rescore and verifying that plugins *can* implement rescore' classname 'org.elasticsearch.example.rescore.ExampleRescorePlugin' }
false dependencyLicenses.enabled = false thirdPartyAudit.enabled = false jarHell.enabled = false thirdPartyAudit.enabled = false forbiddenPatterns.enabled = false Useful to disable all at first, and then re-enabling
} thirdPartyAudit.excludes = [ // joni has AsmCompilerSupport, but that isn't being used: 'org.objectweb.asm.ClassWriter', 'org.objectweb.asm.MethodVisitor', 'org.objectweb.asm.Opcodes', ]
integTestCluster { // Adds a setting in the Elasticsearch keystore // before running the integration tests keystoreSetting 'custom.secured', 'password' } Fixed in Elasticsearch 5.6
node so we can test reindex-from-remote. setting 'reindex.remote.whitelist', '127.0.0.1:*' } test { systemProperty 'es.set.netty.runtime.available.processors', 'false' } test { exclude '**/*CredentialsTests.class' } integTestRunner { systemProperty 'external.address', "${ -> exampleFixture.addressAndPort }" }