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

Fake request interface compatible with Kibana Request #40363

Merged
merged 2 commits into from
Jul 5, 2019

Conversation

mshustov
Copy link
Contributor

@mshustov mshustov commented Jul 4, 2019

Summary

Close: #40185
To use common type, otherwise it's problematic to pass, merge them

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

@mshustov mshustov added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Feature:New Platform release_note:skip Skip the PR/issue when compiling release notes v7.4.0 labels Jul 4, 2019
@mshustov mshustov requested a review from a team as a code owner July 4, 2019 15:08
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform

@@ -4,7 +4,7 @@

## ElasticsearchErrorHelpers class

Helpers provided to simplify future migration away from Boom as internal Error.
Helpers for working with errors returned from the Elasticsearch service.Since the internal data of errors are subject to change, consumers of the Elasticsearch service should always use these helpers to classify errors instead of checking error internals such as `body.error.header[WWW-Authenticate]`
Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's not related to changes, but docs are generated only when api changed and any updates in comments/docs are ignored.

@mshustov mshustov added the review label Jul 4, 2019
@mshustov mshustov requested a review from azasypkin July 4, 2019 15:23
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Member

@azasypkin azasypkin left a comment

Choose a reason for hiding this comment

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

LGTM

@mshustov mshustov merged commit cc56d05 into elastic:master Jul 5, 2019
@mshustov mshustov deleted the unify-headers branch July 5, 2019 10:49
mshustov added a commit to mshustov/kibana that referenced this pull request Jul 5, 2019
* make FakeRequest compatible with http request

* FakeRequest compatible with Http Request
mshustov added a commit that referenced this pull request Jul 5, 2019
* make FakeRequest compatible with http request

* FakeRequest compatible with Http Request
@mshustov mshustov added backported and removed review labels Jul 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported Feature:New Platform release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unify Header interface in New Platform
4 participants