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

Added console definitions for OSS. #66630

Merged

Conversation

cuff-links
Copy link
Contributor

These are the updated console definitions for OSS and X-Pack ensuring that the autocomplete in Kibana maps to the correct endpoints.

@cuff-links
Copy link
Contributor Author

First commit has been tested. Everything looks good for OSS. Moving on to X-pack. After that, we will need to include #66038 for transforms. Those will need to be manually overridden.

@cuff-links
Copy link
Contributor Author

This has been tested on 7.8. As far as I could find, all autocompletions work.. Also updated transforms via overrides and that works too.

@jloleysens jloleysens added the release_note:skip Skip the PR/issue when compiling release notes label May 15, 2020
Copy link
Contributor

@jloleysens jloleysens left a comment

Choose a reason for hiding this comment

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

@cuff-links this is looking really great!

One thing that needs to be checked, however, is that we add overrides for the data_autocomplete_rules. These contain the manually added spec that we get from ES docs site. For instance the new searchable_snapshots.mount.json endpoint is a POST that should offer the following body completions: https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-api-mount-snapshot.html#searchable-snapshots-api-mount-request-body.

Do you think you could take a look at all of the newly added endpoints to make sure their body completions are added?

@cuff-links
Copy link
Contributor Author

@elasticmachine merge upstream

@cuff-links
Copy link
Contributor Author

@elasticmachine merge upstream

@cuff-links
Copy link
Contributor Author

@jloleysens I think we are in good shape now.

Copy link
Contributor

@jloleysens jloleysens left a comment

Choose a reason for hiding this comment

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

Great job @cuff-links , I think this is exactly where we want to be.

Running locally, however, I noticed that autocomplete was not working. It looks like the issue was coming from the change:

...
  "settings": {	
        "docs_per_second": null,	
        "max_page_search_size": 500	
      },
...

Which was making the objects not traversable by the autocomplete system. I applied this commit 4e58b6d to the branch.

Check it out, if you're happy you can go ahead and merge.

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes v7.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants