-
Notifications
You must be signed in to change notification settings - Fork 14
/
views.dsl
52 lines (43 loc) · 2.11 KB
/
views.dsl
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
# The 'views.dsl' file is intended as a mean for viewing and validating the model
# in the domain repository. It should
# * Extend the base model and override the 'dh3' software system
# * Include of the `model.dsl` files from each domain repository using an URL
#
# The `model.dsl` file must contain the actual model, and is the piece that must
# be reusable and included in other Structurizr files like `views.dsl` and
# deployment diagram files
workspace extends https://raw.githubusercontent.com/Energinet-DataHub/opengeh-arch-diagrams/main/docs/diagrams/c4-model/dh-base-model.dsl {
model {
#
# DataHub 3.0 (extends)
#
!ref dh3 {
# IMPORTANT:
# The order by which models are included is important for how the domain-to-domain relationships are specified.
# A domain-to-domain relationship should be specified in the "client" of a "client->server" dependency, and
# hence domains that doesn't depend on others, should be listed first.
# Include Market Participant model
!include https://raw.githubusercontent.com/Energinet-DataHub/geh-market-participant/main/docs/diagrams/c4-model/model.dsl
# Include EDI model
!include https://raw.githubusercontent.com/Energinet-DataHub/opengeh-edi/main/docs/diagrams/c4-model/model.dsl
# Include Wholesale model
!include https://raw.githubusercontent.com/Energinet-DataHub/opengeh-wholesale/main/docs/diagrams/c4-model/model.dsl
# Include Frontend model.
!include model.dsl
}
}
views {
container dh3 "Frontend" {
title "[Container] DataHub 3.0 - Frontend (Simplified)"
include ->frontendDomain->
exclude "relationship.tag==OAuth"
exclude "element.tag==Intermediate Technology"
exclude dh3.sharedB2C
}
container dh3 "FrontendDetailed" {
title "[Container] DataHub 3.0 - Frontend (Detailed with OAuth)"
include ->frontendDomain->
exclude "relationship.tag==Simple View"
}
}
}