backend-app-api: mark healthServiceFactory as public

Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
Vincenzo Scamporlino
2024-05-17 20:20:44 +02:00
parent 0717aaeda6
commit 49b489088c
2 changed files with 7 additions and 0 deletions
+4
View File
@@ -18,6 +18,7 @@ import { ErrorRequestHandler } from 'express';
import { Express as Express_2 } from 'express';
import { Format } from 'logform';
import { Handler } from 'express';
import { HealthService } from '@backstage/backend-plugin-api';
import { HelmetOptions } from 'helmet';
import * as http from 'http';
import { HttpAuthService } from '@backstage/backend-plugin-api';
@@ -126,6 +127,9 @@ export const discoveryServiceFactory: () => ServiceFactory<
// @public @deprecated (undocumented)
export type ExtendedHttpServer = ExtendedHttpServer_2;
// @public (undocumented)
export const healthServiceFactory: () => ServiceFactory<HealthService, 'root'>;
// @public @deprecated
export class HostDiscovery implements DiscoveryService {
static fromConfig(
@@ -20,6 +20,9 @@ import {
} from '@backstage/backend-plugin-api';
import { createHealthRouter } from './createHealthRouter';
/**
* @public
*/
export const healthServiceFactory = createServiceFactory({
service: coreServices.health,
deps: {