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

Use the new Elasticsearch client #26

Merged
merged 6 commits into from
Jun 14, 2019
Merged

Conversation

delvedor
Copy link
Collaborator

@delvedor delvedor commented Jun 4, 2019

As titled.

This pr also removes the aws configuration, since the package has not been updated to support the new client.
It introduces two new cli options:

  • node: the URL where Elasticsearch is running
  • es-version: the major version of Elasticsearch you are using (needed only if ≤7)

It removes host, port, aws-credentials.

The minimum version of Node.js required is v8.

@mcollina
Copy link
Member

mcollina commented Jun 4, 2019

@delvedor
Copy link
Collaborator Author

delvedor commented Jun 4, 2019

I saw that, but the test is passing on my machine. I fear is a timing issue.
Can you rerun the CI job?

@delvedor
Copy link
Collaborator Author

delvedor commented Jun 4, 2019

Now CI is green. Unfortunately, Travis may cause this flaky tests from time to time.

usage.txt Show resolved Hide resolved
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

LGTM with a nit.

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

LGTM

@mcollina mcollina merged commit dfb2a28 into pinojs:master Jun 14, 2019
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.

2 participants