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 Jest actions for use with ES Task API #5064

Merged
merged 3 commits into from Nov 20, 2018
Merged

Add Jest actions for use with ES Task API #5064

merged 3 commits into from Nov 20, 2018

Conversation

@kroepke
Copy link
Member

@kroepke kroepke commented Sep 5, 2018

In preparation to expose reindex capabilities, we need to be able to access the status of the long running tasks (to show progress) and also be able to cancel them.

related to #4958

added tests for tasks api actions

copied ElasticsearchRule and *Configuration to test code, to be able to customize
jest's http client with RequestResponseLogger for debugging

adapted other integration tests to use customized ElasticsearchRule

fixed encoding issue in RequestResponseLogger
@kroepke kroepke added this to the 2.5.0 milestone Sep 5, 2018
@kroepke kroepke requested a review from bernd Sep 5, 2018
@bernd bernd self-assigned this Sep 6, 2018
@bernd
bernd approved these changes Sep 7, 2018
Copy link
Member

@bernd bernd left a comment

I am seeing this on Jenkins:

Tests in error: 
  GetTasksTest.findLongRunningTask:79->ElasticsearchBase.createRandomIndex:167->ElasticsearchBase.createIndex:130->ElasticsearchBase.createIndex:134->ElasticsearchBase.createIndex:159 » CouldNotConnect
  GetTasksTest.getTasks:66 » CouldNotConnect Could not connect to http://localho...
@bernd
bernd approved these changes Nov 20, 2018
@bernd bernd merged commit 1a08833 into 2.5 Nov 20, 2018
2 of 3 checks passed
2 of 3 checks passed
@garybot2
ci-web-linter Jenkins build graylog-pr-linter-check 2886 has failed
Details
@garybot2
graylog-project/pr Jenkins build graylog-project-pr-snapshot 2064 has succeeded
Details
license/cla Contributor License Agreement is signed.
Details
@bernd bernd deleted the es-task-api branch Nov 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants