doxygen url
This commit is contained in:
parent
0fa7ce4127
commit
a46bec5f0c
|
@ -154,6 +154,14 @@ class Api::V1::SonarqubesController < Api::V1::BaseController
|
|||
render_ok data
|
||||
end
|
||||
|
||||
def doxygen_url
|
||||
config = Rails.application.config_for(:configuration)
|
||||
sonarqube_config = config.dig('sonarqube')
|
||||
doxygen_url = sonarqube_config['doxygen']
|
||||
data = {doxygen_url: "#{doxygen_url}/files/#{@project.owner.login}/#{@project.identifier}/html/"}
|
||||
render_ok data
|
||||
end
|
||||
|
||||
def measures_search_history
|
||||
params_data = {
|
||||
from: params[:form],
|
||||
|
|
|
@ -118,6 +118,7 @@ defaults format: :json do
|
|||
|
||||
post :sonar_initialize
|
||||
post :insert_file
|
||||
get :doxygen_url
|
||||
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue