mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
Modified the definition and loading of settings in Security to provide early detection and failure of invalid (unrecognised or syntactically invalid) settings. Also consolidates the number of places where settings were defined. Each realm now defines its supported settings. This is facilitated for custom realms via a new "getRealmSettings" method on XPackExtension. The realm group setting performs validation of the child settings with reference to the "type". For backwards compatibility reasons, realm types that have no configuration defined, will be accepted during validation, but may fail at realm creation time. All SSL settings have been centralised into SSLConfigurationSettings, which supports a variable "prefix" to accommodate the multiple places we define SSL config. HTTP Proxy settings are explicitly defined rather than being a generic group. Where possible all security settings now reference a Setting object, and there are less magic strings scattered in the code. Closes: elastic/elasticsearch#3965 Original commit: elastic/x-pack-elasticsearch@2c76a137a9
= Elasticsearch X Plugins A set of Elastic's commercial plugins: - License - Security - Watcher - Monitoring = Setup You must checkout x-plugins and elasticsearch in the same directory as siblings. This elasticsearch checkout will be used when building x-plugins. = Build - Run unit tests: + [source, txt] ----- gradle clean test ----- - Run all tests: + [source, txt] ----- gradle clean check ----- - Run integration tests: + [source, txt] ----- gradle clean integTest ----- - Package X-Pack (wihtout running tests) + [source, txt] ----- gradle clean assemble ----- - Install X-Pack (wihtout running tests) + [source, txt] ----- gradle clean install ----- - If you don't work on the UI side of x-plugins, you can force gradle to skip building kibana by adding `xpack.kibana.build=false` to your `~/.gradle/gradle.properties`. Alternatively you add `-Pxpack.kibana.build=false` on the command line if you only want to do this on individual builds (or `-Pxpack.kibana.build=true` if you need to override having added this to your `gradle.properties`).
Description
Languages
Java
99.5%
Groovy
0.4%