# # SPDX-License-Identifier: Apache-2.0 # # The OpenSearch Contributors require contributions made to # this file be licensed under the Apache-2.0 license or a # compatible open source license. # # Modifications Copyright OpenSearch Contributors. See # GitHub history for details. # # OpenSearch plugin descriptor file # This file must exist as 'plugin-descriptor.properties' inside a plugin. # ### example plugin for "foo" # # foo.zip <-- zip file for the plugin, with this structure: # |____ .jar <-- classes, resources, dependencies # |____ .jar <-- any number of jars # |____ plugin-descriptor.properties <-- example contents below: # # classname=foo.bar.BazPlugin # description=My cool plugin # version=6.0 # opensearch.version=6.0 # java.version=1.8 # ### mandatory elements for all plugins: # # 'description': simple summary of the plugin description=${description} # # 'version': plugin's version version=${version} # # 'name': the plugin name name=${name} # # 'classname': the name of the class to load, fully-qualified classname=${classname} # # '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=${javaVersion} # # 'opensearch.version': semantic version of opensearch the plugin is compatible with # does not include -SNAPSHOT if compiled against a snapshot build opensearch.version=${opensearchVersion} # ### optional elements for plugins: # # 'custom.foldername': the custom name of the folder in which the plugin is installed custom.foldername=${customFolderName} # # 'extended.plugins': other plugins this plugin extends through SPI extended.plugins=${extendedPlugins} # # 'has.native.controller': whether or not the plugin has a native controller has.native.controller=${hasNativeController}