diff options
Diffstat (limited to 'sonar-application/src/main/assembly/elasticsearch/modules')
52 files changed, 585 insertions, 0 deletions
diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/aggs-matrix-stats/aggs-matrix-stats-5.0.2.jar b/sonar-application/src/main/assembly/elasticsearch/modules/aggs-matrix-stats/aggs-matrix-stats-5.0.2.jar Binary files differnew file mode 100644 index 00000000000..15e282b6226 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/aggs-matrix-stats/aggs-matrix-stats-5.0.2.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/aggs-matrix-stats/plugin-descriptor.properties b/sonar-application/src/main/assembly/elasticsearch/modules/aggs-matrix-stats/plugin-descriptor.properties new file mode 100644 index 00000000000..9d14ee253ce --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/aggs-matrix-stats/plugin-descriptor.properties @@ -0,0 +1,40 @@ +# Elasticsearch plugin descriptor file +# This file must exist as 'plugin-descriptor.properties' in a folder named `elasticsearch` +# inside all plugins. +# +### example plugin for "foo" +# +# foo.zip <-- zip file for the plugin, with this structure: +#|____elasticsearch/ +#| |____ <arbitrary name1>.jar <-- classes, resources, dependencies +#| |____ <arbitrary nameN>.jar <-- any number of jars +#| |____ plugin-descriptor.properties <-- example contents below: +# +# classname=foo.bar.BazPlugin +# description=My cool plugin +# version=2.0 +# elasticsearch.version=2.0 +# java.version=1.7 +# +### mandatory elements for all plugins: +# +# 'description': simple summary of the plugin +description=Adds aggregations whose input are a list of numeric fields and output includes a matrix. +# +# 'version': plugin's version +version=5.0.2 +# +# 'name': the plugin name +name=aggs-matrix-stats +# +# 'classname': the name of the class to load, fully-qualified. +classname=org.elasticsearch.search.aggregations.matrix.MatrixAggregationPlugin +# +# 'java.version' version of java the code is built against +# use the system property java.specification.version +# version string must be a sequence of nonnegative decimal integers +# separated by "."'s and may have leading zeros +java.version=1.8 +# +# 'elasticsearch.version' version of elasticsearch compiled against +elasticsearch.version=5.0.2 diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/ingest-common-5.0.2.jar b/sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/ingest-common-5.0.2.jar Binary files differnew file mode 100644 index 00000000000..7a8d3ceb184 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/ingest-common-5.0.2.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/jcodings-1.0.12.jar b/sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/jcodings-1.0.12.jar Binary files differnew file mode 100644 index 00000000000..5493b50b4c8 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/jcodings-1.0.12.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/joni-2.1.6.jar b/sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/joni-2.1.6.jar Binary files differnew file mode 100644 index 00000000000..7ec4d1507f0 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/joni-2.1.6.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/plugin-descriptor.properties b/sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/plugin-descriptor.properties new file mode 100644 index 00000000000..b634de8bc40 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/plugin-descriptor.properties @@ -0,0 +1,40 @@ +# Elasticsearch plugin descriptor file +# This file must exist as 'plugin-descriptor.properties' in a folder named `elasticsearch` +# inside all plugins. +# +### example plugin for "foo" +# +# foo.zip <-- zip file for the plugin, with this structure: +#|____elasticsearch/ +#| |____ <arbitrary name1>.jar <-- classes, resources, dependencies +#| |____ <arbitrary nameN>.jar <-- any number of jars +#| |____ plugin-descriptor.properties <-- example contents below: +# +# classname=foo.bar.BazPlugin +# description=My cool plugin +# version=2.0 +# elasticsearch.version=2.0 +# java.version=1.7 +# +### mandatory elements for all plugins: +# +# 'description': simple summary of the plugin +description=Module for ingest processors that do not require additional security permissions or have large dependencies and resources +# +# 'version': plugin's version +version=5.0.2 +# +# 'name': the plugin name +name=ingest-common +# +# 'classname': the name of the class to load, fully-qualified. +classname=org.elasticsearch.ingest.common.IngestCommonPlugin +# +# 'java.version' version of java the code is built against +# use the system property java.specification.version +# version string must be a sequence of nonnegative decimal integers +# separated by "."'s and may have leading zeros +java.version=1.8 +# +# 'elasticsearch.version' version of elasticsearch compiled against +elasticsearch.version=5.0.2 diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/antlr4-runtime-4.5.1-1.jar b/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/antlr4-runtime-4.5.1-1.jar Binary files differnew file mode 100644 index 00000000000..387129d648f --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/antlr4-runtime-4.5.1-1.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/asm-5.0.4.jar b/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/asm-5.0.4.jar Binary files differnew file mode 100644 index 00000000000..cdb283dd7f6 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/asm-5.0.4.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/asm-commons-5.0.4.jar b/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/asm-commons-5.0.4.jar Binary files differnew file mode 100644 index 00000000000..e89265f1e6c --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/asm-commons-5.0.4.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/asm-tree-5.0.4.jar b/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/asm-tree-5.0.4.jar Binary files differnew file mode 100644 index 00000000000..ac68a32ec19 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/asm-tree-5.0.4.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/lang-expression-5.0.2.jar b/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/lang-expression-5.0.2.jar Binary files differnew file mode 100644 index 00000000000..722a2584035 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/lang-expression-5.0.2.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/lucene-expressions-6.2.1.jar b/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/lucene-expressions-6.2.1.jar Binary files differnew file mode 100644 index 00000000000..33ffc2dc712 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/lucene-expressions-6.2.1.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/plugin-descriptor.properties b/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/plugin-descriptor.properties new file mode 100644 index 00000000000..354818fb7e7 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/plugin-descriptor.properties @@ -0,0 +1,40 @@ +# Elasticsearch plugin descriptor file +# This file must exist as 'plugin-descriptor.properties' in a folder named `elasticsearch` +# inside all plugins. +# +### example plugin for "foo" +# +# foo.zip <-- zip file for the plugin, with this structure: +#|____elasticsearch/ +#| |____ <arbitrary name1>.jar <-- classes, resources, dependencies +#| |____ <arbitrary nameN>.jar <-- any number of jars +#| |____ plugin-descriptor.properties <-- example contents below: +# +# classname=foo.bar.BazPlugin +# description=My cool plugin +# version=2.0 +# elasticsearch.version=2.0 +# java.version=1.7 +# +### mandatory elements for all plugins: +# +# 'description': simple summary of the plugin +description=Lucene expressions integration for Elasticsearch +# +# 'version': plugin's version +version=5.0.2 +# +# 'name': the plugin name +name=lang-expression +# +# 'classname': the name of the class to load, fully-qualified. +classname=org.elasticsearch.script.expression.ExpressionPlugin +# +# 'java.version' version of java the code is built against +# use the system property java.specification.version +# version string must be a sequence of nonnegative decimal integers +# separated by "."'s and may have leading zeros +java.version=1.8 +# +# 'elasticsearch.version' version of elasticsearch compiled against +elasticsearch.version=5.0.2 diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/plugin-security.policy b/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/plugin-security.policy new file mode 100644 index 00000000000..c11af51e464 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/plugin-security.policy @@ -0,0 +1,32 @@ +/* + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +grant { + // needed to generate runtime classes + permission java.lang.RuntimePermission "createClassLoader"; + + // expression runtime + permission org.elasticsearch.script.ClassPermission "java.lang.String"; + permission org.elasticsearch.script.ClassPermission "org.apache.lucene.expressions.Expression"; + permission org.elasticsearch.script.ClassPermission "org.apache.lucene.queries.function.FunctionValues"; + // available functions + permission org.elasticsearch.script.ClassPermission "java.lang.Math"; + permission org.elasticsearch.script.ClassPermission "org.apache.lucene.util.MathUtil"; + permission org.elasticsearch.script.ClassPermission "org.apache.lucene.util.SloppyMath"; +}; diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/lang-groovy/groovy-2.4.6-indy.jar b/sonar-application/src/main/assembly/elasticsearch/modules/lang-groovy/groovy-2.4.6-indy.jar Binary files differnew file mode 100644 index 00000000000..ce3531e0bf3 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/lang-groovy/groovy-2.4.6-indy.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/lang-groovy/lang-groovy-5.0.2.jar b/sonar-application/src/main/assembly/elasticsearch/modules/lang-groovy/lang-groovy-5.0.2.jar Binary files differnew file mode 100644 index 00000000000..f1009e8ccf6 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/lang-groovy/lang-groovy-5.0.2.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/lang-groovy/plugin-descriptor.properties b/sonar-application/src/main/assembly/elasticsearch/modules/lang-groovy/plugin-descriptor.properties new file mode 100644 index 00000000000..7360511445a --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/lang-groovy/plugin-descriptor.properties @@ -0,0 +1,40 @@ +# Elasticsearch plugin descriptor file +# This file must exist as 'plugin-descriptor.properties' in a folder named `elasticsearch` +# inside all plugins. +# +### example plugin for "foo" +# +# foo.zip <-- zip file for the plugin, with this structure: +#|____elasticsearch/ +#| |____ <arbitrary name1>.jar <-- classes, resources, dependencies +#| |____ <arbitrary nameN>.jar <-- any number of jars +#| |____ plugin-descriptor.properties <-- example contents below: +# +# classname=foo.bar.BazPlugin +# description=My cool plugin +# version=2.0 +# elasticsearch.version=2.0 +# java.version=1.7 +# +### mandatory elements for all plugins: +# +# 'description': simple summary of the plugin +description=Groovy scripting integration for Elasticsearch +# +# 'version': plugin's version +version=5.0.2 +# +# 'name': the plugin name +name=lang-groovy +# +# 'classname': the name of the class to load, fully-qualified. +classname=org.elasticsearch.script.groovy.GroovyPlugin +# +# 'java.version' version of java the code is built against +# use the system property java.specification.version +# version string must be a sequence of nonnegative decimal integers +# separated by "."'s and may have leading zeros +java.version=1.8 +# +# 'elasticsearch.version' version of elasticsearch compiled against +elasticsearch.version=5.0.2 diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/lang-groovy/plugin-security.policy b/sonar-application/src/main/assembly/elasticsearch/modules/lang-groovy/plugin-security.policy new file mode 100644 index 00000000000..13d00d6d17c --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/lang-groovy/plugin-security.policy @@ -0,0 +1,59 @@ +/* + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +grant { + // needed to generate runtime classes + permission java.lang.RuntimePermission "createClassLoader"; + // needed by IndyInterface + permission java.lang.RuntimePermission "getClassLoader"; + // needed by groovy engine + permission java.lang.RuntimePermission "accessDeclaredMembers"; + permission java.lang.RuntimePermission "accessClassInPackage.sun.reflect"; + permission java.lang.RuntimePermission "accessClassInPackage.jdk.internal.reflect"; + // Allow executing groovy scripts with codesource of /untrusted + permission groovy.security.GroovyCodeSourcePermission "/untrusted"; + + // Standard set of classes + permission org.elasticsearch.script.ClassPermission "<<STANDARD>>"; + // groovy runtime (TODO: clean these up if possible) + permission org.elasticsearch.script.ClassPermission "groovy.grape.GrabAnnotationTransformation"; + permission org.elasticsearch.script.ClassPermission "groovy.lang.Binding"; + permission org.elasticsearch.script.ClassPermission "groovy.lang.GroovyObject"; + permission org.elasticsearch.script.ClassPermission "groovy.lang.GString"; + permission org.elasticsearch.script.ClassPermission "groovy.lang.Script"; + permission org.elasticsearch.script.ClassPermission "groovy.util.GroovyCollections"; + permission org.elasticsearch.script.ClassPermission "org.codehaus.groovy.ast.builder.AstBuilderTransformation"; + permission org.elasticsearch.script.ClassPermission "org.codehaus.groovy.reflection.ClassInfo"; + permission org.elasticsearch.script.ClassPermission "org.codehaus.groovy.runtime.GStringImpl"; + permission org.elasticsearch.script.ClassPermission "org.codehaus.groovy.runtime.powerassert.ValueRecorder"; + permission org.elasticsearch.script.ClassPermission "org.codehaus.groovy.runtime.powerassert.AssertionRenderer"; + permission org.elasticsearch.script.ClassPermission "org.codehaus.groovy.runtime.ScriptBytecodeAdapter"; + permission org.elasticsearch.script.ClassPermission "org.codehaus.groovy.runtime.typehandling.DefaultTypeTransformation"; + permission org.elasticsearch.script.ClassPermission "org.codehaus.groovy.vmplugin.v7.IndyInterface"; + permission org.elasticsearch.script.ClassPermission "sun.reflect.ConstructorAccessorImpl"; + permission org.elasticsearch.script.ClassPermission "sun.reflect.MethodAccessorImpl"; + permission org.elasticsearch.script.ClassPermission "jdk.internal.reflect.ConstructorAccessorImpl"; + permission org.elasticsearch.script.ClassPermission "jdk.internal.reflect.MethodAccessorImpl"; + + permission org.elasticsearch.script.ClassPermission "groovy.lang.Closure"; + permission org.elasticsearch.script.ClassPermission "org.codehaus.groovy.runtime.GeneratedClosure"; + permission org.elasticsearch.script.ClassPermission "groovy.lang.MetaClass"; + permission org.elasticsearch.script.ClassPermission "groovy.lang.Range"; + permission org.elasticsearch.script.ClassPermission "groovy.lang.Reference"; +}; diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/lang-mustache/compiler-0.9.3.jar b/sonar-application/src/main/assembly/elasticsearch/modules/lang-mustache/compiler-0.9.3.jar Binary files differnew file mode 100644 index 00000000000..60cae63f4b1 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/lang-mustache/compiler-0.9.3.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/lang-mustache/lang-mustache-5.0.2.jar b/sonar-application/src/main/assembly/elasticsearch/modules/lang-mustache/lang-mustache-5.0.2.jar Binary files differnew file mode 100644 index 00000000000..e55808976c8 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/lang-mustache/lang-mustache-5.0.2.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/lang-mustache/plugin-descriptor.properties b/sonar-application/src/main/assembly/elasticsearch/modules/lang-mustache/plugin-descriptor.properties new file mode 100644 index 00000000000..ddb10bd2c47 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/lang-mustache/plugin-descriptor.properties @@ -0,0 +1,40 @@ +# Elasticsearch plugin descriptor file +# This file must exist as 'plugin-descriptor.properties' in a folder named `elasticsearch` +# inside all plugins. +# +### example plugin for "foo" +# +# foo.zip <-- zip file for the plugin, with this structure: +#|____elasticsearch/ +#| |____ <arbitrary name1>.jar <-- classes, resources, dependencies +#| |____ <arbitrary nameN>.jar <-- any number of jars +#| |____ plugin-descriptor.properties <-- example contents below: +# +# classname=foo.bar.BazPlugin +# description=My cool plugin +# version=2.0 +# elasticsearch.version=2.0 +# java.version=1.7 +# +### mandatory elements for all plugins: +# +# 'description': simple summary of the plugin +description=Mustache scripting integration for Elasticsearch +# +# 'version': plugin's version +version=5.0.2 +# +# 'name': the plugin name +name=lang-mustache +# +# 'classname': the name of the class to load, fully-qualified. +classname=org.elasticsearch.script.mustache.MustachePlugin +# +# 'java.version' version of java the code is built against +# use the system property java.specification.version +# version string must be a sequence of nonnegative decimal integers +# separated by "."'s and may have leading zeros +java.version=1.8 +# +# 'elasticsearch.version' version of elasticsearch compiled against +elasticsearch.version=5.0.2 diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/lang-mustache/plugin-security.policy b/sonar-application/src/main/assembly/elasticsearch/modules/lang-mustache/plugin-security.policy new file mode 100644 index 00000000000..ea2db551912 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/lang-mustache/plugin-security.policy @@ -0,0 +1,23 @@ +/* + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +grant { + // needed to do crazy reflection + permission java.lang.RuntimePermission "accessDeclaredMembers"; +}; diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/lang-painless/antlr4-runtime-4.5.1-1.jar b/sonar-application/src/main/assembly/elasticsearch/modules/lang-painless/antlr4-runtime-4.5.1-1.jar Binary files differnew file mode 100644 index 00000000000..387129d648f --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/lang-painless/antlr4-runtime-4.5.1-1.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/lang-painless/asm-debug-all-5.1.jar b/sonar-application/src/main/assembly/elasticsearch/modules/lang-painless/asm-debug-all-5.1.jar Binary files differnew file mode 100644 index 00000000000..34b7bfada69 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/lang-painless/asm-debug-all-5.1.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/lang-painless/lang-painless-5.0.2.jar b/sonar-application/src/main/assembly/elasticsearch/modules/lang-painless/lang-painless-5.0.2.jar Binary files differnew file mode 100644 index 00000000000..82c75b0a579 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/lang-painless/lang-painless-5.0.2.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/lang-painless/plugin-descriptor.properties b/sonar-application/src/main/assembly/elasticsearch/modules/lang-painless/plugin-descriptor.properties new file mode 100644 index 00000000000..528e4091f6b --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/lang-painless/plugin-descriptor.properties @@ -0,0 +1,40 @@ +# Elasticsearch plugin descriptor file +# This file must exist as 'plugin-descriptor.properties' in a folder named `elasticsearch` +# inside all plugins. +# +### example plugin for "foo" +# +# foo.zip <-- zip file for the plugin, with this structure: +#|____elasticsearch/ +#| |____ <arbitrary name1>.jar <-- classes, resources, dependencies +#| |____ <arbitrary nameN>.jar <-- any number of jars +#| |____ plugin-descriptor.properties <-- example contents below: +# +# classname=foo.bar.BazPlugin +# description=My cool plugin +# version=2.0 +# elasticsearch.version=2.0 +# java.version=1.7 +# +### mandatory elements for all plugins: +# +# 'description': simple summary of the plugin +description=An easy, safe and fast scripting language for Elasticsearch +# +# 'version': plugin's version +version=5.0.2 +# +# 'name': the plugin name +name=lang-painless +# +# 'classname': the name of the class to load, fully-qualified. +classname=org.elasticsearch.painless.PainlessPlugin +# +# 'java.version' version of java the code is built against +# use the system property java.specification.version +# version string must be a sequence of nonnegative decimal integers +# separated by "."'s and may have leading zeros +java.version=1.8 +# +# 'elasticsearch.version' version of elasticsearch compiled against +elasticsearch.version=5.0.2 diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/lang-painless/plugin-security.policy b/sonar-application/src/main/assembly/elasticsearch/modules/lang-painless/plugin-security.policy new file mode 100644 index 00000000000..e45c1b86ceb --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/lang-painless/plugin-security.policy @@ -0,0 +1,23 @@ +/* + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +grant { + // needed to generate runtime classes + permission java.lang.RuntimePermission "createClassLoader"; +}; diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/percolator/percolator-5.0.2.jar b/sonar-application/src/main/assembly/elasticsearch/modules/percolator/percolator-5.0.2.jar Binary files differnew file mode 100644 index 00000000000..5333ccba4b1 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/percolator/percolator-5.0.2.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/percolator/plugin-descriptor.properties b/sonar-application/src/main/assembly/elasticsearch/modules/percolator/plugin-descriptor.properties new file mode 100644 index 00000000000..d09cad0a7de --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/percolator/plugin-descriptor.properties @@ -0,0 +1,40 @@ +# Elasticsearch plugin descriptor file +# This file must exist as 'plugin-descriptor.properties' in a folder named `elasticsearch` +# inside all plugins. +# +### example plugin for "foo" +# +# foo.zip <-- zip file for the plugin, with this structure: +#|____elasticsearch/ +#| |____ <arbitrary name1>.jar <-- classes, resources, dependencies +#| |____ <arbitrary nameN>.jar <-- any number of jars +#| |____ plugin-descriptor.properties <-- example contents below: +# +# classname=foo.bar.BazPlugin +# description=My cool plugin +# version=2.0 +# elasticsearch.version=2.0 +# java.version=1.7 +# +### mandatory elements for all plugins: +# +# 'description': simple summary of the plugin +description=Percolator module adds capability to index queries and query these queries by specifying documents +# +# 'version': plugin's version +version=5.0.2 +# +# 'name': the plugin name +name=percolator +# +# 'classname': the name of the class to load, fully-qualified. +classname=org.elasticsearch.percolator.PercolatorPlugin +# +# 'java.version' version of java the code is built against +# use the system property java.specification.version +# version string must be a sequence of nonnegative decimal integers +# separated by "."'s and may have leading zeros +java.version=1.8 +# +# 'elasticsearch.version' version of elasticsearch compiled against +elasticsearch.version=5.0.2 diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/reindex/commons-codec-1.10.jar b/sonar-application/src/main/assembly/elasticsearch/modules/reindex/commons-codec-1.10.jar Binary files differnew file mode 100644 index 00000000000..1d7417c4031 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/reindex/commons-codec-1.10.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/reindex/commons-logging-1.1.3.jar b/sonar-application/src/main/assembly/elasticsearch/modules/reindex/commons-logging-1.1.3.jar Binary files differnew file mode 100644 index 00000000000..ab5125407a6 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/reindex/commons-logging-1.1.3.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/reindex/httpasyncclient-4.1.2.jar b/sonar-application/src/main/assembly/elasticsearch/modules/reindex/httpasyncclient-4.1.2.jar Binary files differnew file mode 100644 index 00000000000..20a8a5a785d --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/reindex/httpasyncclient-4.1.2.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/reindex/httpclient-4.5.2.jar b/sonar-application/src/main/assembly/elasticsearch/modules/reindex/httpclient-4.5.2.jar Binary files differnew file mode 100644 index 00000000000..701609fcc84 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/reindex/httpclient-4.5.2.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/reindex/httpcore-4.4.5.jar b/sonar-application/src/main/assembly/elasticsearch/modules/reindex/httpcore-4.4.5.jar Binary files differnew file mode 100644 index 00000000000..6bbf0ac8b73 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/reindex/httpcore-4.4.5.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/reindex/httpcore-nio-4.4.5.jar b/sonar-application/src/main/assembly/elasticsearch/modules/reindex/httpcore-nio-4.4.5.jar Binary files differnew file mode 100644 index 00000000000..18452862c74 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/reindex/httpcore-nio-4.4.5.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/reindex/plugin-descriptor.properties b/sonar-application/src/main/assembly/elasticsearch/modules/reindex/plugin-descriptor.properties new file mode 100644 index 00000000000..25e7c9e248d --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/reindex/plugin-descriptor.properties @@ -0,0 +1,40 @@ +# Elasticsearch plugin descriptor file +# This file must exist as 'plugin-descriptor.properties' in a folder named `elasticsearch` +# inside all plugins. +# +### example plugin for "foo" +# +# foo.zip <-- zip file for the plugin, with this structure: +#|____elasticsearch/ +#| |____ <arbitrary name1>.jar <-- classes, resources, dependencies +#| |____ <arbitrary nameN>.jar <-- any number of jars +#| |____ plugin-descriptor.properties <-- example contents below: +# +# classname=foo.bar.BazPlugin +# description=My cool plugin +# version=2.0 +# elasticsearch.version=2.0 +# java.version=1.7 +# +### mandatory elements for all plugins: +# +# 'description': simple summary of the plugin +description=The Reindex module adds APIs to reindex from one index to another or update documents in place. +# +# 'version': plugin's version +version=5.0.2 +# +# 'name': the plugin name +name=reindex +# +# 'classname': the name of the class to load, fully-qualified. +classname=org.elasticsearch.index.reindex.ReindexPlugin +# +# 'java.version' version of java the code is built against +# use the system property java.specification.version +# version string must be a sequence of nonnegative decimal integers +# separated by "."'s and may have leading zeros +java.version=1.8 +# +# 'elasticsearch.version' version of elasticsearch compiled against +elasticsearch.version=5.0.2 diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/reindex/reindex-5.0.2.jar b/sonar-application/src/main/assembly/elasticsearch/modules/reindex/reindex-5.0.2.jar Binary files differnew file mode 100644 index 00000000000..8719236ac8d --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/reindex/reindex-5.0.2.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/reindex/rest-5.0.2.jar b/sonar-application/src/main/assembly/elasticsearch/modules/reindex/rest-5.0.2.jar Binary files differnew file mode 100644 index 00000000000..71690e1189b --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/reindex/rest-5.0.2.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty3/netty-3.10.6.Final.jar b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty3/netty-3.10.6.Final.jar Binary files differnew file mode 100644 index 00000000000..b0a1bdad610 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty3/netty-3.10.6.Final.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty3/plugin-descriptor.properties b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty3/plugin-descriptor.properties new file mode 100644 index 00000000000..ae8baa4d287 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty3/plugin-descriptor.properties @@ -0,0 +1,40 @@ +# Elasticsearch plugin descriptor file +# This file must exist as 'plugin-descriptor.properties' in a folder named `elasticsearch` +# inside all plugins. +# +### example plugin for "foo" +# +# foo.zip <-- zip file for the plugin, with this structure: +#|____elasticsearch/ +#| |____ <arbitrary name1>.jar <-- classes, resources, dependencies +#| |____ <arbitrary nameN>.jar <-- any number of jars +#| |____ plugin-descriptor.properties <-- example contents below: +# +# classname=foo.bar.BazPlugin +# description=My cool plugin +# version=2.0 +# elasticsearch.version=2.0 +# java.version=1.7 +# +### mandatory elements for all plugins: +# +# 'description': simple summary of the plugin +description=Netty 3 based transport implementation +# +# 'version': plugin's version +version=5.0.2 +# +# 'name': the plugin name +name=transport-netty3 +# +# 'classname': the name of the class to load, fully-qualified. +classname=org.elasticsearch.transport.Netty3Plugin +# +# 'java.version' version of java the code is built against +# use the system property java.specification.version +# version string must be a sequence of nonnegative decimal integers +# separated by "."'s and may have leading zeros +java.version=1.8 +# +# 'elasticsearch.version' version of elasticsearch compiled against +elasticsearch.version=5.0.2 diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty3/plugin-security.policy b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty3/plugin-security.policy new file mode 100644 index 00000000000..45c8cd923aa --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty3/plugin-security.policy @@ -0,0 +1,24 @@ +/* + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +grant { + // Netty SelectorUtil wants to change this, because of https://bugs.openjdk.java.net/browse/JDK-6427854 + // the bug says it only happened rarely, and that its fixed, but apparently it still happens rarely! + permission java.util.PropertyPermission "sun.nio.ch.bugLevel", "write"; +};
\ No newline at end of file diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty3/transport-netty3-5.0.2.jar b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty3/transport-netty3-5.0.2.jar Binary files differnew file mode 100644 index 00000000000..cd74441d9b9 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty3/transport-netty3-5.0.2.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/netty-buffer-4.1.5.Final.jar b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/netty-buffer-4.1.5.Final.jar Binary files differnew file mode 100644 index 00000000000..0631d79a4c6 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/netty-buffer-4.1.5.Final.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/netty-codec-4.1.5.Final.jar b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/netty-codec-4.1.5.Final.jar Binary files differnew file mode 100644 index 00000000000..8796fea9e3d --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/netty-codec-4.1.5.Final.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/netty-codec-http-4.1.5.Final.jar b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/netty-codec-http-4.1.5.Final.jar Binary files differnew file mode 100644 index 00000000000..98a9b88697a --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/netty-codec-http-4.1.5.Final.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/netty-common-4.1.5.Final.jar b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/netty-common-4.1.5.Final.jar Binary files differnew file mode 100644 index 00000000000..85a5b03d955 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/netty-common-4.1.5.Final.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/netty-handler-4.1.5.Final.jar b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/netty-handler-4.1.5.Final.jar Binary files differnew file mode 100644 index 00000000000..85760a6e703 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/netty-handler-4.1.5.Final.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/netty-resolver-4.1.5.Final.jar b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/netty-resolver-4.1.5.Final.jar Binary files differnew file mode 100644 index 00000000000..6eeb6208330 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/netty-resolver-4.1.5.Final.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/netty-transport-4.1.5.Final.jar b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/netty-transport-4.1.5.Final.jar Binary files differnew file mode 100644 index 00000000000..a76785a10cf --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/netty-transport-4.1.5.Final.jar diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/plugin-descriptor.properties b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/plugin-descriptor.properties new file mode 100644 index 00000000000..e3d1ee16cd4 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/plugin-descriptor.properties @@ -0,0 +1,40 @@ +# Elasticsearch plugin descriptor file +# This file must exist as 'plugin-descriptor.properties' in a folder named `elasticsearch` +# inside all plugins. +# +### example plugin for "foo" +# +# foo.zip <-- zip file for the plugin, with this structure: +#|____elasticsearch/ +#| |____ <arbitrary name1>.jar <-- classes, resources, dependencies +#| |____ <arbitrary nameN>.jar <-- any number of jars +#| |____ plugin-descriptor.properties <-- example contents below: +# +# classname=foo.bar.BazPlugin +# description=My cool plugin +# version=2.0 +# elasticsearch.version=2.0 +# java.version=1.7 +# +### mandatory elements for all plugins: +# +# 'description': simple summary of the plugin +description=Netty 4 based transport implementation +# +# 'version': plugin's version +version=5.0.2 +# +# 'name': the plugin name +name=transport-netty4 +# +# 'classname': the name of the class to load, fully-qualified. +classname=org.elasticsearch.transport.Netty4Plugin +# +# 'java.version' version of java the code is built against +# use the system property java.specification.version +# version string must be a sequence of nonnegative decimal integers +# separated by "."'s and may have leading zeros +java.version=1.8 +# +# 'elasticsearch.version' version of elasticsearch compiled against +elasticsearch.version=5.0.2 diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/plugin-security.policy b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/plugin-security.policy new file mode 100644 index 00000000000..a8cd1a7fffd --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/plugin-security.policy @@ -0,0 +1,24 @@ +/* + * Licensed to Elasticsearch under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +grant codeBase "${codebase.netty-transport-4.1.5.Final.jar}" { + // Netty NioEventLoop wants to change this, because of https://bugs.openjdk.java.net/browse/JDK-6427854 + // the bug says it only happened rarely, and that its fixed, but apparently it still happens rarely! + permission java.util.PropertyPermission "sun.nio.ch.bugLevel", "write"; +};
\ No newline at end of file diff --git a/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/transport-netty4-5.0.2.jar b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/transport-netty4-5.0.2.jar Binary files differnew file mode 100644 index 00000000000..9b211186024 --- /dev/null +++ b/sonar-application/src/main/assembly/elasticsearch/modules/transport-netty4/transport-netty4-5.0.2.jar |