Skip to main content
Version: Next

LegacyPluginEnvironment

Home > @backstage/backend-dynamic-feature-service > LegacyPluginEnvironment

Warning: This API is now obsolete.

Support for the legacy backend system will be removed in the future.

When adding a legacy plugin installer entrypoint in your plugin, you should always take the opportunity to also implement support for the new backend system if not already done.

Signature:

export type LegacyPluginEnvironment = {
logger: Logger;
cache: PluginCacheManager;
database: PluginDatabaseManager;
config: Config;
reader: UrlReaderService;
discovery: PluginEndpointDiscovery;
tokenManager: TokenManager;
permissions: PermissionEvaluator;
scheduler: SchedulerService;
identity: IdentityApi;
eventBroker: EventBroker;
events: EventsService;
pluginProvider: BackendPluginProvider;
};

References: Config, UrlReaderService, PermissionEvaluator, SchedulerService, IdentityApi, EventBroker, EventsService, BackendPluginProvider