[ 
https://issues.apache.org/jira/browse/SLING-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13821263#comment-13821263
 ] 

Jörg Hoh commented on SLING-3148:
---------------------------------

@Carsten: I currently see a problem, when I have 2 services A and B 
implementing the same interface, and I want to use service B in some cases, 
based on a feature flag. Or a service in 2 different versions, and I want to 
switch to the new version for some users/requests using a feature flag

AFAIK this is currently not possible.

> Implement support for Feature Flags/Toggles in Sling
> ----------------------------------------------------
>
>                 Key: SLING-3148
>                 URL: https://issues.apache.org/jira/browse/SLING-3148
>             Project: Sling
>          Issue Type: New Feature
>          Components: General
>            Reporter: Henry Saginor
>            Priority: Minor
>
> It would be nice if sling provide support for feature flags (also called 
> toggles) pattern [1].
> I am thinking the implementation could provide the following.
> 1) Integrate an existing framework such as togglz [2] or implement something 
> similar with UI/Configuration to toggle features.
> 2) Create a jcr property (sling:Feature) which can be added to resource type 
> nodes. Then some conditional logic in <sling:include>, and get and post 
> servlets determines if the resource should be rendered if its resource type 
> contains such property.
> [1] http://en.wikipedia.org/wiki/Feature_toggle
> [2] http://www.togglz.org/



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to