-
Notifications
You must be signed in to change notification settings - Fork 0
dbeaver/pro#10296 Add gateway protocol API module #1
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
Merged
alexander-skoblikov
merged 4 commits into
devel
from
dbeaver/pro#10296-Configuration-ofproject-share
Sep 9, 2026
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
a824b3a
dbeaver/pro#10296 Add gateway protocol API module
vkirst 0b9cbb1
Merge remote-tracking branch 'origin/devel' into dbeaver/pro#10296-Co…
vkirst 7b5159b
dbeaver/pro#10296 Move configuration API into share.api
vkirst 5b63baa
dbeaver/pro#10296 Use UUID and LocalDateTime in configuration API model
vkirst File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
....datadam.share.api/src/main/java/com/dbeaver/datadam/share/api/model/DDConfiguration.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| /* | ||
| * DBeaver - Universal Database Manager | ||
| * Copyright (C) 2010-2026 DBeaver Corp | ||
| * | ||
| * All Rights Reserved. | ||
| * | ||
| * NOTICE: All information contained herein is, and remains | ||
| * the property of DBeaver Corp and its suppliers, if any. | ||
| * The intellectual and technical concepts contained | ||
| * herein are proprietary to DBeaver Corp and its suppliers | ||
| * and may be covered by U.S. and Foreign Patents, | ||
| * patents in process, and are protected by trade secret or copyright law. | ||
| * Dissemination of this information or reproduction of this material | ||
| * is strictly forbidden unless prior written permission is obtained | ||
| * from DBeaver Corp. | ||
| */ | ||
| package com.dbeaver.datadam.share.api.model; | ||
|
|
||
| import org.jkiss.code.NotNull; | ||
| import org.jkiss.code.Nullable; | ||
|
|
||
| import java.time.LocalDateTime; | ||
| import java.util.List; | ||
| import java.util.UUID; | ||
|
|
||
| public record DDConfiguration( | ||
| @NotNull UUID configurationId, | ||
| @NotNull String name, | ||
| long version, | ||
| @NotNull LocalDateTime createTime, | ||
| @Nullable LocalDateTime lastSyncTime, | ||
| @NotNull List<DDConfigurationPart> parts | ||
| ) { | ||
|
Copilot marked this conversation as resolved.
|
||
| } | ||
31 changes: 31 additions & 0 deletions
31
...adam.share.api/src/main/java/com/dbeaver/datadam/share/api/model/DDConfigurationPart.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| /* | ||
| * DBeaver - Universal Database Manager | ||
| * Copyright (C) 2010-2026 DBeaver Corp | ||
| * | ||
| * All Rights Reserved. | ||
| * | ||
| * NOTICE: All information contained herein is, and remains | ||
| * the property of DBeaver Corp and its suppliers, if any. | ||
| * The intellectual and technical concepts contained | ||
| * herein are proprietary to DBeaver Corp and its suppliers | ||
| * and may be covered by U.S. and Foreign Patents, | ||
| * patents in process, and are protected by trade secret or copyright law. | ||
| * Dissemination of this information or reproduction of this material | ||
| * is strictly forbidden unless prior written permission is obtained | ||
| * from DBeaver Corp. | ||
| */ | ||
|
Copilot marked this conversation as resolved.
|
||
| package com.dbeaver.datadam.share.api.model; | ||
|
|
||
| import org.jkiss.code.NotNull; | ||
| import org.jkiss.code.Nullable; | ||
|
|
||
| import java.util.UUID; | ||
|
|
||
| public record DDConfigurationPart( | ||
| @NotNull String key, | ||
| @NotNull DDConfigurationPartKind kind, | ||
| @Nullable UUID projectId, | ||
| long version, | ||
| @NotNull String encryptedValue | ||
| ) { | ||
|
Copilot marked this conversation as resolved.
|
||
| } | ||
22 changes: 22 additions & 0 deletions
22
....share.api/src/main/java/com/dbeaver/datadam/share/api/model/DDConfigurationPartKind.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| /* | ||
| * DBeaver - Universal Database Manager | ||
| * Copyright (C) 2010-2026 DBeaver Corp | ||
| * | ||
| * All Rights Reserved. | ||
| * | ||
| * NOTICE: All information contained herein is, and remains | ||
| * the property of DBeaver Corp and its suppliers, if any. | ||
| * The intellectual and technical concepts contained | ||
| * herein are proprietary to DBeaver Corp and its suppliers | ||
| * and may be covered by U.S. and Foreign Patents, | ||
| * patents in process, and are protected by trade secret or copyright law. | ||
| * Dissemination of this information or reproduction of this material | ||
| * is strictly forbidden unless prior written permission is obtained | ||
| * from DBeaver Corp. | ||
| */ | ||
|
Copilot marked this conversation as resolved.
|
||
| package com.dbeaver.datadam.share.api.model; | ||
|
|
||
| public enum DDConfigurationPartKind { | ||
| ACCOUNT, | ||
| PROJECT | ||
| } | ||
32 changes: 32 additions & 0 deletions
32
...m.share.api/src/main/java/com/dbeaver/datadam/share/api/model/DDConfigurationSummary.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| /* | ||
| * DBeaver - Universal Database Manager | ||
| * Copyright (C) 2010-2026 DBeaver Corp | ||
| * | ||
| * All Rights Reserved. | ||
| * | ||
| * NOTICE: All information contained herein is, and remains | ||
| * the property of DBeaver Corp and its suppliers, if any. | ||
| * The intellectual and technical concepts contained | ||
| * herein are proprietary to DBeaver Corp and its suppliers | ||
| * and may be covered by U.S. and Foreign Patents, | ||
| * patents in process, and are protected by trade secret or copyright law. | ||
| * Dissemination of this information or reproduction of this material | ||
| * is strictly forbidden unless prior written permission is obtained | ||
| * from DBeaver Corp. | ||
| */ | ||
|
Copilot marked this conversation as resolved.
|
||
| package com.dbeaver.datadam.share.api.model; | ||
|
|
||
| import org.jkiss.code.NotNull; | ||
| import org.jkiss.code.Nullable; | ||
|
|
||
| import java.time.LocalDateTime; | ||
| import java.util.UUID; | ||
|
|
||
| public record DDConfigurationSummary( | ||
| @NotNull UUID configurationId, | ||
| @NotNull String name, | ||
| long version, | ||
| @NotNull LocalDateTime createTime, | ||
| @Nullable LocalDateTime lastSyncTime | ||
| ) { | ||
|
Copilot marked this conversation as resolved.
|
||
| } | ||
30 changes: 30 additions & 0 deletions
30
...i/src/main/java/com/dbeaver/datadam/share/api/model/DDCreateConfigurationPartRequest.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| /* | ||
| * DBeaver - Universal Database Manager | ||
| * Copyright (C) 2010-2026 DBeaver Corp | ||
| * | ||
| * All Rights Reserved. | ||
| * | ||
| * NOTICE: All information contained herein is, and remains | ||
| * the property of DBeaver Corp and its suppliers, if any. | ||
| * The intellectual and technical concepts contained | ||
| * herein are proprietary to DBeaver Corp and its suppliers | ||
| * and may be covered by U.S. and Foreign Patents, | ||
| * patents in process, and are protected by trade secret or copyright law. | ||
| * Dissemination of this information or reproduction of this material | ||
| * is strictly forbidden unless prior written permission is obtained | ||
| * from DBeaver Corp. | ||
| */ | ||
|
Copilot marked this conversation as resolved.
|
||
| package com.dbeaver.datadam.share.api.model; | ||
|
|
||
| import org.jkiss.code.NotNull; | ||
| import org.jkiss.code.Nullable; | ||
|
|
||
| import java.util.UUID; | ||
|
|
||
| public record DDCreateConfigurationPartRequest( | ||
| @NotNull String key, | ||
| @NotNull DDConfigurationPartKind kind, | ||
| @Nullable UUID projectId, | ||
| @NotNull String encryptedValue | ||
| ) { | ||
|
Copilot marked this conversation as resolved.
|
||
| } | ||
27 changes: 27 additions & 0 deletions
27
...e.api/src/main/java/com/dbeaver/datadam/share/api/model/DDCreateConfigurationRequest.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| /* | ||
| * DBeaver - Universal Database Manager | ||
| * Copyright (C) 2010-2026 DBeaver Corp | ||
| * | ||
| * All Rights Reserved. | ||
| * | ||
| * NOTICE: All information contained herein is, and remains | ||
| * the property of DBeaver Corp and its suppliers, if any. | ||
| * The intellectual and technical concepts contained | ||
| * herein are proprietary to DBeaver Corp and its suppliers | ||
| * and may be covered by U.S. and Foreign Patents, | ||
| * patents in process, and are protected by trade secret or copyright law. | ||
| * Dissemination of this information or reproduction of this material | ||
| * is strictly forbidden unless prior written permission is obtained | ||
| * from DBeaver Corp. | ||
| */ | ||
|
Copilot marked this conversation as resolved.
|
||
| package com.dbeaver.datadam.share.api.model; | ||
|
|
||
| import org.jkiss.code.NotNull; | ||
|
|
||
| import java.util.List; | ||
|
|
||
| public record DDCreateConfigurationRequest( | ||
| @NotNull String name, | ||
| @NotNull List<DDCreateConfigurationPartRequest> parts | ||
| ) { | ||
| } | ||
26 changes: 26 additions & 0 deletions
26
...i/src/main/java/com/dbeaver/datadam/share/api/model/DDUpdateConfigurationPartRequest.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| /* | ||
| * DBeaver - Universal Database Manager | ||
| * Copyright (C) 2010-2026 DBeaver Corp | ||
| * | ||
| * All Rights Reserved. | ||
| * | ||
| * NOTICE: All information contained herein is, and remains | ||
| * the property of DBeaver Corp and its suppliers, if any. | ||
| * The intellectual and technical concepts contained | ||
| * herein are proprietary to DBeaver Corp and its suppliers | ||
| * and may be covered by U.S. and Foreign Patents, | ||
| * patents in process, and are protected by trade secret or copyright law. | ||
| * Dissemination of this information or reproduction of this material | ||
| * is strictly forbidden unless prior written permission is obtained | ||
| * from DBeaver Corp. | ||
| */ | ||
|
Copilot marked this conversation as resolved.
|
||
| package com.dbeaver.datadam.share.api.model; | ||
|
|
||
| import org.jkiss.code.NotNull; | ||
|
|
||
| public record DDUpdateConfigurationPartRequest( | ||
| @NotNull String key, | ||
| long expectedVersion, | ||
| @NotNull String encryptedValue | ||
| ) { | ||
| } | ||
27 changes: 27 additions & 0 deletions
27
...e.api/src/main/java/com/dbeaver/datadam/share/api/model/DDUpdateConfigurationRequest.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| /* | ||
| * DBeaver - Universal Database Manager | ||
| * Copyright (C) 2010-2026 DBeaver Corp | ||
| * | ||
| * All Rights Reserved. | ||
| * | ||
| * NOTICE: All information contained herein is, and remains | ||
| * the property of DBeaver Corp and its suppliers, if any. | ||
| * The intellectual and technical concepts contained | ||
| * herein are proprietary to DBeaver Corp and its suppliers | ||
| * and may be covered by U.S. and Foreign Patents, | ||
| * patents in process, and are protected by trade secret or copyright law. | ||
| * Dissemination of this information or reproduction of this material | ||
| * is strictly forbidden unless prior written permission is obtained | ||
| * from DBeaver Corp. | ||
| */ | ||
|
Copilot marked this conversation as resolved.
|
||
| package com.dbeaver.datadam.share.api.model; | ||
|
|
||
| import org.jkiss.code.NotNull; | ||
|
|
||
| import java.util.List; | ||
|
|
||
| public record DDUpdateConfigurationRequest( | ||
| long expectedConfigurationVersion, | ||
| @NotNull List<DDUpdateConfigurationPartRequest> parts | ||
| ) { | ||
| } | ||
27 changes: 27 additions & 0 deletions
27
...re.api/src/main/java/com/dbeaver/datadam/share/api/model/DDUpdateConfigurationResult.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| /* | ||
| * DBeaver - Universal Database Manager | ||
| * Copyright (C) 2010-2026 DBeaver Corp | ||
| * | ||
| * All Rights Reserved. | ||
| * | ||
| * NOTICE: All information contained herein is, and remains | ||
| * the property of DBeaver Corp and its suppliers, if any. | ||
| * The intellectual and technical concepts contained | ||
| * herein are proprietary to DBeaver Corp and its suppliers | ||
| * and may be covered by U.S. and Foreign Patents, | ||
| * patents in process, and are protected by trade secret or copyright law. | ||
| * Dissemination of this information or reproduction of this material | ||
| * is strictly forbidden unless prior written permission is obtained | ||
| * from DBeaver Corp. | ||
| */ | ||
|
Copilot marked this conversation as resolved.
|
||
| package com.dbeaver.datadam.share.api.model; | ||
|
|
||
| import org.jkiss.code.NotNull; | ||
|
|
||
| import java.util.List; | ||
|
|
||
| public record DDUpdateConfigurationResult( | ||
| @NotNull DDConfiguration configuration, | ||
| @NotNull List<String> conflictingKeys | ||
| ) { | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.