Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-13628

Allow users to define a GitLab PAT and verify it

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.5
    • Component/s: Branch & PR
    • Labels:
      None
    • Edition:
      Developer
    • Production Notes:
      None

      Description

      For GitLab API authentication, we will rely on the GitLab personal access token mechanism. Once a token acquired, we will be able to fetch projects from the GitLab endpoint `GET /projects` documented here: https://docs.gitlab.com/ee/api/projects.html#list-all-projects

       

      Backend API impact:

      • PAT handling: we want to reuse SQ endpoint that we created for BBS, and adapt it to be used for GitLab as well:
        • "POST api/alm_integrations/set_pat" No signature change, only the behavior will change to accept Gitlab input
        • "GET api/alm_integrations/check_pat" No signature change, should now accept GitLab almSetting key as input

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pierre.guillot Pierre Guillot
              Reporter:
              pierre.guillot Pierre Guillot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: