kibana/x-pack/test/api_integration/apis/entity_manager/index.ts
Kevin Lacabane 505cc0fbbb
[eem] disable entity discovery on plugin startup (#204536)
Disable entity discovery on plugin startup and remove some related
files.

We'll need a follow up to cleanup endpoints.

### Testing

- enable entity discovery from `main` with `PUT
kbn:/internal/entities/managed/enablement`, preferably in a cluster with
data so you can verify that the `.entities*` indices are also deleted
- checkout that branch and start kibana
- verify all v1 builtin definitions with their
transforms/templates/pipelines are deleted. `.entities` indices for
these definitions should also be gone

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-19 14:35:12 +01:00

18 lines
621 B
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 type { FtrProviderContext } from '../../ftr_provider_context';
export default function ({ loadTestFile }: FtrProviderContext) {
describe('Entity Manager', function () {
this.tags(['entityManager']);
loadTestFile(require.resolve('./definitions'));
loadTestFile(require.resolve('./count'));
loadTestFile(require.resolve('./search'));
});
}