]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-14057 Set sqProjectKey and sqProjectName
authorbelen-pruvost-sonarsource <belen.pruvost@sonarsource.com>
Thu, 19 Nov 2020 13:52:57 +0000 (14:52 +0100)
committersonartech <sonartech@sonarsource.com>
Wed, 25 Nov 2020 20:06:27 +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 23413febddf563ff8cae5459be86e925b7a61460..eaf489cb074cefd80ed724a0c3aee55dab0cda93 100644 (file)
@@ -76,6 +76,11 @@ public class AlmSettingsDbTester {
     return insertProjectAlmSetting(newGitlabProjectAlmSettingDto(gitlabAlmSetting, project));
   }
 
+  @SafeVarargs
+  public final ProjectAlmSettingDto insertAzureProjectAlmSetting(AlmSettingDto azureAlmSetting, ProjectDto project, Consumer<ProjectAlmSettingDto>... populators) {
+    return insertProjectAlmSetting(newAzureProjectAlmSettingDto(azureAlmSetting, project), populators);
+  }
+
   @SafeVarargs
   public final ProjectAlmSettingDto insertGitlabProjectAlmSetting(AlmSettingDto gitlabAlmSetting, ProjectDto project, Consumer<ProjectAlmSettingDto>... populators) {
     return insertProjectAlmSetting(newGitlabProjectAlmSettingDto(gitlabAlmSetting, project), populators);
index adcd0197e3aa9255059f0d3b0099f47824e7e007..68ad17281da00a4b060675a26bafed9ddd0bb47a 100644 (file)
@@ -59,7 +59,7 @@ message AzureRepo {
   optional string name = 1;
   optional string projectName = 2;
   optional string sqProjectKey = 3;
-  optional string projectKey = 4;
+  optional string sqProjectName = 4;
 }
 
 message AlmProject {