Add configPrefix to Index Management, License Management, Rollup Jobs, and Upgrade Assistant. (#30149)
This commit is contained in:
parent
92ae5baadd
commit
2f92df5ee3
4 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,7 @@ import { addIndexManagementDataEnricher } from "./index_management_data";
|
|||
export function indexManagement(kibana) {
|
||||
return new kibana.Plugin({
|
||||
id: PLUGIN.ID,
|
||||
configPrefix: 'xpack.index_management',
|
||||
publicDir: resolve(__dirname, 'public'),
|
||||
require: ['kibana', 'elasticsearch', 'xpack_main'],
|
||||
uiExports: {
|
||||
|
|
|
@ -11,6 +11,7 @@ import { registerLicenseRoute, registerStartTrialRoutes, registerStartBasicRoute
|
|||
export function licenseManagement(kibana) {
|
||||
return new kibana.Plugin({
|
||||
id: PLUGIN.ID,
|
||||
configPrefix: 'xpack.license_management',
|
||||
publicDir: resolve(__dirname, 'public'),
|
||||
require: ['kibana', 'elasticsearch'],
|
||||
uiExports: {
|
||||
|
|
|
@ -19,6 +19,7 @@ import { registerRollupUsageCollector } from './server/usage';
|
|||
export function rollup(kibana) {
|
||||
return new kibana.Plugin({
|
||||
id: PLUGIN.ID,
|
||||
configPrefix: 'xpack.rollup',
|
||||
publicDir: resolve(__dirname, 'public'),
|
||||
require: ['kibana', 'elasticsearch', 'xpack_main'],
|
||||
uiExports: {
|
||||
|
|
|
@ -12,6 +12,7 @@ import { initServer } from './server';
|
|||
export function upgradeAssistant(kibana: any) {
|
||||
return new kibana.Plugin({
|
||||
id: 'upgrade_assistant',
|
||||
configPrefix: 'xpack.upgrade_assistant',
|
||||
require: ['elasticsearch'],
|
||||
uiExports: {
|
||||
managementSections: ['plugins/upgrade_assistant'],
|
||||
|
|
Loading…
Reference in a new issue