-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- replace anclaHelper.go functionality with anclafx
- Loading branch information
Showing
4 changed files
with
47 additions
and
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,12 +15,13 @@ import ( | |
_ "github.com/goschtalt/yaml-decoder" | ||
_ "github.com/goschtalt/yaml-encoder" | ||
"github.com/xmidt-org/ancla" | ||
Check failure on line 17 in caduceus.go GitHub Actions / ci / Build Go Program
Check failure on line 17 in caduceus.go GitHub Actions / ci / Go Unit Tests
|
||
"github.com/xmidt-org/ancla/anclafx" | ||
Check failure on line 18 in caduceus.go GitHub Actions / ci / Build Go Program
Check failure on line 18 in caduceus.go GitHub Actions / ci / Go Unit Tests
|
||
"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" | ||
|
@@ -141,6 +142,7 @@ func Caduceus(arguments []string, run bool) error { | |
candlelight.New, | ||
), | ||
|
||
anclafx.Provide(), | ||
providePprofEndpoint(), | ||
provideMetricEndpoint(), | ||
provideHealthCheck(), | ||
|
@@ -158,13 +160,10 @@ func Caduceus(arguments []string, run bool) error { | |
touchhttp.Provide(), | ||
metrics.Provide(), | ||
client.Provide(), | ||
ancla.ProvideMetrics(), | ||
ancla.ProvideListener(), | ||
ancla.ProvideService(), | ||
clorthofx.Provide(), | ||
|
||
fx.Invoke( | ||
lifeCycle, | ||
anclahelper.InitializeAncla, | ||
), | ||
) | ||
|
||
|
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 was deleted.
Oops, something went wrong.