Merge pull request #6955 from bolcom/default-catalog-collator-filter

Allow the entities indexed by DefaultCatalogCollator to be filtered by kind
This commit is contained in:
Fredrik Adelöw
2021-09-02 16:44:47 +02:00
committed by GitHub
8 changed files with 125 additions and 37 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ export default async function createPlugin({
// particular collator gathers entities from the software catalog.
indexBuilder.addCollator({
defaultRefreshIntervalSeconds: 600,
collator: new DefaultCatalogCollator({ discovery }),
collator: DefaultCatalogCollator.fromConfig(config, { discovery }),
});
indexBuilder.addCollator({