mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
start adapting external usages
This commit is contained in:
parent
1e223f3ca7
commit
47ee463fbb
6 changed files with 6 additions and 7 deletions
|
@ -7,8 +7,7 @@
|
|||
*/
|
||||
|
||||
import { errors } from '@elastic/elasticsearch';
|
||||
// eslint-disable-next-line @kbn/eslint/no-restricted-paths
|
||||
import { kibanaResponseFactory as response } from '@kbn/core/server';
|
||||
import { kibanaResponseFactory as response } from '@kbn/core-http-router-server-internal';
|
||||
import { handleEsError } from './handle_es_error';
|
||||
|
||||
const { ResponseError } = errors;
|
||||
|
|
|
@ -10,7 +10,7 @@ import { errors } from '@elastic/elasticsearch';
|
|||
|
||||
import type { ObjectType } from '@kbn/config-schema';
|
||||
import type { IRouter, RequestHandler, RequestHandlerContext, RouteConfig } from '@kbn/core/server';
|
||||
import { kibanaResponseFactory } from '@kbn/core/server';
|
||||
import { kibanaResponseFactory } from '@kbn/core-http-router-server-internal';
|
||||
import { httpServerMock } from '@kbn/core/server/mocks';
|
||||
|
||||
import {
|
||||
|
|
|
@ -10,7 +10,7 @@ import { errors } from '@elastic/elasticsearch';
|
|||
|
||||
import type { ObjectType } from '@kbn/config-schema';
|
||||
import type { IRouter, RequestHandler, RequestHandlerContext, RouteConfig } from '@kbn/core/server';
|
||||
import { kibanaResponseFactory } from '@kbn/core/server';
|
||||
import { kibanaResponseFactory } from '@kbn/core-http-router-server-internal';
|
||||
import { httpServerMock } from '@kbn/core/server/mocks';
|
||||
|
||||
import {
|
||||
|
|
|
@ -10,7 +10,7 @@ import { errors } from '@elastic/elasticsearch';
|
|||
|
||||
import type { ObjectType } from '@kbn/config-schema';
|
||||
import type { IRouter, RequestHandler, RequestHandlerContext, RouteConfig } from '@kbn/core/server';
|
||||
import { kibanaResponseFactory } from '@kbn/core/server';
|
||||
import { kibanaResponseFactory } from '@kbn/core-http-router-server-internal';
|
||||
import { httpServerMock } from '@kbn/core/server/mocks';
|
||||
|
||||
import { ERROR_OUTSIDE_PREBOOT_STAGE, ERROR_PING_FAILURE } from '../../common';
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
*/
|
||||
|
||||
import type { IRouter, RequestHandler, RequestHandlerContext } from '@kbn/core/server';
|
||||
import { kibanaResponseFactory } from '@kbn/core/server';
|
||||
import { kibanaResponseFactory } from '@kbn/core-http-router-server-internal';
|
||||
import { httpServerMock } from '@kbn/core/server/mocks';
|
||||
|
||||
import { routeDefinitionParamsMock } from './index.mock';
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
import type { ObjectType } from '@kbn/config-schema';
|
||||
import type { IRouter, RequestHandler, RequestHandlerContext, RouteConfig } from '@kbn/core/server';
|
||||
import { kibanaResponseFactory } from '@kbn/core/server';
|
||||
import { kibanaResponseFactory } from '@kbn/core-http-router-server-internal';
|
||||
import { httpServerMock } from '@kbn/core/server/mocks';
|
||||
|
||||
import { routeDefinitionParamsMock } from './index.mock';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue