stable

Clone or download

Read-only

Add a feature flag endpoint

Part of story #28823 [modal] create artifact This feature will be espacially used in the artifact modal where it is really annoying to have the feature flag value. How to test: - Get an existing feature flag. In the container do `tuleap config-list` and pick one with the prefix "feature_flag" - curl -k -X GET https://tuleap-web.tuleap-aio-dev.docker/feature_flag?name=feature_flag_<your_flag> => It returns the value otherwise an error is returned Change-Id: Ic7009ffc99e7c118b49bf45b6b47c2d7363279ed

Modified Files

Name
A src/common/Config/FeatureFlagController.php +75 −0 Go to diff View file
M src/common/Request/RouteCollector.php +12 −0 Go to diff View file
A tests/unit/common/Config/FeatureFlagControllerTest.php +105 −0 Go to diff View file