You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ma...@apache.org on 2024/06/23 12:05:46 UTC
(incubator-devlake) 01/02: fix(azuredevops): harmonize the DomainTypes of the plugin tasks
This is an automated email from the ASF dual-hosted git repository.
markusb pushed a commit to branch feat/ado-disabled-repos
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit 0a27422ef74d27011b520cbb577e65c8def34b5b
Author: Markus Braunbeck <32...@users.noreply.github.com>
AuthorDate: Sun Jun 23 12:18:31 2024 +0200
fix(azuredevops): harmonize the DomainTypes of the plugin tasks
---
.../plugins/azuredevops_go/tasks/ci_cd_timeline_records_converter.go | 2 +-
backend/plugins/azuredevops_go/tasks/pr_collector.go | 2 +-
backend/plugins/azuredevops_go/tasks/pr_commit_collector.go | 2 +-
backend/plugins/azuredevops_go/tasks/pr_commit_extractor.go | 2 +-
backend/plugins/azuredevops_go/tasks/pr_extractor.go | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/backend/plugins/azuredevops_go/tasks/ci_cd_timeline_records_converter.go b/backend/plugins/azuredevops_go/tasks/ci_cd_timeline_records_converter.go
index 7dcbdd0e9..515a52630 100644
--- a/backend/plugins/azuredevops_go/tasks/ci_cd_timeline_records_converter.go
+++ b/backend/plugins/azuredevops_go/tasks/ci_cd_timeline_records_converter.go
@@ -39,7 +39,7 @@ var ConvertApiTimelineRecordsMeta = plugin.SubTaskMeta{
EntryPoint: ConvertApiTimelineRecords,
EnabledByDefault: true,
Description: "Convert tool layer table azuredevops_timeline_records into domain layer table cicd_tasks",
- DomainTypes: []string{plugin.DOMAIN_TYPE_CODE_REVIEW},
+ DomainTypes: []string{plugin.DOMAIN_TYPE_CICD},
DependencyTables: []string{
models.AzuredevopsTimelineRecord{}.TableName(),
},
diff --git a/backend/plugins/azuredevops_go/tasks/pr_collector.go b/backend/plugins/azuredevops_go/tasks/pr_collector.go
index 30a63dba7..f984d55de 100644
--- a/backend/plugins/azuredevops_go/tasks/pr_collector.go
+++ b/backend/plugins/azuredevops_go/tasks/pr_collector.go
@@ -38,7 +38,7 @@ var CollectApiPullRequestsMeta = plugin.SubTaskMeta{
EntryPoint: CollectApiPullRequests,
EnabledByDefault: true,
Description: "Collect PullRequests data from Azure DevOps API, supports timeFilter but not diffSync.",
- DomainTypes: []string{plugin.DOMAIN_TYPE_CROSS, plugin.DOMAIN_TYPE_CODE_REVIEW},
+ DomainTypes: []string{plugin.DOMAIN_TYPE_CODE_REVIEW},
DependencyTables: []string{},
ProductTables: []string{RawPullRequestTable},
}
diff --git a/backend/plugins/azuredevops_go/tasks/pr_commit_collector.go b/backend/plugins/azuredevops_go/tasks/pr_commit_collector.go
index dbbddd67b..e1b640a40 100644
--- a/backend/plugins/azuredevops_go/tasks/pr_commit_collector.go
+++ b/backend/plugins/azuredevops_go/tasks/pr_commit_collector.go
@@ -39,7 +39,7 @@ var CollectApiPullRequestCommitsMeta = plugin.SubTaskMeta{
EntryPoint: CollectApiPullRequestCommits,
EnabledByDefault: true,
Description: "Collect PullRequestCommits data from Azure DevOps API.",
- DomainTypes: []string{plugin.DOMAIN_TYPE_CROSS, plugin.DOMAIN_TYPE_CODE_REVIEW},
+ DomainTypes: []string{plugin.DOMAIN_TYPE_CODE_REVIEW},
DependencyTables: []string{models.AzuredevopsPullRequest{}.TableName()},
ProductTables: []string{RawPrCommitTable},
}
diff --git a/backend/plugins/azuredevops_go/tasks/pr_commit_extractor.go b/backend/plugins/azuredevops_go/tasks/pr_commit_extractor.go
index 6e327f31c..ee64c8720 100644
--- a/backend/plugins/azuredevops_go/tasks/pr_commit_extractor.go
+++ b/backend/plugins/azuredevops_go/tasks/pr_commit_extractor.go
@@ -34,7 +34,7 @@ var ExtractApiPullRequestCommitsMeta = plugin.SubTaskMeta{
EntryPoint: ExtractApiPullRequestCommits,
EnabledByDefault: true,
Description: "Extract raw pull requests commit data into tool layer table AzuredevopsPullRequestCommit and AzuredevopsRepoCommit",
- DomainTypes: []string{plugin.DOMAIN_TYPE_CROSS, plugin.DOMAIN_TYPE_CODE_REVIEW},
+ DomainTypes: []string{plugin.DOMAIN_TYPE_CODE_REVIEW},
DependencyTables: []string{RawPrCommitTable},
ProductTables: []string{
models.AzuredevopsPrCommit{}.TableName(),
diff --git a/backend/plugins/azuredevops_go/tasks/pr_extractor.go b/backend/plugins/azuredevops_go/tasks/pr_extractor.go
index a80b879b2..bab29427a 100644
--- a/backend/plugins/azuredevops_go/tasks/pr_extractor.go
+++ b/backend/plugins/azuredevops_go/tasks/pr_extractor.go
@@ -35,7 +35,7 @@ var ExtractApiPullRequestsMeta = plugin.SubTaskMeta{
EntryPoint: ExtractApiPullRequests,
EnabledByDefault: true,
Description: "Extract raw PullRequests data into tool layer table azuredevops_pull_requests",
- DomainTypes: []string{plugin.DOMAIN_TYPE_CROSS, plugin.DOMAIN_TYPE_CODE_REVIEW},
+ DomainTypes: []string{plugin.DOMAIN_TYPE_CODE_REVIEW},
DependencyTables: []string{RawPullRequestTable},
ProductTables: []string{
models.AzuredevopsPullRequest{}.TableName(),