-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharchunitjava-violations.properties
More file actions
29 lines (28 loc) · 1.34 KB
/
Copy patharchunitjava-violations.properties
File metadata and controls
29 lines (28 loc) · 1.34 KB
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
schema=archunitjava.cli.v1
inputs=target/classes
rules=api-boundary,infrastructure-boundary
emptySelection=fail
allowIncompleteAnalysis=false
resultFormat=json
graphFormat=mermaid
graphDomain=types
rule.api-boundary.domain=types
rule.api-boundary.mode=no
rule.api-boundary.origins=glob:dev.archunitjava.example.rag.api.**
rule.api-boundary.targets=glob:dev.archunitjava.example.rag.infrastructure.**
rule.api-boundary.self=ignore
rule.api-boundary.external=ignore
rule.api-boundary.displayName=API must not bypass the application layer
rule.api-boundary.rationale=HTTP-facing code must use application services rather than concrete adapters
rule.api-boundary.tags=api,deliberate-violation
rule.api-boundary.severity=error
rule.infrastructure-boundary.domain=types
rule.infrastructure-boundary.mode=no
rule.infrastructure-boundary.origins=glob:dev.archunitjava.example.rag.infrastructure.**
rule.infrastructure-boundary.targets=glob:dev.archunitjava.example.rag.api.**
rule.infrastructure-boundary.self=ignore
rule.infrastructure-boundary.external=ignore
rule.infrastructure-boundary.displayName=Infrastructure must not depend on delivery APIs
rule.infrastructure-boundary.rationale=Adapters must implement domain ports without coupling back to HTTP DTOs
rule.infrastructure-boundary.tags=deliberate-violation,infrastructure
rule.infrastructure-boundary.severity=error