From a51816d2a692713d227837631192654feab1ce28 Mon Sep 17 00:00:00 2001 From: Belen Pruvost Date: Thu, 5 Nov 2020 13:52:17 +0200 Subject: [PATCH] SONAR-14058 add url to list_definitions endpoint --- .../java/org/sonar/db/almsettings/AlmSettingsTesting.java | 1 + sonar-ws/src/main/protobuf/ws-alm_settings.proto | 1 + 2 files changed, 2 insertions(+) diff --git a/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/almsettings/AlmSettingsTesting.java b/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/almsettings/AlmSettingsTesting.java index a44a0924570..c96265f75b7 100644 --- a/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/almsettings/AlmSettingsTesting.java +++ b/server/sonar-db-dao/src/testFixtures/java/org/sonar/db/almsettings/AlmSettingsTesting.java @@ -42,6 +42,7 @@ public class AlmSettingsTesting { return new AlmSettingDto() .setKey(randomAlphanumeric(200)) .setPersonalAccessToken(randomAlphanumeric(2000)) + .setUrl(randomAlphanumeric(2000)) .setAlm(ALM.AZURE_DEVOPS); } diff --git a/sonar-ws/src/main/protobuf/ws-alm_settings.proto b/sonar-ws/src/main/protobuf/ws-alm_settings.proto index c1b2352c33c..db102506a6c 100644 --- a/sonar-ws/src/main/protobuf/ws-alm_settings.proto +++ b/sonar-ws/src/main/protobuf/ws-alm_settings.proto @@ -44,6 +44,7 @@ message AlmSettingGithub { message AlmSettingAzure { optional string key = 1; optional string personalAccessToken = 2; + optional string url = 3; } message AlmSettingBitbucket { -- 2.39.5