Skip to content

Commit

Permalink
feat(ui): Add Test Connection Support for BigQuery ingestion source (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jjoyce0510 authored Nov 28, 2022
1 parent 4d76b41 commit 6eb63c2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const LoadingSubheader = styled.div`
display: flex;
justify-content: center;
font-size: 12px;
color: ${ANTD_GRAY[7]};
`;

const LoadingHeader = styled(Typography.Title)`
Expand Down Expand Up @@ -53,12 +54,11 @@ const ModalHeader = styled.div`
display: flex;
padding: 10px 10px 0 10px;
padding: 5px;
font-size: 20px;
font-size: 18px;
`;

const SourceIcon = styled.img`
height: 22px;
width: 22px;
margin-right: 10px;
`;

Expand Down Expand Up @@ -115,7 +115,7 @@ function TestConnectionModal({
{isLoading && (
<ResultsWrapper>
<LoadingHeader level={4}>Testing your connection...</LoadingHeader>
<LoadingSubheader>This could take a few minutes</LoadingSubheader>
<LoadingSubheader>This could take a few minutes.</LoadingSubheader>
<LoadingWrapper>
<LoadingSvg height={100} width={100} />
</LoadingWrapper>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,4 +256,4 @@ export const RECIPE_FIELDS: RecipeFields = {

export const CONNECTORS_WITH_FORM = new Set(Object.keys(RECIPE_FIELDS));

export const CONNECTORS_WITH_TEST_CONNECTION = new Set([SNOWFLAKE, LOOKER, BIGQUERY_BETA]);
export const CONNECTORS_WITH_TEST_CONNECTION = new Set([SNOWFLAKE, LOOKER, BIGQUERY_BETA, BIGQUERY]);
4 changes: 2 additions & 2 deletions datahub-web-react/src/app/ingest/source/builder/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@
{
"urn": "urn:li:dataPlatform:custom",
"name": "custom",
"displayName": "Custom",
"displayName": "Other",
"docsUrl": "https://datahubproject.io/docs/metadata-ingestion/",
"recipe": "source:\n type: <source-type>\n config:\n # Source-type specifics config\n <source-configs>"
}
]
]
2 changes: 1 addition & 1 deletion datahub-web-react/src/app/ingest/source/conf/sources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const SOURCE_TEMPLATE_CONFIGS: Array<SourceConfig> = [
{
type: 'custom',
placeholderRecipe: DEFAULT_PLACEHOLDER_RECIPE,
displayName: 'Custom',
displayName: 'Other',
docsUrl: 'https://datahubproject.io/docs/metadata-ingestion/',
logoComponent: <FormOutlined style={{ color: ANTD_GRAY[8], fontSize: 28 }} />,
},
Expand Down

0 comments on commit 6eb63c2

Please sign in to comment.