Skip to content

Commit

Permalink
Move config from common to server
Browse files Browse the repository at this point in the history
  • Loading branch information
afharo committed Aug 29, 2024
1 parent 6393963 commit 78dcedc
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ export const plugin = async (initializerContext: PluginInitializerContext) => {
return new Plugin(initializerContext);
};

export { config } from '../common/config';
export { config } from './config';
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { SyntheticsMonitorClient } from './synthetics_service/synthetics_monitor
import { initSyntheticsServer } from './server';
import { syntheticsFeature } from './feature';
import { registerSyntheticsSavedObjects } from './saved_objects/saved_objects';
import { UptimeConfig } from '../common/config';
import { UptimeConfig } from './config';
import { SyntheticsService } from './synthetics_service/synthetics_service';
import { syntheticsServiceApiKey } from './saved_objects/service_api_key';
import { SYNTHETICS_RULE_TYPES_ALERT_CONTEXT } from '../common/constants/synthetics_alerts';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

import type { CloudSetup } from '@kbn/cloud-plugin/server';
import { ServiceConfig } from '../../common/config';
import { ServiceConfig } from '../config';

export function getEsHosts({
cloud,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { CoreStart } from '@kbn/core/server';
import { coreMock } from '@kbn/core/server/mocks';
import { Logger } from '@kbn/core/server';
import { ServiceAPIClient } from './service_api_client';
import { ServiceConfig } from '../../common/config';
import { ServiceConfig } from '../config';
import axios from 'axios';
import { LocationStatus, PublicLocations } from '../../common/runtime_types';
import { LicenseGetResponse } from '@elastic/elasticsearch/lib/api/types';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
ServiceLocation,
ServiceLocationErrors,
} from '../../common/runtime_types';
import { ServiceConfig } from '../../common/config';
import { ServiceConfig } from '../config';

const TEST_SERVICE_USERNAME = 'localKibanaIntegrationTestsUser';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { sendErrorTelemetryEvents } from '../routes/telemetry/monitor_upgrade_se
import { installSyntheticsIndexTemplates } from '../routes/synthetics_service/install_index_templates';
import { getAPIKeyForSyntheticsService } from './get_api_key';
import { getEsHosts } from './get_es_hosts';
import { ServiceConfig } from '../../common/config';
import { ServiceConfig } from '../config';
import { ServiceAPIClient, ServiceData } from './service_api_client';

import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import {
TaskManagerStartContract,
} from '@kbn/task-manager-plugin/server';
import { TelemetryEventsSender } from './telemetry/sender';
import { UptimeConfig } from '../common/config';
import { UptimeConfig } from './config';
import { SyntheticsEsClient } from './lib';

export interface SyntheticsServerSetup {
Expand Down

0 comments on commit 78dcedc

Please sign in to comment.