-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from robertbetts/develop
Merging documentation work into main
- Loading branch information
Showing
12 changed files
with
296 additions
and
137 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
from diagrams import Diagram, Cluster | ||
from diagrams.onprem.queue import RabbitMQ | ||
from diagrams.programming.language import Python | ||
from diagrams.programming.framework import Spring | ||
from diagrams.programming.framework import React | ||
|
||
from diagrams.aws.compute import EC2 | ||
from diagrams.aws.network import ELB | ||
|
||
with Diagram("Logical Assembly", direction="LR"): | ||
|
||
with Cluster("Application or Domain Service"): | ||
|
||
gateway = ELB("NuroPb Gateway") | ||
|
||
with Cluster("Microservices", direction="LR"): | ||
broker = RabbitMQ("NuroPb Broker") | ||
EC2("Worker A") >> broker << EC2("Worker B") | ||
EC2("Worker C") >> broker << EC2("Worker D") | ||
|
||
gateway >> broker | ||
|
||
enterprise_mesh = ELB("Enterprise Mesh") | ||
|
||
[Python("AI/ML"), Spring("Application"), React("End Users")] >> gateway | ||
gateway >> enterprise_mesh | ||
|
||
|
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 @@ | ||
from diagrams import Diagram, Cluster, Edge | ||
from diagrams.onprem.queue import RabbitMQ | ||
from diagrams.programming.language import Python | ||
from diagrams.programming.framework import Spring | ||
from diagrams.programming.framework import React | ||
|
||
from diagrams.aws.compute import EC2 | ||
from diagrams.aws.network import ELB | ||
|
||
with (Diagram(direction="LR")): | ||
|
||
with Cluster("Application or Domain Service", direction="LR"): | ||
|
||
service_a = EC2("Service A") | ||
service_b = EC2("Service B") | ||
service_c = EC2("Service C") | ||
broker = RabbitMQ("NuroPb Broker") | ||
gw = ELB("NuroPb Gateway") | ||
service_a >> broker << service_b | ||
gw >> Edge(color="darkgreen") << broker << service_c | ||
|
||
with Cluster("Application Consumers", direction="TB"): | ||
[Python("AI/ML/Jupyter"), Spring("Applications"), React("End Users")] >> gw | ||
|
||
with Cluster("Direct Broker Consumers", direction="TB"): | ||
broker << Python("NuroPb Consumer") | ||
|
Oops, something went wrong.