aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorAntoine Vigneau <antoine.vigneau@sonarsource.com>2024-01-23 17:23:18 +0100
committersonartech <sonartech@sonarsource.com>2024-01-29 20:03:17 +0000
commit2828d81c75068bec023ec8dc006e7500c659208c (patch)
tree949f966b6afb1dab906d643e52e57731caaedc39 /server
parente0a8c04f21a62de3a60fa0824efb57044b7f16a8 (diff)
downloadsonarqube-2828d81c75068bec023ec8dc006e7500c659208c.tar.gz
sonarqube-2828d81c75068bec023ec8dc006e7500c659208c.zip
NOJIRA Cleanup setting definition mock from GitLab properties
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/js/helpers/mocks/definitions-list.ts88
1 files changed, 0 insertions, 88 deletions
diff --git a/server/sonar-web/src/main/js/helpers/mocks/definitions-list.ts b/server/sonar-web/src/main/js/helpers/mocks/definitions-list.ts
index 4fbcf58d117..a775e188b79 100644
--- a/server/sonar-web/src/main/js/helpers/mocks/definitions-list.ts
+++ b/server/sonar-web/src/main/js/helpers/mocks/definitions-list.ts
@@ -53,18 +53,6 @@ export const definitions: ExtendedSettingDefinition[] = [
fields: [],
},
{
- key: 'sonar.auth.gitlab.enabled',
- name: 'Enabled',
- description:
- 'Enable Gitlab users to login. Value is ignored if URL, Application ID, and Secret are not set.',
- type: SettingType.BOOLEAN,
- category: 'authentication',
- subCategory: 'gitlab',
- defaultValue: 'false',
- options: [],
- fields: [],
- },
- {
key: 'sonar.auth.saml.enabled',
name: 'Enabled',
description:
@@ -120,16 +108,6 @@ export const definitions: ExtendedSettingDefinition[] = [
fields: [],
},
{
- key: 'sonar.auth.gitlab.url',
- name: 'GitLab URL',
- description: 'URL to access GitLab.',
- category: 'authentication',
- subCategory: 'gitlab',
- defaultValue: 'https://gitlab.com',
- options: [],
- fields: [],
- },
- {
key: 'sonar.auth.bitbucket.clientId.secured',
name: 'OAuth consumer key',
description: 'Consumer key provided by Bitbucket when registering the consumer.',
@@ -139,15 +117,6 @@ export const definitions: ExtendedSettingDefinition[] = [
fields: [],
},
{
- key: 'sonar.auth.gitlab.applicationId.secured',
- name: 'Application ID',
- description: 'Application ID provided by GitLab when registering the application.',
- category: 'authentication',
- subCategory: 'gitlab',
- options: [],
- fields: [],
- },
- {
key: 'sonar.auth.github.appId',
name: 'App ID',
description:
@@ -233,50 +202,6 @@ export const definitions: ExtendedSettingDefinition[] = [
fields: [],
},
{
- key: 'sonar.auth.gitlab.secret.secured',
- name: 'Secret',
- description: 'Secret provided by GitLab when registering the application.',
- type: SettingType.PASSWORD,
- category: 'authentication',
- subCategory: 'gitlab',
- options: [],
- fields: [],
- },
- {
- key: 'sonar.auth.gitlab.allowUsersToSignUp',
- name: 'Allow users to sign up',
- description:
- 'Allow new users to authenticate. When set to disabled, only existing users will be able to authenticate to the server.',
- type: SettingType.BOOLEAN,
- category: 'authentication',
- subCategory: 'gitlab',
- defaultValue: 'true',
- options: [],
- fields: [],
- },
- {
- key: 'provisioning.gitlab.token.secured',
- name: 'Provisioning token',
- description:
- 'Token used for user provisioning. You can either use a group or a personal access token, as long as it has visibility on the groups that need to be imported.',
- type: SettingType.PASSWORD,
- category: 'authentication',
- subCategory: 'gitlab',
- options: [],
- fields: [],
- },
- {
- key: 'provisioning.gitlab.groups',
- name: 'Groups',
- description:
- 'Only members of these groups (and sub-groups) will be able to authenticate to the server.',
- category: 'authentication',
- subCategory: 'gitlab',
- multiValues: true,
- options: [],
- fields: [],
- },
- {
key: 'sonar.auth.saml.loginUrl',
name: 'SAML login url',
description: 'The URL where the Identity Provider expects to receive SAML requests.',
@@ -320,19 +245,6 @@ export const definitions: ExtendedSettingDefinition[] = [
fields: [],
},
{
- key: 'sonar.auth.gitlab.groupsSync',
- name: 'Synchronize user groups',
- description:
- 'For each GitLab group they belong to, the user will be associated to a group with the same name (if it exists) in SonarQube. If enabled, the GitLab OAuth 2 application will need to provide the api scope.',
- type: SettingType.BOOLEAN,
- category: 'authentication',
- subCategory: 'gitlab',
- defaultValue: 'false',
- options: [],
- fields: [],
- deprecatedKey: 'sonar.auth.gitlab.sync_user_groups',
- },
- {
key: 'sonar.auth.saml.user.login',
name: 'SAML user login attribute',
description: