Skip to content

[1.0][Bug] Restore timeline legacy functions and filters#858

Merged
kavilla merged 1 commit intoopensearch-project:1.0from
kavilla:avillk/1.0/timeline_func
Oct 13, 2021
Merged

[1.0][Bug] Restore timeline legacy functions and filters#858
kavilla merged 1 commit intoopensearch-project:1.0from
kavilla:avillk/1.0/timeline_func

Conversation

@kavilla
Copy link
Copy Markdown
Member

@kavilla kavilla commented Oct 11, 2021

Needed this to be backported for build sake but the version of OpenSearch Dashboards 1.0.1 has not been released so version bump not needed.

While renaming we changed values from legacy naming schema to
OpenSearch Dashboards naming schema. However, after realizing
we impacted backwards compatibility, we restored some of the
"under the hood" components backed to legacy application to
allow for seemless migration.

However, upon attempting to restore Timeline to work with saved
objects we neglected to restore the Timeline functions.

Previously users could set kibana=false to ignore filters on
the dashboards being applied to their Timeline visualizations.
Now, if users tried to set it then it would fail because it
didn't know what that function was.

This commit fixes this issue by keeping the update since we
do not want to impact people who have now updated their functions
and re-added the legacy functions.

In this commit, I also restore the aliases for "elasticsearch" and
now included "opensearch" for Timeline queries.

Finally, the key was incorrect for actually accessing the filter
so it never applied the filters in the default state.

Issue resolved:
#820

Backport:
#825

Signed-off-by: Kawika Avilla kavilla414@gmail.com

While renaming we changed values from legacy naming schema to
OpenSearch Dashboards naming schema. However, after realizing
we impacted backwards compatibility, we restored some of the
"under the hood" components backed to legacy application to
allow for seemless migration.

However, upon attempting to restore Timeline to work with saved
objects we neglected to restore the Timeline functions.

Previously users could set kibana=false to ignore filters on
the dashboards being applied to their Timeline visualizations.
Now, if users tried to set it then it would fail because it
didn't know what that function was.

This commit fixes this issue by keeping the update since we
do not want to impact people who have now updated their functions
and re-added the legacy functions.

In this commit, I also restore the aliases for "elasticsearch" and
now included "opensearch" for Timeline queries.

Finally, the key was incorrect for actually accessing the filter
so it never applied the filters in the default state.

Issue resolved:
opensearch-project#820

Backport:
opensearch-project#825

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
@kavilla kavilla added bug Something isn't working backport labels Oct 11, 2021
@opensearch-ci-bot
Copy link
Copy Markdown
Collaborator

✅   DCO Check Passed 5374d4c

@kavilla kavilla merged commit ed46236 into opensearch-project:1.0 Oct 13, 2021
@kavilla kavilla deleted the avillk/1.0/timeline_func branch October 13, 2021 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants