mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 01:19:02 +00:00
* X-Pack-Security: Improve error messaging during setup password Changes are done to improve logging and exception messages when setup passwords. Now it checks whether - X-Pack plugin is available - X-Pack Security is available - X-Pack Security is enabled by invoking /_xpack query and throws a specific error message. 1. Modifications to simple http client to return http response. 2. Changes in SetupPasswordTool for throwing appropriate exceptions. 2. Unit tests relates elastic/x-pack-elasticsearch#3476 Original commit: elastic/x-pack-elasticsearch@eb0c5a19c5