Add DynamoDB Enhanced StarDAO module (#1)#16
Open
DaltonWorsnup wants to merge 2 commits into
Open
Conversation
* 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.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
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:
pom.xmlandstardao-auto/pom.xml, and upgraded the Kotlin version to 1.9.24 for better language feature support and compatibility. [1] [2] [3]stardao-dynamodb-enhancedmodule to the project build.maven-compiler-plugin,maven-surefire-plugin,jacoco-maven-plugin,nexus-staging-maven-plugin,maven-source-plugin, andmaven-gpg-plugin, to improve build reliability and compatibility. [1] [2] [3] [4]Annotation Processor Improvements:
AutoPartialProcessor.java) to usethis.for member accesses, modernized Java syntax (e.g., using pattern matching ininstanceof), 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]DataPartialProcessor.kt) by updating deprecated APIs (e.g., usinglowercase(Locale)instead oftoLowerCase()), cleaning up imports, and adding a utility method for type element retrieval. [1] [2] [3] [4]Dependency and Configuration Updates:
pom.xmlto use HTTPS for improved security. [1] [2]These changes collectively modernize the codebase, improve developer experience, and ensure compatibility with the latest Java and Kotlin standards.* Add
stardao-dynamodb-enhancedmodule with enhanced DynamoDB support, including attribute mappers, Jackson integration, parity tests, and local DynamoDB server setup.pom.xml(Jacoco and Surefire) and move Maven compiler target to Java 21.thisfor member variable access in tests for better clarity.assertNotNullfor certain fields).Loggerimports and replace raw<Class>usage with<Class<?>>for better type safety.pom.xmlfor compatibility and enhancements