Skip to content
Snippets Groups Projects
Commit 102e79d9 authored by joel.vonderwe's avatar joel.vonderwe
Browse files

Add sonar routes/codes

parent 7f67e15c
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,9 @@ enum DojoStatusCode { ...@@ -15,7 +15,9 @@ enum DojoStatusCode {
EXERCISE_CREATION_GITLAB_ERROR = 302, EXERCISE_CREATION_GITLAB_ERROR = 302,
EXERCISE_CREATION_INTERNAL_ERROR = 303, EXERCISE_CREATION_INTERNAL_ERROR = 303,
MAX_EXERCISE_PER_ASSIGNMENT_REACHED = 304, MAX_EXERCISE_PER_ASSIGNMENT_REACHED = 304,
EXERCISE_CREATION_SONAR_ERROR = 305 EXERCISE_CREATION_SONAR_ERROR = 305,
ASSIGNMENT_SONAR_GATE_NOT_FOUND = 401,
ASSIGNMENT_SONAR_PROFILE_NOT_FOUND = 402
} }
......
enum SonarRoute { enum SonarRoute {
SET_PAT = '/api/alm_integrations/set_pat', SET_PAT = '/api/alm_integrations/set_pat',
PROJECT_CREATE_GITLAB = '/api/alm_integrations/import_gitlab_project', PROJECT_CREATE_GITLAB = '/api/alm_integrations/import_gitlab_project',
PROJECT_ADD_GATE = '/api/qualitygates/select',
PROJECT_ADD_PROFILE = '/api/qualityprofiles/add_project',
GET_LANGUAGES = '/api/languages/list' GET_LANGUAGES = '/api/languages/list'
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment