Merge pull request #1061 from spotify/freben/add-delete

Add routes for add/delete entity to the catalog
This commit is contained in:
Raghunandan Balachandran
2020-06-01 15:07:09 +02:00
committed by GitHub
20 changed files with 555 additions and 169 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ export default async function ({ logger, database }: PluginEnvironment) {
10000,
);
const entitiesCatalog = new DatabaseEntitiesCatalog(db);
const entitiesCatalog = new DatabaseEntitiesCatalog(db, policy);
const locationsCatalog = new DatabaseLocationsCatalog(db, ingestion);
return await createRouter({ entitiesCatalog, locationsCatalog, logger });