Skip to content

Commit

Permalink
Update arc42, structurizr example, dtcw
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsmuggler committed Dec 30, 2024
1 parent cd81a58 commit 83f397a
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 9 deletions.
2 changes: 1 addition & 1 deletion documentation/arc42/07_deployment_view.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
include::../diagrams/LiveDeployment.puml[]
....

**Legende**
**Legend**
[plantuml, format=png]
....
include::../diagrams/LiveDeployment-key.puml[]
Expand Down
20 changes: 17 additions & 3 deletions documentation/bank.dsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* This is a combined version of the following workspaces:
* This is a combined version of the following workspaces, with automatic layout enabled:
*
* - "Big Bank plc - System Landscape" (https://structurizr.com/share/28201/)
* - "Big Bank plc - Internet Banking System" (https://structurizr.com/share/36141/)
Expand All @@ -9,7 +9,7 @@ workspace "Big Bank plc" "This is an example workspace to illustrate the key fea
model {
customer = person "Personal Banking Customer" "A customer of the bank, with personal bank accounts." "Customer"

enterprise "Big Bank plc" {
group "Big Bank plc" {
supportStaff = person "Customer Service Staff" "Customer service staff within the bank." "Bank Staff"
backoffice = person "Back Office Staff" "Administration and support staff within the bank." "Bank Staff"

Expand Down Expand Up @@ -61,7 +61,7 @@ workspace "Big Bank plc" "This is an example workspace to illustrate the key fea
accountsSummaryController -> mainframeBankingSystemFacade "Uses"
resetPasswordController -> securityComponent "Uses"
resetPasswordController -> emailComponent "Uses"
securityComponent -> database "Reads from and writes to" "JDBC"
securityComponent -> database "Reads from and writes to" "SQL/TCP"
mainframeBankingSystemFacade -> mainframe "Makes API calls to" "XML/HTTPS"
emailComponent -> email "Sends e-mail using"

Expand Down Expand Up @@ -146,6 +146,10 @@ workspace "Big Bank plc" "This is an example workspace to illustrate the key fea
email
}
autoLayout
description "The system context diagram for the Internet Banking System."
properties {
structurizr.groups false
}
}

container internetBankingSystem "Containers" {
Expand All @@ -159,6 +163,7 @@ workspace "Big Bank plc" "This is an example workspace to illustrate the key fea
database
}
autoLayout
description "The container diagram for the Internet Banking System."
}

component apiApplication "Components" {
Expand All @@ -170,6 +175,12 @@ workspace "Big Bank plc" "This is an example workspace to illustrate the key fea
resetPasswordController emailComponent
}
autoLayout
description "The component diagram for the API Application."
}

image mainframeBankingSystemFacade "MainframeBankingSystemFacade" {
image https://raw.githubusercontent.com/structurizr/examples/main/dsl/big-bank-plc/internet-banking-system/mainframe-banking-system-facade.png
title "[Code] Mainframe Banking System Facade"
}

dynamic apiApplication "SignIn" "Summarises how the sign in feature works in the single-page application." {
Expand All @@ -180,6 +191,7 @@ workspace "Big Bank plc" "This is an example workspace to illustrate the key fea
securityComponent -> signinController "Returns true if the hashed password matches"
signinController -> singlePageApplication "Sends back an authentication token to"
autoLayout
description "Summarises how the sign in feature works in the single-page application."
}

deployment internetBankingSystem "Development" "DevelopmentDeployment" {
Expand All @@ -190,6 +202,7 @@ workspace "Big Bank plc" "This is an example workspace to illustrate the key fea
developerDatabaseInstance
}
autoLayout
description "An example development deployment scenario for the Internet Banking System."
}

deployment internetBankingSystem "Live" "LiveDeployment" {
Expand All @@ -202,6 +215,7 @@ workspace "Big Bank plc" "This is an example workspace to illustrate the key fea
liveSecondaryDatabaseInstance
}
autoLayout
description "An example live deployment scenario for the Internet Banking System."
}

styles {
Expand Down
8 changes: 4 additions & 4 deletions documentation/internet-banking-system.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ include::arc42/_config.adoc[]
:doctype: book

= Example Software Architecture Documentation with arc42 and the C4 model
:revnumber: 8.1 EN
:revdate: February 2023
:revnumber: 8.2 EN
:revdate: January 2023
:revremark: (based upon AsciiDoc version)
// toc-title definition MUST follow document title without blank line!
:toc-title: Table of Contents
Expand Down Expand Up @@ -45,8 +45,8 @@ include::arc42/01_introduction_and_goals.adoc[]
include::arc42/02_architecture_constraints.adoc[]

<<<<
// 3. System Scope and Context
include::arc42/03_system_scope_and_context.adoc[]
// 3. Context and Scope
include::arc42/03_context_and_scope.adoc[]

<<<<
// 4. Solution Strategy
Expand Down
2 changes: 1 addition & 1 deletion dtcw
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set -o pipefail

# See https://github.com/docToolchain/docToolchain/releases for available versions.
# Set DTC_VERSION to "latest" to get the latest, yet unreleased version.
: "${DTC_VERSION:=3.2.2}"
: "${DTC_VERSION:=3.4.1}"

# The 'generateSite' and 'copyThemes' tasks support DTC_SITETHEME, an URL of a theme.
# export DTC_SITETHEME=https://....zip
Expand Down

0 comments on commit 83f397a

Please sign in to comment.