Skip to content

Commit

Permalink
removed ESO migration from alerting
Browse files Browse the repository at this point in the history
  • Loading branch information
gmmorris committed Jul 28, 2020
1 parent 5ea2870 commit 04054fb
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 222 deletions.
2 changes: 0 additions & 2 deletions x-pack/plugins/alerts/server/saved_objects/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

import { SavedObjectsServiceSetup } from 'kibana/server';
import mappings from './mappings.json';
import { getMigrations } from './migrations';
import { EncryptedSavedObjectsPluginSetup } from '../../../encrypted_saved_objects/server';

export function setupSavedObjects(
Expand All @@ -17,7 +16,6 @@ export function setupSavedObjects(
name: 'alert',
hidden: true,
namespaceType: 'single',
migrations: getMigrations(encryptedSavedObjects),
mappings: mappings.alert,
});

Expand Down
121 changes: 0 additions & 121 deletions x-pack/plugins/alerts/server/saved_objects/migrations.test.ts

This file was deleted.

53 changes: 0 additions & 53 deletions x-pack/plugins/alerts/server/saved_objects/migrations.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,5 @@ export default function alertingTests({ loadTestFile }: FtrProviderContext) {
loadTestFile(require.resolve('./alerts_space1'));
loadTestFile(require.resolve('./alerts_default_space'));
loadTestFile(require.resolve('./builtin_alert_types'));

// note that this test will destroy existing spaces
loadTestFile(require.resolve('./migrations'));
});
}

This file was deleted.

0 comments on commit 04054fb

Please sign in to comment.