diff options
Diffstat (limited to 'server/sonar-db-dao')
-rw-r--r-- | server/sonar-db-dao/src/schema/schema-sq.ddl | 2 | ||||
-rw-r--r-- | server/sonar-db-dao/src/testFixtures/java/org/sonar/db/almsettings/AlmSettingsTesting.java | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-db-dao/src/schema/schema-sq.ddl b/server/sonar-db-dao/src/schema/schema-sq.ddl index 6ed58ecce37..d1f73082152 100644 --- a/server/sonar-db-dao/src/schema/schema-sq.ddl +++ b/server/sonar-db-dao/src/schema/schema-sq.ddl @@ -53,7 +53,7 @@ CREATE INDEX ALM_APP_INSTALLS_EXTERNAL_ID ON ALM_APP_INSTALLS(USER_EXTERNAL_ID); CREATE TABLE ALM_SETTINGS( UUID VARCHAR(40) NOT NULL, ALM_ID VARCHAR(40) NOT NULL, - KEE VARCHAR(40) NOT NULL, + KEE VARCHAR(200) NOT NULL, URL VARCHAR(2000), APP_ID VARCHAR(80), PRIVATE_KEY VARCHAR(2000), 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 dc5e8f8176f..13513e49bb8 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 @@ -30,7 +30,7 @@ public class AlmSettingsTesting { public static AlmSettingDto newGithubAlmSettingDto() { return new AlmSettingDto() - .setKey(randomAlphanumeric(40)) + .setKey(randomAlphanumeric(200)) .setUrl(randomAlphanumeric(2000)) .setAppId(randomAlphanumeric(80)) .setPrivateKey(randomAlphanumeric(2000)) @@ -39,14 +39,14 @@ public class AlmSettingsTesting { public static AlmSettingDto newAzureAlmSettingDto() { return new AlmSettingDto() - .setKey(randomAlphanumeric(40)) + .setKey(randomAlphanumeric(200)) .setPersonalAccessToken(randomAlphanumeric(2000)) .setAlm(ALM.AZURE_DEVOPS); } public static AlmSettingDto newBitbucketAlmSettingDto() { return new AlmSettingDto() - .setKey(randomAlphanumeric(40)) + .setKey(randomAlphanumeric(200)) .setUrl(randomAlphanumeric(2000)) .setPersonalAccessToken(randomAlphanumeric(2000)) .setAlm(ALM.BITBUCKET); |