Actions
User story #27392
openUser story #26883: Add campaign hooks in the campaign workflow engine
Refactor campaign service so that it's testable
Status:
Pending release
Priority:
N/A
Assignee:
Category:
Architecture - Code maintenance
Target version:
Effort required:
Name check:
To do
Fix check:
To do
Regression:
No
Description
Today, the MainCampaignService is a big monolithic chunk that can't be unit tested but for the whole things. This make it very, very complicated to do.
So the idea is to split the code in 3 mains parts:
- the orchestration logic, as pure as possible,
- the IO effects used to connect that logic to other components like repository,
- the runtime services : the current MainCampaignService that remain the entry point for other part of Rudder (APIs, plugins), and the queue looping.
Updated by François ARMAND 28 days ago
- Status changed from In progress to Pending technical review
- Pull Request set to https://github.com/Normation/rudder/pull/6555
Updated by Anonymous 24 days ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|1542faa3724bc11c3876e01385ff87ac19b25f39.
Actions