-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add enrich transport client support #46002
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
Conversation
This commit adds an enrich client, as well as a smoke test to validate the client works.
|
Pinging @elastic/es-core-features |
martijnvg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| @@ -0,0 +1,70 @@ | |||
| package org.elasticsearch.xpack.core.enrich.client; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unapproved licenses:
00:31:21
00:31:21 /var/lib/jenkins/workspace/elastic+elasticsearch+pull-request-2/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/enrich/client/EnrichClient.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and this is the quality of work i give when im paying attn to support cases instead of code :P
| public class EnrichTransportClientIT extends ESXPackSmokeClientTestCase { | ||
|
|
||
| private static void assertEqualPolicies(EnrichPolicy expectedInstance, EnrichPolicy newInstance) { | ||
| assertThat(newInstance.getType(), Matchers.equalTo(expectedInstance.getType())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe statically import this: Matchers.equalTo
and then remove: import static org.hamcrest.CoreMatchers.equalTo;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh geez intelij where were u on this?
|
@elasticmachine update branch |
This commit adds an enrich client, as well as a smoke test to validate
the client works.