Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch: remove anclaHelper.go #559

Merged
merged 2 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions caduceus.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ import (
_ "github.com/goschtalt/yaml-decoder"
_ "github.com/goschtalt/yaml-encoder"
"github.com/xmidt-org/ancla"
"github.com/xmidt-org/ancla/anclafx"
"github.com/xmidt-org/arrange/arrangehttp"
anclahelper "github.com/xmidt-org/caduceus/internal/anclaHelper"
"github.com/xmidt-org/caduceus/internal/client"
"github.com/xmidt-org/caduceus/internal/handler"
"github.com/xmidt-org/caduceus/internal/metrics"
"github.com/xmidt-org/caduceus/internal/sink"
"github.com/xmidt-org/clortho/clorthofx"

"github.com/xmidt-org/candlelight"
"github.com/xmidt-org/sallust"
Expand Down Expand Up @@ -158,13 +159,11 @@ func Caduceus(arguments []string, run bool) error {
touchhttp.Provide(),
metrics.Provide(),
client.Provide(),
ancla.ProvideMetrics(),
ancla.ProvideListener(),
ancla.ProvideService(),
clorthofx.Provide(),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we'll need clortho in the near future for auth purposes

anclafx.Provide(),

fx.Invoke(
lifeCycle,
anclahelper.InitializeAncla,
),
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/prometheus/client_golang v1.19.1
github.com/satori/go.uuid v1.2.0
github.com/stretchr/testify v1.9.0
github.com/xmidt-org/ancla v0.3.13-0.20240829173225-b3ef5ded0677
github.com/xmidt-org/ancla v0.3.13-0.20241009144151-4779e9548d9e
github.com/xmidt-org/arrange v0.5.1-0.20230914215531-f02b8651b631
github.com/xmidt-org/bascule v0.11.7
github.com/xmidt-org/candlelight v0.0.21
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1660,8 +1660,8 @@ github.com/xdg-go/scram v1.1.1/go.mod h1:RaEWvsqvNKKvBPvcKeFjrG2cJqOkHTiyTpzz23n
github.com/xdg-go/stringprep v1.0.3/go.mod h1:W3f5j4i+9rC0kuIEJL0ky1VpHXQU3ocBgklLGvcBnW8=
github.com/xhit/go-str2duration v1.2.0/go.mod h1:3cPSlfZlUHVlneIVfePFWcJZsuwf+P1v2SRTV4cUmp4=
github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU=
github.com/xmidt-org/ancla v0.3.13-0.20240829173225-b3ef5ded0677 h1:33wdhUFnjYH7RCwLuVnw6aDUwHxI/jpVxcOI7MUdtaM=
github.com/xmidt-org/ancla v0.3.13-0.20240829173225-b3ef5ded0677/go.mod h1:MRBmecVt4ECxqHU5FDzGNyBPeW4F2mWz6jQ3hpEIoA8=
github.com/xmidt-org/ancla v0.3.13-0.20241009144151-4779e9548d9e h1:7rhAB70rJL792vA0fcJxqN/ani55JecN2Oc4E3GOMV4=
github.com/xmidt-org/ancla v0.3.13-0.20241009144151-4779e9548d9e/go.mod h1:rFd0rT41jSNx7lzVkF7JkIPLgVOx9WlXpYG+yRg0Mw8=
github.com/xmidt-org/argus v0.3.9/go.mod h1:mDFS44R704gl9Fif3gkfAyvnZa53SvMepmXjYWABPvk=
github.com/xmidt-org/argus v0.3.10-0.20201105190057-402fede05764/go.mod h1:lnMCVB/i0gOlUOOd2WbzDDgzTEqP5TipzQ8xKIw+N/I=
github.com/xmidt-org/argus v0.3.10-0.20201217204602-66f69b12c498/go.mod h1:lnMCVB/i0gOlUOOd2WbzDDgzTEqP5TipzQ8xKIw+N/I=
Expand Down
39 changes: 0 additions & 39 deletions internal/anclaHelper/anclaHelper.go

This file was deleted.

Loading