Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#5270] UI(oceanbase-catalog): Support OceanBase-CE JDBC catalog on the Web UI #5334

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 'jdbc-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.
28 changes: 28 additions & 0 deletions 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: 'jdbc-oceanbase',
defaultProps: [
{
key: 'jdbc-driver',
value: '',
required: true,
description: 'e.g. com.mysql.jdbc.Driver or com.mysql.cj.jdbc.Driver or com.oceanbase.jdbc.Driver'
},
{
key: 'jdbc-url',
value: '',
required: true,
description: 'e.g. jdbc:mysql://localhost:2881 or jdbc:oceanbase://localhost:2881'
},
{
key: 'jdbc-user',
value: '',
required: true
},
{
key: 'jdbc-password',
value: '',
required: true
}
]
}
]
Loading