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

Make the date in warnings optional for Console #28995

Conversation

jasontedor
Copy link
Member

Elasticsearch wants to move to remove the warning date from warning headers in deprecation messages that are serialized into response headers. This commit is a step towards enabling Elasticsearch to do that by making the warn date optional in the regular expression used for processing warning headers. This is consistent with RFC 7234 where the warn date can be optional. By making this optional here, Elasticsearch can then follow-up and remove the warn date without breaking Kibana. A follow-up in Kibana can then remove this component from the regular expression instead of leaving it behind as optional.

Relates elastic/elasticsearch#37597

Elasticsearch wants to move to remove the warning date from warning
headers in deprecation messages that are serialized into response
headers. This commit is a step towards enabling Elasticsearch to do that
by making the warn date optional in the regular expression used for
processing warning headers. This is consistent with RFC 7234 where the
warn date can be optional. By making this optional here, Elasticsearch
can then follow-up and remove the warn date without breaking Kibana. A
follow-up in Kibana can then remove this component from the regular
expression instead of leaving it behind as optional.
@jasontedor jasontedor added Feature:Console Dev Tools Console Feature v7.0.0 v6.7.0 labels Jan 18, 2019
@jasontedor jasontedor requested a review from bmcconaghy January 18, 2019 15:26
@epixa epixa added the Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more label Jan 18, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@bmcconaghy bmcconaghy left a comment

Choose a reason for hiding this comment

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

Code LGTM, thanks for doing this Jason.

@jasontedor jasontedor merged commit 2e56e12 into elastic:master Jan 18, 2019
jasontedor added a commit that referenced this pull request Jan 18, 2019
Elasticsearch wants to move to remove the warning date from warning
headers in deprecation messages that are serialized into response
headers. This commit is a step towards enabling Elasticsearch to do that
by making the warn date optional in the regular expression used for
processing warning headers. This is consistent with RFC 7234 where the
warn date can be optional. By making this optional here, Elasticsearch
can then follow-up and remove the warn date without breaking Kibana. A
follow-up in Kibana can then remove this component from the regular
expression instead of leaving it behind as optional.
@jasontedor jasontedor deleted the console-warning-header-optional-warn-date branch January 18, 2019 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Console Dev Tools Console Feature Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v6.7.0 v7.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants