Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PI-2385: Update D2 diagrams to use common style definitions #4054

Merged
merged 1 commit into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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