@@ -33,7 +33,6 @@ import (
33
33
"github.com/devtron-labs/devtron/internal/sql/repository/pipelineConfig/adapter/cdWorkflow"
34
34
"github.com/devtron-labs/devtron/internal/sql/repository/pipelineConfig/bean/workflow"
35
35
cdWorkflow2 "github.com/devtron-labs/devtron/internal/sql/repository/pipelineConfig/bean/workflow/cdWorkflow"
36
- "github.com/devtron-labs/devtron/internal/sql/repository/security"
37
36
"github.com/devtron-labs/devtron/pkg/app/status"
38
37
"github.com/devtron-labs/devtron/pkg/build/artifacts"
39
38
bean5 "github.com/devtron-labs/devtron/pkg/build/pipeline/bean"
@@ -48,7 +47,8 @@ import (
48
47
constants2 "github.com/devtron-labs/devtron/pkg/pipeline/constants"
49
48
"github.com/devtron-labs/devtron/pkg/pipeline/executors"
50
49
repository2 "github.com/devtron-labs/devtron/pkg/plugin/repository"
51
- security2 "github.com/devtron-labs/devtron/pkg/security"
50
+ "github.com/devtron-labs/devtron/pkg/policyGovernance/security/imageScanning"
51
+ repository3 "github.com/devtron-labs/devtron/pkg/policyGovernance/security/imageScanning/repository"
52
52
"github.com/devtron-labs/devtron/pkg/sql"
53
53
"github.com/devtron-labs/devtron/pkg/workflow/cd"
54
54
bean4 "github.com/devtron-labs/devtron/pkg/workflow/cd/bean"
@@ -129,8 +129,8 @@ type WorkflowDagExecutorImpl struct {
129
129
commonArtifactService artifacts.CommonArtifactService
130
130
deploymentConfigService common2.DeploymentConfigService
131
131
asyncRunnable * async.Runnable
132
- scanHistoryRepository security .ImageScanHistoryRepository
133
- imageScanService security2 .ImageScanService
132
+ scanHistoryRepository repository3 .ImageScanHistoryRepository
133
+ imageScanService imageScanning .ImageScanService
134
134
}
135
135
136
136
func NewWorkflowDagExecutorImpl (Logger * zap.SugaredLogger , pipelineRepository pipelineConfig.PipelineRepository ,
@@ -155,8 +155,8 @@ func NewWorkflowDagExecutorImpl(Logger *zap.SugaredLogger, pipelineRepository pi
155
155
commonArtifactService artifacts.CommonArtifactService ,
156
156
deploymentConfigService common2.DeploymentConfigService ,
157
157
asyncRunnable * async.Runnable ,
158
- scanHistoryRepository security .ImageScanHistoryRepository ,
159
- imageScanService security2 .ImageScanService ,
158
+ scanHistoryRepository repository3 .ImageScanHistoryRepository ,
159
+ imageScanService imageScanning .ImageScanService ,
160
160
) * WorkflowDagExecutorImpl {
161
161
wde := & WorkflowDagExecutorImpl {logger : Logger ,
162
162
pipelineRepository : pipelineRepository ,
0 commit comments