From a51457dcc90643f1c3d2714b04b0cafb47bad5a6 Mon Sep 17 00:00:00 2001 From: GnsP Date: Tue, 23 Apr 2024 08:18:24 +0530 Subject: [PATCH] [SCM] Add Gitlab and Bitbucket providers --- .../NamespaceAdmin/SourceControlManagement/constants.ts | 3 +++ .../NamespaceAdmin/SourceControlManagement/index.tsx | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/cdap/components/NamespaceAdmin/SourceControlManagement/constants.ts b/app/cdap/components/NamespaceAdmin/SourceControlManagement/constants.ts index 7467cfe9f65..0c67ea9ff3f 100644 --- a/app/cdap/components/NamespaceAdmin/SourceControlManagement/constants.ts +++ b/app/cdap/components/NamespaceAdmin/SourceControlManagement/constants.ts @@ -24,6 +24,9 @@ export const scmAuthType = [ export const providers = { github: 'GITHUB', + gitlab: 'GITLAB', + bitbucket: 'BITBUCKET_SERVER', + bitbucketCloud: 'BITBUCKET_CLOUD', }; export const authKeys = ['type', 'token']; diff --git a/app/cdap/components/NamespaceAdmin/SourceControlManagement/index.tsx b/app/cdap/components/NamespaceAdmin/SourceControlManagement/index.tsx index 938051ae986..ccdeca68232 100644 --- a/app/cdap/components/NamespaceAdmin/SourceControlManagement/index.tsx +++ b/app/cdap/components/NamespaceAdmin/SourceControlManagement/index.tsx @@ -27,7 +27,6 @@ import TableBody from 'components/shared/Table/TableBody'; import { useSelector } from 'react-redux'; import ActionsPopover from 'components/shared/ActionsPopover'; import { UnlinkSourceControlModal } from './UnlinkSourceControlModal'; -import StyledPasswordWrapper from 'components/AbstractWidget/FormInputs/Password'; import { ISourceControlManagementConfig } from './types'; import SourceControlManagementForm from './SourceControlManagementForm'; import PrimaryTextButton from 'components/shared/Buttons/PrimaryTextButton';