@@ -79,8 +79,10 @@ import (
79
79
"github.com/devtron-labs/devtron/cel"
80
80
"github.com/devtron-labs/devtron/client/argocdServer"
81
81
"github.com/devtron-labs/devtron/client/argocdServer/application"
82
+ "github.com/devtron-labs/devtron/client/argocdServer/bean"
82
83
"github.com/devtron-labs/devtron/client/argocdServer/certificate"
83
84
cluster2 "github.com/devtron-labs/devtron/client/argocdServer/cluster"
85
+ "github.com/devtron-labs/devtron/client/argocdServer/config"
84
86
"github.com/devtron-labs/devtron/client/argocdServer/connection"
85
87
"github.com/devtron-labs/devtron/client/argocdServer/repoCredsK8sClient"
86
88
repocreds "github.com/devtron-labs/devtron/client/argocdServer/repocreds"
@@ -229,7 +231,7 @@ func InitializeApp() (*App, error) {
229
231
connection .SettingsManager ,
230
232
// auth.GetConfigForDevtronApps,
231
233
232
- connection .GetConfig ,
234
+ bean .GetConfig ,
233
235
wire .Bind (new (session2.ServiceClient ), new (* middleware.LoginService )),
234
236
235
237
sse .NewSSE ,
@@ -926,6 +928,7 @@ func InitializeApp() (*App, error) {
926
928
wire .Bind (new (resourceQualifiers.QualifierMappingService ), new (* resourceQualifiers.QualifierMappingServiceImpl )),
927
929
928
930
argocdServer .NewArgoClientWrapperServiceImpl ,
931
+ argocdServer .NewArgoClientWrapperServiceEAImpl ,
929
932
wire .Bind (new (argocdServer.ArgoClientWrapperService ), new (* argocdServer.ArgoClientWrapperServiceImpl )),
930
933
931
934
pipeline .NewPluginInputVariableParserImpl ,
@@ -937,7 +940,7 @@ func InitializeApp() (*App, error) {
937
940
wire .Bind (new (imageDigestPolicy.ImageDigestPolicyService ), new (* imageDigestPolicy.ImageDigestPolicyServiceImpl )),
938
941
939
942
certificate .NewServiceClientImpl ,
940
- wire .Bind (new (certificate.Client ), new (* certificate.ServiceClientImpl )),
943
+ wire .Bind (new (certificate.ServiceClient ), new (* certificate.ServiceClientImpl )),
941
944
942
945
appStoreRestHandler .FullModeWireSet ,
943
946
@@ -950,14 +953,17 @@ func InitializeApp() (*App, error) {
950
953
common .NewDeploymentConfigServiceImpl ,
951
954
wire .Bind (new (common.DeploymentConfigService ), new (* common.DeploymentConfigServiceImpl )),
952
955
953
- repoCredsK8sClient .NewRepositorySecret ,
954
- wire .Bind (new (repoCredsK8sClient.RepositoryCreds ), new (* repoCredsK8sClient.RepositorySecretImpl )),
956
+ repoCredsK8sClient .NewRepositoryCredsK8sClientImpl ,
957
+ wire .Bind (new (repoCredsK8sClient.RepositoryCredsK8sClient ), new (* repoCredsK8sClient.RepositoryCredsK8sClientImpl )),
955
958
956
959
repocreds .NewServiceClientImpl ,
957
960
wire .Bind (new (repocreds.ServiceClient ), new (* repocreds.ServiceClientImpl )),
958
961
959
962
dbMigration .NewDbMigrationServiceImpl ,
960
963
wire .Bind (new (dbMigration.DbMigration ), new (* dbMigration.DbMigrationServiceImpl )),
964
+
965
+ config .NewArgoCDConfigGetter ,
966
+ wire .Bind (new (config.ArgoCDConfigGetter ), new (* config.ArgoCDConfigGetterImpl )),
961
967
)
962
968
return & App {}, nil
963
969
}
0 commit comments