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

Rename provision category to license

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