[Maps] rename file_upload to maps_file_upload (#89225) (#89365)

* migrate file_upload plugin to maps_file_upload

* update plugins list

* results of running node scripts/build_plugin_list_docs

* fix build problems

* remove fileUpload from limits.yml

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Nathan Reese 2021-01-26 18:09:23 -07:00 committed by GitHub
parent b8a60b0acb
commit cf311ba7d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 16 additions and 16 deletions

View file

@ -376,10 +376,6 @@ and actions.
|The features plugin enhance Kibana with a per-feature privilege system.
|{kib-repo}blob/{branch}/x-pack/plugins/file_upload/README.md[fileUpload]
|Backend and core front-end react-components for GeoJson file upload. Only supports the Maps plugin.
|{kib-repo}blob/{branch}/x-pack/plugins/fleet/README.md[fleet]
|Fleet needs to have Elasticsearch API keys enabled, and also to have TLS enabled on kibana, (if you want to run Kibana without TLS you can provide the following config flag --xpack.fleet.agents.tlsCheckDisabled=false)
@ -449,6 +445,10 @@ using the CURL scripts in the scripts folder.
|Visualize geo data from Elasticsearch or 3rd party geo-services.
|{kib-repo}blob/{branch}/x-pack/plugins/maps_file_upload/README.md[mapsFileUpload]
|Deprecated - plugin targeted for removal and will get merged into file_upload plugin
|{kib-repo}blob/{branch}/x-pack/plugins/maps_legacy_licensing/README.md[mapsLegacyLicensing]
|This plugin provides access to the detailed tile map services from Elastic.

View file

@ -25,7 +25,6 @@ pageLoadAssetSize:
esUiShared: 326798
expressions: 224120
features: 31211
fileUpload: 24717
globalSearch: 43548
globalSearchBar: 62888
globalSearchProviders: 25554
@ -106,3 +105,4 @@ pageLoadAssetSize:
stackAlerts: 29684
presentationUtil: 28545
spacesOss: 18817
mapsFileUpload: 23775

View file

@ -20,7 +20,7 @@
"xpack.endpoint": "plugins/endpoint",
"xpack.enterpriseSearch": "plugins/enterprise_search",
"xpack.features": "plugins/features",
"xpack.fileUpload": "plugins/file_upload",
"xpack.fileUpload": "plugins/maps_file_upload",
"xpack.globalSearch": ["plugins/global_search"],
"xpack.globalSearchBar": ["plugins/global_search_bar"],
"xpack.graph": ["plugins/graph"],

View file

@ -1,3 +0,0 @@
# File upload
Backend and core front-end react-components for GeoJson file upload. Only supports the Maps plugin.

View file

@ -8,7 +8,7 @@
"features",
"inspector",
"data",
"fileUpload",
"mapsFileUpload",
"uiActions",
"navigation",
"visualizations",

View file

@ -18,7 +18,7 @@ import { GeoJsonFileSource } from '../../sources/geojson_file_source';
import { VectorLayer } from '../../layers/vector_layer/vector_layer';
import { createDefaultLayerDescriptor } from '../../sources/es_search_source';
import { RenderWizardArguments } from '../../layers/layer_wizard_registry';
import { FileUploadComponentProps } from '../../../../../file_upload/public';
import { FileUploadComponentProps } from '../../../../../maps_file_upload/public';
export const INDEX_SETUP_STEP_ID = 'INDEX_SETUP_STEP_ID';
export const INDEXING_STEP_ID = 'INDEXING_STEP_ID';

View file

@ -25,7 +25,7 @@ export const getIndexPatternService = () => pluginsStart.data.indexPatterns;
export const getAutocompleteService = () => pluginsStart.data.autocomplete;
export const getInspector = () => pluginsStart.inspector;
export const getFileUploadComponent = async () => {
return await pluginsStart.fileUpload.getFileUploadComponent();
return await pluginsStart.mapsFileUpload.getFileUploadComponent();
};
export const getUiSettings = () => coreStart.uiSettings;
export const getIsDarkMode = () => getUiSettings().get('theme:darkMode', false);

View file

@ -54,7 +54,7 @@ import { EmbeddableStart } from '../../../../src/plugins/embeddable/public';
import { MapsLegacyConfig } from '../../../../src/plugins/maps_legacy/config';
import { DataPublicPluginStart } from '../../../../src/plugins/data/public';
import { LicensingPluginSetup, LicensingPluginStart } from '../../licensing/public';
import { StartContract as FileUploadStartContract } from '../../file_upload/public';
import { StartContract as FileUploadStartContract } from '../../maps_file_upload/public';
import { SavedObjectsStart } from '../../../../src/plugins/saved_objects/public';
import {
getIsEnterprisePlus,
@ -77,7 +77,7 @@ export interface MapsPluginSetupDependencies {
export interface MapsPluginStartDependencies {
data: DataPublicPluginStart;
embeddable: EmbeddableStart;
fileUpload: FileUploadStartContract;
mapsFileUpload: FileUploadStartContract;
inspector: InspectorStartContract;
licensing: LicensingPluginStart;
navigation: NavigationPublicPluginStart;

View file

@ -0,0 +1,3 @@
# Maps File upload
Deprecated - plugin targeted for removal and will get merged into file_upload plugin

View file

@ -7,5 +7,5 @@
module.exports = {
preset: '@kbn/test',
rootDir: '../../..',
roots: ['<rootDir>/x-pack/plugins/file_upload'],
roots: ['<rootDir>/x-pack/plugins/maps_file_upload'],
};

View file

@ -1,5 +1,5 @@
{
"id": "fileUpload",
"id": "mapsFileUpload",
"version": "8.0.0",
"kibanaVersion": "kibana",
"server": true,