All checks were successful
Build and Publish / build-release (push) Successful in 4m46s
16 lines
387 B
Elixir
16 lines
387 B
Elixir
defmodule ProviderService.Application do
|
|
use Application
|
|
|
|
def start(_type, _args) do
|
|
children = [
|
|
ProviderService.Repo,
|
|
ProviderService.CommandedApp,
|
|
ProviderService.Projections.ProviderProjection,
|
|
ProviderServiceWeb.Endpoint
|
|
]
|
|
|
|
opts = [strategy: :one_for_one, name: ProviderService.Supervisor]
|
|
Supervisor.start_link(children, opts)
|
|
end
|
|
end
|