Feature toggles
Turning behaviour on and off per tenant or per user at runtime, without redeploying, and knowing which toggles are live. System-level switches for delivered objects and runtime flags for unfinished features share the name.
Overview
@sap/cds-mtxs Multitenancy, tenant provisioning and model extensibility for CAP.
com.sap.cds:cds-services-bom Activates feature-toggled CDS aspects per request from the set a Feature Toggles Info Provider computes, registered as a Spring bean; the mock user configuration assigns features in development only.
Not covered: At the decision. The guide says to bring your own toggle provider for production, because user and tenant management is outside CAP; a feature's CDS files may not sit in subfolders and may not depend on another feature. Which tenant gets which feature, and switching one at runtime without a redeploy, is what the entries here add.
@cap-js-community/feature-toggle-library@cap-js-community/feature-toggle-libraryLive-updatable feature toggles for CAP applications, backed by Redis.community org, cap is a toggle provider for production: live-updatable toggles backed by Redis.
Artifacts
Content
Details
Coverage
For your agent
- Ref
capability:feature-toggles- JSON
- /capabilities/feature-toggles.json
- MCP
- Connecting an agent