| 1 |
|
defmodule WalletIntegrations.Application do |
| 2 |
|
@moduledoc false |
| 3 |
|
use Application |
| 4 |
|
|
| 5 |
|
@impl true |
| 6 |
|
def start(_type, _args) do |
| 7 |
:-( |
children = [ |
| 8 |
|
WalletIntegrations.PaymentRequestStore, |
| 9 |
|
WalletIntegrations.CallbackStore, |
| 10 |
|
WalletIntegrations.InboxStore, |
| 11 |
|
WalletIntegrations.IntegrationExceptionStore, |
| 12 |
|
WalletIntegrations.CircuitBreaker, |
| 13 |
|
WalletIntegrations.JobQueue |
| 14 |
|
] |
| 15 |
|
|
| 16 |
:-( |
opts = [strategy: :one_for_one, name: WalletIntegrations.Supervisor] |
| 17 |
:-( |
Supervisor.start_link(children, opts) |
| 18 |
|
end |
| 19 |
|
end |