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

Add support for 'ack watch' to the HLRC. #33962

Merged
merged 7 commits into from
Oct 3, 2018

Conversation

jtibshirani
Copy link
Contributor

@jtibshirani jtibshirani commented Sep 21, 2018

Addresses part of #29827.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

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.

LGTM, 1 nit then you can merge :)


@Override
public Optional<ValidationException> validate() {
ValidationException exception = new ValidationException();
Copy link
Contributor

Choose a reason for hiding this comment

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

We should try to put all the validation we can into the constructors themselves, because this layer of validation, while it does work, does not tell you where the actual error in setting a bad value came from. There are a lot of requireNotNull in constructors, so lets move any logic possible into therm

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍

@jtibshirani jtibshirani merged commit c6fcb60 into elastic:master Oct 3, 2018
@jtibshirani jtibshirani deleted the ack-watch branch October 3, 2018 09:03
kcm pushed a commit that referenced this pull request Oct 30, 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