Skip to content

Instantly share code, notes, and snippets.

View simonbrowndotje's full-sized avatar

Simon Brown simonbrowndotje

View GitHub Profile
workspace {
model {
mySoftwareSystem = softwareSystem "Software System" "My software system." {
a = container "FaaS A"
b = container "FaaS B"
c = container "FaaS C"
d = container "FaaS D"
e = container "FaaS E"
f = container "FaaS F"
@simonbrowndotje
simonbrowndotje / bad.idl
Last active July 28, 2020 22:11
Ilograph test
resources:
- id: "1"
name: "Personal Banking Customer"
subtitle: "[Person]"
description: "A customer of the bank, with personal bank accounts."
- id: "2"
name: "Customer Service Staff"
subtitle: "[Person]"
description: "Customer service staff within the bank."
workspace "Getting Started" "This is a model of my software system." {
model {
businessUser = person "Business User" "A user in the bank who needs access to the risk reports."
riskAdministrator = person "Risk Administrator" "A Business User who can also modify risk calculation parameters."
riskSystem = softwareSystem "Risk System" "Calculates financial risk exposure, and generates reports for distribution to business users."
tds = softwareSystem "Trade Data System" "Stores all information about trades made by the bank." "Existing Software System"
rds = softwareSystem "Reference Data System" "Stores all reference data used within the bank." "Existing Software System"
iam = softwareSystem "Active Directory" "Stores security information about users and groups." "Existing Software System"
monitoring = softwareSystem "Central Monitoring Service" "The bank's centralised monitoring and observability dashboard." "Existing Software System"
workspace {
model {
user = person "User" "A user of my software system."
softwareSystem = softwareSystem "Software System" "My software system."
user -> softwareSystem "Uses"
}
}
workspace {
model {
user = person "User"
softwareSystem "Software System" {
wa = container "Web Application" {
hpc = component "HomePageController"
}
db = container "Database"
}
workspace {
model {
user = person "User"
softwareSystem = softwareSystem "Software System" {
webapp = container "Web Application"
database = container "Database"
}
user -> webapp "Uses"
@simonbrowndotje
simonbrowndotje / workspace.txt
Last active June 11, 2020 20:59
An example of the Structurizr modelling DSL
workspace "Big Bank plc" "This is an example workspace to illustrate the key features of Structurizr, via the DSL, based around a fictional online banking system." {
model {
customer = person "Personal Banking Customer" "A customer of the bank, with personal bank accounts."
enterprise "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."
mainframe = softwaresystem "Mainframe Banking System" "Stores all of the core banking information about customers, accounts, transactions, etc." "Existing System"
@simonbrowndotje
simonbrowndotje / structurizr-36141-Containers-key.svg
Created January 14, 2020 06:52
Structurizr SVG export examples
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
using System;
using System.Globalization;
namespace Structurizr.Examples
{
class GettingStarted
{
static void Main()
{
"id": 25441,
"name": "Getting Started",
"description": "This is a model of my software system.",
"model": {
"people": [
{
"tags": "Element,Person",
"id": "1",
"name": "User",