* composition is the basic building block for ActorTestKit
* ActorTestKitWordSpec for integration with ScalaTest
(automatic shutdown)
* Use ActorTestKitWordSpec in our own tests
* doc TestException
* All nesting behaviors covered with an id parameter
* All wrapping behaviors except supervision replaced with new Intercept implementation
* Implement widen in terms of BehaviorInterceptor
* pass ctx to avoid allocation
* Separate out Effects and ChainedEffects in typed persistence
* Document order of execution for ChainedEffects
* Change stop to a just a ChainedEffect rather than both
Closes#25042Closes#25041
* ChainedEffect renamed to SideEffect
* The TimerMsg was wrapped in IncomingCommand and therefore stashed,
and when unstashed causing the ClassCastException
* Solved by not using timers here but plain scheduler
* Also fixing journalPluginId and snapshotPluginId
* Rather than stop so that users can add their own supervision e.g.
restartWithBackOff
* Only allow back off supervisoir for persistent behaviors
* Handle persist rejections
* Composable javadsl CommandHandlerBuilder, #25226
* CommandHandlerBuilder with stateClass and statePredicate parameters
* CommandHandlerBuilder.orElse
* Remove ActorContext from handler function signatures, can be
passed in constructor
* for completeness, since we have one for CommandHandler, and sometimes
it might be useful with the shorter type signature
* use the explicit function type for CommandHandler in API signatures,
because it's easier to see what it actually is
* Documented wrapping PersistentBehavior in typed actors persistence documentation #24679
* Removed "Current Limitations" section
* Added description on wrapping PersistentBehavior
* Added Scala and Java example for the pattern
* updated persistence docs for the hinted changes
* added missing "the" as requested in the hint
* No ClassTag needed for MDC and factory method updates #24684, #24664
* Lightweight way to do MDC: Logger.withMdc #24684
* Some MDC complications adressed
* Typed persistence MDC usage updated
timeout is explicitly a message of Command
persitAll and chainable side effects work well
more tests pasing
additional sanity check that mutable behaviors work as expected
unstashing needs to "loop through" the AdapterActor otherwise Stopped
won't work
solve unstashing/stop issue, by not randomly init()ing, but unstashing
snapshotting works
all tests green
rebased
nicer log source
remove IncomingCommand wrapper, we dont need it
no need for shared counter
remove not needed methods and state
more state cleanup, using Behaviors.same
reminder that we DO need that same alias, since stash does not work with
the Behavior.same
introduce config for stash buffer
stopping now works after persisting
compile fix
cleanup
reduced number of adapter styles needed for co-existence of persistence
final cleanup done, less passing around 40 objects, carriers provided
now
* Java specific testkit
* Separate all the APIs
* Dilate the default timeouts
* TestKit -> ActorTestKit to be consistent with BehaviorTestKit
* Only have stuff in packages expected for this module
* Auto testkit-system-naming that works (verified)
* Separate actually working apis for manual timer
* More docs
* Separate apis for BehaviorTestKit effects
* Moved the example tests into the testkit, added samples for JUnit/ScalaTest
* TestKitJunitResource: No need to explicitly provide class, also overload for just custom config
* Basic working java api
* Most of the compile only spec in java
* Bits and bobs
* Abstract class for java dsl
* Move to using an abstract class for java dsl
* Wip, playing with not needed classes
* Docs ported to java and removal of the class objects
* java docs for recovery and tagging