From: Antoine Vigneau Date: Tue, 23 Jan 2024 16:23:18 +0000 (+0100) Subject: NOJIRA Cleanup setting definition mock from GitLab properties X-Git-Tag: 10.4.0.87286~93 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2828d81c75068bec023ec8dc006e7500c659208c;p=sonarqube.git NOJIRA Cleanup setting definition mock from GitLab properties --- 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 @@ -52,18 +52,6 @@ export const definitions: ExtendedSettingDefinition[] = [ options: [], 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', @@ -119,16 +107,6 @@ export const definitions: ExtendedSettingDefinition[] = [ options: [], 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', @@ -138,15 +116,6 @@ export const definitions: ExtendedSettingDefinition[] = [ options: [], 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', @@ -232,50 +201,6 @@ export const definitions: ExtendedSettingDefinition[] = [ options: [], 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', @@ -319,19 +244,6 @@ export const definitions: ExtendedSettingDefinition[] = [ options: [], 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',