wip
Some checks are pending
Build and Publish / build-release (push) Waiting to run

This commit is contained in:
2026-04-13 15:30:31 -05:00
parent a52f049a29
commit 5037bc3632
44 changed files with 2210 additions and 676 deletions

View File

@@ -0,0 +1,15 @@
defmodule PolicyService.Handlers.SolicitationRequestHandler do
use Commanded.Event.Handler,
application: PolicyService.CommandedApp,
name: "SolicitationRequestHandler"
require Logger
alias PolicyService.Events.Policy.QuoteAccepted
alias PolicyService.MessageBus
def handle(%QuoteAccepted{} = event, _metadata) do
MessageBus.publish("quote.accepted", event)
:ok
end
end