Repository navigation
dbeaver/pro#12090 Unify remote service contracts and registration naming - #55
Conversation
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 952f8af322
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. 👍 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Closes dbeaver/pro#12090
Summary
Send the suggested desktop Dam name with registration instead of making post-connect naming requests. Unify WebSocket service contracts and exceptions in a shared API base, and remove the redundant session-listener API.
Architecture
com.dbeaver.datadam.api.baseMaven/OSGi module exportsDDRemoteServiceandDDExceptionRemote extends DBException.DDRemoteService.DDRemoteDamException,DDMcpFunctionException, andDDShareExceptionextendDDExceptionRemote, preserving their constructors and MCP error codes. REST-only services remain unchanged.suggestedNamein the hello request uses existing name normalization and limits. No name-change notification or extra request is introduced.DDRemoteDamChannelretainsobserveState()for lifecycle observation;DDRemoteDamSessionListenerand its registration method are removed. Message subscriptions are unchanged.flowchart LR R["Remote DAM API (changed)"] -->|"new dependency/re-export"| B["API Base (new)"] M["MCP API (changed)"] -->|"new dependency/re-export"| B S["Share API (changed)"] -->|"new dependency/re-export"| B B -->|"existing utility types"| U["org.jkiss.utils / DBException (unchanged)"] H["Hello request (changed)"] -->|"optional suggestedName (new field)"| P["Protocol codec (changed)"] P -->|"existing registration path"| D["Server persistence (companion)"]Entities and relationships
No domain entities, database schemas, or persisted relationships change. Missing/null suggestions are allowed; the six-argument hello constructor supplies no suggestion. Existing Account rename contracts are unchanged.
Validation
237 tests passed across the base, Remote DAM/messaging, MCP, and Share API modules in the final clean aggregate reactor, including service/exception base contracts, registration names, and request/reply/RPC adapters.
Dependencies
Consumers: dbeaver/datadam#307 and dbeaver/dbeaver#43169. Merge the API before its consumers; the removed session-listener API requires the companion migrations.
AI-assisted implementation and description (OpenAI Codex).