-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DEVEX-2418]: Helper is mandatory since 6.1.2 (#217)
* fix: remove Amqpx.SignalHandler from consumers_supervisor_configuration * chore: bump to 6.1.3 --------- Co-authored-by: Cristiano Piemontese <[email protected]>
- Loading branch information
1 parent
fd9cf72
commit f4f675a
Showing
6 changed files
with
60 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: backstage.io/v1alpha1 | ||
kind: Component | ||
spec: | ||
type: service | ||
lifecycle: production | ||
owner: team-developer-experience | ||
system: prima.it | ||
dependsOn: [] | ||
metadata: | ||
name: amqpx | ||
description: Elixir AMQP client | ||
tags: | ||
- elixir | ||
- rabbitmq | ||
links: [] | ||
# annotations: | ||
# backstage.io/techdocs-ref: dir:. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
defmodule Amqpx.Application do | ||
@moduledoc false | ||
use Application | ||
|
||
def start(_type, _args) do | ||
children = [ | ||
%{ | ||
id: Amqpx.SignalHandler, | ||
start: {Amqpx.SignalHandler, :start_link, []} | ||
} | ||
] | ||
|
||
opts = [strategy: :one_for_one, name: Amqpx.Supervisor] | ||
Supervisor.start_link(children, opts) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters