Skip to content
Commit b8a42fed authored by Duarte Meneses's avatar Duarte Meneses Committed by GitHub
Browse files

SONAR-9887 Reuse information from issues in short living branches targeting current branch

* Add ShortBranchComponentsWithIssues

* Load only required component fields from dto

* Keep only uuid and branch from analysisMetadataHolder

* No need for branch in ShortBranchComponentsWithIssues

* Add IssueDao.selectResolvedOrConfirmedByComponentUuid

* Add ResolvedShortBranchIssuesFactory

* Add components to ProjectAnalysisTaskContainerPopulator

* issue info from short branches

* Do not open db session for nothing

* Get issues for all uuids at once

* Select only fields required for issue tracking

* Improvements

* Add ShortBranchIssue with only the fields needed for issue tracking

* fix test

* Add missed license

* minor improvements

* Fix IssueStatusCopierTest and move ShortBranchIssue class

* Clean up ShortBranchIssueDto and its query

* Fix mapping of dto class

* Verify that required fields are correctly mapped

* fixes

* Fix issues loader

* Do not use "key" as field name in db operations

* Should find issues to merge only in short branches

* Strip branch from component key
parent a816f890
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment