Closed Calvin979 closed 1 month ago
Hi @Calvin979, I would like to contribute. I can look into refactoring CollectorController to get started. Can you please provide some context?
I can finish the rest of the controller
Hi @Calvin979, I would like to contribute. I can look into refactoring CollectorController to get started. Can you please provide some context?
Welcome! Maybe you can refer this pr: #2373
The key is that the responsibility of Controller
is to validate param only.
There are some controllers contain a lot of codes out of its responsiblity and that's why we wanna refactor them.
I can finish the rest of the controller
Welcome! Suggest one pr for one controller only.
I claim collectorController
I claim collectorController
Thanks for your enthusiasm. CollectorController
has been assigned to @ceekay47. You can try to find another issue
Description
Move code from controller to service in module
hertzbeat-manager
. See also: #2373 As a layer of interaction with front-end, controller should not contain any code logic except param validation.Task List