-
- Downloads
Add repository actor support to Feature api
In gitaly#4459, we introduced Repository actor for Gitaly. This actor targets a particular repository managed by Gitaly. It uses repository relative path as unique identity for flipper_id. This commit adds the support to enable/disable a flag for a repository to admin Feature API. Issue: gitaly#4549 Changelog: added Signed-off-by:Quang-Minh Nguyen <qmnguyen@gitlab.com>
Showing
- lib/api/features.rb 5 additions, 0 deletionslib/api/features.rb
- lib/feature.rb 13 additions, 2 deletionslib/feature.rb
- spec/lib/feature_spec.rb 39 additions, 2 deletionsspec/lib/feature_spec.rb
- spec/requests/api/features_spec.rb 39 additions, 1 deletionspec/requests/api/features_spec.rb
- spec/services/admin/set_feature_flag_service_spec.rb 9 additions, 0 deletionsspec/services/admin/set_feature_flag_service_spec.rb
Please register or sign in to comment