@@ -122,6 +122,8 @@ import (
122
122
"github.com/devtron-labs/devtron/pkg/asyncProvider"
123
123
"github.com/devtron-labs/devtron/pkg/attributes"
124
124
"github.com/devtron-labs/devtron/pkg/build"
125
+ "github.com/devtron-labs/devtron/pkg/build/artifacts/imageTagging"
126
+ pipeline6 "github.com/devtron-labs/devtron/pkg/build/pipeline"
125
127
"github.com/devtron-labs/devtron/pkg/bulkAction"
126
128
"github.com/devtron-labs/devtron/pkg/chart"
127
129
"github.com/devtron-labs/devtron/pkg/chart/gitOpsConfig"
@@ -132,12 +134,13 @@ import (
132
134
deployment2 "github.com/devtron-labs/devtron/pkg/deployment"
133
135
"github.com/devtron-labs/devtron/pkg/deployment/common"
134
136
git2 "github.com/devtron-labs/devtron/pkg/deployment/gitOps/git"
137
+ "github.com/devtron-labs/devtron/pkg/deployment/manifest/configMapAndSecret"
138
+ "github.com/devtron-labs/devtron/pkg/deployment/manifest/deploymentTemplate"
135
139
"github.com/devtron-labs/devtron/pkg/deployment/manifest/publish"
136
140
"github.com/devtron-labs/devtron/pkg/deploymentGroup"
137
141
"github.com/devtron-labs/devtron/pkg/dockerRegistry"
138
142
"github.com/devtron-labs/devtron/pkg/eventProcessor"
139
143
"github.com/devtron-labs/devtron/pkg/generateManifest"
140
- "github.com/devtron-labs/devtron/pkg/git"
141
144
"github.com/devtron-labs/devtron/pkg/gitops"
142
145
"github.com/devtron-labs/devtron/pkg/imageDigestPolicy"
143
146
infraConfigService "github.com/devtron-labs/devtron/pkg/infraConfig"
@@ -201,15 +204,14 @@ func InitializeApp() (*App, error) {
201
204
apiToken .ApiTokenWireSet ,
202
205
webhookHelm .WebhookHelmWireSet ,
203
206
terminal .TerminalWireSet ,
204
- build .BuildWireSet ,
207
+ build .WireSet ,
205
208
deployment2 .DeploymentWireSet ,
206
209
argoApplication .ArgoApplicationWireSetFull ,
207
210
fluxApplication .FluxApplicationWireSet ,
208
211
eventProcessor .EventProcessorWireSet ,
209
212
workflow3 .WorkflowWireSet ,
210
-
213
+ imageTagging . WireSet ,
211
214
devtronResource .DevtronResourceWireSet ,
212
-
213
215
// -------wireset end ----------
214
216
// -------
215
217
gitSensor .GetConfig ,
@@ -337,8 +339,6 @@ func InitializeApp() (*App, error) {
337
339
338
340
pipeline .NewCiCdPipelineOrchestrator ,
339
341
wire .Bind (new (pipeline.CiCdPipelineOrchestrator ), new (* pipeline.CiCdPipelineOrchestratorImpl )),
340
- pipelineConfig .NewMaterialRepositoryImpl ,
341
- wire .Bind (new (pipelineConfig.MaterialRepository ), new (* pipelineConfig.MaterialRepositoryImpl )),
342
342
343
343
// scoped variables start
344
344
variables .NewScopedVariableServiceImpl ,
@@ -377,11 +377,6 @@ func InitializeApp() (*App, error) {
377
377
pipeline .NewCustomTagService ,
378
378
wire .Bind (new (pipeline.CustomTagService ), new (* pipeline.CustomTagServiceImpl )),
379
379
380
- repository .NewGitProviderRepositoryImpl ,
381
- wire .Bind (new (repository.GitProviderRepository ), new (* repository.GitProviderRepositoryImpl )),
382
- pipeline .NewGitRegistryConfigImpl ,
383
- wire .Bind (new (pipeline.GitRegistryConfig ), new (* pipeline.GitRegistryConfigImpl )),
384
-
385
380
appList .NewAppFilteringRouterImpl ,
386
381
wire .Bind (new (appList.AppFilteringRouter ), new (* appList.AppFilteringRouterImpl )),
387
382
appList2 .NewAppFilteringRestHandlerImpl ,
@@ -450,8 +445,8 @@ func InitializeApp() (*App, error) {
450
445
// session.NewK8sClient,
451
446
repository8 .NewImageTaggingRepositoryImpl ,
452
447
wire .Bind (new (repository8.ImageTaggingRepository ), new (* repository8.ImageTaggingRepositoryImpl )),
453
- pipeline .NewImageTaggingServiceImpl ,
454
- wire .Bind (new (pipeline .ImageTaggingService ), new (* pipeline .ImageTaggingServiceImpl )),
448
+ imageTagging .NewImageTaggingServiceImpl ,
449
+ wire .Bind (new (imageTagging .ImageTaggingService ), new (* imageTagging .ImageTaggingServiceImpl )),
455
450
argocdServer .NewVersionServiceImpl ,
456
451
wire .Bind (new (argocdServer.VersionService ), new (* argocdServer.VersionServiceImpl )),
457
452
@@ -495,12 +490,6 @@ func InitializeApp() (*App, error) {
495
490
restHandler .NewGitWebhookRestHandlerImpl ,
496
491
wire .Bind (new (restHandler.GitWebhookRestHandler ), new (* restHandler.GitWebhookRestHandlerImpl )),
497
492
498
- git .NewGitWebhookServiceImpl ,
499
- wire .Bind (new (git.GitWebhookService ), new (* git.GitWebhookServiceImpl )),
500
-
501
- repository .NewGitWebhookRepositoryImpl ,
502
- wire .Bind (new (repository.GitWebhookRepository ), new (* repository.GitWebhookRepositoryImpl )),
503
-
504
493
pipeline .NewCiHandlerImpl ,
505
494
wire .Bind (new (pipeline.CiHandler ), new (* pipeline.CiHandlerImpl )),
506
495
@@ -743,8 +732,6 @@ func InitializeApp() (*App, error) {
743
732
wire .Bind (new (restHandler.CoreAppRestHandler ), new (* restHandler.CoreAppRestHandlerImpl )),
744
733
745
734
// Webhook
746
- repository .NewGitHostRepositoryImpl ,
747
- wire .Bind (new (repository.GitHostRepository ), new (* repository.GitHostRepositoryImpl )),
748
735
restHandler .NewGitHostRestHandlerImpl ,
749
736
wire .Bind (new (restHandler.GitHostRestHandler ), new (* restHandler.GitHostRestHandlerImpl )),
750
737
restHandler .NewWebhookEventHandlerImpl ,
@@ -753,10 +740,6 @@ func InitializeApp() (*App, error) {
753
740
wire .Bind (new (router.GitHostRouter ), new (* router.GitHostRouterImpl )),
754
741
router .NewWebhookListenerRouterImpl ,
755
742
wire .Bind (new (router.WebhookListenerRouter ), new (* router.WebhookListenerRouterImpl )),
756
- git .NewWebhookSecretValidatorImpl ,
757
- wire .Bind (new (git.WebhookSecretValidator ), new (* git.WebhookSecretValidatorImpl )),
758
- pipeline .NewGitHostConfigImpl ,
759
- wire .Bind (new (pipeline.GitHostConfig ), new (* pipeline.GitHostConfigImpl )),
760
743
repository .NewWebhookEventDataRepositoryImpl ,
761
744
wire .Bind (new (repository.WebhookEventDataRepository ), new (* repository.WebhookEventDataRepositoryImpl )),
762
745
pipeline .NewWebhookEventDataConfigImpl ,
@@ -819,10 +802,10 @@ func InitializeApp() (*App, error) {
819
802
wire .Bind (new (history3.PrePostCdScriptHistoryService ), new (* history3.PrePostCdScriptHistoryServiceImpl )),
820
803
history3 .NewPrePostCiScriptHistoryServiceImpl ,
821
804
wire .Bind (new (history3.PrePostCiScriptHistoryService ), new (* history3.PrePostCiScriptHistoryServiceImpl )),
822
- history3 .NewDeploymentTemplateHistoryServiceImpl ,
823
- wire .Bind (new (history3 .DeploymentTemplateHistoryService ), new (* history3 .DeploymentTemplateHistoryServiceImpl )),
824
- history3 .NewConfigMapHistoryServiceImpl ,
825
- wire .Bind (new (history3 .ConfigMapHistoryService ), new (* history3 .ConfigMapHistoryServiceImpl )),
805
+ deploymentTemplate .NewDeploymentTemplateHistoryServiceImpl ,
806
+ wire .Bind (new (deploymentTemplate .DeploymentTemplateHistoryService ), new (* deploymentTemplate .DeploymentTemplateHistoryServiceImpl )),
807
+ configMapAndSecret .NewConfigMapHistoryServiceImpl ,
808
+ wire .Bind (new (configMapAndSecret .ConfigMapHistoryService ), new (* configMapAndSecret .ConfigMapHistoryServiceImpl )),
826
809
history3 .NewPipelineStrategyHistoryServiceImpl ,
827
810
wire .Bind (new (history3.PipelineStrategyHistoryService ), new (* history3.PipelineStrategyHistoryServiceImpl )),
828
811
history3 .NewGitMaterialHistoryServiceImpl ,
@@ -903,6 +886,8 @@ func InitializeApp() (*App, error) {
903
886
wire .Bind (new (pipeline.CiBuildConfigService ), new (* pipeline.CiBuildConfigServiceImpl )),
904
887
pipeline .NewCiTemplateServiceImpl ,
905
888
wire .Bind (new (pipeline.CiTemplateService ), new (* pipeline.CiTemplateServiceImpl )),
889
+ pipeline6 .NewCiTemplateReadServiceImpl ,
890
+ wire .Bind (new (pipeline6.CiTemplateReadService ), new (* pipeline6.CiTemplateReadServiceImpl )),
906
891
router .NewGlobalCMCSRouterImpl ,
907
892
wire .Bind (new (router.GlobalCMCSRouter ), new (* router.GlobalCMCSRouterImpl )),
908
893
restHandler .NewGlobalCMCSRestHandlerImpl ,
0 commit comments