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
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.
*/
Comment thread
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.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
) {
Comment thread
Copilot marked this conversation as resolved.
}
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.
*/
Comment thread
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
) {
Comment thread
Copilot marked this conversation as resolved.
}
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.
*/
Comment thread
Copilot marked this conversation as resolved.
package com.dbeaver.datadam.share.api.model;

public enum DDConfigurationPartKind {
ACCOUNT,
PROJECT
}
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.
*/
Comment thread
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
) {
Comment thread
Copilot marked this conversation as resolved.
}
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.
*/
Comment thread
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
) {
Comment thread
Copilot marked this conversation as resolved.
}
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.
*/
Comment thread
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
) {
}
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.
*/
Comment thread
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
) {
}
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.
*/
Comment thread
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
) {
}
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.
*/
Comment thread
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
) {
}
Loading