Skip to content

Commit

Permalink
[apache#5270] subtask(web): Support OceanBase-CE JDBC catalog on the …
Browse files Browse the repository at this point in the history
…Web UI
  • Loading branch information
LauraXia123 authored and mchades committed Oct 29, 2024
1 parent 4ca3aed commit b104632
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 1 deletion.
2 changes: 2 additions & 0 deletions web/web/src/app/metalakes/metalake/MetalakeTree.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ const MetalakeTree = props => {
return 'custom-icons-paimon'
case 'lakehouse-hudi':
return 'custom-icons-hudi'
case 'oceanbase':
return 'custom-icons-oceanbase'
default:
return 'bx:book'
}
Expand Down
5 changes: 5 additions & 0 deletions web/web/src/lib/icons/iconify-icons.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions web/web/src/lib/icons/svg/oceanbase.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 29 additions & 1 deletion web/web/src/lib/utils/initial.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,5 +308,33 @@ export const providers = [
description: 'Apache Hudi catalog uri config'
}
]
}
},
{
label: 'OceanBase',
value: 'oceanbase',
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
}
]
},
]

0 comments on commit b104632

Please sign in to comment.