Skip to content

Commit

Permalink
PI-2385: Update D2 diagrams to use common style definitions (#4054)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxco86 authored Jul 19, 2024
1 parent 77d9aab commit 7cd99ae
Show file tree
Hide file tree
Showing 61 changed files with 4,392 additions and 5,551 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

style {
fill: "#ffffff"
}
style { ...@../../../../script/style.style }
vars { ...@../../../../script/style.vars }
** { ...@../../../../script/style.all-style }

context-approved-premises: Approved Premises Context {
link: https://github.com/ministryofjustice/hmpps-approved-premises-api
Expand Down Expand Up @@ -35,7 +35,3 @@ context-delius: Delius Context {
}

context-approved-premises--context-delius.interface: Upstream\n\n\nDownstream

*.style.border-radius: 10
*.*.style.border-radius: 10
*.*.style.stroke-width: 2
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

direction: right

style {
fill: "#ffffff"
}
style { ...@../../../../script/style.style }
vars { ...@../../../../script/style.vars }
** { ...@../../../../script/style.all-style }

# What triggers the workflow?
approved_premises: Approved Premises (CAS1) {
Expand Down Expand Up @@ -57,8 +57,3 @@ approved_premises -> domain_event_3
domain_event_1 -> delius
domain_event_2 -> delius
domain_event_3 -> delius

*.style.border-radius: 10
*.*.style.border-radius: 10
*.*.style.stroke-width: 2
*.*.style.font-size: 12
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

direction: right

style {
fill: "#ffffff"
}
style { ...@../../../../script/style.style }
vars { ...@../../../../script/style.vars }
** { ...@../../../../script/style.all-style }

# What triggers the workflow?
approved_premises: Approved Premises (CAS1) {
Expand Down Expand Up @@ -39,8 +39,3 @@ delius: Delius {
}

approved_premises -> domain_event -> delius

*.style.border-radius: 10
*.*.style.border-radius: 10
*.*.style.stroke-width: 2
*.*.style.font-size: 12
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

direction: right

style {
fill: "#ffffff"
}
style { ...@../../../../script/style.style }
vars { ...@../../../../script/style.vars }
** { ...@../../../../script/style.all-style }

# What triggers the workflow?
approved_premises: Approved Premises (CAS1) {
Expand Down Expand Up @@ -36,8 +36,3 @@ delius: Delius {
}

approved_premises -> domain_event -> delius

*.style.border-radius: 10
*.*.style.border-radius: 10
*.*.style.stroke-width: 2
*.*.style.font-size: 12
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

direction: right

style {
fill: "#ffffff"
}
style { ...@../../../../script/style.style }
vars { ...@../../../../script/style.vars }
** { ...@../../../../script/style.all-style }

# What triggers the workflow?
approved_premises: Approved Premises (CAS1) {
Expand Down Expand Up @@ -39,8 +39,3 @@ delius: Delius {
}

approved_premises -> domain_event -> delius

*.style.border-radius: 10
*.*.style.border-radius: 10
*.*.style.stroke-width: 2
*.*.style.font-size: 12
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

style {
fill: "#ffffff"
}
style { ...@../../../../script/style.style }
vars { ...@../../../../script/style.vars }
** { ...@../../../../script/style.all-style }

context-approved-premises: Approved Premises Context {
link: https://github.com/ministryofjustice/hmpps-approved-premises-api
Expand Down Expand Up @@ -32,7 +32,3 @@ context-oasys: OASys Context {
}

context-approved-premises--context-oasys.interface: Upstream\n\n\nDownstream

*.style.border-radius: 10
*.*.style.border-radius: 10
*.*.style.stroke-width: 2
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

style {
fill: "#ffffff"
}
style { ...@../../../../script/style.style }
vars { ...@../../../../script/style.vars }
** { ...@../../../../script/style.all-style }

context-create-and-vary-a-licence: Create and Vary a Licence Context {
entities: Entities {
Expand Down Expand Up @@ -31,7 +31,3 @@ context-delius: Delius Context {
}

context-create-and-vary-a-licence--context-delius.interface: Upstream\n\n\nDownstream

*.style.border-radius: 10
*.*.style.border-radius: 10
*.*.style.stroke-width: 2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

style {
fill: "#ffffff"
}
style { ...@../../../../script/style.style }
vars { ...@../../../../script/style.vars }
** { ...@../../../../script/style.all-style }

context-delius: Delius Context {

Expand Down Expand Up @@ -37,7 +37,3 @@ context-create-and-vary-a-licence: Create and Vary a Licence Context {
}

context-delius.interface--context-create-and-vary-a-licence: Upstream\n\n\nDownstream

*.style.border-radius: 10
*.*.style.border-radius: 10
*.*.style.stroke-width: 2
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

direction: right

style {
fill: "#ffffff"
}
style { ...@../../../../script/style.style }
vars { ...@../../../../script/style.vars }
** { ...@../../../../script/style.all-style }

# What triggers the workflow?
create-and-vary-a-licence: Create and Vary a Licence {
Expand Down Expand Up @@ -50,8 +50,3 @@ delius: Delius {
}

create-and-vary-a-licence -> domain_event -> delius

*.style.border-radius: 10
*.*.style.border-radius: 10
*.*.style.stroke-width: 2
*.*.style.font-size: 12
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Custody Key Dates and Delius Context Map

style {
fill: "#ffffff"
}
style { ...@../../../../script/style.style }
vars { ...@../../../../script/style.vars }
** { ...@../../../../script/style.all-style }

context-nomis: NOMIS/DPS Context {
entities: Entities {
Expand Down Expand Up @@ -38,7 +38,3 @@ context-delius: Delius Context {
}

context-nomis.interface--context-delius.interface: Upstream\n\n\nDownstream

*.style.border-radius: 10
*.*.style.border-radius: 10
*.*.style.stroke-width: 2
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@

direction: right

style {
fill: "#ffffff"
}
style { ...@../../../../script/style.style }
vars { ...@../../../../script/style.vars }
** { ...@../../../../script/style.all-style }

# What triggers the workflow?
nomis: NOMIS/DPS {
style.font-size: 15
nomis_key_dates: Any custody\nkey date updated {
shape: oval
}
nomis_key_dates: Any custody\nkey date updated
}

# What happens in Delius?
Expand All @@ -28,8 +26,3 @@ delius: Delius {
}

nomis -> delius

*.style.border-radius: 10
*.*.style.border-radius: 10
*.*.style.stroke-width: 2
*.*.style.font-size: 12
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7cd99ae

Please sign in to comment.