mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-19 11:24:54 +00:00
This commit migrates the actual authentication calls that are performed by internal realms to be asynchronous so that we do not execute blocking calls on network threads. The realms that used LDAP were especially bad as they can issue many different requests and/or open multiple connections per authentication attempt. The LdapRealm now uses the ThreadPool to fork a thread for authentication. This is necessary because a LDAP bind operation is not allowed to be performed asynchronously and must be done in a blocking manner. After the bind request has completed, all other requests can be done asynchrnously. The LdapUtils class now provides asynchronous methods for searching and also includes the handling of referral following as automated following is not supported by UnboundID when using the asynchronous calls. Original commit: elastic/x-pack-elasticsearch@dfb259e498
= 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%