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

Commit

Permalink
Adds support for Kibana 7.8.0 (#163)
Browse files Browse the repository at this point in the history
* Bump version number of ES, ODFE, and node

* update Jest snapshots

* update release notes with Kibana 7.8.0 support

* Move plugin entry into Kibana app category in sidebar
  • Loading branch information
ftianli-amzn authored Jun 25, 2020
1 parent 8700436 commit bf9a91c
Show file tree
Hide file tree
Showing 7 changed files with 143 additions and 144 deletions.
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* permissions and limitations under the License.
*/

import { resolve } from 'path';
import { alerts, destinations, elasticsearch, monitors, detectors } from './server/routes';
import {
AlertService,
Expand All @@ -24,8 +23,9 @@ import {
} from './server/services';
import { createAlertingCluster, createAlertingADCluster } from './server/clusters';
import { PLUGIN_NAME } from './utils/constants';
import { DEFAULT_APP_CATEGORIES } from '../../src/core/utils';

export default function(kibana) {
export default function (kibana) {
return new kibana.Plugin({
require: ['elasticsearch'],
name: PLUGIN_NAME,
Expand All @@ -35,6 +35,7 @@ export default function(kibana) {
description: 'Kibana Alerting Plugin',
main: `plugins/${PLUGIN_NAME}/app`,
icon: `plugins/${PLUGIN_NAME}/images/alerting_icon.svg`,
category: DEFAULT_APP_CATEGORIES.kibana,
},

hacks: [`plugins/${PLUGIN_NAME}/hack`],
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "opendistro-alerting",
"version": "1.8.0.0",
"version": "1.9.0.0",
"description": "Kibana Alerting Plugin",
"main": "index.js",
"license": "Apache-2.0",
"homepage": "https://github.com/opendistro-for-elasticsearch/alerting-kibana-plugin",
"kibana": {
"version": "7.7.0",
"version": "7.8.0",
"templateVersion": "6.3.3"
},
"repository": {
Expand Down Expand Up @@ -47,7 +47,7 @@
"fstream": "1.0.12"
},
"engines": {
"node": "10.19.0",
"node": "10.21.0",
"yarn": "^1.21.1"
}
}
8 changes: 0 additions & 8 deletions public/components/Flyout/__snapshots__/Flyout.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,15 @@

exports[`Flyout defaults if bad flyout data 1`] = `
<EuiFlyout
closeButtonAriaLabel="Closes this dialog"
hideCloseButton={false}
maxWidth={false}
onClose={[MockFunction]}
ownFocus={false}
size="m"
/>
`;

exports[`Flyout renders 1`] = `
<EuiFlyout
aria-labelledby="messageFlyout"
closeButtonAriaLabel="Closes this dialog"
hideCloseButton={false}
maxWidth={500}
onClose={[MockFunction]}
ownFocus={false}
size="m"
>
<EuiFlyoutHeader
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,7 @@ exports[`AnomalyDetectors renders 1`] = `
"asPlaintext": true,
}
}
sortMatchesBy="none"
>
<div
aria-expanded={false}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,7 @@ exports[`MonitorIndex renders 1`] = `
renderOption={[Function]}
selectedOptions={Array []}
singleSelection={false}
sortMatchesBy="none"
>
<div
aria-expanded={false}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Version 1.9.0.0, 2020-06-29

### New Features
* Adds support for Kibana 7.8.0 - [PR #163](https://github.com/opendistro-for-elasticsearch/alerting-kibana-plugin/pull/163)
Loading

0 comments on commit bf9a91c

Please sign in to comment.