add sonarqube

This commit is contained in:
kingChan
2024-05-29 16:06:56 +08:00
committed by KingChan
parent 61ca57e4e0
commit ad085fcddc
10 changed files with 69 additions and 13 deletions

View File

@@ -0,0 +1,2 @@
// Place all the behaviors and hooks related to the matching controller here.
// All this logic will automatically be available in application.js.

View File

@@ -0,0 +1,3 @@
// Place all the styles related to the api/v1/sonarqube/issues controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/

View File

@@ -0,0 +1,6 @@
class Api::V1::Sonarqubes::IssuesController < ApplicationController
def index
data = Sonarqube.client.get("/api/issues/search",params)
render_ok data
end
end

View File

@@ -0,0 +1,2 @@
module Api::V1::Sonarqube::IssuesHelper
end