diff --git a/src/core/server/saved_objects/migrations/index.ts b/src/core/server/saved_objects/migrations/index.ts index 97931932201d..894a0b2aa3fe 100644 --- a/src/core/server/saved_objects/migrations/index.ts +++ b/src/core/server/saved_objects/migrations/index.ts @@ -21,7 +21,7 @@ export { MigrationResult } from './core'; export { OpenSearchDashboardsMigrator, IOpenSearchDashboardsMigrator, -} from './opensearch-dashboards'; +} from './opensearch_dashboards'; export { SavedObjectMigrationFn, SavedObjectMigrationMap, diff --git a/src/core/server/saved_objects/migrations/opensearch-dashboards/__mocks__/opensearch_dashboards_migrator.ts b/src/core/server/saved_objects/migrations/opensearch_dashboards/__mocks__/opensearch_dashboards_migrator.ts similarity index 100% rename from src/core/server/saved_objects/migrations/opensearch-dashboards/__mocks__/opensearch_dashboards_migrator.ts rename to src/core/server/saved_objects/migrations/opensearch_dashboards/__mocks__/opensearch_dashboards_migrator.ts diff --git a/src/core/server/saved_objects/migrations/opensearch-dashboards/__snapshots__/opensearch_dashboards_migrator.test.ts.snap b/src/core/server/saved_objects/migrations/opensearch_dashboards/__snapshots__/opensearch_dashboards_migrator.test.ts.snap similarity index 100% rename from src/core/server/saved_objects/migrations/opensearch-dashboards/__snapshots__/opensearch_dashboards_migrator.test.ts.snap rename to src/core/server/saved_objects/migrations/opensearch_dashboards/__snapshots__/opensearch_dashboards_migrator.test.ts.snap diff --git a/src/core/server/saved_objects/migrations/opensearch-dashboards/index.ts b/src/core/server/saved_objects/migrations/opensearch_dashboards/index.ts similarity index 100% rename from src/core/server/saved_objects/migrations/opensearch-dashboards/index.ts rename to src/core/server/saved_objects/migrations/opensearch_dashboards/index.ts diff --git a/src/core/server/saved_objects/migrations/opensearch-dashboards/opensearch_dashboards_migrator.mock.ts b/src/core/server/saved_objects/migrations/opensearch_dashboards/opensearch_dashboards_migrator.mock.ts similarity index 100% rename from src/core/server/saved_objects/migrations/opensearch-dashboards/opensearch_dashboards_migrator.mock.ts rename to src/core/server/saved_objects/migrations/opensearch_dashboards/opensearch_dashboards_migrator.mock.ts diff --git a/src/core/server/saved_objects/migrations/opensearch-dashboards/opensearch_dashboards_migrator.test.ts b/src/core/server/saved_objects/migrations/opensearch_dashboards/opensearch_dashboards_migrator.test.ts similarity index 100% rename from src/core/server/saved_objects/migrations/opensearch-dashboards/opensearch_dashboards_migrator.test.ts rename to src/core/server/saved_objects/migrations/opensearch_dashboards/opensearch_dashboards_migrator.test.ts diff --git a/src/core/server/saved_objects/migrations/opensearch-dashboards/opensearch_dashboards_migrator.ts b/src/core/server/saved_objects/migrations/opensearch_dashboards/opensearch_dashboards_migrator.ts similarity index 100% rename from src/core/server/saved_objects/migrations/opensearch-dashboards/opensearch_dashboards_migrator.ts rename to src/core/server/saved_objects/migrations/opensearch_dashboards/opensearch_dashboards_migrator.ts diff --git a/src/core/server/saved_objects/routes/integration_tests/migrate.test.mocks.ts b/src/core/server/saved_objects/routes/integration_tests/migrate.test.mocks.ts index 120054ea90be..fdc6904e90c5 100644 --- a/src/core/server/saved_objects/routes/integration_tests/migrate.test.mocks.ts +++ b/src/core/server/saved_objects/routes/integration_tests/migrate.test.mocks.ts @@ -17,7 +17,7 @@ * under the License. */ -import { mockOpenSearchDashboardsMigrator } from '../../migrations/opensearch-dashboards/opensearch_dashboards_migrator.mock'; +import { mockOpenSearchDashboardsMigrator } from '../../migrations/opensearch_dashboards/opensearch_dashboards_migrator.mock'; export const migratorInstanceMock = mockOpenSearchDashboardsMigrator.create(); export const OpenSearchDashboardsMigratorMock = jest diff --git a/src/core/server/saved_objects/saved_objects_service.test.mocks.ts b/src/core/server/saved_objects/saved_objects_service.test.mocks.ts index b4be888d1486..a461aeca3419 100644 --- a/src/core/server/saved_objects/saved_objects_service.test.mocks.ts +++ b/src/core/server/saved_objects/saved_objects_service.test.mocks.ts @@ -17,7 +17,7 @@ * under the License. */ -import { mockOpenSearchDashboardsMigrator } from './migrations/opensearch-dashboards/opensearch_dashboards_migrator.mock'; +import { mockOpenSearchDashboardsMigrator } from './migrations/opensearch_dashboards/opensearch_dashboards_migrator.mock'; import { savedObjectsClientProviderMock } from './service/lib/scoped_client_provider.mock'; import { typeRegistryMock } from './saved_objects_type_registry.mock'; diff --git a/src/core/server/saved_objects/service/lib/repository_create_repository.test.ts b/src/core/server/saved_objects/service/lib/repository_create_repository.test.ts index 402ea688a479..222e2914cd46 100644 --- a/src/core/server/saved_objects/service/lib/repository_create_repository.test.ts +++ b/src/core/server/saved_objects/service/lib/repository_create_repository.test.ts @@ -17,7 +17,7 @@ * under the License. */ import { SavedObjectsRepository } from './repository'; -import { mockOpenSearchDashboardsMigrator } from '../../migrations/opensearch-dashboards/opensearch_dashboards_migrator.mock'; +import { mockOpenSearchDashboardsMigrator } from '../../migrations/opensearch_dashboards/opensearch_dashboards_migrator.mock'; import { OpenSearchDashboardsMigrator } from '../../migrations'; import { SavedObjectTypeRegistry } from '../../saved_objects_type_registry'; diff --git a/src/core/server/saved_objects/status.ts b/src/core/server/saved_objects/status.ts index 80ba64a258da..bde56d71d8fe 100644 --- a/src/core/server/saved_objects/status.ts +++ b/src/core/server/saved_objects/status.ts @@ -21,7 +21,7 @@ import { Observable, combineLatest } from 'rxjs'; import { startWith, map } from 'rxjs/operators'; import { ServiceStatus, ServiceStatusLevels } from '../status'; import { SavedObjectStatusMeta } from './types'; -import { OpenSearchDashboardsMigratorStatus } from './migrations/opensearch-dashboards'; +import { OpenSearchDashboardsMigratorStatus } from './migrations/opensearch_dashboards'; export const calculateStatus$ = ( rawMigratorStatus$: Observable,