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

Commit bf9a91c

Browse files
authored
Adds support for Kibana 7.8.0 (#163)
* 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
1 parent 8700436 commit bf9a91c

File tree

7 files changed

+143
-144
lines changed

7 files changed

+143
-144
lines changed

index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
* permissions and limitations under the License.
1414
*/
1515

16-
import { resolve } from 'path';
1716
import { alerts, destinations, elasticsearch, monitors, detectors } from './server/routes';
1817
import {
1918
AlertService,
@@ -24,8 +23,9 @@ import {
2423
} from './server/services';
2524
import { createAlertingCluster, createAlertingADCluster } from './server/clusters';
2625
import { PLUGIN_NAME } from './utils/constants';
26+
import { DEFAULT_APP_CATEGORIES } from '../../src/core/utils';
2727

28-
export default function(kibana) {
28+
export default function (kibana) {
2929
return new kibana.Plugin({
3030
require: ['elasticsearch'],
3131
name: PLUGIN_NAME,
@@ -35,6 +35,7 @@ export default function(kibana) {
3535
description: 'Kibana Alerting Plugin',
3636
main: `plugins/${PLUGIN_NAME}/app`,
3737
icon: `plugins/${PLUGIN_NAME}/images/alerting_icon.svg`,
38+
category: DEFAULT_APP_CATEGORIES.kibana,
3839
},
3940

4041
hacks: [`plugins/${PLUGIN_NAME}/hack`],

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "opendistro-alerting",
3-
"version": "1.8.0.0",
3+
"version": "1.9.0.0",
44
"description": "Kibana Alerting Plugin",
55
"main": "index.js",
66
"license": "Apache-2.0",
77
"homepage": "https://github.com/opendistro-for-elasticsearch/alerting-kibana-plugin",
88
"kibana": {
9-
"version": "7.7.0",
9+
"version": "7.8.0",
1010
"templateVersion": "6.3.3"
1111
},
1212
"repository": {
@@ -47,7 +47,7 @@
4747
"fstream": "1.0.12"
4848
},
4949
"engines": {
50-
"node": "10.19.0",
50+
"node": "10.21.0",
5151
"yarn": "^1.21.1"
5252
}
5353
}

public/components/Flyout/__snapshots__/Flyout.test.js.snap

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,15 @@
22

33
exports[`Flyout defaults if bad flyout data 1`] = `
44
<EuiFlyout
5-
closeButtonAriaLabel="Closes this dialog"
6-
hideCloseButton={false}
7-
maxWidth={false}
85
onClose={[MockFunction]}
9-
ownFocus={false}
10-
size="m"
116
/>
127
`;
138

149
exports[`Flyout renders 1`] = `
1510
<EuiFlyout
1611
aria-labelledby="messageFlyout"
17-
closeButtonAriaLabel="Closes this dialog"
18-
hideCloseButton={false}
1912
maxWidth={500}
2013
onClose={[MockFunction]}
21-
ownFocus={false}
2214
size="m"
2315
>
2416
<EuiFlyoutHeader

public/pages/CreateMonitor/containers/AnomalyDetectors/__tests__/__snapshots__/AnomalyDetector.test.js.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,7 @@ exports[`AnomalyDetectors renders 1`] = `
655655
"asPlaintext": true,
656656
}
657657
}
658+
sortMatchesBy="none"
658659
>
659660
<div
660661
aria-expanded={false}

public/pages/CreateMonitor/containers/MonitorIndex/__snapshots__/MonitorIndex.test.js.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,6 +651,7 @@ exports[`MonitorIndex renders 1`] = `
651651
renderOption={[Function]}
652652
selectedOptions={Array []}
653653
singleSelection={false}
654+
sortMatchesBy="none"
654655
>
655656
<div
656657
aria-expanded={false}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## Version 1.9.0.0, 2020-06-29
2+
3+
### New Features
4+
* Adds support for Kibana 7.8.0 - [PR #163](https://github.com/opendistro-for-elasticsearch/alerting-kibana-plugin/pull/163)

0 commit comments

Comments
 (0)