OpenSearch/elasticsearch/license
Areek Zillur 0db0e2f0c9 Implements cloud_internal license type
"cloud_internal" license type enables dynamically updating license operation mode via a config file.

When the installed license is "cloud_internal", the node level operation mode can be updated by writing
a `license_mode` file in the x-pack config directory (config/x-pack/license_mode). The file is expected
to have a string representing the desired license mode (e.g. "gold", "basic"). In case of a failure to
read a valid license mode from the `license_mode` file, the operation mode for "cloud_internal" license
defaults to PLATINUM.
This change also ensures that the correct operation mode is reported via the _xpack endpoint.

closes elastic/elasticsearch#2042

Original commit: elastic/x-pack-elasticsearch@6a2d788e45
2016-07-15 12:08:34 -04:00
..
base Implements cloud_internal license type 2016-07-15 12:08:34 -04:00
licensor Rename UserError 2016-07-04 19:22:46 -04:00
README.md reorganize directory layout 2015-12-03 16:22:37 +01:00
build.gradle disable license headers check for x-plugins, until we figure out what it should do 2015-12-18 13:27:52 -05:00

README.md

elasticsearch-license

Elasticsearch Licensing core, tools and plugin

Core

Contains core data structures, utilities used by Licensor and Plugin.

See core/ and core-shaded/

Licensor

Contains a collection of tools to generate key-pairs, licenses and validate licenses.

See licensor/

see [wiki] (https://github.com/elasticsearch/elasticsearch-license/wiki) for documentation on [Licensing Tools Usage & Reference] (https://github.com/elasticsearch/elasticsearch-license/wiki/License-Tools-Usage-&-Reference)

Plugin

NOTE: The license plugin has to be packaged with the right public key when being deployed to public repositories in maven or uploaded to s3. Use -Dkeys.path=<PATH_TO_KEY_DIR> with maven command to package the plugin with a specified key.

See plugin/

see [Getting Started] (https://github.com/elasticsearch/elasticsearch-license/blob/master/docs/getting-started.asciidoc) to install license plugin.

see [Licensing REST APIs] (https://github.com/elasticsearch/elasticsearch-license/blob/master/docs/license.asciidoc) to use the license plugin from an elasticsearch deployment.

see [wiki] (https://github.com/elasticsearch/elasticsearch-license/wiki) for documentation on