blackduck - Deprecated legacy backend (#2045)
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
This commit is contained in:
parent
37bd870128
commit
ca201c4aef
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@backstage-community/plugin-blackduck-backend': patch
|
||||
---
|
||||
|
||||
Deprecated `createRouter` and its router options in favour of the new backend system.
|
||||
|
|
@ -34,10 +34,10 @@ export interface BlackDuckHostConfig {
|
|||
const blackduckPlugin: BackendFeature;
|
||||
export default blackduckPlugin;
|
||||
|
||||
// @public (undocumented)
|
||||
// @public @deprecated (undocumented)
|
||||
export function createRouter(options: RouterOptions): Promise<express.Router>;
|
||||
|
||||
// @public (undocumented)
|
||||
// @public @deprecated (undocumented)
|
||||
export interface RouterOptions {
|
||||
// (undocumented)
|
||||
blackDuckConfig: BlackDuckConfig;
|
||||
|
|
|
|||
|
|
@ -35,7 +35,10 @@ import {
|
|||
import { BlackDuckRestApi } from '../api/BlackDuckRestApi';
|
||||
import { BlackDuckConfig } from './BlackDuckConfig';
|
||||
|
||||
/** @public */
|
||||
/**
|
||||
* @deprecated Please migrate to the new backend system as this will be removed in the future.
|
||||
*
|
||||
* @public */
|
||||
export interface RouterOptions {
|
||||
logger: LoggerService;
|
||||
config: Config;
|
||||
|
|
@ -45,7 +48,10 @@ export interface RouterOptions {
|
|||
blackDuckConfig: BlackDuckConfig;
|
||||
}
|
||||
|
||||
/** @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