|
15 | 15 | from diagrams.custom import Custom
|
16 | 16 | from diagrams.k8s.controlplane import APIServer
|
17 | 17 | from diagrams.k8s.rbac import User
|
18 |
| -from diagrams.onprem.database import PostgreSQL |
19 | 18 | from diagrams.onprem.network import Traefik
|
20 | 19 | from diagrams.onprem.vcs import Git
|
21 | 20 | from diagrams.outscale.compute import Compute
|
@@ -61,14 +60,13 @@ def architecture_diagrams(prod_short, project_context, orchestrator_name):
|
61 | 60 | devfile_registries = SimpleStorageService('Devfile registries')
|
62 | 61 | che_host = Custom(prod_short + ' server', icon_path=prod_icon)
|
63 | 62 | git = Git('Git provider')
|
64 |
| - postgres = PostgreSQL('PostgreSQL') |
65 | 63 | plugin_registry = SimpleStorageService('Plug-in registry')
|
66 | 64 | kubernetes_api = APIServer(orchestrator_name + ' API')
|
67 | 65 | user = User('User browser')
|
68 | 66 | user >> che_gateway
|
69 | 67 | che_gateway >> [che_dashboard, devfile_registries, che_host,
|
70 | 68 | plugin_registry, kubernetes_api]
|
71 |
| - che_host >> [postgres, git] |
| 69 | + che_host >> [git] |
72 | 70 |
|
73 | 71 | filename = file_path + 'gateway-interactions'
|
74 | 72 | with Diagram(filename=filename,
|
@@ -106,14 +104,12 @@ def architecture_diagrams(prod_short, project_context, orchestrator_name):
|
106 | 104 | direction="TB",
|
107 | 105 | graph_attr=graph_attr):
|
108 | 106 | che_host = Custom(prod_short + ' server', icon_path=prod_icon)
|
109 |
| - postgres = PostgreSQL('PostgreSQL') |
110 | 107 | git_provider = Git('Git provider')
|
111 | 108 | crd_workspace = APIServer('API')
|
112 | 109 | che_dashboard = Custom('User dashboard', icon_path=prod_icon)
|
113 | 110 | che_dashboard >> che_host
|
114 | 111 | che_host >> [git_provider]
|
115 | 112 | che_host >> crd_workspace
|
116 |
| - che_host >> postgres |
117 | 113 |
|
118 | 114 | filename = file_path + 'devfile-registry-interactions'
|
119 | 115 | with Diagram(filename=filename,
|
|
0 commit comments