Skip to content

Commit

Permalink
[core_plugins/kibana] fix paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
azasypkin committed Dec 3, 2018
1 parent 4703543 commit 49ccf96
Show file tree
Hide file tree
Showing 23 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import expect from 'expect.js';
import { createBoolFormat } from '../boolean';
import { FieldFormat } from '../../../../../../ui/field_formats/field_format';
import { FieldFormat } from '../../../../../../../ui/field_formats/field_format';

const BoolFormat = createBoolFormat(FieldFormat);

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

import expect from 'expect.js';
import { createBytesFormat } from '../bytes';
import { FieldFormat } from '../../../../../../ui/field_formats/field_format';
import { FieldFormat } from '../../../../../../../ui/field_formats/field_format';

const BytesFormat = createBytesFormat(FieldFormat);

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

import expect from 'expect.js';
import { createColorFormat } from '../color';
import { FieldFormat } from '../../../../../../ui/field_formats/field_format';
import { FieldFormat } from '../../../../../../../ui/field_formats/field_format';

const ColorFormat = createColorFormat(FieldFormat);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import expect from 'expect.js';
import moment from 'moment-timezone';
import { createDateFormat } from '../date';
import { FieldFormat } from '../../../../../../ui/field_formats/field_format';
import { FieldFormat } from '../../../../../../../ui/field_formats/field_format';

const DateFormat = createDateFormat(FieldFormat);

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

import expect from 'expect.js';
import { createDurationFormat } from '../duration';
import { FieldFormat } from '../../../../../../ui/field_formats/field_format';
import { FieldFormat } from '../../../../../../../ui/field_formats/field_format';

const DurationFormat = createDurationFormat(FieldFormat);

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

import expect from 'expect.js';
import { createIpFormat } from '../ip';
import { FieldFormat } from '../../../../../../ui/field_formats/field_format';
import { FieldFormat } from '../../../../../../../ui/field_formats/field_format';

const IpFormat = createIpFormat(FieldFormat);

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

import expect from 'expect.js';
import { createNumberFormat } from '../number';
import { FieldFormat } from '../../../../../../ui/field_formats/field_format';
import { FieldFormat } from '../../../../../../../ui/field_formats/field_format';

const NumberFormat = createNumberFormat(FieldFormat);

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

import expect from 'expect.js';
import { createPercentFormat } from '../percent';
import { FieldFormat } from '../../../../../../ui/field_formats/field_format';
import { FieldFormat } from '../../../../../../../ui/field_formats/field_format';

const PercentFormat = createPercentFormat(FieldFormat);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import expect from 'expect.js';
import moment from 'moment-timezone';
import { createRelativeDateFormat } from '../relative_date';
import { FieldFormat } from '../../../../../../ui/field_formats/field_format';
import { FieldFormat } from '../../../../../../../ui/field_formats/field_format';

const RelativeDateFormat = createRelativeDateFormat(FieldFormat);

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

import expect from 'expect.js';
import { createStringFormat } from '../string';
import { FieldFormat } from '../../../../../../ui/field_formats/field_format';
import { FieldFormat } from '../../../../../../../ui/field_formats/field_format';

const StringFormat = createStringFormat(FieldFormat);

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

import expect from 'expect.js';
import { createTruncateFormat } from '../truncate';
import { FieldFormat } from '../../../../../../ui/field_formats/field_format';
import { FieldFormat } from '../../../../../../../ui/field_formats/field_format';

const TruncateFormat = createTruncateFormat(FieldFormat);

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

import expect from 'expect.js';
import { createUrlFormat } from '../url';
import { FieldFormat } from '../../../../../../ui/field_formats/field_format';
import { FieldFormat } from '../../../../../../../ui/field_formats/field_format';

const UrlFormat = createUrlFormat(FieldFormat);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import _ from 'lodash';
import expect from 'expect.js';
import chrome from 'ui/chrome';
import { fieldFormats } from 'ui/registry/field_formats';
import { FieldFormat } from '../../../../../ui/field_formats/field_format';
import { FieldFormat } from '../../../../../../ui/field_formats/field_format';

