Skip to content

Commit

Permalink
feat(orchestration): add publishing module
Browse files Browse the repository at this point in the history
  • Loading branch information
gfyrag committed Feb 26, 2024
1 parent 592e2d2 commit 169f4d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ee/orchestration/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ func NewRootCommand() *cobra.Command {
auth.InitAuthFlags(cmd.PersistentFlags())
bunconnect.InitFlags(cmd.PersistentFlags())
iam.InitFlags(cmd.PersistentFlags())
publish.InitCLIFlags(cmd)

return cmd
}
Expand Down
2 changes: 2 additions & 0 deletions ee/orchestration/cmd/worker.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package cmd

import (
"github.com/formancehq/stack/libs/go-libs/publish"
"net/http"

"github.com/formancehq/orchestration/internal/triggers"
Expand Down Expand Up @@ -33,6 +34,7 @@ func workerOptions() fx.Option {
viper.GetString(temporalTaskQueueFlag),
viper.GetStringSlice(topicsFlag),
),
publish.CLIPublisherModule("orchestration"),
)
}

Expand Down

0 comments on commit 169f4d4

Please sign in to comment.