Details
-
Task
-
Resolution: Unresolved
-
L3 - Default
-
None
-
None
-
3
-
S
Description
We recently discovered an issue with our flexible use of contructors and builders with and without Lombok. We should investigate how we can prevent running into this problem, possibly by having a convention of not using Lombok builders, or alternatively through some kind of custom codebase rule. The shared services team use https://github.com/TNG/ArchUnit, so we should investigate whether this would suit our purpose. Some ideas for rules include:
- Does controller call any reader/writer directly?
- Can we validate against misuse of Constructor/Builder?
- rest DTOs only exist in Rest layers
- That usages of Mockserver are always verified
- That we use LocalDateUtil over OffsetDateTime.now()
- That we don't use lombok builders on DTOs
ATs:
- Codebase rules are either enforced through code conventions or some other means
- We determine whether we can make use of ArchUnit
mgm-controller-panel
This is the controller panel for Smart Panels app
Attachments
Issue Links
- mentioned in
-
Page Loading...