Merged
Conversation
added 22 commits
October 14, 2025 15:00
… settings Introduce `spring-setting-core` module including: - Reactive `SettingService` and `SettingRepository` implementations. - `InjectSetting` annotation and `InjectSettingAspect` for AOP-based setting injection. - Serialization/deserialization utilities (`SettingReader`, `SettingWriter`) with Jackson integration. - In-memory and composite repositories for settings. - Spring Boot auto-configuration for core components. - Gradle build setup, static analysis, and tests to ensure module functionality.
…ing repository Introduce `CaffeineSettingRepository` implementing `SettingRepository` with a reactive, non-blocking API using Caffeine for in-memory caching. Add `MemorySettingProperties` for configurable cache properties and `MemorySettingAutoConfiguration` for Spring Boot auto-configuration.
Introduce build configuration, dependencies, plugins, and Maven publishing details for the `spring-setting-memory` module. Include Spotless and Detekt for code formatting and static analysis.
…ing repository Introduce `MongoSettingRepository` implementing `SettingRepository` with reactive MongoDB support. Add `MongoSettingDocument` entity, `MongoSettingAutoConfiguration` for Spring Boot auto-configuration, and Gradle build setup. Include Spotless and Detekt for static analysis and formatting.
…repository Introduce `RedisSettingRepository` implementing `SettingRepository` with reactive Redis support. Add `RedisSettingProperties` for configurable key prefix and TTL, `RedisSettingAutoConfiguration` for Spring Boot auto-configuration, and Gradle build setup. Include Spotless and Detekt for static analysis and formatting.
…ide dependency management Introduce consistent dependency version management using `libs.versions.toml`. Add versions for Kotlin, Spring Framework, Reactor, Jackson, and other libraries. Update project structure, Gradle build, and remove `spring-setting-demo` from settings.gradle.kts. Include comprehensive README documentation for setup and usage.
…s across Redis and MongoDB modules
…RedisSettingProperties` Tidy up by eliminating `ObjectMapper` from `RedisSettingAutoConfiguration` and introducing a constant for the default TTL value in `RedisSettingProperties`.
…ng-core` Introduce `fluxWithLoadSetting` and `monoWithLoadSetting` extension functions to simplify reactive setting retrieval and usage with `SettingService`.
Introduce `MongoSettingProperties` with `collectionName` and `typeAlias` fields for dynamic configuration. Update `MongoSettingDocument` to utilize these properties through Spring's environment support. Enable properties in `MongoSettingAutoConfiguration`.
Include `spring-configuration-metadata.json` and `additional-spring-configuration-metadata.json` files to provide metadata support for configurable properties across the `spring-setting-redis`, `spring-setting-mongodb`, and `spring-setting-memory` modules.
…n dependencies for MongoDB and Redis
…Redis auto-configuration
…g` properties Introduce `SettingProperties` class to manage `spring.setting` configuration. Add `spring-configuration-metadata.json` and `additional-spring-configuration-metadata.json` for metadata support.
… auto-configuration for `SettingProperties` support
…ency across implementations. Update documentation and MongoDB save logic.
…ch the new version.
…ettings for simplification.
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.
No description provided.