Skip to content

Make the date in warnings optional for Console#28995

Merged
jasontedor merged 1 commit intoelastic:masterfrom
jasontedor:console-warning-header-optional-warn-date
Jan 18, 2019
Merged

Make the date in warnings optional for Console#28995
jasontedor merged 1 commit intoelastic:masterfrom
jasontedor:console-warning-header-optional-warn-date

Conversation

@jasontedor
Copy link
Copy Markdown
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 t// label Jan 18, 2019
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/es-ui

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Copy link
Copy Markdown
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 t// v6.7.0 v7.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants