Move downstream pipeline rate limit to application setting
Make setting accessible from UI for changing settings Add specs for the new application setting in API and model Use the new setting column value in pipeline service rate limiter Update documentation to reflect the new setting changes This is behind the feature flag ci_rate_limit_downstream_pipelines.
显示
- app/helpers/application_settings_helper.rb 2 个添加, 1 个删除app/helpers/application_settings_helper.rb
- app/models/application_setting.rb 4 个添加, 2 个删除app/models/application_setting.rb
- app/models/application_setting_implementation.rb 2 个添加, 1 个删除app/models/application_setting_implementation.rb
- app/services/ci/trigger_downstream_pipeline_service.rb 0 个添加, 4 个删除app/services/ci/trigger_downstream_pipeline_service.rb
- app/validators/json_schemas/application_setting_rate_limits.json 5 个添加, 0 个删除...idators/json_schemas/application_setting_rate_limits.json
- app/views/admin/application_settings/_ci_cd.html.haml 5 个添加, 0 个删除app/views/admin/application_settings/_ci_cd.html.haml
- doc/administration/settings/continuous_integration.md 12 个添加, 0 个删除doc/administration/settings/continuous_integration.md
- doc/api/settings.md 3 个添加, 1 个删除doc/api/settings.md
- lib/api/settings.rb 1 个添加, 0 个删除lib/api/settings.rb
- lib/gitlab/application_rate_limiter.rb 1 个添加, 1 个删除lib/gitlab/application_rate_limiter.rb
- locale/gitlab.pot 6 个添加, 0 个删除locale/gitlab.pot
- spec/features/admin/admin_settings_spec.rb 2 个添加, 0 个删除spec/features/admin/admin_settings_spec.rb
- spec/helpers/application_settings_helper_spec.rb 1 个添加, 1 个删除spec/helpers/application_settings_helper_spec.rb
- spec/models/application_setting_spec.rb 2 个添加, 0 个删除spec/models/application_setting_spec.rb
- spec/requests/api/settings_spec.rb 38 个添加, 1 个删除spec/requests/api/settings_spec.rb
- spec/services/ci/trigger_downstream_pipeline_service_spec.rb 1 个添加, 1 个删除spec/services/ci/trigger_downstream_pipeline_service_spec.rb
加载中
想要评论请 注册 或 登录