@@ -41,6 +41,7 @@ import (
4141 "github.com/devtron-labs/devtron/api/deployment"
4242 "github.com/devtron-labs/devtron/api/devtronResource"
4343 "github.com/devtron-labs/devtron/api/externalLink"
44+ fluxApplication "github.com/devtron-labs/devtron/api/fluxApplication"
4445 client "github.com/devtron-labs/devtron/api/helm-app"
4546 "github.com/devtron-labs/devtron/api/infraConfig"
4647 "github.com/devtron-labs/devtron/api/k8s"
@@ -115,6 +116,7 @@ import (
115116 "github.com/devtron-labs/devtron/pkg/appStore/installedApp/service/FullMode/deploymentTypeChange"
116117 "github.com/devtron-labs/devtron/pkg/appStore/installedApp/service/FullMode/resource"
117118 "github.com/devtron-labs/devtron/pkg/appWorkflow"
119+ "github.com/devtron-labs/devtron/pkg/argoRepositoryCreds"
118120 "github.com/devtron-labs/devtron/pkg/asyncProvider"
119121 "github.com/devtron-labs/devtron/pkg/attributes"
120122 "github.com/devtron-labs/devtron/pkg/build"
@@ -123,6 +125,7 @@ import (
123125 "github.com/devtron-labs/devtron/pkg/chart/gitOpsConfig"
124126 chartRepoRepository "github.com/devtron-labs/devtron/pkg/chartRepo/repository"
125127 "github.com/devtron-labs/devtron/pkg/commonService"
128+ "github.com/devtron-labs/devtron/pkg/configDiff"
126129 delete2 "github.com/devtron-labs/devtron/pkg/delete"
127130 deployment2 "github.com/devtron-labs/devtron/pkg/deployment"
128131 "github.com/devtron-labs/devtron/pkg/deployment/common"
@@ -175,6 +178,7 @@ func InitializeApp() (*App, error) {
175178 externalLink .ExternalLinkWireSet ,
176179 team .TeamsWireSet ,
177180 AuthWireSet ,
181+ util4 .GetRuntimeConfig ,
178182 util4 .NewK8sUtil ,
179183 wire .Bind (new (util4.K8sService ), new (* util4.K8sServiceImpl )),
180184 user .UserWireSet ,
@@ -198,7 +202,7 @@ func InitializeApp() (*App, error) {
198202 build .BuildWireSet ,
199203 deployment2 .DeploymentWireSet ,
200204 argoApplication .ArgoApplicationWireSet ,
201-
205+ fluxApplication . FluxApplicationWireSet ,
202206 eventProcessor .EventProcessorWireSet ,
203207 workflow3 .WorkflowWireSet ,
204208
@@ -708,6 +712,13 @@ func InitializeApp() (*App, error) {
708712 scopedVariable .NewScopedVariableRestHandlerImpl ,
709713 wire .Bind (new (scopedVariable.ScopedVariableRestHandler ), new (* scopedVariable.ScopedVariableRestHandlerImpl )),
710714
715+ router .NewDeploymentConfigurationRouter ,
716+ wire .Bind (new (router.DeploymentConfigurationRouter ), new (* router.DeploymentConfigurationRouterImpl )),
717+ restHandler .NewDeploymentConfigurationRestHandlerImpl ,
718+ wire .Bind (new (restHandler.DeploymentConfigurationRestHandler ), new (* restHandler.DeploymentConfigurationRestHandlerImpl )),
719+ configDiff .NewDeploymentConfigurationServiceImpl ,
720+ wire .Bind (new (configDiff.DeploymentConfigurationService ), new (* configDiff.DeploymentConfigurationServiceImpl )),
721+
711722 router .NewTelemetryRouterImpl ,
712723 wire .Bind (new (router.TelemetryRouter ), new (* router.TelemetryRouterImpl )),
713724 restHandler .NewTelemetryRestHandlerImpl ,
@@ -989,6 +1000,9 @@ func InitializeApp() (*App, error) {
9891000 common .NewDeploymentConfigServiceImpl ,
9901001 wire .Bind (new (common.DeploymentConfigService ), new (* common.DeploymentConfigServiceImpl )),
9911002
1003+ argoRepositoryCreds .NewRepositorySecret ,
1004+ wire .Bind (new (argoRepositoryCreds.RepositorySecret ), new (* argoRepositoryCreds.RepositorySecretImpl )),
1005+
9921006 repocreds .NewServiceClientImpl ,
9931007 wire .Bind (new (repocreds.ServiceClient ), new (* repocreds.ServiceClientImpl )),
9941008 )
0 commit comments