Skip to content

Commit

Permalink
create catalog page minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
orenccl committed Nov 24, 2024
1 parent e89d80f commit 23a75c3
Show file tree
Hide file tree
Showing 2 changed files with 101 additions and 101 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -525,9 +525,9 @@ const CreateCatalogDialog = props => {
disabled={type === 'update'}
data-refer='catalog-type-selector'
>
<MenuItem value={'relational'}>relational</MenuItem>
<MenuItem value={'fileset'}>fileset</MenuItem>
<MenuItem value={'messaging'}>messaging</MenuItem>
<MenuItem value={'relational'}>Relational</MenuItem>
<MenuItem value={'fileset'}>Fileset</MenuItem>
<MenuItem value={'messaging'}>Messaging</MenuItem>
</Select>
)}
/>
Expand Down
196 changes: 98 additions & 98 deletions web/web/src/lib/utils/initial.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,34 @@ export const messagingProviders = [
]

export const providers = [
{
label: 'Apache Doris',
value: 'jdbc-doris',
defaultProps: [
{
key: 'jdbc-driver',
value: '',
required: true,
description: 'e.g. com.mysql.jdbc.Driver'
},
{
key: 'jdbc-url',
value: '',
required: true,
description: 'e.g. jdbc:mysql://localhost:9030'
},
{
key: 'jdbc-user',
value: '',
required: true
},
{
key: 'jdbc-password',
value: '',
required: true
}
]
},
{
label: 'Apache Hive',
value: 'hive',
Expand All @@ -60,6 +88,26 @@ export const providers = [
}
]
},
{
label: 'Apache Hudi',
value: 'lakehouse-hudi',
defaultProps: [
{
key: 'catalog-backend',
value: 'hms',
defaultValue: 'hms',
required: true,
select: ['hms'],
description: 'Apache Hudi catalog type choose properties'
},
{
key: 'uri',
value: '',
required: true,
description: 'Apache Hudi catalog uri config'
}
]
},
{
label: 'Apache Iceberg',
value: 'lakehouse-iceberg',
Expand Down Expand Up @@ -135,95 +183,6 @@ export const providers = [
}
]
},
{
label: 'MySQL',
value: 'jdbc-mysql',
defaultProps: [
{
key: 'jdbc-driver',
value: '',
required: true,
description: 'e.g. com.mysql.jdbc.Driver or com.mysql.cj.jdbc.Driver'
},
{
key: 'jdbc-url',
value: '',
required: true,
description: 'e.g. jdbc:mysql://localhost:3306'
},
{
key: 'jdbc-user',
value: '',
required: true
},
{
key: 'jdbc-password',
value: '',
required: true
}
]
},
{
label: 'PostgreSQL',
value: 'jdbc-postgresql',
defaultProps: [
{
key: 'jdbc-driver',
value: '',
required: true,
description: 'e.g. org.postgresql.Driver'
},
{
key: 'jdbc-url',
value: '',
required: true,
description: 'e.g. jdbc:postgresql://localhost:5432/your_database'
},
{
key: 'jdbc-user',
value: '',
required: true
},
{
key: 'jdbc-password',
value: '',
required: true
},
{
key: 'jdbc-database',
value: '',
required: true
}
]
},
{
label: 'Apache Doris',
value: 'jdbc-doris',
defaultProps: [
{
key: 'jdbc-driver',
value: '',
required: true,
description: 'e.g. com.mysql.jdbc.Driver'
},
{
key: 'jdbc-url',
value: '',
required: true,
description: 'e.g. jdbc:mysql://localhost:9030'
},
{
key: 'jdbc-user',
value: '',
required: true
},
{
key: 'jdbc-password',
value: '',
required: true
}
]
},
{
label: 'Apache Paimon',
value: 'lakehouse-paimon',
Expand Down Expand Up @@ -300,22 +259,30 @@ export const providers = [
]
},
{
label: 'Apache Hudi',
value: 'lakehouse-hudi',
label: 'MySQL',
value: 'jdbc-mysql',
defaultProps: [
{
key: 'catalog-backend',
value: 'hms',
defaultValue: 'hms',
key: 'jdbc-driver',
value: '',
required: true,
select: ['hms'],
description: 'Apache Hudi catalog type choose properties'
description: 'e.g. com.mysql.jdbc.Driver or com.mysql.cj.jdbc.Driver'
},
{
key: 'uri',
key: 'jdbc-url',
value: '',
required: true,
description: 'Apache Hudi catalog uri config'
description: 'e.g. jdbc:mysql://localhost:3306'
},
{
key: 'jdbc-user',
value: '',
required: true
},
{
key: 'jdbc-password',
value: '',
required: true
}
]
},
Expand Down Expand Up @@ -346,6 +313,39 @@ export const providers = [
required: true
}
]
},
{
label: 'PostgreSQL',
value: 'jdbc-postgresql',
defaultProps: [
{
key: 'jdbc-driver',
value: '',
required: true,
description: 'e.g. org.postgresql.Driver'
},
{
key: 'jdbc-url',
value: '',
required: true,
description: 'e.g. jdbc:postgresql://localhost:5432/your_database'
},
{
key: 'jdbc-user',
value: '',
required: true
},
{
key: 'jdbc-password',
value: '',
required: true
},
{
key: 'jdbc-database',
value: '',
required: true
}
]
}
]

Expand Down

0 comments on commit 23a75c3

Please sign in to comment.