Skip to content
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

HLRC: Delete role API #34620

Merged
merged 5 commits into from
Oct 20, 2018
Merged

HLRC: Delete role API #34620

merged 5 commits into from
Oct 20, 2018

Conversation

ywelsch
Copy link
Contributor

@ywelsch ywelsch commented Oct 18, 2018

Adds the "Delete role" API to the high-level REST client.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@ywelsch
Copy link
Contributor Author

ywelsch commented Oct 19, 2018

@elasticmachine retest this please

Copy link
Contributor

@hub-cap hub-cap left a comment

Choose a reason for hiding this comment

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

Mostly nits and missing one test. Easy peasy!

}

@Override
public XContentBuilder toXContent(XContentBuilder builder, Params params) {
Copy link
Contributor

Choose a reason for hiding this comment

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

this is not needed, an the class does not have to be a ToXContentObject either.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed in 86cf213

@@ -0,0 +1,46 @@
[[java-rest-high-security-delete-role]]
Copy link
Contributor

Choose a reason for hiding this comment

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

There is a nicer way to do the docs now. See #34203

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed in 27590cf

/**
* Response for a role being deleted from the native realm
*/
public final class DeleteRoleResponse {
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed in
c041014

@ywelsch ywelsch requested a review from hub-cap October 19, 2018 17:17
@ywelsch ywelsch merged commit 9fb2f7c into elastic:master Oct 20, 2018
ywelsch added a commit that referenced this pull request Oct 20, 2018
Adds the "Delete role" API to the high-level REST client.
kcm pushed a commit that referenced this pull request Oct 30, 2018
Adds the "Delete role" API to the high-level REST client.
@colings86 colings86 removed the :Security/Security Security issues without another label label Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants