Remove legacy plugins support (#77599)

* remove ALL the things.

* adapt some types and tests

* restore ensureValidConfiguration

* fix legacy service tests

* adapt uiRender mixin

* remove legacy types

* update generated doc

* restore legacy plugin schema

* update generated doc

* remove remaining code of x-pack/legacy

* adapt imports due to merge

* cleanup CODEOWNERS

* cleanup gitignore & i18nrc

* cleanup tsconfig.json

* remove unused i18n keys

* add back `"legacy/plugins/**/*",` to tsconfig until legacy space plugin is deleted

* fix create_jest_config

* remove references from eslintrc

* more eslint cleanup

* remove `x-pack/index.js`

* fix xpack gulp scripts

* fix bug with default + named imports from boom

* remove rules from eslintrc

* remove LegacyInternals

* review comments

* update generated doc

* cleanup legacy metadatas

* revert changes to eslintrc

* update generated doc
This commit is contained in:
Pierre Gayvallet 2020-09-23 09:52:51 +02:00 committed by GitHub
parent 62c095b258
commit 0d09cea436
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
219 changed files with 281 additions and 9644 deletions

View file

@ -6,7 +6,7 @@
import { i18n } from '@kbn/i18n';
import { LICENSE_TYPE_BASIC, LicenseType } from '../../../legacy/common/constants';
import { LicenseType } from '../../licensing/common/types';
export const DEFAULT_REFRESH_INTERVAL_MS = 30000;
export const MINIMUM_REFRESH_INTERVAL_MS = 1000;
@ -14,7 +14,7 @@ export const PROGRESS_REFRESH_INTERVAL_MS = 2000;
export const PLUGIN = {
ID: 'transform',
MINIMUM_LICENSE_REQUIRED: LICENSE_TYPE_BASIC as LicenseType,
MINIMUM_LICENSE_REQUIRED: 'basic' as LicenseType,
getI18nName: (): string => {
return i18n.translate('xpack.transform.appName', {
defaultMessage: 'Transforms',