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

[ML] Add API tests for analytics jobs_exist and new_job_caps endpoints #126914

Merged
merged 4 commits into from
Mar 7, 2022

Conversation

peteharverson
Copy link
Contributor

@peteharverson peteharverson commented Mar 4, 2022

Summary

Adds tests to check the responses of two of the data frame analytics endpoints:

  • /api/ml/data_frame/analytics/jobs_exist
  • /api/ml/data_frame/analytics/new_job_caps/:indexPattern

Also fixes a couple of issues with the related API docs.

Part of #125095

Checklist

@peteharverson peteharverson added review :ml release_note:skip Skip the PR/issue when compiling release notes test-api-integration Feature:Data Frame Analytics ML data frame analytics features backport:skip This commit does not require backporting v8.2.0 labels Mar 4, 2022
@peteharverson peteharverson requested a review from a team as a code owner March 4, 2022 14:47
@peteharverson peteharverson self-assigned this Mar 4, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

Copy link
Member

@pheyos pheyos left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@jgowdyelastic jgowdyelastic left a comment

Choose a reason for hiding this comment

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

LGTM

@peteharverson
Copy link
Contributor Author

@elasticmachine merge upstream

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @peteharverson

@peteharverson peteharverson merged commit d0b64d9 into elastic:main Mar 7, 2022
@peteharverson peteharverson deleted the ml-dfa-api-tests branch March 7, 2022 13:55
lucasfcosta pushed a commit to lucasfcosta/kibana that referenced this pull request Mar 8, 2022
elastic#126914)

* [ML] Add API tests for analytics jobs_exist and new_job_caps endpoints

* [ML] Edits following review

* [ML] Edit to api doc

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
lucasfcosta pushed a commit to lucasfcosta/kibana that referenced this pull request Mar 8, 2022
elastic#126914)

* [ML] Add API tests for analytics jobs_exist and new_job_caps endpoints

* [ML] Edits following review

* [ML] Edit to api doc

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:Data Frame Analytics ML data frame analytics features :ml release_note:skip Skip the PR/issue when compiling release notes review test-api-integration v8.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants