@@ -79,8 +79,10 @@ import (
7979 "github.com/devtron-labs/devtron/cel"
8080 "github.com/devtron-labs/devtron/client/argocdServer"
8181 "github.com/devtron-labs/devtron/client/argocdServer/application"
82+ "github.com/devtron-labs/devtron/client/argocdServer/bean"
8283 "github.com/devtron-labs/devtron/client/argocdServer/certificate"
8384 cluster2 "github.com/devtron-labs/devtron/client/argocdServer/cluster"
85+ "github.com/devtron-labs/devtron/client/argocdServer/config"
8486 "github.com/devtron-labs/devtron/client/argocdServer/connection"
8587 "github.com/devtron-labs/devtron/client/argocdServer/repoCredsK8sClient"
8688 repocreds "github.com/devtron-labs/devtron/client/argocdServer/repocreds"
@@ -229,7 +231,7 @@ func InitializeApp() (*App, error) {
229231 connection .SettingsManager ,
230232 // auth.GetConfigForDevtronApps,
231233
232- connection .GetConfig ,
234+ bean .GetConfig ,
233235 wire .Bind (new (session2.ServiceClient ), new (* middleware.LoginService )),
234236
235237 sse .NewSSE ,
@@ -926,6 +928,7 @@ func InitializeApp() (*App, error) {
926928 wire .Bind (new (resourceQualifiers.QualifierMappingService ), new (* resourceQualifiers.QualifierMappingServiceImpl )),
927929
928930 argocdServer .NewArgoClientWrapperServiceImpl ,
931+ argocdServer .NewArgoClientWrapperServiceEAImpl ,
929932 wire .Bind (new (argocdServer.ArgoClientWrapperService ), new (* argocdServer.ArgoClientWrapperServiceImpl )),
930933
931934 pipeline .NewPluginInputVariableParserImpl ,
@@ -937,7 +940,7 @@ func InitializeApp() (*App, error) {
937940 wire .Bind (new (imageDigestPolicy.ImageDigestPolicyService ), new (* imageDigestPolicy.ImageDigestPolicyServiceImpl )),
938941
939942 certificate .NewServiceClientImpl ,
940- wire .Bind (new (certificate.Client ), new (* certificate.ServiceClientImpl )),
943+ wire .Bind (new (certificate.ServiceClient ), new (* certificate.ServiceClientImpl )),
941944
942945 appStoreRestHandler .FullModeWireSet ,
943946
@@ -950,14 +953,17 @@ func InitializeApp() (*App, error) {
950953 common .NewDeploymentConfigServiceImpl ,
951954 wire .Bind (new (common.DeploymentConfigService ), new (* common.DeploymentConfigServiceImpl )),
952955
953- repoCredsK8sClient .NewRepositorySecret ,
954- wire .Bind (new (repoCredsK8sClient.RepositoryCreds ), new (* repoCredsK8sClient.RepositorySecretImpl )),
956+ repoCredsK8sClient .NewRepositoryCredsK8sClientImpl ,
957+ wire .Bind (new (repoCredsK8sClient.RepositoryCredsK8sClient ), new (* repoCredsK8sClient.RepositoryCredsK8sClientImpl )),
955958
956959 repocreds .NewServiceClientImpl ,
957960 wire .Bind (new (repocreds.ServiceClient ), new (* repocreds.ServiceClientImpl )),
958961
959962 dbMigration .NewDbMigrationServiceImpl ,
960963 wire .Bind (new (dbMigration.DbMigration ), new (* dbMigration.DbMigrationServiceImpl )),
964+
965+ config .NewArgoCDConfigGetter ,
966+ wire .Bind (new (config.ArgoCDConfigGetter ), new (* config.ArgoCDConfigGetterImpl )),
961967 )
962968 return & App {}, nil
963969}
0 commit comments