mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[ML] Disable AIOps UI/APIs. (#132589)
This disables the UI and APIs for Explain log rate spikes in the ML plugin since it will not be part of 8.3. Once 8.3 has been branched off, we can reenable it in main. This also adds a check to the API integration tests to run the tests only when the hard coded feature flag is set to true.
This commit is contained in:
parent
57d783a8c7
commit
b3aee1740b
2 changed files with 7 additions and 3 deletions
|
@ -19,4 +19,4 @@ export const PLUGIN_NAME = 'AIOps';
|
|||
* This is an internal hard coded feature flag so we can easily turn on/off the
|
||||
* "Explain log rate spikes UI" during development until the first release.
|
||||
*/
|
||||
export const AIOPS_ENABLED = true;
|
||||
export const AIOPS_ENABLED = false;
|
||||
|
|
|
@ -5,13 +5,17 @@
|
|||
* 2.0.
|
||||
*/
|
||||
|
||||
import { AIOPS_ENABLED } from '@kbn/aiops-plugin/common';
|
||||
|
||||
import { FtrProviderContext } from '../../ftr_provider_context';
|
||||
|
||||
export default function ({ loadTestFile }: FtrProviderContext) {
|
||||
describe('AIOps', function () {
|
||||
this.tags(['ml']);
|
||||
|
||||
loadTestFile(require.resolve('./example_stream'));
|
||||
loadTestFile(require.resolve('./explain_log_rate_spikes'));
|
||||
if (AIOPS_ENABLED) {
|
||||
loadTestFile(require.resolve('./example_stream'));
|
||||
loadTestFile(require.resolve('./explain_log_rate_spikes'));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue