Skip to main content

CatalogBuilder.addEntityProvider()

Home > @backstage/plugin-catalog-backend > CatalogBuilder > addEntityProvider

Adds or replaces entity providers. These are responsible for bootstrapping the list of entities out of original data sources. For example, there is one entity source for the config locations, and one for the database stored locations. If you ingest entities out of a third party system, you may want to implement that in terms of an entity provider as well.

Signature:

addEntityProvider(...providers: Array<EntityProvider | Array<EntityProvider>>): CatalogBuilder;

Parameters

ParameterTypeDescription
providersArray<EntityProvider | Array<EntityProvider>>One or more entity providers

Returns:

CatalogBuilder