Merge pull request #9611 from backstage/jhaals/StaticLocationProcessor
catalog-backend: Deprecate StaticLocationProcessor
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-backend': patch
|
||||
---
|
||||
|
||||
Deprecated `StaticLocationProcessor` which is unused and replaced by `ConfigLocationEntityProvider`.
|
||||
@@ -1133,7 +1133,7 @@ export function runPeriodically(fn: () => any, delayMs: number): () => void;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "StaticLocationProcessor" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
// @public @deprecated (undocumented)
|
||||
export class StaticLocationProcessor implements StaticLocationProcessor {
|
||||
constructor(staticLocations: LocationSpec[]);
|
||||
// (undocumented)
|
||||
|
||||
@@ -19,6 +19,9 @@ import { Config } from '@backstage/config';
|
||||
import * as result from './results';
|
||||
import { CatalogProcessorEmit } from './types';
|
||||
|
||||
/**
|
||||
* @deprecated no longer in use, replaced by the ConfigLocationEntityProvider.
|
||||
*/
|
||||
export class StaticLocationProcessor implements StaticLocationProcessor {
|
||||
static fromConfig(config: Config): StaticLocationProcessor {
|
||||
const locations: LocationSpec[] = [];
|
||||
|
||||
Reference in New Issue
Block a user