backend-defaults: removed the deprecated getPath option from httpRouterServiceFactory

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-07-10 11:19:10 +02:00
parent 53c8e39dd4
commit 1cb84d7085
9 changed files with 48 additions and 118 deletions
+1 -4
View File
@@ -22,7 +22,6 @@ import { EventsService } from '@backstage/plugin-events-node';
import { ExtendedHttpServer } from '@backstage/backend-app-api';
import { ExtensionPoint } from '@backstage/backend-plugin-api';
import { HttpAuthService } from '@backstage/backend-plugin-api';
import { HttpRouterFactoryOptions } from '@backstage/backend-defaults/httpRouter';
import { HttpRouterService } from '@backstage/backend-plugin-api';
import { IdentityService } from '@backstage/backend-plugin-api';
import { JsonObject } from '@backstage/types';
@@ -221,9 +220,7 @@ export namespace mockServices {
// (undocumented)
export namespace httpRouter {
const // (undocumented)
factory: (
options?: HttpRouterFactoryOptions | undefined,
) => ServiceFactory<HttpRouterService, 'plugin'>;
factory: () => ServiceFactory<HttpRouterService, 'plugin'>;
const // (undocumented)
mock: (
partialImpl?: Partial<HttpRouterService> | undefined,