Commit d8f44331 authored by Sean McGivern's avatar Sean McGivern

Update feature categories for 2020-12-31

https://gitlab.com/gitlab-com/www-gitlab-com/-/merge_requests/70219
reorganised some of these categories. Most of the items that were under
`collection` can go to `usage_ping`, but the historical usage export
probably belongs under `provision` (as it's to do with license usage),
and the survey response are - tangentially - under `navigation`.
parent 451c3197
...@@ -31,7 +31,7 @@ class Admin::ApplicationSettingsController < Admin::ApplicationController ...@@ -31,7 +31,7 @@ class Admin::ApplicationSettingsController < Admin::ApplicationController
feature_category :source_code_management, [:repository, :clear_repository_check_states] feature_category :source_code_management, [:repository, :clear_repository_check_states]
feature_category :continuous_integration, [:ci_cd, :reset_registration_token] feature_category :continuous_integration, [:ci_cd, :reset_registration_token]
feature_category :collection, [:usage_data] feature_category :usage_ping, [:usage_data]
feature_category :integrations, [:integrations] feature_category :integrations, [:integrations]
feature_category :pages, [:lets_encrypt_terms_of_service] feature_category :pages, [:lets_encrypt_terms_of_service]
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
class Projects::UsagePingController < Projects::ApplicationController class Projects::UsagePingController < Projects::ApplicationController
before_action :authenticate_user! before_action :authenticate_user!
feature_category :collection feature_category :usage_ping
def web_ide_clientside_preview def web_ide_clientside_preview
return render_404 unless Gitlab::CurrentSettings.web_ide_clientside_preview_enabled? return render_404 unless Gitlab::CurrentSettings.web_ide_clientside_preview_enabled?
......
...@@ -188,7 +188,7 @@ ...@@ -188,7 +188,7 @@
:idempotent: :idempotent:
:tags: [] :tags: []
- :name: cronjob:gitlab_usage_ping - :name: cronjob:gitlab_usage_ping
:feature_category: :collection :feature_category: :usage_ping
:has_external_dependencies: :has_external_dependencies:
:urgency: :low :urgency: :low
:resource_boundary: :unknown :resource_boundary: :unknown
......
...@@ -8,7 +8,7 @@ class GitlabUsagePingWorker # rubocop:disable Scalability/IdempotentWorker ...@@ -8,7 +8,7 @@ class GitlabUsagePingWorker # rubocop:disable Scalability/IdempotentWorker
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
include Gitlab::ExclusiveLeaseHelpers include Gitlab::ExclusiveLeaseHelpers
feature_category :collection feature_category :usage_ping
sidekiq_options retry: 3, dead: false sidekiq_options retry: 3, dead: false
sidekiq_retry_in { |count| (count + 1) * 8.hours.to_i } sidekiq_retry_in { |count| (count + 1) * 8.hours.to_i }
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
--- ---
- accessibility_testing - accessibility_testing
- advanced_deployments - advanced_deployments
- analysis
- api - api
- attack_emulation - attack_emulation
- audit_events - audit_events
...@@ -25,7 +24,6 @@ ...@@ -25,7 +24,6 @@
- code_quality - code_quality
- code_review - code_review
- code_testing - code_testing
- collection
- compliance_management - compliance_management
- container_host_security - container_host_security
- container_network_security - container_network_security
...@@ -83,6 +81,7 @@ ...@@ -83,6 +81,7 @@
- pages - pages
- pipeline_authoring - pipeline_authoring
- planning_analytics - planning_analytics
- privacy_control_center
- product_analytics - product_analytics
- projects - projects
- provision - provision
...@@ -112,6 +111,7 @@ ...@@ -112,6 +111,7 @@
- time_tracking - time_tracking
- tracing - tracing
- usability_testing - usability_testing
- usage_ping
- users - users
- value_stream_management - value_stream_management
- vulnerability_database - vulnerability_database
......
...@@ -7,7 +7,7 @@ module Admin ...@@ -7,7 +7,7 @@ module Admin
before_action :require_license, only: :show before_action :require_license, only: :show
feature_category :collection feature_category :provision
def show def show
historical_data = HistoricalData.in_license_term(license) historical_data = HistoricalData.in_license_term(license)
......
...@@ -7,7 +7,7 @@ class SurveyResponsesController < ApplicationController ...@@ -7,7 +7,7 @@ class SurveyResponsesController < ApplicationController
skip_before_action :authenticate_user! skip_before_action :authenticate_user!
feature_category :collection feature_category :navigation
def index def index
track_response if Gitlab.com? track_response if Gitlab.com?
......
...@@ -4,7 +4,7 @@ module API ...@@ -4,7 +4,7 @@ module API
class UsageData < ::API::Base class UsageData < ::API::Base
before { authenticate! } before { authenticate! }
feature_category :collection feature_category :usage_ping
namespace 'usage_data' do namespace 'usage_data' do
before do before do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment