Sling Feature Flags supportPage edited by Bertrand DelacretazChanges (3)
Full ContentSee also https://issues.apache.org/jira/browse/SLING-3148 for the timeline/history of this. For now we have a basic prototype at http://svn.apache.org/repos/asf/sling/whiteboard/bdelacretaz/feature-flags/ that allows for checking if a named feature flag is active or not. This is the easy part. What sets a feature flagAs described by Roy Fielding on the Sling dev list (http://markmail.org/message/rueoiuacmft5fdet)
Feature Flags use cases
Show/Hide ResourcesMake some Resources completely invisible in specific requests, based on feature flags. All descendant Resources of a hidden Resource are hidden as well. Need to be careful about caching. Alter Resource renderingCan be achieved transparently by hiding rendering scripts and servlets. Need to be careful about caching. Might need to happen on the client as well as on the server, depending on the desired caching behavior. Use variants of OSGi servicesA call to sling.getService("foo") in a rendering script, for example, can return different variants of the "foo" service depending on which feature flags are active. The usage value needs to be weighed against implementation difficulty...
Stop watching space
|
Change email notification preferences
View Online
|
View Changes
|
Add Comment
|
[CONF] Apache Sling > Sling Feature Flags support
Bertrand Delacretaz (Confluence) Tue, 10 Dec 2013 03:04:21 -0800
- [CONF] Apache Sling > Sling Feature Fl... Bertrand Delacretaz (Confluence)
- [CONF] Apache Sling > Sling Featu... Bertrand Delacretaz (Confluence)
- [CONF] Apache Sling > Sling Featu... Bertrand Delacretaz (Confluence)
- [CONF] Apache Sling > Sling Featu... Felix Meschberger (Confluence)
