Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Ahoo-Wang/Wow
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.28.0
Choose a base ref
...
head repository: Ahoo-Wang/Wow
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.0.0
Choose a head ref
  • 17 commits
  • 30 files changed
  • 2 contributors

Commits on Jul 31, 2025

  1. refactor(command): enrich CommandResult with FunctionInfo and Aggrega…

    …teId
    
    - Add FunctionInfoData and AggregateId to CommandResult
    - Update related tests and components to accommodate new fields
    - Adjust WaitSignal to include AggregateId
    - Refactor CommandGateway to use new CommandResult structure
    
    Signed-off-by: Ahoo Wang <ahoowang@qq.com>
    Ahoo-Wang committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    1badd91 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fbe8203 View commit details
    Browse the repository at this point in the history
  3. refactor(command): optimize CommandGateway and CommandResult

    - Extract COMMAND_GATEWAY_FUNCTION as a constant
    - Update CommandMessage to use COMMAND_GATEWAY_FUNCTION instead of commandGatewayFunction()
    - Modify CommandResult to use COMMAND_GATEWAY_FUNCTION by default
    - Update tests to reflect the changes
    
    Signed-off-by: Ahoo Wang <ahoowang@qq.com>
    Ahoo-Wang committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    b63fa60 View commit details
    Browse the repository at this point in the history
  4. refactor(eventsourcing): standardize snapshot function information

    - Extract SNAPSHOT_FUNCTION as a constant
    - Update contextName and processorName in AggregateSnapshotDispatcher
    - Modify EventCompensateHandlerFunctionTest to use SNAPSHOT_FUNCTION constant
    - Remove snapshotFunction() from NamedAggregate
    
    Signed-off-by: Ahoo Wang <ahoowang@qq.com>
    Ahoo-Wang committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    f1b2634 View commit details
    Browse the repository at this point in the history
  5. build: update project version to 6.0.0

    - Increment major version from 5 to 6
    
    Signed-off-by: Ahoo Wang <ahoowang@qq.com>
    Ahoo-Wang committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    889e592 View commit details
    Browse the repository at this point in the history
  6. fix(wow-core): handle waiting for signal logic

    - Update copyResult logic to properly handle waitingForSignal case
    - Improve null safety by using elvis operator to return last signal's result
    
    Signed-off-by: Ahoo Wang <ahoowang@qq.com>
    Ahoo-Wang committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    f917ccf View commit details
    Browse the repository at this point in the history
  7. test(wow-schema): update OpenAPISchemaBuilderTest for SimpleWaitSigna…

    …l schema
    
    - Adjust the expected size of componentsSchemas from 6 to7 in the unit test
    
    Signed-off-by: Ahoo Wang <ahoowang@qq.com>
    Ahoo-Wang committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    c3cc500 View commit details
    Browse the repository at this point in the history
  8. fix(modeling): correct function context name for simple command aggre…

    …gate
    
    - Update function context name to use Wow.WOW instead of metadata contextName
    - This change ensures consistent naming for function context across the system
    
    Signed-off-by: Ahoo Wang <ahoowang@qq.com>
    Ahoo-Wang committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    21b59bf View commit details
    Browse the repository at this point in the history
  9. refactor(wow-core): add documentation for WaitingForStage

    - Add class documentation for WaitingForStage
    - Improve code readability and maintainability
    
    Signed-off-by: Ahoo Wang <ahoowang@qq.com>
    Ahoo-Wang committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    6c84a7d View commit details
    Browse the repository at this point in the history
  10. feat(wow-core): add command size information to WaitSignal

    - Add getCommandSize() method to MonoCommandWaitNotifier
    - Update WaitSignal interface and SimpleWaitSignal class to include commandSize
    - This enhancement allows tracking the number of commands emitted by Saga
    
    Signed-off-by: Ahoo Wang <ahoowang@qq.com>
    Ahoo-Wang committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    e52aaf4 View commit details
    Browse the repository at this point in the history
  11. test(wow-core): enhance SagaHandledNotifierFilterTest with command st…

    …ream and waiting for stage
    
    - Add command stream and waiting for stage logic to the test
    - Use MockAggregateCreated event instead of mock
    - Propagate saga handled context
    - Verify command stream size
    
    Signed-off-by: Ahoo Wang <ahoowang@qq.com>
    Ahoo-Wang committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    3e81342 View commit details
    Browse the repository at this point in the history
  12. refactor(wow-api): enhance ErrorInfo with toDefault conversion and de…

    …fault errorMsg
    
    - Add toDefault() extension function to convert ErrorInfo to DefaultErrorInfo
    - Update create method to return DefaultErrorInfo instead of ErrorInfo
    - Set default empty string value for errorMsg in DefaultErrorInfo
    
    Signed-off-by: Ahoo Wang <ahoowang@qq.com>
    Ahoo-Wang committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    a35ea75 View commit details
    Browse the repository at this point in the history
  13. test(wow-tck): add subscribeOn to ensure concurrent execution

    - Added subscribeOn(Schedulers.parallel()) to the send(message) call in CommandGatewaySpec.kt
    - This change ensures that the message sending is executed concurrently, improving test reliability
    
    Signed-off-by: Ahoo Wang <ahoowang@qq.com>
    Ahoo-Wang committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    def926f View commit details
    Browse the repository at this point in the history
  14. test(wow-tck): remove verifyWaitStrategyDestroyed in command gateway …

    …tests
    
    - Removed the verifyWaitStrategyDestroyed function call from the CommandGatewaySpec test file
    - This change simplifies the test case and removes a potentially redundant check
    
    Signed-off-by: Ahoo Wang <ahoowang@qq.com>
    Ahoo-Wang committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    ea7ee1b View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    252d1c0 View commit details
    Browse the repository at this point in the history
  16. test(wow-tck): fix sendAndWaitThenNotify test case

    - Update test case name from 'sendAndWaitThenNotify' to 'sendThenNotify'
    - Add CountDownLatch to wait for the completion of onFinally block
    - Verify WaitStrategy is properly destroyed after notification
    
    Signed-off-by: Ahoo Wang <ahoowang@qq.com>
    Ahoo-Wang committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    70f9306 View commit details
    Browse the repository at this point in the history
  17. test(wow-tck): remove unnecessary await in CommandGatewaySpec

    - Remove thenAwait(Duration.ofMillis(10)) from two test cases
    - This change simplifies the tests by removing unnecessary delays
    
    Signed-off-by: Ahoo Wang <ahoowang@qq.com>
    Ahoo-Wang committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    1d66c07 View commit details
    Browse the repository at this point in the history
Loading