Commit Graph

2 Commits

Author SHA1 Message Date
Michael Basnight 944972a249
Deprecate HLRC EmptyResponse used by security ()
The EmptyResponse is essentially the same as returning a boolean, which
is done in other places. This commit deprecates all the existing
EmptyResponse methods and creates new boolean methods that have method
params reordered so they can exist with the deprecated methods. A
followup PR in master will remove the existing deprecated methods, fix
the parameter ordering and deprecate the incorrectly ordered parameter
methods.

Relates 
2019-01-23 22:13:16 -06:00
Jay Modi 9d16a7b7f0
HLRC: add enable and disable user API support ()
This change adds support for enable and disable user APIs to the high
level rest client. There is a common request base class for both
requests with specific requests that simplify the use of these APIs.

The response for these APIs is simply an empty object so a new response
class has been created for cases where we expect an empty response to
be returned.

Finally, the put user documentation has been moved to the proper
location that is not within an x-pack sub directory and the document
tags no longer contain x-pack.

See 
2018-09-07 11:51:37 -06:00