Skip to content

Add DynamoDB Enhanced StarDAO module (#1)#16

Open
DaltonWorsnup wants to merge 2 commits into
stardogventures:masterfrom
DaltonWorsnup:master
Open

Add DynamoDB Enhanced StarDAO module (#1)#16
DaltonWorsnup wants to merge 2 commits into
stardogventures:masterfrom
DaltonWorsnup:master

Conversation

@DaltonWorsnup

@DaltonWorsnup DaltonWorsnup commented Jun 3, 2026

Copy link
Copy Markdown

This pull request makes several important updates to the build configuration and annotation processor code, focusing on modernizing dependencies, improving compatibility, and cleaning up code. The main themes are build system modernization, annotation processor improvements, and dependency updates.

Build System Modernization:

  • Updated the Java source and target compatibility to version 21 in pom.xml and stardao-auto/pom.xml, and upgraded the Kotlin version to 1.9.24 for better language feature support and compatibility. [1] [2] [3]
  • Added the new stardao-dynamodb-enhanced module to the project build.
  • Upgraded several Maven plugin versions, including maven-compiler-plugin, maven-surefire-plugin, jacoco-maven-plugin, nexus-staging-maven-plugin, maven-source-plugin, and maven-gpg-plugin, to improve build reliability and compatibility. [1] [2] [3] [4]

Annotation Processor Improvements:

  • Refactored the Java annotation processor (AutoPartialProcessor.java) to use this. for member accesses, modernized Java syntax (e.g., using pattern matching in instanceof), improved resource management with try-with-resources, and made minor logic improvements for clarity and correctness. [1] [2] [3] [4] [5] [6] [7] [8] [9]
  • Improved the Kotlin annotation processor (DataPartialProcessor.kt) by updating deprecated APIs (e.g., using lowercase(Locale) instead of toLowerCase()), cleaning up imports, and adding a utility method for type element retrieval. [1] [2] [3] [4]

Dependency and Configuration Updates:

  • Updated URLs in pom.xml to use HTTPS for improved security. [1] [2]
  • Fixed and clarified source directory configuration in the Kotlin build setup. [1] [2]

These changes collectively modernize the codebase, improve developer experience, and ensure compatibility with the latest Java and Kotlin standards.* Add stardao-dynamodb-enhanced module with enhanced DynamoDB support, including attribute mappers, Jackson integration, parity tests, and local DynamoDB server setup.

  • Update plugin versions in pom.xml (Jacoco and Surefire) and move Maven compiler target to Java 21.
  • Use this for member variable access in tests for better clarity.
  • Replace exception declarations with cleaner method signatures.
  • Enhance tests with additional validations (e.g., use assertNotNull for certain fields).
  • Fix incorrect assumptions in pagination tests.
  • Remove unused Logger imports and replace raw <Class> usage with <Class<?>> for better type safety.
  • Update Maven plugin and Kotlin versions in pom.xml for compatibility and enhancements

DaltonWorsnup and others added 2 commits June 3, 2026 12:47
* Add `stardao-dynamodb-enhanced` module with enhanced DynamoDB support, including attribute mappers, Jackson integration, parity tests, and local DynamoDB server setup.
* Update plugin versions in `pom.xml` (Jacoco and Surefire) and move Maven compiler target to Java 21.
* Use `this` for member variable access in tests for better clarity.
* Replace exception declarations with cleaner method signatures.
* Enhance tests with additional validations (e.g., use `assertNotNull` for certain fields).
* Fix incorrect assumptions in pagination tests.
* Remove unused `Logger` imports and replace raw `<Class>` usage with `<Class<?>>` for better type safety.
* Update Maven plugin and Kotlin versions in `pom.xml` for compatibility and enhancements
…performance by replacing JSON-string round-trips with TokenBuffer-based mapping. Include comprehensive equivalence tests.
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.

1 participant