const config = chrome.getUiSettingsClient();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import uiRoutes from 'ui/routes';
import { uiModules } from 'ui/modules';
import { fatalError, toastNotifications } from 'ui/notify';
import 'ui/accessibility/kbn_ui_ace_keyboard_mode';
import { castEsToKbnFieldTypeName } from '../../../../../../utils';
import { castEsToKbnFieldTypeName } from '../../../../../../../utils';
import { SavedObjectsClientProvider } from 'ui/saved_objects';
import { isNumeric } from 'ui/utils/numeric';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import { absoluteToParsedUrl } from 'ui/url/absolute_to_parsed_url';
import { migrateLegacyQuery } from 'ui/utils/migrate_legacy_query';
import { recentlyAccessed } from 'ui/persisted_log';
import { timefilter } from 'ui/timefilter';
import { getVisualizeLoader } from '../../../../../ui/public/visualize/loader';
import { getVisualizeLoader } from '../../../../../../ui/public/visualize/loader';
import { showShareContextMenu, ShareContextMenuExtensionsRegistryProvider } from 'ui/share';
import { getUnhashableStatesProvider } from 'ui/state_management/state_hashing';
import { showSaveModal } from 'ui/saved_objects/show_saved_object_save_modal';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@

import expect from 'expect.js';
import sinon from 'sinon';
import { startTestServers } from '../../../../../test_utils/kbn_server';
import { startTestServers } from '../../../../../../test_utils/kbn_server';
import manageUuid from '../manage_uuid';

describe('core_plugins/kibana/server/lib', function () {
describe('legacy/core_plugins/kibana/server/lib', function () {
describe('manage_uuid', function () {
const testUuid = 'c4add484-0cba-4e05-86fe-4baa112d9e53';
let kbnServer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import Boom from 'boom';
import Joi from 'joi';
import { findRelationships } from '../../../../lib/management/saved_objects/relationships';
import { isNotFoundError } from '../../../../../../../server/saved_objects/service/lib/errors';
import { isNotFoundError } from '../../../../../../../../server/saved_objects/service/lib/errors';

export function registerRelationships(server) {
server.route({
Expand Down
2 changes: 1 addition & 1 deletion src/legacy/core_plugins/kibana/ui_setting_defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import moment from 'moment-timezone';
import numeralLanguages from '@elastic/numeral/languages';
import { IS_KIBANA_RELEASE } from '../../utils';
import { IS_KIBANA_RELEASE } from '../../../utils';

export function getUiSettingDefaults() {
const weekdays = moment.weekdays().slice();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import expect from 'expect.js';

import {
VisualizeConstants
} from '../../../../src/core_plugins/kibana/public/visualize/visualize_constants';
} from '../../../../src/legacy/core_plugins/kibana/public/visualize/visualize_constants';

export default function ({ getService, getPageObjects }) {
const retry = getService('retry');
Expand Down
2 changes: 1 addition & 1 deletion test/functional/apps/dashboard/_dashboard_state.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import expect from 'expect.js';
import { PIE_CHART_VIS_NAME, AREA_CHART_VIS_NAME } from '../../page_objects/dashboard_page';
import {
DEFAULT_PANEL_WIDTH,
} from '../../../../src/core_plugins/kibana/public/dashboard/dashboard_constants';
} from '../../../../src/legacy/core_plugins/kibana/public/dashboard/dashboard_constants';

export default function ({ getService, getPageObjects }) {
const PageObjects = getPageObjects(['dashboard', 'visualize', 'header', 'discover']);
Expand Down
2 changes: 1 addition & 1 deletion test/functional/apps/dashboard/_panel_controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import expect from 'expect.js';
import { PIE_CHART_VIS_NAME } from '../../page_objects/dashboard_page';
import {
VisualizeConstants
} from '../../../../src/core_plugins/kibana/public/visualize/visualize_constants';
} from '../../../../src/legacy/core_plugins/kibana/public/visualize/visualize_constants';

export default function ({ getService, getPageObjects }) {
const kibanaServer = getService('kibanaServer');
Expand Down
2 changes: 1 addition & 1 deletion test/functional/page_objects/dashboard_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import _ from 'lodash';

import { DashboardConstants } from '../../../src/core_plugins/kibana/public/dashboard/dashboard_constants';
import { DashboardConstants } from '../../../src/legacy/core_plugins/kibana/public/dashboard/dashboard_constants';

export const PIE_CHART_VIS_NAME = 'Visualization PieChart';
export const AREA_CHART_VIS_NAME = 'Visualization漢字 AreaChart';
Expand Down
2 changes: 1 addition & 1 deletion test/functional/page_objects/visualize_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* under the License.
*/

import { VisualizeConstants } from '../../../src/core_plugins/kibana/public/visualize/visualize_constants';
import { VisualizeConstants } from '../../../src/legacy/core_plugins/kibana/public/visualize/visualize_constants';
import Bluebird from 'bluebird';
import expect from 'expect.js';
import Keys from 'leadfoot/keys';
Expand Down

0 comments on commit 49ccf96

Please sign in to comment.