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
Please register or sign in to comment