forked from netmelody/ci-eye
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dependencies.ddf
33 lines (25 loc) · 972 Bytes
/
dependencies.ddf
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
show allResults
{package} = org.netmelody.cieye
[ci-eye] = ${package}.*
check sets [ci-eye]
[core] = ${package}.core.*
[non-core] = [ci-eye] excluding [core]
check sets [core] [non-core]
check [core] independentOf [ci-eye]
[domain] = ${package}.core.domain.*
check sets [domain]
check [domain] independentOf [ci-eye]
[server] = ${package}.server.*
check sets [server]
check [server] independentOf [non-core]
[spies] = ${package}.spies.*
check sets [spies]
check [spies] independentOf [non-core]
layer foundation = [core]
layer server-modules = ${package}.server.configuration.* ${package}.server.observation.* ${package}.server.response.*
layer spy-network = ${package}.spies.demo.* ${package}.spies.jenkins.* ${package}.spies.teamcity.*
check strictLayeringOf foundation server-modules
check strictLayeringOf foundation spy-network
check absenceOfPackageCycles > 1 in [core]
check absenceOfPackageCycles > 1 in [spies]
check absenceOfPackageCycles > 6 in [server]