-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#326 Diagrams of Documentation redrawn in plantUML
- Loading branch information
Thomas Ruhroth
committed
Feb 1, 2025
1 parent
b1e59ba
commit d2615a0
Showing
30 changed files
with
269 additions
and
30 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
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
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-57.8 KB
src/docs/images/ea/htmlSanityCheck/HTML_Checking_Domain_compact.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-15.2 KB
src/docs/images/ea/htmlSanityCheck/deployment-context-installer.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
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,76 @@ | ||
@startuml | ||
skinparam linetype ortho | ||
allowmixing | ||
|
||
frame "cmp HTML_Checking_Domain" { | ||
|
||
class "(external) Hyperlink" as hyperlink #yellow | ||
class "(internal) Cross Reference" as crossreference #yellow | ||
class "Link" as link #yellow | ||
class "link Target" as linktarget #yellow | ||
class "URI" as uri #yellow | ||
class "Resource" as resource #yellow | ||
class "File" as file #yellow | ||
class "Stylesheet" as stylesheet #yellow | ||
class "Image File" as imagefile #yellow | ||
|
||
class "HTML page" as htmlpage #lightblue | ||
class "Checker" as checker #lightblue | ||
class "HTMLElment" as htmlelement #lightblue | ||
class "Finding" as finding #lightblue { | ||
-item : String | ||
-suggestion : String | ||
} | ||
class "Single Check Result" as singecheckresult #lightblue { | ||
-whatIsChecked:String | ||
-sourceItem: String | ||
-targetItem:String | ||
-nrOfItemsChecked:int | ||
} | ||
|
||
class "Single Page Result" as singlepasgeresult #lightblue { | ||
-pageTitle:String | ||
-pageName:String | ||
} | ||
class "RunResult" as runresult #lightblue { | ||
-imageDirs:FileCollection | ||
} | ||
|
||
link <|-down- hyperlink | ||
link <|-down- crossreference | ||
linktarget <|-- resource | ||
resource <|-- file | ||
resource <|-- stylesheet | ||
resource <|-- imagefile | ||
|
||
uri -right[dashed]-> resource : describes | ||
checker -left[dashed]-> linktarget : check target | ||
checker -down[dashed]-> link : check link | ||
checker -down[dashed]-> htmlpage : check | ||
checker -down[dashed]-> finding : <<instantiate>> detects | ||
checker -right[dashed]-> singecheckresult : <<instantiate>> | ||
|
||
finding -[dashed]-> htmlelement : responsible | ||
singecheckresult -[dashed]-> htmlpage : refers to | ||
|
||
link "0..*" <-down-> "1" linktarget : refences | ||
|
||
htmlpage "0..*" o-- "0..*" link :contains | ||
|
||
singecheckresult "1" o-- "0..*" finding | ||
singecheckresult --o singlepasgeresult | ||
runresult o-- singlepasgeresult | ||
|
||
rectangle "legende" { | ||
rectangle "Implementation Class" #lightblue | ||
rectangle "Domain Class" #yellow | ||
} | ||
} | ||
|
||
|
||
|
||
|
||
|
||
|
||
@enduml | ||
|
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,45 @@ | ||
@startuml | ||
'skinparam linetype ortho | ||
allowmixing | ||
|
||
frame "cmp ResultsCollector" { | ||
|
||
component ResultsCollector { | ||
|
||
portin "Findings" as findingsport | ||
portout "Results" as resultsport | ||
|
||
class "per-run results" as perrunResults | ||
class "Single Page Results" as singlepageresults { | ||
pageName:String | ||
pageTitle:String | ||
metaInfo:PageMetaInfo | ||
} | ||
class "Single Check Results" as singlecheckresults { | ||
whatIsChecked:String | ||
sourceItem:String | ||
targetItem:String | ||
nrOfItemsChecked:int | ||
} | ||
class Finding { | ||
item:String | ||
suggestion:String | ||
} | ||
|
||
findingsport -[dashed]-> singlecheckresults | ||
perrunResults -[dashed]-> resultsport | ||
perrunResults o-- "1..*" singlepageresults | ||
perrunResults o-- "1" singlecheckresults : unused images | ||
singlepageresults o-- singlecheckresults | ||
singlecheckresults "1" o-right- "0..*" Finding | ||
} | ||
|
||
component Reporter | ||
|
||
Reporter -[dashed]-> resultsport | ||
|
||
} | ||
|
||
|
||
|
||
@enduml |
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,45 @@ | ||
@startuml | ||
skinparam linetype ortho | ||
|
||
frame "cmp hsc-core" { | ||
|
||
component "hsc core" as hsc { | ||
portout "local file system" as filesystem | ||
portout "external resource" as extresource #pink | ||
portin AllChecksRunner | ||
portin Result | ||
() Findings | ||
|
||
component "All Checks Runner" as allChecksRunnerCmp | ||
component "Reporter" as reporter | ||
component "Html Parser" as htmlparser <<libary>> | ||
component "Checker" as checker | ||
component "Suggester" as suggester | ||
component "Results Collector" as collector | ||
|
||
AllChecksRunner -[dashed]-> allChecksRunnerCmp | ||
allChecksRunnerCmp -[dashed]-> htmlparser : parse | ||
allChecksRunnerCmp -[dashed]-> checker : create / execute | ||
allChecksRunnerCmp -[dashed]-> reporter : report findings | ||
htmlparser -[dashed]-> filesystem | ||
checker -[dashed]-> filesystem | ||
checker -[dashed]-> extresource | ||
checker -right[dashed]-> suggester | ||
checker -[dashed]-> Findings : add findings | ||
reporter -[dashed]-> filesystem | ||
reporter -[dashed]-> collector | ||
Result -[dashed]-> collector | ||
Findings - collector | ||
|
||
|
||
|
||
|
||
} | ||
|
||
rectangle legend { | ||
rectangle planned #pink | ||
rectangle implemented #lightgrey | ||
} | ||
|
||
} | ||
@enduml |
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,47 @@ | ||
@startuml | ||
'skinparam linetype ortho | ||
allowmixing | ||
|
||
frame "cmp hsc-deployment" { | ||
|
||
node "hsc development" { | ||
artifact "hsc depoyment spec" as spec <<deployment spec>> #lightgreen | ||
component "Hml Sanity Check" as hsccheck #lightgreen | ||
artifact jsoup #lightblue | ||
artifact Groovy #lightblue | ||
artifact JDK #lightblue | ||
artifact Gradle #lightblue | ||
|
||
|
||
JDK -- Groovy | ||
JDK -- Gradle | ||
hsccheck -[dashed]-> jsoup | ||
} | ||
|
||
node "global artifact repository (maven central)" { | ||
artifact "hsc-plugin (fat-jar)" as jar <<binary>> #lightgreen | ||
} | ||
|
||
node "hsc usres computer" { | ||
artifact "build-configuration (gradle, pom)" as build #lightblue | ||
artifact "some documentation" as doc #lightblue | ||
artifact "java runtime" #lightblue | ||
|
||
build -[dashed]-> doc : build and check | ||
|
||
} | ||
|
||
build -up[dashed]-> jar : <<referenced-binary-version>>\n internet/https | ||
spec -[dashed]-> jar : <<describe>> | ||
jar -[dashed]-> hsccheck : <<compiled-from>> | ||
|
||
rectangle legende { | ||
rectangle "our stuff" #lightgreen | ||
rectangle "other stuff" #lightblue | ||
} | ||
|
||
|
||
|
||
} | ||
|
||
@enduml |
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,27 @@ | ||
@startuml | ||
'skinparam linetype ortho | ||
|
||
frame "cmp template-method" { | ||
class Checker <<abstract>> { | ||
+check():SingleCheckResults | ||
+perfromCheck():void | ||
} | ||
class ImageFileExistsChecker { | ||
-baseDirectory:String | ||
+check():SingleCheckResults | ||
} | ||
class InternalLinksChecker{ | ||
+check():SingleCheckResults | ||
} | ||
class DuplicateIdChecker { | ||
+check():SingleCheckResults | ||
} | ||
|
||
note right of Checker : performCheck is the template method\n 1. initialize CheckingResults\n 2. check() deferred to the concrete subclass | ||
|
||
Checker <|-- ImageFileExistsChecker | ||
Checker <|-- InternalLinksChecker | ||
Checker <|-- DuplicateIdChecker | ||
} | ||
|
||
@enduml |