Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ADM-873: [frontend][backend] feat: optimize generate report api (#1271)
* ADM-873: [backend] feat: modify url and add metricTypes list in request and modify relevant test * ADM-873: [backend] feat: optimize GenerateReporterService logic and delete some unused tests * Revert "ADM-822: [frontend] fix: fix pooling logic (#1102)" * ADM-873: [backend] test: modify tests * ADM-873: [backend] test: add tests to cover all new logic * ADM-873: [backend] fix: fix the bug that can not delete metricDataCompleted file * ADM-873: [backend] test: delete unused method * ADM-873: [backend] feat: change metricDataCompleted type to Boolean * ADM-873: [backend] refactor: rename method generateReportByType to generateReport * ADM-873: [backend] docs: update generate report sequence diagram * ADM-873: [backend] feat: add async thread * ADM-873:[backend] feat: update logic for exception condition * ADM-873:[backend] fix: update generate report logic * ADM-873: [frontend]feat: add metricTypes into IBasicReportRequestDTO * ADM-873: [frontend]feat: fetch data in ReportStep component * ADM-873: [frontend]feat: combine startToRequestBoardData and startToRequestDoraData * ADM-873: [frontend]fix: fix test * ADM-873: [frontend]feat: modify source * ADM-873: [frontend] fix: fix unit test * ADM-873: [frontend]fix: fix test * ADM-873: [frontend]feat: combine startToRequestData and startToRequestDoraData * ADM-873: [frontend]refactor: extract getReportRequestBody from BoardMetrics and DoraMetrics * ADM-873: [frontend]refactor: refactor ReportStep * ADM-873: [frontend]feat: add test for useGenerateReportEffect * ADM-873: [frontend]refactor: refactor code * ADM-873: [frontend]feat: add test fpr ReportStep * ADM-873: [backend] feat: modify url and add metricTypes list in request and modify relevant test * ADM-873: [backend] feat: optimize GenerateReporterService logic and delete some unused tests * ADM-873: [backend] test: modify tests * ADM-873: [backend] test: add tests to cover all new logic * ADM-873: [backend] fix: fix the bug that can not delete metricDataCompleted file * ADM-873: [backend] test: delete unused method * ADM-873: [backend] feat: change metricDataCompleted type to Boolean * ADM-873: [backend] refactor: rename method generateReportByType to generateReport * ADM-873: [backend] docs: update generate report sequence diagram * ADM-873: [backend] feat: add async thread * ADM-873:[backend] feat: update logic for exception condition * ADM-873:[backend] fix: update generate report logic * ADM-873:[backend] fix: update test * ADM-873:[backend] fix: fix sonar issue * ADM-873:[backend] fix: refactor smell code * ADM-873:[backend] fix: rename constant name * ADM-873:[backend] fix: rename constant name * ADM-873:[frontend]fix: fix the error handling * ADM-873:[frontend]fix: treating null value as request completed. * ADM-873:[frontend]refactor: rename areAllMetricsCompleted to areMetricsLoading * ADM-873:[frontend]fix: fix define of isBoardMetricsLoading * ADM-873:[frontend]refactor: refactor areMetricsLoading * ADM-873:[frontend]fix: fix conflict * ADM-873:[frontend]refactor: refactor code * ADM-873:[frontend]refactor: remove isBackFromDetail * ADM-873:[frontend]refactor: remove unnecessary includeRework * ADM-873:[frontend]feat: add overallMetricsCompleted & stop polling based on the status of allMetricsCompleted * ADM-873:[frontend]fix: fix test * ADM-873:[frontend]refactor: optimizing disabled logic * ADM-893:[backend] fix: add overall metric completed to update logic for button * ADM-893:[backend] fix: fix some sonar error and refactor * ADM-893:[backend] fix: fix pmd error * ADM-893:[backend] fix: fix sonar error * ADM-893:[docs] fix: update logic for design * Revert "ADM-873:[frontend]refactor: optimizing disabled logic" This reverts commit de4c74e. * ADM-893:[docs] docs: update description for allMetricCompleted * ADM-873:[frontend][backend] fix: update metric type to enum when generate report * ADM-873:[backend] fix: because update metric to enum so fix test * ADM-873:[frontend]fix: fix test description from biz aspect * ADM-873:[backend] fix: fix test Codacy Static Code Analysis * ADM-873:[backend] fix: refactor code * ADM-873:[backend] fix: format code * ADM-873:[backend] fix: fix sonar * ADM-873:[backend] fix: add test for report generator * ADM-873:[backend] fix:fix smell code * ADM-873:[frontend]refactor: refactor error handler --------- Co-authored-by: Shiqi Yuan <[email protected]> Co-authored-by: yulongcai <[email protected]> Co-authored-by: GuangbinMa <[email protected]> Co-authored-by: yulongcai <[email protected]>
- Loading branch information