Commit 8c9e0677 authored by Sean McGivern's avatar Sean McGivern

Rename provision category to license

parent 24590717
......@@ -66,6 +66,7 @@
- jenkins_importer
- jira_importer
- kubernetes_management
- license
- license_compliance
- live_preview
- load_testing
......@@ -84,7 +85,6 @@
- privacy_control_center
- product_analytics
- projects
- provision
- purchase
- quality_management
- release_evidence
......@@ -113,6 +113,7 @@
- usability_testing
- usage_ping
- users
- utilization
- value_stream_management
- vulnerability_database
- vulnerability_management
......
......@@ -7,7 +7,7 @@ module Admin
before_action :require_license, only: :show
feature_category :provision
feature_category :license
def show
historical_data = HistoricalData.in_license_term(license)
......
......@@ -8,7 +8,7 @@ class Admin::LicensesController < Admin::ApplicationController
respond_to :html
feature_category :provision
feature_category :license
def show
if @license.present? || License.future_dated_only?
......
......@@ -9,7 +9,7 @@ module EE
prepended do
before_action :elasticsearch_reindexing_task, only: [:advanced_search]
feature_category :provision, [:seat_link_payload]
feature_category :license, [:seat_link_payload]
feature_category :source_code_management, [:templates]
feature_category :global_search, [:advanced_search]
......
......@@ -7,7 +7,7 @@ class ActiveUserCountThresholdWorker # rubocop:disable Scalability/IdempotentWor
include CronjobQueue
# rubocop:enable Scalability/CronWorkerContext
feature_category :provision
feature_category :license
def perform
License.with_valid_license do |license|
......
......@@ -12,7 +12,7 @@
:idempotent: true
:tags: []
- :name: cronjob:active_user_count_threshold
:feature_category: :provision
:feature_category: :license
:has_external_dependencies:
:urgency: :low
:resource_boundary: :unknown
......@@ -212,7 +212,7 @@
:idempotent: true
:tags: []
- :name: cronjob:historical_data
:feature_category: :provision
:feature_category: :license
:has_external_dependencies:
:urgency: :low
:resource_boundary: :unknown
......@@ -284,7 +284,7 @@
:idempotent:
:tags: []
- :name: cronjob:sync_seat_link
:feature_category: :provision
:feature_category: :license
:has_external_dependencies:
:urgency: :low
:resource_boundary: :unknown
......@@ -871,7 +871,7 @@
:idempotent: true
:tags: []
- :name: sync_seat_link_request
:feature_category: :provision
:feature_category: :license
:has_external_dependencies: true
:urgency: :low
:resource_boundary: :unknown
......
......@@ -7,7 +7,7 @@ class HistoricalDataWorker # rubocop:disable Scalability/IdempotentWorker
include CronjobQueue
# rubocop:enable Scalability/CronWorkerContext
feature_category :provision
feature_category :license
def perform
return if License.current.nil? || License.current.trial?
......
......@@ -3,7 +3,7 @@
class SyncSeatLinkRequestWorker
include ApplicationWorker
feature_category :provision
feature_category :license
# Retry for up to approximately 6 days
sidekiq_options retry: 20
......
......@@ -7,7 +7,7 @@ class SyncSeatLinkWorker # rubocop:disable Scalability/IdempotentWorker
include CronjobQueue
# rubocop:enable Scalability/CronWorkerContext
feature_category :provision
feature_category :license
# Retry for up to approximately 17 hours
sidekiq_options retry: 12, dead: false
......
......@@ -4,7 +4,7 @@ module API
class License < ::API::Base
before { authenticated_as_admin! }
feature_category :provision
feature_category :license
resource :license do
desc 'Get information on the currently active license' 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