catalog-backend: added StaticLocationProcessor

This commit is contained in:
Patrik Oldsberg
2020-08-10 01:08:39 +02:00
parent 039509314c
commit 6bd0cac146
5 changed files with 85 additions and 10 deletions
+2 -1
View File
@@ -29,8 +29,9 @@ import { useHotCleanup } from '@backstage/backend-common';
export default async function createPlugin({
logger,
database,
config,
}: PluginEnvironment) {
const locationReader = new LocationReaders(logger);
const locationReader = new LocationReaders({ logger, config });
const db = await DatabaseManager.createDatabase(database, { logger });
const entitiesCatalog = new DatabaseEntitiesCatalog(db);