Skip to content

Commit b7a561a

Browse files
authored
removed ESO migration from alerting (#73420) (#73452)
This PR removes the use of ESO migration from alerting as we do not actually need this until the RBAC work lands, which should be 7.10. This allows us to concentrate the challenges of introducing RBAC into one single release which hopefully will help us better mitigate potential regressions.
1 parent 8061381 commit b7a561a

File tree

5 files changed

+0
-222
lines changed

5 files changed

+0
-222
lines changed

x-pack/plugins/alerts/server/saved_objects/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
import { SavedObjectsServiceSetup } from 'kibana/server';
88
import mappings from './mappings.json';
9-
import { getMigrations } from './migrations';
109
import { EncryptedSavedObjectsPluginSetup } from '../../../encrypted_saved_objects/server';
1110

1211
export function setupSavedObjects(
@@ -17,7 +16,6 @@ export function setupSavedObjects(
1716
name: 'alert',
1817
hidden: true,
1918
namespaceType: 'single',
20-
migrations: getMigrations(encryptedSavedObjects),
2119
mappings: mappings.alert,
2220
});
2321

x-pack/plugins/alerts/server/saved_objects/migrations.test.ts

Lines changed: 0 additions & 121 deletions
This file was deleted.

x-pack/plugins/alerts/server/saved_objects/migrations.ts

Lines changed: 0 additions & 53 deletions
This file was deleted.

x-pack/test/alerting_api_integration/spaces_only/tests/alerting/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,5 @@ export default function alertingTests({ loadTestFile }: FtrProviderContext) {
2727
loadTestFile(require.resolve('./alerts_space1'));
2828
loadTestFile(require.resolve('./alerts_default_space'));
2929
loadTestFile(require.resolve('./builtin_alert_types'));
30-
31-
// note that this test will destroy existing spaces
32-
loadTestFile(require.resolve('./migrations'));
3330
});
3431
}

x-pack/test/alerting_api_integration/spaces_only/tests/alerting/migrations.ts

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)