-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into ml_rules_ml_admins
- Loading branch information
Showing
34 changed files
with
345 additions
and
311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
fields?: { | ||
[subfield: string]: { | ||
type: string; | ||
ignore_above?: number; | ||
}; | ||
}; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
src/legacy/core_plugins/ui_metric/public/services/telemetry_analytics.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License; | ||
* you may not use this file except in compliance with the Elastic License. | ||
*/ | ||
import { i18n } from '@kbn/i18n'; | ||
import { CoreSetup, CoreStart, Plugin, PluginInitializerContext } from 'src/core/server'; | ||
import { PluginSetupContract as FeaturesPluginSetupContract } from '../../features/server'; | ||
|
||
import { APP_ID, APP_ICON, MAP_SAVED_OBJECT_TYPE } from '../common/constants'; | ||
|
||
interface SetupDeps { | ||
features: FeaturesPluginSetupContract; | ||
} | ||
|
||
export class MapsPlugin implements Plugin { | ||
constructor(initializerContext: PluginInitializerContext) {} | ||
setup(core: CoreSetup, plugins: SetupDeps) { | ||
plugins.features.registerFeature({ | ||
id: APP_ID, | ||
name: i18n.translate('xpack.maps.featureRegistry.mapsFeatureName', { | ||
defaultMessage: 'Maps', | ||
}), | ||
order: 600, | ||
icon: APP_ICON, | ||
navLinkId: APP_ID, | ||
app: [APP_ID, 'kibana'], | ||
catalogue: [APP_ID], | ||
privileges: { | ||
all: { | ||
app: [APP_ID, 'kibana'], | ||
catalogue: [APP_ID], | ||
savedObject: { | ||
all: [MAP_SAVED_OBJECT_TYPE, 'query'], | ||
read: ['index-pattern'], | ||
}, | ||
ui: ['save', 'show', 'saveQuery'], | ||
}, | ||
read: { | ||
app: [APP_ID, 'kibana'], | ||
catalogue: [APP_ID], | ||
savedObject: { | ||
all: [], | ||
read: [MAP_SAVED_OBJECT_TYPE, 'index-pattern', 'query'], | ||
}, | ||
ui: ['show'], | ||
}, | ||
}, | ||
}); | ||
} | ||
start(core: CoreStart) {} | ||
} |
Oops, something went wrong.