Commit 7d7cd4ea authored by Sean McGivern's avatar Sean McGivern

Add feature categories to controllers beginning with O

parent bddf5186
......@@ -8,6 +8,8 @@ class Oauth::Jira::AuthorizationsController < ApplicationController
skip_before_action :authenticate_user!
skip_before_action :verify_authenticity_token
feature_category :integrations
# 1. Rewire Jira OAuth initial request to our stablished OAuth authorization URL.
def new
session[:redirect_uri] = params['redirect_uri']
......
......@@ -11,6 +11,8 @@ class OmniauthCallbacksController < Devise::OmniauthCallbacksController
protect_from_forgery except: [:kerberos, :saml, :cas3, :failure], with: :exception, prepend: true
feature_category :authentication_and_authorization
def handle_omniauth
omniauth_flow(Gitlab::Auth::OAuth)
end
......
......@@ -5,6 +5,8 @@ class OmniauthKerberosSpnegoController < ApplicationController
skip_before_action :authenticate_user!
feature_category :authentication_and_authorization
def negotiate
if spnego_provided? && (krb_principal = spnego_credentials!(spnego_token))
session[OmniAuth::Strategies::KerberosSpnego::SESSION_KEY] = krb_principal
......
......@@ -5,6 +5,8 @@ class OperationsController < ApplicationController
respond_to :json, only: [:list]
feature_category :release_orchestration
POLLING_INTERVAL = 120_000
def index
......
......@@ -27,7 +27,7 @@ RSpec.describe "Every controller" do
next unless controller.to_s.start_with?('B', 'C', 'D', 'E', 'F',
'H', 'I', 'J', 'K', 'L',
'M', 'N',
'M', 'N', 'O',
'Projects::MergeRequestsController')
"#{controller}##{action}"
......
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