]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-13633 Match existing gitlab projects with gitlab search repos results
authorJacek <jacek.poreda@sonarsource.com>
Mon, 27 Jul 2020 13:29:16 +0000 (15:29 +0200)
committersonartech <sonartech@sonarsource.com>
Mon, 17 Aug 2020 20:06:22 +0000 (20:06 +0000)
server/sonar-db-dao/src/testFixtures/java/org/sonar/db/almsettings/AlmSettingsDbTester.java
sonar-ws/src/main/protobuf/ws-alm_integrations.proto

index d4fbef37f8ee9a17c2254c6b4b5c33275e1a3327..23413febddf563ff8cae5459be86e925b7a61460 100644 (file)
@@ -76,6 +76,11 @@ public class AlmSettingsDbTester {
     return insertProjectAlmSetting(newGitlabProjectAlmSettingDto(gitlabAlmSetting, project));
   }
 
+  @SafeVarargs
+  public final ProjectAlmSettingDto insertGitlabProjectAlmSetting(AlmSettingDto gitlabAlmSetting, ProjectDto project, Consumer<ProjectAlmSettingDto>... populators) {
+    return insertProjectAlmSetting(newGitlabProjectAlmSettingDto(gitlabAlmSetting, project), populators);
+  }
+
   @SafeVarargs
   public final ProjectAlmSettingDto insertBitbucketProjectAlmSetting(AlmSettingDto bitbucketAlmSetting, ProjectDto project, Consumer<ProjectAlmSettingDto>... populators) {
     return insertProjectAlmSetting(newBitbucketProjectAlmSettingDto(bitbucketAlmSetting, project), populators);
index 44604c69b4f8a961897c92800b2e45e70c8353a2..97417220fb56dcc03d8f479b0344f12a84fe3e9f 100644 (file)
@@ -94,4 +94,5 @@ message GitlabRepository {
   optional string pathSlug = 5;
   optional string url = 6;
   optional string sqProjectKey = 7;
+  optional string sqProjectName = 8;
 }