Remove support for legacy imports from the UI #103921
Labels
Breaking Change
required-for-8.0
This work is required to be done before 8.0 lands, bc it relates to a breaking change or similar.
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
technical debt
Improvement of the software architecture and operational architecture
Related to #41439
In Kibana 8.0, we will no longer support the legacy export format from Kibana 6.x. We've had a warning in place in the UI since 7.0 that these exports will no longer be supported.
This is issue is to scope out removal of the UI code for handling legacy imports. This code leverages the SavedObjectLoader pattern for saving these objects to the backend. These loaders can now be removed once we stop supporting legacy exports (#67607).
This should probably happen in a multiple phases:
.json
files to be selected by the file picker and should remove all code that hooks into the legacy imports:legacyImport
:kibana/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx
Line 249 in 0f4319c
legacyFileWarning
and associated state:kibana/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx
Line 866 in 0f4319c
kibana/test/functional/apps/management/_import_objects.ts
Line 214 in 0f4319c
src/plugins/saved_objects_management/public/lib
logLegacyImport
, also remove the associated server route/api/saved_objects/_log_legacy_import
kibana/src/plugins/saved_objects_management/public/lib/log_legacy_import.ts
Lines 11 to 13 in 0f4319c
The text was updated successfully, but these errors were encountered: