@@ -22,7 +22,8 @@ package main
2222import (
2323 "github.com/devtron-labs/authenticator/middleware"
2424 cloudProviderIdentifier "github.com/devtron-labs/common-lib/cloud-provider-identifier"
25- pubsub1 "github.com/devtron-labs/common-lib/pubsub-lib"
25+ pubSub "github.com/devtron-labs/common-lib/pubsub-lib"
26+ posthogTelemetry "github.com/devtron-labs/common-lib/telemetry"
2627 util4 "github.com/devtron-labs/common-lib/utils/k8s"
2728 "github.com/devtron-labs/devtron/api/apiToken"
2829 appStoreRestHandler "github.com/devtron-labs/devtron/api/appStore"
@@ -144,6 +145,7 @@ import (
144145 "github.com/devtron-labs/devtron/pkg/deploymentGroup"
145146 "github.com/devtron-labs/devtron/pkg/dockerRegistry"
146147 "github.com/devtron-labs/devtron/pkg/eventProcessor"
148+ "github.com/devtron-labs/devtron/pkg/executor"
147149 "github.com/devtron-labs/devtron/pkg/generateManifest"
148150 "github.com/devtron-labs/devtron/pkg/gitops"
149151 "github.com/devtron-labs/devtron/pkg/imageDigestPolicy"
@@ -165,6 +167,7 @@ import (
165167 resourceGroup2 "github.com/devtron-labs/devtron/pkg/resourceGroup"
166168 "github.com/devtron-labs/devtron/pkg/resourceQualifiers"
167169 "github.com/devtron-labs/devtron/pkg/sql"
170+ "github.com/devtron-labs/devtron/pkg/ucid"
168171 util3 "github.com/devtron-labs/devtron/pkg/util"
169172 "github.com/devtron-labs/devtron/pkg/variables"
170173 "github.com/devtron-labs/devtron/pkg/variables/parsers"
@@ -219,7 +222,7 @@ func InitializeApp() (*App, error) {
219222 userResource .UserResourceWireSet ,
220223 policyGovernance .PolicyGovernanceWireSet ,
221224 resourceScan .ScanningResultWireSet ,
222-
225+ executor . ExecutorWireSet ,
223226 // -------wireset end ----------
224227 // -------
225228 gitSensor .GetConfig ,
@@ -478,9 +481,6 @@ func InitializeApp() (*App, error) {
478481 util .IntValidator ,
479482 types .GetCiCdConfig ,
480483
481- pipeline .NewWorkflowServiceImpl ,
482- wire .Bind (new (pipeline.WorkflowService ), new (* pipeline.WorkflowServiceImpl )),
483-
484484 pipeline .NewCiServiceImpl ,
485485 wire .Bind (new (pipeline.CiService ), new (* pipeline.CiServiceImpl )),
486486
@@ -501,7 +501,7 @@ func InitializeApp() (*App, error) {
501501 pipeline .NewCiLogServiceImpl ,
502502 wire .Bind (new (pipeline.CiLogService ), new (* pipeline.CiLogServiceImpl )),
503503
504- pubsub1 .NewPubSubClientServiceImpl ,
504+ pubSub .NewPubSubClientServiceImpl ,
505505
506506 rbac .NewEnforcerUtilImpl ,
507507 wire .Bind (new (rbac.EnforcerUtil ), new (* rbac.EnforcerUtilImpl )),
@@ -696,7 +696,8 @@ func InitializeApp() (*App, error) {
696696 wire .Bind (new (router.TelemetryRouter ), new (* router.TelemetryRouterImpl )),
697697 restHandler .NewTelemetryRestHandlerImpl ,
698698 wire .Bind (new (restHandler.TelemetryRestHandler ), new (* restHandler.TelemetryRestHandlerImpl )),
699- telemetry .NewPosthogClient ,
699+ posthogTelemetry .NewPosthogClient ,
700+ ucid .WireSet ,
700701
701702 cloudProviderIdentifier .NewProviderIdentifierServiceImpl ,
702703 wire .Bind (new (cloudProviderIdentifier.ProviderIdentifierService ), new (* cloudProviderIdentifier.ProviderIdentifierServiceImpl )),
0 commit comments