feat(catalog-backend): make a builder to help wire up the catalog

This commit is contained in:
Fredrik Adelöw
2020-10-12 15:38:12 +02:00
parent e4d7390967
commit 99710b102d
17 changed files with 925 additions and 257 deletions
+12
View File
@@ -0,0 +1,12 @@
---
'@backstage/plugin-catalog-backend': minor
---
The way that wiring together a catalog happens, has changed drastically. Now
there is a new class `CatalogBuilder` that does almost all of the heavy lifting
of how to augment/replace pieces of catalog functionality, such as adding
support for custom entities or adding additional processors.
As the builder was added, a lot of the static methods and builders for default
setups have been removed from classes deep in the hierarchy. Instead, the
builder contains the knowledge of what the defaults are.