-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#1 added plantuml support and used it for usecase and persona page
- Loading branch information
Showing
18 changed files
with
496 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ on: | |
- '*' | ||
|
||
jobs: | ||
website: | ||
website-ubuntu: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
|
@@ -48,3 +48,35 @@ jobs: | |
env: | ||
PAT_MKDOCS_INSIDERS: ${{ secrets.PAT_MKDOCS_INSIDERS }} | ||
run: make --environment-overrides docs-deploy | ||
|
||
website-macos: | ||
runs-on: macos-latest | ||
steps: | ||
- | ||
name: Set up Git repository | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- | ||
uses: actions/cache@v2 | ||
if: ${{ github.ref == 'refs/heads/main' }} | ||
with: | ||
key: ${{ github.ref }} | ||
path: .cache | ||
- | ||
name: Install all MkDocs dependencies | ||
env: | ||
PAT_MKDOCS_INSIDERS: ${{ secrets.PAT_MKDOCS_INSIDERS }} | ||
run: make --environment-overrides docs-install | ||
- | ||
name: Build Site | ||
if: ${{ github.ref != 'refs/heads/main' }} | ||
env: | ||
PAT_MKDOCS_INSIDERS: ${{ secrets.PAT_MKDOCS_INSIDERS }} | ||
run: make --environment-overrides docs-build | ||
- | ||
name: Deploy Site | ||
if: ${{ github.ref == 'refs/heads/main' }} | ||
env: | ||
PAT_MKDOCS_INSIDERS: ${{ secrets.PAT_MKDOCS_INSIDERS }} | ||
run: make --environment-overrides docs-deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
python 3.10.2 | ||
nodejs 17.4.0 | ||
java openjdk-17 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,51 @@ | ||
# Persona | ||
|
||
=== "Business Audience" | ||
|
||
For any given Use Case we need to have a list of all the different types of players. | ||
In the initial stages of the life cycle of a use case it is less relevant whether these players | ||
are called Stakeholders, Actors, Roles, User Types or Systems, we simply need to know what terms the | ||
actual users, the real customer(s) of the use case, are using for them in their daily practice. | ||
|
||
We call them Personas. | ||
|
||
For example, in the use case "Legal Entity Management" you would have Personas like: | ||
|
||
- Auditor | ||
- Data Owner | ||
- Shareholder | ||
- Director | ||
- Signator | ||
- Signator Power Pursuent to Commercial Register | ||
- Board Member | ||
- Legal Council | ||
- Liquidator | ||
- ... | ||
|
||
Many of these Personas are involved in multiple use cases and are grouped together in _persona taxonomies_ | ||
and defined in _ontologies_ with "machine readable meaning" that can be used to let algorithms "understand" | ||
the actual context and act upon it. | ||
|
||
=== "Data & Tech Audience" | ||
|
||
In traditional use case modelling people use the term _Actor_ rather than _Persona_. | ||
The term _Actor_ is also used in a TOGAF Metamodel and combined with the term _Role_ whereby an actor | ||
assumes a role to perform a task. | ||
|
||
The Use Case Tree Method does not make that distinction, primarily to keep things as simple as possible when | ||
capturing requirements --- primarily as [stories](story.md) --- but also because the term Persona combines both | ||
concepts into one whereby: | ||
|
||
- Actors assuming a Role is fully automated, context dependent, model-, rule- and policy-driven | ||
- Personas are [Concepts](concept.md) tied to Ontology-defined Classes that can inherit from other Persona types | ||
- Personas are not just the "users" (or systems) of the use case but also any other party in the related | ||
data-models (or EKG models/ontologies). For instance, your user can have the persona "Legal Entity Maintainer" | ||
but since the legal entity can have a Director as well, the Director is also a Persona, even when that | ||
Director might never be an active user of the system. | ||
|
||
|
||
=== "Model" | ||
|
||
A subset of the model, as a UML Class Diagram, around **Persona**. | ||
|
||
![Context](../diagrams/out/persona-class-diagram.svg#darkable) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
out/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
!define BG_MAIN_COLOR #1A618C | ||
!define BG_SECONDARY_COLOR #616768 | ||
!define BG_PACKAGE_COLOR #7a209f | ||
!define BORDER_COLOR #EEEEEE | ||
!define FONT_COLOR #EEEEEE | ||
|
||
skinparam backgroundColor #transparent | ||
|
||
' include the general skinparams for both, light and dark | ||
' to overwrite with the given settings | ||
!include general.puml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
!define BORDER_THICKNESS 3 | ||
|
||
skinparam Padding 4 | ||
skinparam RoundCorner 4 | ||
skinparam Shadowing false | ||
|
||
skinparam Default { | ||
'FontName "Open Sans Semibold" | ||
FontColor FONT_COLOR | ||
FontSize 12 | ||
} | ||
|
||
skinparam Arrow { | ||
Color FONT_COLOR | ||
FontColor FONT_COLOR | ||
FontStyle Bold | ||
} | ||
|
||
skinparam package { | ||
FontColor FONT_COLOR | ||
BackgroundColor BG_MAIN_COLOR | ||
BorderColor BORDER_COLOR | ||
} | ||
skinparam node { | ||
FontColor FONT_COLOR | ||
BackgroundColor BG_PACKAGE_COLOR | ||
BorderColor BORDER_COLOR | ||
} | ||
skinparam component { | ||
BackgroundColor BG_MAIN_COLOR | ||
BorderColor BORDER_COLOR | ||
FontColor FONT_COLOR | ||
Style uml2 | ||
} | ||
|
||
skinparam database { | ||
BackgroundColor BG_MAIN_COLOR | ||
BorderColor BORDER_COLOR | ||
FontColor FONT_COLOR | ||
} | ||
|
||
skinparam cloud { | ||
BackgroundColor BG_MAIN_COLOR | ||
BorderColor BORDER_COLOR | ||
FontColor FONT_COLOR | ||
} | ||
|
||
skinparam collections { | ||
BackgroundColor BG_MAIN_COLOR | ||
BorderColor BORDER_COLOR | ||
FontColor FONT_COLOR | ||
} | ||
skinparam Control { | ||
BackgroundColor BG_MAIN_COLOR | ||
BorderColor BORDER_COLOR | ||
FontColor FONT_COLOR | ||
} | ||
skinparam Boundary { | ||
BackgroundColor BG_MAIN_COLOR | ||
BorderColor BORDER_COLOR | ||
FontColor FONT_COLOR | ||
} | ||
skinparam Entity { | ||
BackgroundColor BG_MAIN_COLOR | ||
BorderColor BORDER_COLOR | ||
FontColor FONT_COLOR | ||
} | ||
skinparam interface { | ||
BackgroundColor BG_MAIN_COLOR | ||
BorderColor BORDER_COLOR | ||
FontColor FONT_COLOR | ||
} | ||
skinparam SequenceParticipantBorderThickness 3 | ||
skinparam sequence { | ||
ParticipantBackgroundColor BG_MAIN_COLOR | ||
ParticipantBorderColor BORDER_COLOR | ||
ParticipantFontStyle normal | ||
ParticipantFontColor FONT_COLOR | ||
LifeLineBorderColor BORDER_COLOR | ||
LifeLineBackgroundColor BG_MAIN_COLOR | ||
ArrowColor FONT_COLOR | ||
ArrowBorderColor BORDER_COLOR | ||
ArrowFontColor FONT_COLOR | ||
ArrowThickness 3 | ||
ActorBackgroundColor BG_MAIN_COLOR | ||
ActorBorderColor BORDER_COLOR | ||
ActorFontColor FONT_COLOR | ||
} | ||
|
||
' C4 Styling | ||
' ################################## | ||
|
||
skinparam rectangle<<person>> { | ||
StereotypeFontColor FONT_COLOR | ||
FontColor FONT_COLOR | ||
BackgroundColor BG_MAIN_COLOR | ||
BorderColor BORDER_COLOR | ||
BorderThickness BORDER_THICKNESS | ||
} | ||
|
||
skinparam rectangle<<external_person>> { | ||
StereotypeFontColor FONT_COLOR | ||
FontColor FONT_COLOR | ||
BackgroundColor BG_SECONDARY_COLOR | ||
BorderColor BORDER_COLOR | ||
BorderThickness BORDER_THICKNESS | ||
} | ||
|
||
skinparam rectangle<<system>> { | ||
StereotypeFontColor FONT_COLOR | ||
FontColor FONT_COLOR | ||
BackgroundColor BG_MAIN_COLOR | ||
BorderColor BORDER_COLOR | ||
BorderThickness BORDER_THICKNESS | ||
} | ||
|
||
skinparam rectangle<<external_system>> { | ||
StereotypeFontColor FONT_COLOR | ||
FontColor FONT_COLOR | ||
BackgroundColor BG_SECONDARY_COLOR | ||
BorderColor BORDER_COLOR | ||
BorderThickness BORDER_THICKNESS | ||
} | ||
|
||
skinparam database<<system>> { | ||
StereotypeFontColor FONT_COLOR | ||
FontColor FONT_COLOR | ||
BackgroundColor BG_MAIN_COLOR | ||
BorderColor BORDER_COLOR | ||
BorderThickness BORDER_THICKNESS | ||
} | ||
|
||
skinparam database<<external_system>> { | ||
StereotypeFontColor FONT_COLOR | ||
FontColor FONT_COLOR | ||
BackgroundColor BG_SECONDARY_COLOR | ||
BorderColor BORDER_COLOR | ||
BorderThickness BORDER_THICKNESS | ||
} | ||
|
||
skinparam rectangle<<boundary>> { | ||
Shadowing false | ||
StereotypeFontSize 0 | ||
BackgroundColor BG_PACKAGE_COLOR | ||
StereotypeFontColor FONT_COLOR | ||
FontColor FONT_COLOR | ||
BorderColor BORDER_COLOR | ||
BorderStyle dashed | ||
BorderThickness BORDER_THICKNESS | ||
} | ||
skinparam rectangle<<container>> { | ||
Shadowing false | ||
StereotypeFontSize 14 | ||
BackgroundColor BG_MAIN_COLOR | ||
StereotypeFontColor FONT_COLOR | ||
FontColor FONT_COLOR | ||
BorderColor BORDER_COLOR | ||
BorderThickness BORDER_THICKNESS | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
!define BG_MAIN_COLOR #66BCF0 | ||
!define BG_SECONDARY_COLOR #B4BCBE | ||
!define BG_PACKAGE_COLOR #eeb291 | ||
!define BORDER_COLOR #444444 | ||
!define FONT_COLOR #444444 | ||
|
||
skinparam backgroundColor #white | ||
|
||
' include the general skinparams for both, light and dark | ||
' to overwrite with the given settings | ||
!include general.puml |
Oops, something went wrong.