* move all the legacy codebase to KP plugin * fix imports * add empty handler context & rename routes folder * start migrating routes * migrate rest of the routes * migrate adapters * remove beats from legacy xpack plugin * use nullable + replace response.custom * fix wrapRouteWithSecurity, remove incorrect header validation * remove comment * updating generated plugin list * fix typos in doc * adapt readme too. * remove old commented routes from route files * remove eslint disabling * use camel case for plugin id * update generated doc Co-authored-by: Josh Dover <me@joshdover.com>
15 lines
587 B
JavaScript
15 lines
587 B
JavaScript
/*
|
|
* 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 { xpackMain } from './legacy/plugins/xpack_main';
|
|
import { monitoring } from './legacy/plugins/monitoring';
|
|
import { security } from './legacy/plugins/security';
|
|
import { spaces } from './legacy/plugins/spaces';
|
|
|
|
module.exports = function (kibana) {
|
|
return [xpackMain(kibana), monitoring(kibana), spaces(kibana), security(kibana)];
|
|
};
|