Repository navigation
feat: Default DaprContainer settings for Spring Boot apps - #1842
Merged
javier-aliaga merged 1 commit intoOct 20, 2026
Merged
javier-aliaga merged 1 commit into
javier-aliaga merged 1 commit into
Conversation
matheusandre1
force-pushed
the
feat/dapr-container-spring-boot-defaults
branch
5 times, most recently
from
October 16, 2026 14:21
7b5331d to
2db5584
Compare
matheusandre1
marked this pull request as ready for review
October 16, 2026 14:50
javier-aliaga
requested changes
Oct 19, 2026
Signed-off-by: Matheus André <matheusandr2@gmail.com>
matheusandre1
force-pushed
the
feat/dapr-container-spring-boot-defaults
branch
from
October 19, 2026 19:50
2db5584 to
6d93833
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1842 +/- ##
============================================
+ Coverage 79.73% 79.79% +0.06%
- Complexity 2693 2720 +27
============================================
Files 268 271 +3
Lines 7948 8007 +59
Branches 844 853 +9
============================================
+ Hits 6337 6389 +52
- Misses 1255 1262 +7
Partials 356 356 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
javier-aliaga
approved these changes
Oct 20, 2026
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.
Description
Reduces the configuration needed to use
DaprContainerin tests (#1583).Default actor state store: the in-memory
kvstorecreated when no components are added now setsactorStateStore=true, so actors and workflows work out of the box.Spring Boot defaults: a new auto-configuration in
dapr-spring-boot-testscustomizes the@ServiceConnectionDaprContainerwhen the app runs an embedded web server on a fixed port:appPortdefaults toserver.port(8080 if unset);appChannelAddressdefaults tohost.testcontainers.internaland the port is exposed to containers;appHealthCheckPathdefaults to<actuator base-path>/healthwhen actuator is on the classpath and served on the app port.Explicitly set values are never overridden. Random ports (
server.port=0) and non-web contexts are skipped. It can be disabled withdapr.testcontainers.app-defaults.enabled=false.Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Closes: #1583
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: