Skip to content

Conversation

@hub-cap
Copy link
Contributor

@hub-cap hub-cap commented Aug 26, 2019

This commit adds an enrich client, as well as a smoke test to validate
the client works.

This commit adds an enrich client, as well as a smoke test to validate
the client works.
@hub-cap hub-cap added the :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP label Aug 26, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features

Copy link
Member

@martijnvg martijnvg left a 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;
Copy link
Member

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

Copy link
Contributor Author

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()));
Copy link
Member

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;

Copy link
Contributor Author

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?

@hub-cap
Copy link
Contributor Author

hub-cap commented Aug 28, 2019

@elasticmachine update branch

@hub-cap hub-cap merged commit 51a703d into elastic:enrich-7.x Aug 29, 2019
@hub-cap hub-cap deleted the enrich_transport_client branch August 29, 2019 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants