-
Notifications
You must be signed in to change notification settings - Fork 187
/
deptrac.yaml
69 lines (69 loc) · 1.49 KB
/
deptrac.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
parameters:
formatters:
graphviz:
groups:
App:
- Application
- Domain
- Infrastructure
- Auth
- UI
- UIHealth
paths:
- ./src
exclude_files:
layers:
- name: Domain
collectors:
- type: className
regex: .*\\Domain\\.*
- name: Application
collectors:
- type: className
regex: .*Application\\.*
- name: Infrastructure
collectors:
- type: bool
must:
- type: className
regex: .*Infrastructure\\.*
must_not:
- type: className
regex: .*User\\Infrastructure\\Auth\\Auth
- name: Auth
collectors:
- type: className
regex: .*User\\Infrastructure\\Auth\\Auth;
- name: UI
collectors:
- type: bool
must:
- type: className
regex: UI\\.*
must_not:
- type: className
regex: UI\\Http\\Rest\\Controller\\Healthz\\.*
- name: UIHealth
collectors:
- type: className
regex: UI\\Http\\Rest\\Controller\\Healthz\\.*
ruleset:
Domain:
Auth:
- Domain
- Infrastructure
Application:
- Domain
- Infrastructure
- Auth
Infrastructure:
- Domain
- Application
- Auth
UI:
- Auth
- Domain
- Application
UIHealth: # Allow access to infra for health checks
- Infrastructure
- UI