Skip to content

Commit

Permalink
remove legacy routes
Browse files Browse the repository at this point in the history
  • Loading branch information
js-jankisalvi committed Dec 5, 2024
1 parent 5c6c4f4 commit dc0c752
Show file tree
Hide file tree
Showing 54 changed files with 12 additions and 5,858 deletions.
2 changes: 0 additions & 2 deletions x-pack/plugins/alerting/server/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { EncryptedSavedObjectsPluginSetup } from '@kbn/encrypted-saved-objects-p
import type { ConfigSchema } from '@kbn/unified-search-plugin/server/config';
import { Observable } from 'rxjs';
import { GetAlertIndicesAlias, ILicenseState } from '../lib';
import { defineLegacyRoutes } from './legacy';
import { AlertingRequestHandlerContext } from '../types';
import { createRuleRoute } from './rule/apis/create';
import { getRuleRoute, getInternalRuleRoute } from './rule/apis/get/get_rule_route';
Expand Down Expand Up @@ -94,7 +93,6 @@ export function defineRoutes(opts: RouteOptions) {
getAlertIndicesAlias,
} = opts;

defineLegacyRoutes(opts);
createRuleRoute(opts);
getRuleRoute(router, licenseState);
getInternalRuleRoute(router, licenseState);
Expand Down
Loading

0 comments on commit dc0c752

Please sign in to comment.