Skip to content
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
4 changes: 4 additions & 0 deletions apis/com.dbeaver.datadam.dam.remote.api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ Wire control types remain
application messages additionally have `topic`. Application messages may use any nonblank type, including the control
type names.

If registration of a new Dam exceeds the account limit, the server closes the connection before `ready` with
WebSocket code `4409` (`REGISTRATION_LIMIT_EXCEEDED`) and a displayable reason. Clients should not automatically
retry this rejection. Other close codes retain their existing behavior.

`DDRemoteDamMessage` takes defensive payload snapshots.

`workspaceId` is required and must be a nonblank string of at most 256 UTF-16 units. Missing, null, blank, non-string,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public final class DDRemoteDamProtocol {
public static final String TYPE_HANDSHAKE_REQUEST = "hello";
public static final String TYPE_HANDSHAKE_RESPONSE = "ready";
public static final String TYPE_AUTHENTICATION_REQUEST = "authenticate";
public static final int REGISTRATION_LIMIT_EXCEEDED = 4409;

private static final String FIELD_TOPIC = "topic";
private static final String FIELD_TYPE = "type";
Expand Down
Loading