mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
[ska][x-pack] relocate platform & solutions tests [6] (#220612)
## Summary Part of https://github.com/elastic/kibana-team/issues/1503 This PR is mostly about moving tests from x-pack/test to platform and solutions dirs Before: ``` x-pack/test/api_integration | - apis/metrics_ui/ | - apis/ml/ | - apis/entity_manager/ | - apis/search_playground/ ``` After: ``` x-pack/platform/test/ | - apis/entity_manager/ | - apis/ml/ x-pack/solutions/observability/test/ | - apis/metrics_ui/ x-pack/solutions/search/test/ | - apis/search_playground/ ``` New test package was created under `x-pack/solutions/search/test` for Search solution tests. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
7550229ed0
commit
7401d234c3
220 changed files with 944 additions and 283 deletions
|
@ -24,10 +24,9 @@ enabled:
|
|||
- x-pack/test/alerting_api_integration/observability/config.ts
|
||||
- x-pack/solutions/observability/test/api_integration/apis/logs_ui/config.ts
|
||||
- x-pack/solutions/observability/test/api_integration/apis/logs_shared/config.ts
|
||||
- x-pack/test/api_integration/apis/metrics_ui/config.ts
|
||||
- x-pack/solutions/observability/test/api_integration/apis/metrics_ui/config.ts
|
||||
- x-pack/solutions/observability/test/api_integration/apis/synthetics/config.ts
|
||||
- x-pack/solutions/observability/test/api_integration/apis/uptime/config.ts
|
||||
- x-pack/test/api_integration/apis/entity_manager/config.ts
|
||||
- x-pack/solutions/observability/test/apm_api_integration/basic/config.ts
|
||||
- x-pack/solutions/observability/test/apm_api_integration/cloud/config.ts
|
||||
- x-pack/solutions/observability/test/apm_api_integration/rules/config.ts
|
||||
|
|
|
@ -151,8 +151,6 @@ enabled:
|
|||
- x-pack/test/api_integration_basic/config.ts
|
||||
- x-pack/test/api_integration/apis/cases/config.ts
|
||||
- x-pack/test/api_integration/apis/lists/config.ts
|
||||
- x-pack/test/api_integration/apis/ml/config.ts
|
||||
- x-pack/test/api_integration/apis/search_playground/config.ts
|
||||
- x-pack/test/api_integration/apis/security/config.ts
|
||||
- x-pack/test/banners_functional/config.ts
|
||||
- x-pack/test/cases_api_integration/security_and_spaces/config_basic.ts
|
||||
|
@ -362,6 +360,7 @@ enabled:
|
|||
- x-pack/platform/test/api_integration/apis/console/config.ts
|
||||
- x-pack/platform/test/api_integration/apis/content_management/config.ts
|
||||
- x-pack/platform/test/api_integration/apis/features/config.ts
|
||||
- x-pack/platform/test/api_integration/apis/entity_manager/config.ts
|
||||
- x-pack/platform/test/api_integration/apis/es/config.ts
|
||||
- x-pack/platform/test/api_integration/apis/grok_debugger/config.ts
|
||||
- x-pack/platform/test/api_integration/apis/file_upload/config.ts
|
||||
|
@ -370,6 +369,7 @@ enabled:
|
|||
- x-pack/platform/test/api_integration/apis/management/config.ts
|
||||
- x-pack/platform/test/api_integration/apis/management/index_management/disabled_data_enrichers/config.ts
|
||||
- x-pack/platform/test/api_integration/apis/maps/config.ts
|
||||
- x-pack/platform/test/api_integration/apis/ml/config.ts
|
||||
- x-pack/platform/test/api_integration/apis/monitoring/config.ts
|
||||
- x-pack/platform/test/api_integration/apis/monitoring_collection/config.ts
|
||||
- x-pack/platform/test/api_integration/apis/osquery/config.ts
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
disabled:
|
||||
# Base config files, only necessary to inform config finding script
|
||||
- x-pack/solutions/search/test/api_integration/config.ts
|
||||
|
||||
defaultQueue: 'n2-4-spot'
|
||||
enabled:
|
||||
- x-pack/test/functional_search/config.ts
|
||||
- x-pack/test/functional/apps/search_playground/config.ts
|
||||
- x-pack/solutions/search/test/api_integration/apis/search_playground/config.ts
|
||||
|
||||
|
|
13
.github/CODEOWNERS
vendored
13
.github/CODEOWNERS
vendored
|
@ -952,6 +952,7 @@ x-pack/platform/plugins/shared/task_manager @elastic/response-ops
|
|||
x-pack/platform/plugins/shared/timelines @elastic/security-threat-hunting-investigations
|
||||
x-pack/platform/plugins/shared/triggers_actions_ui @elastic/response-ops
|
||||
x-pack/platform/test
|
||||
x-pack/platform/test/api_integration/apis/entity_manager/fixture_plugin @elastic/obs-entities
|
||||
x-pack/platform/test/encrypted_saved_objects_api_integration/plugins/api_consumer_plugin @elastic/kibana-security
|
||||
x-pack/platform/test/plugin_api_integration/plugins/elasticsearch_client @elastic/kibana-core
|
||||
x-pack/platform/test/plugin_api_integration/plugins/event_log @elastic/response-ops
|
||||
|
@ -1028,6 +1029,7 @@ x-pack/solutions/search/plugins/search_query_rules @elastic/search-kibana
|
|||
x-pack/solutions/search/plugins/search_solution/search_navigation @elastic/search-kibana
|
||||
x-pack/solutions/search/plugins/search_synonyms @elastic/search-kibana
|
||||
x-pack/solutions/search/plugins/serverless_search @elastic/search-kibana
|
||||
x-pack/solutions/search/test @elastic/search-kibana
|
||||
x-pack/solutions/security/packages/connectors @elastic/security-threat-hunting-explore
|
||||
x-pack/solutions/security/packages/data-stream-adapter @elastic/security-threat-hunting
|
||||
x-pack/solutions/security/packages/data-table @elastic/security-threat-hunting-investigations
|
||||
|
@ -1074,7 +1076,6 @@ x-pack/test/alerting_api_integration/common/plugins/alerts @elastic/response-ops
|
|||
x-pack/test/alerting_api_integration/common/plugins/alerts_restricted @elastic/response-ops
|
||||
x-pack/test/alerting_api_integration/common/plugins/task_manager_fixture @elastic/response-ops
|
||||
x-pack/test/alerting_api_integration/packages/helpers @elastic/response-ops
|
||||
x-pack/test/api_integration/apis/entity_manager/fixture_plugin @elastic/obs-entities
|
||||
x-pack/test/cases_api_integration/common/plugins/cases @elastic/response-ops
|
||||
x-pack/test/cases_api_integration/common/plugins/observability @elastic/response-ops
|
||||
x-pack/test/cases_api_integration/common/plugins/security_solution @elastic/response-ops
|
||||
|
@ -1109,13 +1110,13 @@ x-pack/test/usage_collection/plugins/stack_management_usage_test @elastic/kibana
|
|||
# The #CC# prefix delineates Code Coverage,
|
||||
# used for the 'team' designator within Kibana Stats
|
||||
|
||||
/x-pack/test/api_integration/apis/metrics_ui @elastic/obs-ux-infra_services-team
|
||||
/x-pack/solutions/observability/test/api_integration/apis/metrics_ui @elastic/obs-ux-infra_services-team
|
||||
x-pack/test_serverless/api_integration/test_suites/common/platform_security @elastic/kibana-security
|
||||
|
||||
# Observability Entities Team (@elastic/obs-entities)
|
||||
/x-pack/plugins/observability_solution/entities_data_access @elastic/obs-entities
|
||||
/x-pack/test/api_integration/apis/entity_manager/fixture_plugin @elastic/obs-entities
|
||||
/x-pack/test/api_integration/apis/entity_manager @elastic/obs-entities
|
||||
/x-pack/platform/test/api_integration/apis/entity_manager/fixture_plugin @elastic/obs-entities
|
||||
/x-pack/platform/test/api_integration/apis/entity_manager @elastic/obs-entities
|
||||
|
||||
|
||||
# Data Discovery
|
||||
|
@ -1599,7 +1600,7 @@ src/platform/plugins/shared/discover/public/context_awareness/profile_providers/
|
|||
/x-pack/test/accessibility/apps/group2/ml.ts @elastic/ml-ui
|
||||
/x-pack/test/accessibility/apps/group2/ml_* @elastic/ml-ui
|
||||
/x-pack/test/accessibility/apps/group3/ml_embeddables_in_dashboard.ts @elastic/ml-ui
|
||||
/x-pack/test/api_integration/apis/ml/ @elastic/ml-ui
|
||||
/x-pack/platform/test/api_integration/apis/ml/ @elastic/ml-ui
|
||||
/x-pack/test/functional/apps/ml/ @elastic/ml-ui
|
||||
/x-pack/test/functional/es_archives/ml/ @elastic/ml-ui
|
||||
/x-pack/test/functional/services/ml/ @elastic/ml-ui
|
||||
|
@ -2127,7 +2128,7 @@ x-pack/platform/plugins/private/cloud_integrations/cloud_full_story/server/confi
|
|||
/x-pack/test_serverless/functional/page_objects/svl_api_keys.ts @elastic/search-kibana
|
||||
/x-pack/test_serverless/functional/page_objects/svl_search_* @elastic/search-kibana
|
||||
/x-pack/test/functional_search/ @elastic/search-kibana
|
||||
/x-pack/test/api_integration/apis/search_playground/ @elastic/search-kibana
|
||||
/x-pack/solutions/search/test/api_integration/apis/search_playground/ @elastic/search-kibana
|
||||
|
||||
# workchat
|
||||
/x-pack/test_serverless/api_integration/test_suites/chat @elastic/search-kibana @elastic/workchat-eng
|
||||
|
|
|
@ -498,7 +498,7 @@
|
|||
"@kbn/enterprise-search-plugin": "link:x-pack/solutions/search/plugins/enterprise_search",
|
||||
"@kbn/entities-data-access-plugin": "link:x-pack/solutions/observability/plugins/entities_data_access",
|
||||
"@kbn/entities-schema": "link:x-pack/platform/packages/shared/kbn-entities-schema",
|
||||
"@kbn/entity-manager-fixture-plugin": "link:x-pack/test/api_integration/apis/entity_manager/fixture_plugin",
|
||||
"@kbn/entity-manager-fixture-plugin": "link:x-pack/platform/test/api_integration/apis/entity_manager/fixture_plugin",
|
||||
"@kbn/entityManager-app-plugin": "link:x-pack/solutions/observability/plugins/entity_manager_app",
|
||||
"@kbn/entityManager-plugin": "link:x-pack/platform/plugins/shared/entity_manager",
|
||||
"@kbn/error-boundary-example-plugin": "link:examples/error_boundary",
|
||||
|
@ -1589,6 +1589,7 @@
|
|||
"@kbn/test-suites-xpack-observability": "link:x-pack/solutions/observability/test",
|
||||
"@kbn/test-suites-xpack-performance": "link:x-pack/performance",
|
||||
"@kbn/test-suites-xpack-platform": "link:x-pack/platform/test",
|
||||
"@kbn/test-suites-xpack-search": "link:x-pack/solutions/search/test",
|
||||
"@kbn/tooling-log": "link:src/platform/packages/shared/kbn-tooling-log",
|
||||
"@kbn/ts-projects": "link:packages/kbn-ts-projects",
|
||||
"@kbn/ts-type-check-cli": "link:packages/kbn-ts-type-check-cli",
|
||||
|
|
|
@ -848,8 +848,8 @@
|
|||
"@kbn/entities-data-access-plugin/*": ["x-pack/solutions/observability/plugins/entities_data_access/*"],
|
||||
"@kbn/entities-schema": ["x-pack/platform/packages/shared/kbn-entities-schema"],
|
||||
"@kbn/entities-schema/*": ["x-pack/platform/packages/shared/kbn-entities-schema/*"],
|
||||
"@kbn/entity-manager-fixture-plugin": ["x-pack/test/api_integration/apis/entity_manager/fixture_plugin"],
|
||||
"@kbn/entity-manager-fixture-plugin/*": ["x-pack/test/api_integration/apis/entity_manager/fixture_plugin/*"],
|
||||
"@kbn/entity-manager-fixture-plugin": ["x-pack/platform/test/api_integration/apis/entity_manager/fixture_plugin"],
|
||||
"@kbn/entity-manager-fixture-plugin/*": ["x-pack/platform/test/api_integration/apis/entity_manager/fixture_plugin/*"],
|
||||
"@kbn/entityManager-app-plugin": ["x-pack/solutions/observability/plugins/entity_manager_app"],
|
||||
"@kbn/entityManager-app-plugin/*": ["x-pack/solutions/observability/plugins/entity_manager_app/*"],
|
||||
"@kbn/entityManager-plugin": ["x-pack/platform/plugins/shared/entity_manager"],
|
||||
|
@ -2002,6 +2002,8 @@
|
|||
"@kbn/test-suites-xpack-performance/*": ["x-pack/performance/*"],
|
||||
"@kbn/test-suites-xpack-platform": ["x-pack/platform/test"],
|
||||
"@kbn/test-suites-xpack-platform/*": ["x-pack/platform/test/*"],
|
||||
"@kbn/test-suites-xpack-search": ["x-pack/solutions/search/test"],
|
||||
"@kbn/test-suites-xpack-search/*": ["x-pack/solutions/search/test/*"],
|
||||
"@kbn/testing-embedded-lens-plugin": ["x-pack/examples/testing_embedded_lens"],
|
||||
"@kbn/testing-embedded-lens-plugin/*": ["x-pack/examples/testing_embedded_lens/*"],
|
||||
"@kbn/third-party-lens-navigation-prompt-plugin": ["x-pack/examples/third_party_lens_navigation_prompt"],
|
||||
|
|
|
@ -18,14 +18,13 @@ import {
|
|||
updateDefinition,
|
||||
getInstalledDefinitions,
|
||||
} from './helpers/request';
|
||||
import { waitForDocumentInIndex } from '../../../alerting_api_integration/observability/helpers/alerting_wait_for_helpers';
|
||||
|
||||
export default function ({ getService }: FtrProviderContext) {
|
||||
const supertest = getService('supertest');
|
||||
const logger = getService('log');
|
||||
const esClient = getService('es');
|
||||
const retryService = getService('retry');
|
||||
const esDeleteAllIndices = getService('esDeleteAllIndices');
|
||||
const alertingApi = getService('alertingApi');
|
||||
|
||||
describe('Entity definitions', () => {
|
||||
describe('definitions installations', () => {
|
||||
|
@ -123,12 +122,10 @@ export default function ({ getService }: FtrProviderContext) {
|
|||
],
|
||||
};
|
||||
dataForgeIndices = await generate({ client: esClient, config: dataForgeConfig, logger });
|
||||
await waitForDocumentInIndex({
|
||||
await alertingApi.waitForDocumentInIndex({
|
||||
esClient,
|
||||
indexName: 'kbn-data-forge-fake_stack.admin-console-*',
|
||||
docCountTarget: 2020,
|
||||
retryService,
|
||||
logger,
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -139,12 +136,10 @@ export default function ({ getService }: FtrProviderContext) {
|
|||
|
||||
it('should create the proper entities in the latest index', async () => {
|
||||
await installDefinition(supertest, { definition: mockDefinition });
|
||||
const sample = await waitForDocumentInIndex({
|
||||
const sample = await alertingApi.waitForDocumentInIndex({
|
||||
esClient,
|
||||
indexName: generateLatestIndexName(mockDefinition),
|
||||
docCountTarget: 5,
|
||||
retryService,
|
||||
logger,
|
||||
});
|
||||
|
||||
const parsedSample = entityLatestSchema.safeParse(sample.hits.hits[0]._source);
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../../../../../../tsconfig.base.json",
|
||||
"extends": "../../../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target/types",
|
||||
"isolatedModules": true
|
|
@ -9,8 +9,8 @@ import expect from '@kbn/expect';
|
|||
|
||||
import { Annotation } from '@kbn/ml-plugin/common/types/annotations';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { createJobConfig, createAnnotationRequestBody } from './common_jobs';
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
import expect from '@kbn/expect';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { testSetupJobConfigs, jobIds, testSetupAnnotations } from './common_jobs';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
import { omit } from 'lodash';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { testSetupJobConfigs, jobIds, testSetupAnnotations } from './common_jobs';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
|
@ -9,8 +9,8 @@ import expect from '@kbn/expect';
|
|||
import { ANNOTATION_TYPE } from '@kbn/ml-plugin/common/constants/annotations';
|
||||
import { Annotation } from '@kbn/ml-plugin/common/types/annotations';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { testSetupJobConfigs, jobIds, testSetupAnnotations } from './common_jobs';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
import { JOB_STATE } from '@kbn/ml-plugin/common/constants/states';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const ml = getService('ml');
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -6,8 +6,8 @@
|
|||
*/
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const ml = getService('ml');
|
|
@ -6,8 +6,8 @@
|
|||
*/
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const ml = getService('ml');
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
import { JOB_STATE, DATAFEED_STATE } from '@kbn/ml-plugin/common/constants/states';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
import expect from '@kbn/expect';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -7,9 +7,9 @@
|
|||
|
||||
import { DATAFEED_STATE, JOB_STATE } from '@kbn/ml-plugin/common';
|
||||
import expect from '@kbn/expect';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -7,9 +7,9 @@
|
|||
|
||||
import { DATAFEED_STATE, JOB_STATE } from '@kbn/ml-plugin/common';
|
||||
import expect from '@kbn/expect';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
import expect from '@kbn/expect';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const ml = getService('ml');
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
import expect from '@kbn/expect';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const ml = getService('ml');
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
import { JOB_STATE } from '@kbn/ml-plugin/common/constants/states';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const ml = getService('ml');
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const supertest = getService('supertestWithoutAuth');
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const supertest = getService('supertestWithoutAuth');
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
import expect from '@kbn/expect';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const supertest = getService('supertestWithoutAuth');
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const supertest = getService('supertestWithoutAuth');
|
|
@ -12,8 +12,8 @@ import {
|
|||
} from '@kbn/ml-data-frame-analytics-utils';
|
||||
import { DeepPartial } from '@kbn/ml-plugin/common/types/common';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -9,8 +9,8 @@ import expect from '@kbn/expect';
|
|||
import type { DataFrameAnalyticsConfig } from '@kbn/ml-data-frame-analytics-utils';
|
||||
import { DeepPartial } from '@kbn/ml-plugin/common/types/common';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -9,8 +9,8 @@ import expect from '@kbn/expect';
|
|||
import type { DataFrameAnalyticsConfig } from '@kbn/ml-data-frame-analytics-utils';
|
||||
import { DeepPartial } from '@kbn/ml-plugin/common/types/common';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -8,8 +8,8 @@ import expect from '@kbn/expect';
|
|||
import type { DataFrameAnalyticsConfig } from '@kbn/ml-data-frame-analytics-utils';
|
||||
import { DeepPartial } from '@kbn/ml-plugin/common/types/common';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -9,8 +9,8 @@ import expect from '@kbn/expect';
|
|||
import type { DataFrameAnalyticsConfig } from '@kbn/ml-data-frame-analytics-utils';
|
||||
import { DeepPartial } from '@kbn/ml-plugin/common/types/common';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -12,8 +12,8 @@ import {
|
|||
} from '@kbn/ml-data-frame-analytics-utils';
|
||||
import { DeepPartial } from '@kbn/ml-plugin/common/types/common';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -9,8 +9,8 @@ import expect from '@kbn/expect';
|
|||
|
||||
import { DATA_FRAME_TASK_STATE } from '@kbn/ml-data-frame-analytics-utils';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
import { DATA_FRAME_TASK_STATE } from '@kbn/ml-data-frame-analytics-utils';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -9,8 +9,8 @@ import expect from '@kbn/expect';
|
|||
|
||||
import { DATA_FRAME_TASK_STATE } from '@kbn/ml-data-frame-analytics-utils';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -9,8 +9,8 @@ import expect from '@kbn/expect';
|
|||
import type { DataFrameAnalyticsConfig } from '@kbn/ml-data-frame-analytics-utils';
|
||||
import { DeepPartial } from '@kbn/ml-plugin/common/types/common';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -9,8 +9,8 @@ import expect from '@kbn/expect';
|
|||
import type { DataFrameAnalyticsConfig } from '@kbn/ml-data-frame-analytics-utils';
|
||||
import { DeepPartial } from '@kbn/ml-plugin/common/types/common';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
import expect from '@kbn/expect';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const ml = getService('ml');
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
import expect from '@kbn/expect';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const ml = getService('ml');
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
import expect from '@kbn/expect';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const ml = getService('ml');
|
|
@ -8,8 +8,8 @@
|
|||
import type { estypes } from '@elastic/elasticsearch';
|
||||
import expect from '@kbn/expect';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const ml = getService('ml');
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const supertest = getService('supertestWithoutAuth');
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const supertest = getService('supertestWithoutAuth');
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const supertest = getService('supertestWithoutAuth');
|
|
@ -9,8 +9,8 @@ import expect from '@kbn/expect';
|
|||
import { Job } from '@kbn/ml-plugin/common/types/anomaly_detection_jobs';
|
||||
import { FilterStats } from '@kbn/ml-plugin/common/types/filters';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const supertest = getService('supertestWithoutAuth');
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const supertest = getService('supertestWithoutAuth');
|
|
@ -9,8 +9,8 @@ import expect from '@kbn/expect';
|
|||
import { omit } from 'lodash';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getJobConfig } from '.';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
import { omit, keyBy } from 'lodash';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getJobConfig } from '.';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -6,8 +6,8 @@
|
|||
*/
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
import expect from '@kbn/expect';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -14,8 +14,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
import type { estypes } from '@elastic/elasticsearch';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
const farequoteMappings: estypes.MappingTypeMapping = {
|
||||
properties: {
|
|
@ -12,8 +12,8 @@ import {
|
|||
nonBasicIssuesMessages,
|
||||
} from '@kbn/ml-plugin/common/constants/messages.test.mock';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
import expect from '@kbn/expect';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { MULTI_METRIC_JOB_CONFIG, SINGLE_METRIC_JOB_CONFIG } from './common_jobs';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
import type { Group } from '@kbn/ml-plugin/common/types/groups';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { MULTI_METRIC_JOB_CONFIG, SINGLE_METRIC_JOB_CONFIG, DATAFEED_CONFIG } from './common_jobs';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
const start = 1554463535770;
|
||||
const end = 1574316073914;
|
|
@ -10,8 +10,8 @@ import expect from '@kbn/expect';
|
|||
import { Job, Datafeed } from '@kbn/ml-plugin/common';
|
||||
import { DATAFEED_STATE, JOB_STATE } from '@kbn/ml-plugin/common';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -9,8 +9,8 @@ import expect from '@kbn/expect';
|
|||
|
||||
import { JOB_STATE, DATAFEED_STATE } from '@kbn/ml-plugin/common/constants/states';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { MULTI_METRIC_JOB_CONFIG, SINGLE_METRIC_JOB_CONFIG, DATAFEED_CONFIG } from './common_jobs';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
|
@ -9,8 +9,8 @@ import expect from '@kbn/expect';
|
|||
|
||||
import { JOB_STATE } from '@kbn/ml-plugin/common/constants/states';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const ml = getService('ml');
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
import expect from '@kbn/expect';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { MULTI_METRIC_JOB_CONFIG, SINGLE_METRIC_JOB_CONFIG } from './common_jobs';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const ml = getService('ml');
|
|
@ -8,9 +8,9 @@
|
|||
import expect from '@kbn/expect';
|
||||
import { JOB_STATE, DATAFEED_STATE } from '@kbn/ml-plugin/common/constants/states';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { MULTI_METRIC_JOB_CONFIG, SINGLE_METRIC_JOB_CONFIG, DATAFEED_CONFIG } from './common_jobs';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -9,8 +9,8 @@ import expect from '@kbn/expect';
|
|||
|
||||
import { DATAFEED_STATE } from '@kbn/ml-plugin/common/constants/states';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
||||
const esArchiver = getService('esArchiver');
|
|
@ -8,8 +8,8 @@
|
|||
import expect from '@kbn/expect';
|
||||
import type { Group } from '@kbn/ml-plugin/common/types/groups';
|
||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||
import { getCommonRequestHeader } from '../../../../functional/services/ml/common_api';
|
||||
import { USER } from '../../../../functional/services/ml/security_common';
|
||||
import { getCommonRequestHeader } from '../../../services/ml/common_api';
|
||||
import { USER } from '../../../services/ml/security_common';
|
||||
import { MULTI_METRIC_JOB_CONFIG, SINGLE_METRIC_JOB_CONFIG } from './common_jobs';
|
||||
|
||||
export default ({ getService }: FtrProviderContext) => {
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue