Commit dba931c6 authored by Sean McGivern's avatar Sean McGivern

Merge branch 'bvl-update-worker-feature-categories' into 'master'

Update the feature categories for workers

See merge request gitlab-org/gitlab!26582
parents 9f887487 6bc9a943
...@@ -865,7 +865,7 @@ ...@@ -865,7 +865,7 @@
:weight: 2 :weight: 2
:idempotent: :idempotent:
- :name: create_evidence - :name: create_evidence
:feature_category: :release_governance :feature_category: :release_evidence
:has_external_dependencies: :has_external_dependencies:
:urgency: :default :urgency: :default
:resource_boundary: :unknown :resource_boundary: :unknown
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
class CreateEvidenceWorker # rubocop:disable Scalability/IdempotentWorker class CreateEvidenceWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker include ApplicationWorker
feature_category :release_governance feature_category :release_evidence
weight 2 weight 2
def perform(release_id) def perform(release_id)
......
...@@ -25,8 +25,7 @@ ...@@ -25,8 +25,7 @@
- code_quality - code_quality
- code_review - code_review
- collection - collection
- compliance_controls - compliance_management
- compliance_frameworks
- container_network_security - container_network_security
- container_registry - container_registry
- container_scanning - container_scanning
...@@ -37,7 +36,7 @@ ...@@ -37,7 +36,7 @@
- dependency_proxy - dependency_proxy
- dependency_scanning - dependency_scanning
- design_management - design_management
- devops_score - devops_reports
- digital_experience_management - digital_experience_management
- disaster_recovery - disaster_recovery
- dynamic_application_security_testing - dynamic_application_security_testing
...@@ -52,6 +51,7 @@ ...@@ -52,6 +51,7 @@
- gitaly - gitaly
- gitlab_handbook - gitlab_handbook
- gitter - gitter
- global_search
- helm_chart_registry - helm_chart_registry
- importers - importers
- incident_management - incident_management
...@@ -61,6 +61,8 @@ ...@@ -61,6 +61,8 @@
- interactive_application_security_testing - interactive_application_security_testing
- internationalization - internationalization
- issue_tracking - issue_tracking
- jenkins_importer
- jira_importer
- jupyter_notebooks - jupyter_notebooks
- kanban_boards - kanban_boards
- kubernetes_management - kubernetes_management
...@@ -70,13 +72,14 @@ ...@@ -70,13 +72,14 @@
- load_testing - load_testing
- logging - logging
- malware_scanning - malware_scanning
- merge_trains
- metrics - metrics
- omnibus_package - omnibus_package
- package_registry - package_registry
- pages - pages
- pki_management
- planning_analytics
- quality_management - quality_management
- release_governance - release_evidence
- release_orchestration - release_orchestration
- requirements_management - requirements_management
- responsible_disclosure - responsible_disclosure
...@@ -86,7 +89,6 @@ ...@@ -86,7 +89,6 @@
- runner - runner
- runtime_application_self_protection - runtime_application_self_protection
- sdk - sdk
- search
- secret_detection - secret_detection
- secrets_management - secrets_management
- serverless - serverless
...@@ -97,8 +99,6 @@ ...@@ -97,8 +99,6 @@
- static_site_editor - static_site_editor
- status_page - status_page
- subgroups - subgroups
- system_testing
- teams
- templates - templates
- threat_detection - threat_detection
- time_tracking - time_tracking
...@@ -113,4 +113,3 @@ ...@@ -113,4 +113,3 @@
- web_ide - web_ide
- web_performance - web_performance
- wiki - wiki
- workspaces
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
:weight: 1 :weight: 1
:idempotent: :idempotent:
- :name: cronjob:elastic_index_bulk_cron - :name: cronjob:elastic_index_bulk_cron
:feature_category: :search :feature_category: :global_search
:has_external_dependencies: :has_external_dependencies:
:urgency: :default :urgency: :default
:resource_boundary: :unknown :resource_boundary: :unknown
...@@ -459,42 +459,42 @@ ...@@ -459,42 +459,42 @@
:weight: 1 :weight: 1
:idempotent: :idempotent:
- :name: elastic_batch_project_indexer - :name: elastic_batch_project_indexer
:feature_category: :search :feature_category: :global_search
:has_external_dependencies: :has_external_dependencies:
:urgency: :default :urgency: :default
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
- :name: elastic_commit_indexer - :name: elastic_commit_indexer
:feature_category: :search :feature_category: :global_search
:has_external_dependencies: :has_external_dependencies:
:urgency: :default :urgency: :default
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
- :name: elastic_full_index - :name: elastic_full_index
:feature_category: :search :feature_category: :global_search
:has_external_dependencies: :has_external_dependencies:
:urgency: :default :urgency: :default
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
- :name: elastic_indexer - :name: elastic_indexer
:feature_category: :search :feature_category: :global_search
:has_external_dependencies: :has_external_dependencies:
:urgency: :default :urgency: :default
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
- :name: elastic_namespace_indexer - :name: elastic_namespace_indexer
:feature_category: :search :feature_category: :global_search
:has_external_dependencies: :has_external_dependencies:
:urgency: :default :urgency: :default
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
- :name: elastic_namespace_rollout - :name: elastic_namespace_rollout
:feature_category: :search :feature_category: :global_search
:has_external_dependencies: :has_external_dependencies:
:urgency: :default :urgency: :default
:resource_boundary: :unknown :resource_boundary: :unknown
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
class ElasticBatchProjectIndexerWorker # rubocop:disable Scalability/IdempotentWorker class ElasticBatchProjectIndexerWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker include ApplicationWorker
feature_category :search feature_category :global_search
# Batch indexing is a generally a onetime option, so give finer control over # Batch indexing is a generally a onetime option, so give finer control over
# queuing and concurrency # queuing and concurrency
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
class ElasticCommitIndexerWorker # rubocop:disable Scalability/IdempotentWorker class ElasticCommitIndexerWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker include ApplicationWorker
feature_category :search feature_category :global_search
sidekiq_options retry: 2 sidekiq_options retry: 2
def perform(project_id, oldrev = nil, newrev = nil, wiki = false) def perform(project_id, oldrev = nil, newrev = nil, wiki = false)
......
...@@ -8,7 +8,7 @@ class ElasticFullIndexWorker # rubocop:disable Scalability/IdempotentWorker ...@@ -8,7 +8,7 @@ class ElasticFullIndexWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker include ApplicationWorker
sidekiq_options retry: 2 sidekiq_options retry: 2
feature_category :search feature_category :global_search
def perform(start_id, end_id) def perform(start_id, end_id)
return true unless Gitlab::CurrentSettings.elasticsearch_indexing? return true unless Gitlab::CurrentSettings.elasticsearch_indexing?
......
...@@ -8,7 +8,7 @@ class ElasticIndexBulkCronWorker ...@@ -8,7 +8,7 @@ class ElasticIndexBulkCronWorker
# application, so there's no useful context to add. # application, so there's no useful context to add.
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :search feature_category :global_search
idempotent! idempotent!
def perform def perform
......
...@@ -5,7 +5,7 @@ class ElasticIndexerWorker # rubocop:disable Scalability/IdempotentWorker ...@@ -5,7 +5,7 @@ class ElasticIndexerWorker # rubocop:disable Scalability/IdempotentWorker
include Elasticsearch::Model::Client::ClassMethods include Elasticsearch::Model::Client::ClassMethods
sidekiq_options retry: 2 sidekiq_options retry: 2
feature_category :search feature_category :global_search
def perform(operation, class_name, record_id, es_id, options = {}) def perform(operation, class_name, record_id, es_id, options = {})
return true unless Gitlab::CurrentSettings.elasticsearch_indexing? return true unless Gitlab::CurrentSettings.elasticsearch_indexing?
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
class ElasticNamespaceIndexerWorker # rubocop:disable Scalability/IdempotentWorker class ElasticNamespaceIndexerWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker include ApplicationWorker
feature_category :search feature_category :global_search
sidekiq_options retry: 2 sidekiq_options retry: 2
def perform(namespace_id, operation) def perform(namespace_id, operation)
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
class ElasticNamespaceRolloutWorker # rubocop:disable Scalability/IdempotentWorker class ElasticNamespaceRolloutWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker include ApplicationWorker
feature_category :search feature_category :global_search
sidekiq_options retry: 2 sidekiq_options retry: 2
ROLLOUT = 'rollout' ROLLOUT = 'rollout'
......
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