Fix incorrect on-premise refs from PR #1023 (#1097)

import of which broken the image links on the
Examples page for the AWS on-premises examples

This PR corrects the issues and uses on-premises
where needed
pull/1084/merge
Alex Malins 7 months ago committed by GitHub
parent c3adfcb65d
commit 26b98e4a8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -211,9 +211,9 @@ with Diagram("Advanced Web Service with On-Premises", show=False):
ingress >> grpcsvc >> aggregator ingress >> grpcsvc >> aggregator
``` ```
![advanced web service with on-premise diagram](/img/advanced_web_service_with_on-premise.png) ![advanced web service with on-premises diagram](/img/advanced_web_service_with_on-premises.png)
## Advanced Web Service with On-Premise (with colors and labels) ## Advanced Web Service with On-Premises (with colors and labels)
```python ```python
from diagrams import Cluster, Diagram, Edge from diagrams import Cluster, Diagram, Edge
@ -226,7 +226,7 @@ from diagrams.onprem.monitoring import Grafana, Prometheus
from diagrams.onprem.network import Nginx from diagrams.onprem.network import Nginx
from diagrams.onprem.queue import Kafka from diagrams.onprem.queue import Kafka
with Diagram(name="Advanced Web Service with On-Premise (colored)", show=False): with Diagram(name="Advanced Web Service with On-Premises (colored)", show=False):
ingress = Nginx("ingress") ingress = Nginx("ingress")
metrics = Prometheus("metric") metrics = Prometheus("metric")
@ -254,7 +254,7 @@ with Diagram(name="Advanced Web Service with On-Premise (colored)", show=False):
ingress >> Edge(color="darkgreen") << grpcsvc >> Edge(color="darkorange") >> aggregator ingress >> Edge(color="darkgreen") << grpcsvc >> Edge(color="darkorange") >> aggregator
``` ```
![advanced web service with on-premise diagram colored](/img/advanced_web_service_with_on-premise_colored.png) ![advanced web service with on-premises diagram colored](/img/advanced_web_service_with_on-premises_colored.png)
## RabbitMQ Consumers with Custom Nodes ## RabbitMQ Consumers with Custom Nodes

Loading…
Cancel
Save