jenkins - Deprecated legacy backend (#2050)
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
This commit is contained in:
parent
00f3ac095f
commit
3500d7108d
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@backstage-community/plugin-jenkins-backend': patch
|
||||
---
|
||||
|
||||
Deprecated `createRouter` and its router options in favour of the new backend system.
|
||||
|
|
@ -16,7 +16,7 @@ import { LoggerService } from '@backstage/backend-plugin-api';
|
|||
import { PermissionAuthorizer } from '@backstage/plugin-permission-common';
|
||||
import { PermissionEvaluator } from '@backstage/plugin-permission-common';
|
||||
|
||||
// @public (undocumented)
|
||||
// @public @deprecated (undocumented)
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
// @public
|
||||
|
|
@ -142,7 +142,7 @@ export interface JenkinsInstanceConfig {
|
|||
const jenkinsPlugin: BackendFeature;
|
||||
export default jenkinsPlugin;
|
||||
|
||||
// @public (undocumented)
|
||||
// @public @deprecated (undocumented)
|
||||
export interface RouterOptions {
|
||||
// (undocumented)
|
||||
auth?: AuthService;
|
||||
|
|
|
|||
|
|
@ -38,7 +38,10 @@ import {
|
|||
LoggerService,
|
||||
} from '@backstage/backend-plugin-api';
|
||||
|
||||
/** @public */
|
||||
/**
|
||||
* @deprecated Please migrate to the new backend system as this will be removed in the future.
|
||||
*
|
||||
* @public */
|
||||
export interface RouterOptions {
|
||||
logger: LoggerService;
|
||||
jenkinsInfoProvider: JenkinsInfoProvider;
|
||||
|
|
@ -48,7 +51,10 @@ export interface RouterOptions {
|
|||
httpAuth?: HttpAuthService;
|
||||
}
|
||||
|
||||
/** @public */
|
||||
/**
|
||||
* @deprecated Please migrate to the new backend system as this will be removed in the future.
|
||||
*
|
||||
* @public */
|
||||
export async function createRouter(
|
||||
options: RouterOptions,
|
||||
): Promise<express.Router> {
|
||||
|
|
|
|||
Loading…
Reference in New Issue