From feature models to feature toggles in practice - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2022

From feature models to feature toggles in practice

Résumé

Feature Toggles (often also referred to as Feature Flags) are a powerful technique, providing an alternative to maintaining multiple feature branches in source code. A condition within the code enables or disables a feature at runtime, hence providing a kind of runtime variability resolution. Several works have already identified the proximity of this concept with the notion of Feature found in Software Product Lines. In this paper, we propose to go one step further in unifying these concepts to provide a seamless transition between design time and runtime variability resolutions. We propose to model all the variability using a feature model. Then this feature model can be partially resolved at design time (yielding an incomplete product derivation), the unresolved variability being used to generate feature toggles that can be enabled/disabled at runtime. We first demonstrate these ideas on the toy example of the Expression Product Line, and then show how it can scale to build a configurable authentication system, where a partially resolved feature model can interface with popular feature toggle frameworks such as Togglz.
Fichier principal
Vignette du fichier
Unifying_SPL_and_Feature_Flags(2).pdf (3.58 Mo) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03788437 , version 1 (26-09-2022)

Identifiants

Citer

Jean-Marc Jézéquel, Jörg Kienzle, Mathieu Acher. From feature models to feature toggles in practice. SPLC 2022 - 26th ACM International Systems and Software Product Line Conference, Sep 2022, Graz / Hybrid, Austria. pp.234-244, ⟨10.1145/3546932.3547009⟩. ⟨hal-03788437⟩
68 Consultations
140 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More