mirror of
https://github.com/elastic/kibana.git
synced 2025-06-29 03:24:45 -04:00
## Summary - [x] Fix UA currently failing to return upgrade status - [x] Support surfacing `data_streams` migrations in UA under the ES tab - [x] Refactor code for better readablity - [x] Add more test cases across the board for all the es migrations status feature in UA - [x] Add a `featureSet.migrateDataStreams` to enable surfacing data streams migrations - [x] Surface data streams in UA UI - [x] Take screenshots for a product review discussions - [x] Unskip api_integration test cases ### Imporant Notes ES deprecations are hidden behind the `featureSet` flag and will only be shown in `8.last` for users. This gives us time to review the copy and implement the corrective action for reindexing data streams which is still pending implementaiton from ES side. For now we will merge this to unblock upgrades in `8.17` and support surfacing data_streams deprecations and add tests. Follow up work for `8.18` - Add integration Tests - Update copy of flyout and documentation link - Reindexing data streams corrective action closes https://github.com/elastic/kibana-team/issues/1293 ## Screenshots #### Overview Page <img width="683" alt="image" src="https://github.com/user-attachments/assets/246d89ac-02cd-4813-ba38-e2e28df00c8d"> #### Elasticsearch deprecation issues Page <img width="1453" alt="image" src="https://github.com/user-attachments/assets/b5fd5f15-fa44-4acb-b7ff-4973593dcfbb"> #### Data streams deprecation details flyout <img width="778" alt="image" src="https://github.com/user-attachments/assets/af343f69-7e76-4c91-a6e3-cff29e26df59"> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
27 lines
1 KiB
TypeScript
27 lines
1 KiB
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
|
|
import { FtrConfigProviderContext } from '@kbn/test';
|
|
|
|
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
|
|
const baseIntegrationTestsConfig = await readConfigFile(require.resolve('../../config.ts'));
|
|
|
|
return {
|
|
...baseIntegrationTestsConfig.getAll(),
|
|
testFiles: [require.resolve('.')],
|
|
kbnTestServer: {
|
|
...baseIntegrationTestsConfig.get('kbnTestServer'),
|
|
serverArgs: [
|
|
...baseIntegrationTestsConfig.get('kbnTestServer.serverArgs'),
|
|
'--xpack.upgrade_assistant.featureSet.mlSnapshots=true',
|
|
'--xpack.upgrade_assistant.featureSet.migrateSystemIndices=true',
|
|
'--xpack.upgrade_assistant.featureSet.migrateDataStreams=true',
|
|
'--xpack.upgrade_assistant.featureSet.reindexCorrectiveActions=true',
|
|
],
|
|
},
|
|
};
|
|
}
|