Skip to content

Commit

Permalink
[ML] Remaning new_job_new folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed Nov 18, 2019
1 parent eb4c47e commit f8d6d1d
Show file tree
Hide file tree
Showing 221 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/ml/common/types/modules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import { SavedObjectAttributes } from 'src/core/server/types';
import { Datafeed, Job } from '../../public/jobs/new_job_new/common/job_creator/configs';
import { Datafeed, Job } from '../../public/jobs/new_job/common/job_creator/configs';

export interface ModuleJob {
id: string;
Expand Down
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/ml/common/util/job_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import numeral from '@elastic/numeral';
import { ALLOWED_DATA_UNITS, JOB_ID_MAX_LENGTH } from '../constants/validation';
import { parseInterval } from './parse_interval';
import { maxLengthValidator } from './validators';
import { CREATED_BY_LABEL } from '../../public/jobs/new_job_new/common/job_creator/util/constants';
import { CREATED_BY_LABEL } from '../../public/jobs/new_job/common/job_creator/util/constants';

// work out the default frequency based on the bucket_span in seconds
export function calculateDatafeedFrequencyDefaultSeconds(bucketSpanSeconds) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { IndexPatterns } from 'ui/index_patterns';
import { I18nContext } from 'ui/i18n';

import { InjectorService } from '../../../../common/types/angular';
import { createSearchItems } from '../../../jobs/new_job_new/utils/new_job_utils';
import { createSearchItems } from '../../../jobs/new_job/utils/new_job_utils';

import { KibanaConfigTypeFix, KibanaContext } from '../../../contexts/kibana';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const module = uiModules.get('apps/ml', ['react']);
import { IndexPatterns } from 'ui/index_patterns';
import { I18nContext } from 'ui/i18n';
import { InjectorService } from '../../../../common/types/angular';
import { createSearchItems } from '../../../jobs/new_job_new/utils/new_job_utils';
import { createSearchItems } from '../../../jobs/new_job/utils/new_job_utils';

import { KibanaConfigTypeFix, KibanaContext } from '../../../contexts/kibana';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { IndexPatterns } from 'ui/index_patterns';
import { InjectorService } from '../../../common/types/angular';

import { KibanaConfigTypeFix, KibanaContext } from '../../contexts/kibana/kibana_context';
import { createSearchItems } from '../../jobs/new_job_new/utils/new_job_utils';
import { createSearchItems } from '../../jobs/new_job/utils/new_job_utils';

import { Page } from './page';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import React from 'react';
import { shallow } from 'enzyme';
import { Job } from '../../new_job_new/common/job_creator/configs';
import { Job } from '../../new_job/common/job_creator/configs';

import { CustomUrlList, CustomUrlListProps } from './list';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { getTestUrl } from './utils';
import { parseInterval } from '../../../../common/util/parse_interval';
import { TIME_RANGE_TYPE } from './constants';
import { KibanaUrlConfig } from '../../../../common/types/custom_urls';
import { Job } from '../../new_job_new/common/job_creator/configs';
import { Job } from '../../new_job/common/job_creator/configs';

function isValidTimeRange(timeRange: KibanaUrlConfig['time_range']): boolean {
// Allow empty timeRange string, which gives the 'auto' behaviour.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
*/

import { KibanaUrlConfig } from '../../../../common/types/custom_urls';
import { Job } from '../../new_job_new/common/job_creator/configs';
import { Job } from '../../new_job/common/job_creator/configs';

export function getTestUrl(job: Job, customUrl: KibanaUrlConfig): Promise<string>;
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/ml/public/jobs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@


import './jobs_list';
import './new_job_new';
import './new_job';
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


import { getNewJobLimits } from '../../../services/ml_server_info';
import { populateValidationMessages } from '../../new_job_new/common/job_validator/util';
import { populateValidationMessages } from '../../new_job/common/job_validator/util';

import {
validateModelMemoryLimit as validateModelMemoryLimitUtils,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { IndexPatterns } from 'ui/index_patterns';

import { I18nContext } from 'ui/i18n';
import { InjectorService } from '../../../../../common/types/angular';
import { createSearchItems } from '../../../new_job_new/utils/new_job_utils';
import { createSearchItems } from '../../../new_job/utils/new_job_utils';
import { Page } from './page';

import { KibanaContext, KibanaConfigTypeFix } from '../../../../contexts/kibana';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { IndexPatterns } from 'ui/index_patterns';
import { I18nContext } from 'ui/i18n';
import { InjectorService } from '../../../../common/types/angular';

import { createSearchItems } from '../../new_job_new/utils/new_job_utils';
import { createSearchItems } from '../../new_job/utils/new_job_utils';
import { Page } from './page';

import { KibanaContext, KibanaConfigTypeFix } from '../../../contexts/kibana';
Expand Down
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/ml/public/services/job_service.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import { SearchResponse } from 'elasticsearch';
import { CombinedJob } from '../jobs/new_job_new/common/job_creator/configs';
import { CombinedJob } from '../jobs/new_job/common/job_creator/configs';

export interface ExistingJobsAndGroups {
jobIds: string[];
Expand Down

0 comments on commit f8d6d1d

Please sign in to comment.