You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, project creation logic is split between internal/controlplane and internal/projects. Specifically, in internal/controlplane/handlers_projects.go, we have code handling project creation directly, which leads to code duplication and a less modular structure.
To improve code maintainability and modularity, we should move all project creation logic into the internal/projects module. This change will:
Centralise project creation processes.
Reduce code duplication.
Simplify the internal/controlplane module by offloading project creation responsibilities.
Action Items
Move the project creation code from internal/controlplane/handlers_projects.go to the internal/projects module.
Ensure that all project creation (including sub-projects) is handled exclusively within internal/projects.
Update any references and imports affected by this change.
Adjust unit tests and documentation to reflect the new structure.
teodor-yanev
added
P1
Fix Soon: High priority items that should be considered in the next Sprint planning cycle
enhancement
New feature or request
and removed
bug
Something isn't working
P1
Fix Soon: High priority items that should be considered in the next Sprint planning cycle
labels
Nov 19, 2024
Describe the issue
Currently, project creation logic is split between
internal/controlplane
andinternal/projects
. Specifically, ininternal/controlplane/handlers_projects.go
, we have code handling project creation directly, which leads to code duplication and a less modular structure.To improve code maintainability and modularity, we should move all project creation logic into the internal/projects module. This change will:
internal/controlplane
module by offloading project creation responsibilities.Action Items
internal/controlplane/handlers_projects.go
to theinternal/projects
module.CC: @ethomson @evankanderson
To Reproduce
No response
What version are you using?
No response
The text was updated successfully, but these errors were encountered: