@@ -41,6 +41,7 @@ import (
41
41
"github.com/devtron-labs/devtron/api/deployment"
42
42
"github.com/devtron-labs/devtron/api/devtronResource"
43
43
"github.com/devtron-labs/devtron/api/externalLink"
44
+ fluxApplication "github.com/devtron-labs/devtron/api/fluxApplication"
44
45
client "github.com/devtron-labs/devtron/api/helm-app"
45
46
"github.com/devtron-labs/devtron/api/infraConfig"
46
47
"github.com/devtron-labs/devtron/api/k8s"
@@ -115,6 +116,7 @@ import (
115
116
"github.com/devtron-labs/devtron/pkg/appStore/installedApp/service/FullMode/deploymentTypeChange"
116
117
"github.com/devtron-labs/devtron/pkg/appStore/installedApp/service/FullMode/resource"
117
118
"github.com/devtron-labs/devtron/pkg/appWorkflow"
119
+ "github.com/devtron-labs/devtron/pkg/argoRepositoryCreds"
118
120
"github.com/devtron-labs/devtron/pkg/asyncProvider"
119
121
"github.com/devtron-labs/devtron/pkg/attributes"
120
122
"github.com/devtron-labs/devtron/pkg/build"
@@ -123,6 +125,7 @@ import (
123
125
"github.com/devtron-labs/devtron/pkg/chart/gitOpsConfig"
124
126
chartRepoRepository "github.com/devtron-labs/devtron/pkg/chartRepo/repository"
125
127
"github.com/devtron-labs/devtron/pkg/commonService"
128
+ "github.com/devtron-labs/devtron/pkg/configDiff"
126
129
delete2 "github.com/devtron-labs/devtron/pkg/delete"
127
130
deployment2 "github.com/devtron-labs/devtron/pkg/deployment"
128
131
"github.com/devtron-labs/devtron/pkg/deployment/common"
@@ -175,6 +178,7 @@ func InitializeApp() (*App, error) {
175
178
externalLink .ExternalLinkWireSet ,
176
179
team .TeamsWireSet ,
177
180
AuthWireSet ,
181
+ util4 .GetRuntimeConfig ,
178
182
util4 .NewK8sUtil ,
179
183
wire .Bind (new (util4.K8sService ), new (* util4.K8sServiceImpl )),
180
184
user .UserWireSet ,
@@ -198,7 +202,7 @@ func InitializeApp() (*App, error) {
198
202
build .BuildWireSet ,
199
203
deployment2 .DeploymentWireSet ,
200
204
argoApplication .ArgoApplicationWireSet ,
201
-
205
+ fluxApplication . FluxApplicationWireSet ,
202
206
eventProcessor .EventProcessorWireSet ,
203
207
workflow3 .WorkflowWireSet ,
204
208
@@ -708,6 +712,13 @@ func InitializeApp() (*App, error) {
708
712
scopedVariable .NewScopedVariableRestHandlerImpl ,
709
713
wire .Bind (new (scopedVariable.ScopedVariableRestHandler ), new (* scopedVariable.ScopedVariableRestHandlerImpl )),
710
714
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
+
711
722
router .NewTelemetryRouterImpl ,
712
723
wire .Bind (new (router.TelemetryRouter ), new (* router.TelemetryRouterImpl )),
713
724
restHandler .NewTelemetryRestHandlerImpl ,
@@ -989,6 +1000,9 @@ func InitializeApp() (*App, error) {
989
1000
common .NewDeploymentConfigServiceImpl ,
990
1001
wire .Bind (new (common.DeploymentConfigService ), new (* common.DeploymentConfigServiceImpl )),
991
1002
1003
+ argoRepositoryCreds .NewRepositorySecret ,
1004
+ wire .Bind (new (argoRepositoryCreds.RepositorySecret ), new (* argoRepositoryCreds.RepositorySecretImpl )),
1005
+
992
1006
repocreds .NewServiceClientImpl ,
993
1007
wire .Bind (new (repocreds.ServiceClient ), new (* repocreds.ServiceClientImpl )),
994
1008
)
0 commit comments