Skip to content

dbeaver/pro#9612 api for connection types#4426

Open
yagudin10 wants to merge 5 commits into
develfrom
9612-api-for-connection-types
Open

dbeaver/pro#9612 api for connection types#4426
yagudin10 wants to merge 5 commits into
develfrom
9612-api-for-connection-types

Conversation

@yagudin10

Copy link
Copy Markdown
Member

No description provided.

@yagudin10 yagudin10 requested a review from serge-rider June 24, 2026 16:32
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@Override
public List<DBPConnectionType> getConnectionTypes(@NotNull WebSession webSession, @Nullable String id) {
return DataSourceProviderRegistry.getInstance().getConnectionTypes().stream()
.map(ct -> id == null || id.equals(ct.getId()) ? ct : null)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use just filter instead of map + filter

"Color of the connection type (for light theme)"
color: String!
"Alternative color of the connection type (for dark theme)"
alternativeColor: String

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets add other boolean ct parameters here too (autocommit, confirmExecute, etc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants