Skip to content

Dbeaver/pro#10606 data dam api for desktop - #2

Merged
serge-rider merged 14 commits into
develfrom
dbeaver/pro#10606-DataDam-api-for-desktop
Sep 9, 2026
Merged

Dbeaver/pro#10606 data dam api for desktop#2
serge-rider merged 14 commits into
develfrom
dbeaver/pro#10606-DataDam-api-for-desktop

Conversation

@SolovevAnton

Copy link
Copy Markdown
Contributor

closes dbeaver/pro#10606

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The new module uses eclipse-plugin packaging but configures maven-surefire-plugin, which risks tests not being executed (or being executed incorrectly) in a Tycho-based build.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR introduces a new com.dbeaver.datadam.share.api Eclipse plug-in module to the DataDam API set, adding a public Share/Project API surface (service interface + models) and a deterministic fingerprint/revision utility intended for desktop clients.

Changes:

  • Registers the new com.dbeaver.datadam.share.api module in the aggregated apis build.
  • Adds Share API public types (DDProjectService, project/config/revision/update models, and DDShareException).
  • Implements DDFingerprintUtils (SHA-256, versioned, length-delimited hashing) with JUnit 5 coverage.
File summaries
File Description
apis/pom.xml Adds the new Share API module to the multi-module build.
apis/com.dbeaver.datadam.share.api/pom.xml Declares the new Eclipse plug-in artifact and its test dependencies/build plugins.
apis/com.dbeaver.datadam.share.api/META-INF/MANIFEST.MF OSGi metadata exporting Share API packages.
apis/com.dbeaver.datadam.share.api/build.properties PDE build inputs/outputs for the new plug-in.
apis/com.dbeaver.datadam.share.api/src/main/java/com/dbeaver/datadam/share/api/service/DDProjectService.java Defines the Share API service contract for project CRUD and push/pull operations.
apis/com.dbeaver.datadam.share.api/src/main/java/com/dbeaver/datadam/share/api/model/DDProject*.java Adds project/config/file/revision/history/update-type public DTOs.
apis/com.dbeaver.datadam.share.api/src/main/java/com/dbeaver/datadam/share/api/exception/DDShareException.java Adds Share API checked exception type.
apis/com.dbeaver.datadam.share.api/src/main/java/com/dbeaver/datadam/share/api/utils/DDFingerprintUtils.java Adds stable, versioned fingerprint + revision hashing utility.
apis/com.dbeaver.datadam.share.api/src/test/java/com/dbeaver/datadam/share/api/utils/DDFingerprintUtilsTest.java Adds unit tests asserting stable fingerprint/revision format and behavior.
Review details
  • Files reviewed: 14/14 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread apis/com.dbeaver.datadam.share.api/pom.xml
@SolovevAnton
SolovevAnton requested a review from vkirst September 8, 2026 16:00
@serge-rider
serge-rider merged commit 077441c into devel Sep 9, 2026
3 checks passed
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.

3 participants