Skip to content

Add support for _shield related API's #2053

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 20, 2016
Merged

Conversation

Mpdreamz
Copy link
Member

  • authenticate
  • clear cached realms
  • roles
    • clear cached roles
    • delete role(s)
    • put role
    • get role(s)
  • user
    • delete user(s)
    • put user
    • get user(s)

This also adds support for any request to be able to specify the es-shield-runas-user
http header though the RunAs property on RequestConfiguration,

The OIS version of requests now directly exposes RequestConfiguration

/// <summary>
/// Submit the request on behalf in the context of a different user
/// https://www.elastic.co/guide/en/shield/current/submitting-requests-for-other-users.html
/// </summary>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This xmldoc is on the wrong property

@gmarz
Copy link
Contributor

gmarz commented Apr 20, 2016

Few comments, otherwise LGTM 👍

@Mpdreamz Mpdreamz force-pushed the feature/shield branch 2 times, most recently from d9c868a to 1c18ce5 Compare April 20, 2016 17:50
* authenticate
* clear cached realms
* roles
  * clear cached roles
  * delete role(s)
  * put role
  * get role(s)
* user
  * delete user(s)
  * put user
  * get user(s)

This also adds support for any request to be able to specify the `es-shield-runas-user`
http header though the `RunAs` property on `RequestConfiguration`

The OIS version of requests now directly exposes `RequestConfiguration`
@Mpdreamz Mpdreamz merged commit d5ff5f0 into feature/license-api Apr 20, 2016
@Mpdreamz Mpdreamz deleted the feature/shield branch April 20, 2016 17:51
Mpdreamz added a commit that referenced this pull request Apr 20, 2016
* authenticate
* clear cached realms
* roles
  * clear cached roles
  * delete role(s)
  * put role
  * get role(s)
* user
  * delete user(s)
  * put user
  * get user(s)

This also adds support for any request to be able to specify the `es-shield-runas-user`
http header though the `RunAs` property on `RequestConfiguration`

The OIS version of requests now directly exposes `RequestConfiguration`
Conflicts:
	src/Tests/Mapping/Types/Core/String/StringMappingTests.cs
Mpdreamz added a commit that referenced this pull request Apr 22, 2016
* authenticate
* clear cached realms
* roles
  * clear cached roles
  * delete role(s)
  * put role
  * get role(s)
* user
  * delete user(s)
  * put user
  * get user(s)

This also adds support for any request to be able to specify the `es-shield-runas-user`
http header though the `RunAs` property on `RequestConfiguration`

The OIS version of requests now directly exposes `RequestConfiguration`
Conflicts:
	src/Tests/Mapping/Types/Core/String/StringMappingTests.cs

Conflicts:
	src/Elasticsearch.Net/Configuration/RequestConfiguration.cs
	src/Elasticsearch.Net/Transport/Pipeline/RequestData.cs
	src/Nest/Nest.csproj
	src/Nest/_Generated/_Requests.generated.cs
	src/Tests/Framework/Integration/Process/ElasticsearchNode.cs
	src/Tests/Mapping/Types/Core/String/StringMappingTests.cs
	src/Tests/Tests.csproj
Mpdreamz added a commit that referenced this pull request Jul 26, 2016
* authenticate
* clear cached realms
* roles
  * clear cached roles
  * delete role(s)
  * put role
  * get role(s)
* user
  * delete user(s)
  * put user
  * get user(s)

This also adds support for any request to be able to specify the `es-shield-runas-user`
http header though the `RunAs` property on `RequestConfiguration`

The OIS version of requests now directly exposes `RequestConfiguration`
Conflicts:
	src/Tests/Mapping/Types/Core/String/StringMappingTests.cs
Mpdreamz added a commit that referenced this pull request Sep 30, 2016
* authenticate
* clear cached realms
* roles
  * clear cached roles
  * delete role(s)
  * put role
  * get role(s)
* user
  * delete user(s)
  * put user
  * get user(s)

This also adds support for any request to be able to specify the `es-shield-runas-user`
http header though the `RunAs` property on `RequestConfiguration`

The OIS version of requests now directly exposes `RequestConfiguration`
Conflicts:
	src/Tests/Mapping/Types/Core/String/StringMappingTests.cs
russcam pushed a commit that referenced this pull request Feb 8, 2017
* authenticate
* clear cached realms
* roles
  * clear cached roles
  * delete role(s)
  * put role
  * get role(s)
* user
  * delete user(s)
  * put user
  * get user(s)

This also adds support for any request to be able to specify the `es-shield-runas-user`
http header though the `RunAs` property on `RequestConfiguration`

The OIS version of requests now directly exposes `RequestConfiguration`
Conflicts:
	src/Tests/Mapping/Types/Core/String/StringMappingTests.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants