Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Adding support for Kibana 7.9.0 #286

Merged
merged 3 commits into from
Aug 27, 2020
Merged

Adding support for Kibana 7.9.0 #286

merged 3 commits into from
Aug 27, 2020

Conversation

saratvemulapalli
Copy link
Contributor

@saratvemulapalli saratvemulapalli commented Aug 25, 2020

  1. Adding support for Kibana 7.9.0.
  2. Updated snapshots.
  3. Updated plugin version to work with ODFE 1.10.0 elasticsearch.
  4. Added release notes.
  5. Updated Github workflows to run with ODFE 1.10.0 and Kibana 7.9.0

Unit Test Summary:
Test Suites: 1 skipped, 47 passed, 47 of 48 total
Tests: 9 skipped, 215 passed, 224 total

5 new tests which are breaking are skipped and will be taken care with issue: #288

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@@ -37,6 +37,7 @@
"@babel/preset-typescript": "^7.3.3",
"@elastic/eslint-config-kibana": "link:../../packages/eslint-config-kibana",
"@elastic/eslint-import-resolver-kibana": "link:../../packages/kbn-eslint-import-resolver-kibana",
"@elastic/eui": "^22.3.1",
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we find out why need to use an old version of EUI? Kibana 7.9 is using "26.3.3"

Copy link
Contributor

Choose a reason for hiding this comment

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

@ylwu-amzn I'm still researching, adding this allows most of UT to pass.

Copy link
Contributor Author

@saratvemulapalli saratvemulapalli Aug 25, 2020

Choose a reason for hiding this comment

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

@ylwu-amzn the upgrade from 22.3.1 to 26.3.3 is breaking unit tests for this plugin.
Without downgrading we have about 16/48 (1 skipped) test suites passing.
With downgrading we have about 30/48 (1 skipped) test suites passing.

I am working on other 17 tests which are breaking because of 2 components:

  1. chrome.getUiSettingsClient() - fixing this now has 43/48 (1 skipped) test suites passing.
  2. chrome.breadcrumbs.set()

Copy link
Contributor

Choose a reason for hiding this comment

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

@saratvemulapalli so this PR doesn't fix all tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No I am still working on fixing the others.

Copy link
Contributor

Choose a reason for hiding this comment

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

All tests can pass now after fixing the chrome function mock issue ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

All the tests are passing. 5 of them which are not, I created an issue to track them. #288

@ohltyler ohltyler added the version upgrade Upgrading Kibana compatibility or dependencies label Aug 26, 2020
@ohltyler
Copy link
Contributor

Thanks for adding. Can you also bump the KIBANA_VERSION and/or ODFE_VERSION in the github workflows?

@saratvemulapalli
Copy link
Contributor Author

Thanks for adding. Can you also bump the KIBANA_VERSION and/or ODFE_VERSION in the github workflows?

Thats a good point. Sure, adding them.

Copy link
Contributor

@ylwu-amzn ylwu-amzn left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the change.

@saratvemulapalli saratvemulapalli merged commit 54e4dba into master Aug 27, 2020
@saratvemulapalli saratvemulapalli deleted the odfe-1.10 branch August 27, 2020 17:05
ohltyler pushed a commit to ohltyler/anomaly-detection-kibana-plugin that referenced this pull request Sep 1, 2020
* Adding support for Kibana 7.9.0

* Fixing unit tests and adding release notes

* Updating Github workflows to work with ODFE 1.10.0 and Kibana 7.9.0
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
version upgrade Upgrading Kibana compatibility or dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants