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 SHIPSby design
Node.js →

@sap/cds-mtxs Multitenancy, tenant provisioning and model extensibility for CAP.

Java →

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.

SourceFeature Toggles — capirechecked
THE COMMUNITY ADDS

@cap-js-community/feature-toggle-library is a toggle provider for production: live-updatable toggles backed by Redis.

Artifacts5

5 of 5 artifacts
ArtifactSignals
CDS plugins1
cds-feature-toggleFeature-toggle pattern for CAP CDS
Signals
Functional boundary
Packages3
@cap-js-community/feature-toggle-libraryLive-updatable feature toggles for CAP, backed by Redis
Signals
none
@sap/cds-mtxsMultitenancy, tenant provisioning and extensibility for CAP
Signals
none
com.sap.cds:cds-services-bomMaven bill of materials pinning CAP Java module versions
Signals
none
Services1
SAP Feature Flags serviceBoolean and string flags read by applications at runtime
Signals
none

Content2

Group by
Piece, what it offers
Streamline User Targeting with Segments in SAP Feature Flags
SAP Community, Maksimiliana, Blog
Open Sourcing CAP – how to learn more or get involved
SAP Community, Fempel, Blog
Streamline User Targeting with Segments in SAP Feature Flags
SAP Community, Maksimiliana, Blog

Details

Coverage
statecore and community, CAP
assessed
relationshipnarrow by design
also inBTP/BAIP, ABAP
SourceFeature Toggles — capirechecked SourceFeature Toggles — capirechecked SourceFeature Toggles — capirechecked SourceFeature Toggles — capirechecked SourceFeature Toggles — capirechecked SourceFeature Toggles — capirechecked SourceFeature Toggles — capirechecked
For your agent
Ref
capability:feature-toggles
JSON
/capabilities/feature-toggles.json
MCP
Connecting an agent