|
1 | 1 | # Base Station Operations & Maintenance Platform |
2 | 2 |
|
3 | 3 | ```mermaid |
4 | | -graph TB |
5 | | - User([Browser]) --> Ingress |
6 | | -
|
7 | | - subgraph Ingress Layer |
8 | | - Ingress[NGINX Ingress<br/>basestation.local] |
9 | | - end |
10 | | -
|
11 | | - Ingress -->|"/ "| FE |
12 | | - Ingress -->|"/api"| FE |
13 | | - Ingress -->|"/ws"| MS |
14 | | -
|
15 | | - subgraph Cloud Platform |
16 | | - FE[Frontend<br/>React · nginx · :3000] -->|"/api proxy"| GW[API Gateway · :8080] |
17 | | -
|
18 | | - GW --> AS[Auth Service · :8084] |
19 | | - GW --> BS[Base Station · :8081] |
20 | | - GW --> MS[Monitoring · :8082] |
21 | | - GW --> NS[Notification · :8083] |
22 | | -
|
23 | | - MS -->|diagnose| AI[AI Diagnostic<br/>Python · :9091] |
24 | | - MS -.->|publish| RMQ |
25 | | - RMQ -.->|subscribe| NS |
26 | | - end |
27 | | -
|
28 | | - subgraph Edge Layer |
29 | | - EB[Edge Bridge · Go] --> GW |
30 | | - DS[Device Simulator · :9999] --> EB |
31 | | - FS[Fault Orchestrator · :8099] --> DS |
32 | | - FS -->|validate| AI |
33 | | - end |
34 | | -
|
35 | | - subgraph Data Layer |
36 | | - AS & BS & NS --> PG[(PostgreSQL · :5432)] |
37 | | - MS --> MDB[(MongoDB · :27017)] |
38 | | - GW --> REDIS[(Redis · :6379)] |
39 | | - RMQ[(RabbitMQ · :5672)] |
40 | | - end |
41 | | -
|
42 | | - subgraph Observability |
43 | | - PROM[Prometheus · :9090] -.->|scrape| GW & AS & BS & MS & NS |
44 | | - GRAF[Grafana · :3001] -.-> PROM |
45 | | - GRAF -.-> LOKI[Loki · :3100] |
46 | | - ZIP[Zipkin · :9411] -.->|traces| MS |
47 | | - end |
48 | | -
|
49 | | - style Ingress fill:#e65100,color:#fff,stroke:#e65100 |
50 | | - style FE fill:#4caf50,color:#fff,stroke:#4caf50 |
51 | | - style GW fill:#1976d2,color:#fff,stroke:#1976d2 |
52 | | - style AS fill:#ff9800,color:#fff,stroke:#ff9800 |
53 | | - style BS fill:#7b1fa2,color:#fff,stroke:#7b1fa2 |
54 | | - style MS fill:#d32f2f,color:#fff,stroke:#d32f2f |
55 | | - style NS fill:#00838f,color:#fff,stroke:#00838f |
56 | | - style AI fill:#667eea,color:#fff,stroke:#667eea |
57 | | - style EB fill:#ef6c00,color:#fff,stroke:#ef6c00 |
58 | | - style DS fill:#5d4037,color:#fff,stroke:#5d4037 |
59 | | - style FS fill:#5d4037,color:#fff,stroke:#5d4037 |
60 | | - style PG fill:#336791,color:#fff,stroke:#336791 |
61 | | - style MDB fill:#47a248,color:#fff,stroke:#47a248 |
62 | | - style REDIS fill:#dc382d,color:#fff,stroke:#dc382d |
63 | | - style RMQ fill:#ff6f00,color:#fff,stroke:#ff6f00 |
64 | | - style PROM fill:#e6522c,color:#fff,stroke:#e6522c |
65 | | - style GRAF fill:#f46800,color:#fff,stroke:#f46800 |
66 | | - style LOKI fill:#2c3e50,color:#fff,stroke:#2c3e50 |
67 | | - style ZIP fill:#4a90d9,color:#fff,stroke:#4a90d9 |
| 4 | +graph TD |
| 5 | + User([Browser]) --> Ingress[NGINX Ingress · basestation.local] |
| 6 | + Ingress --> FE[Frontend · React/nginx · :3000] |
| 7 | +
|
| 8 | + FS[Fault Orchestrator · :8099] --> DS[Device Simulator · :9999] |
| 9 | + DS --> EB[Edge Bridge · Go] |
| 10 | +
|
| 11 | + FE --> GW[API Gateway · :8080] |
| 12 | + EB --> GW |
| 13 | +
|
| 14 | + GW --> REDIS[(Redis · :6379)] |
| 15 | + GW --> AS[Auth · :8084] |
| 16 | + GW --> BS[Base Station · :8081] |
| 17 | + GW --> NS[Notification · :8083] |
| 18 | + GW --> MS[Monitoring · :8082] |
| 19 | +
|
| 20 | + AS --> PG[(PostgreSQL · :5432)] |
| 21 | + BS --> PG |
| 22 | + NS --> PG |
| 23 | + MS --> MDB[(MongoDB · :27017)] |
| 24 | + MS --> AI[AI Diagnostic · Python · :9091] |
| 25 | + MS --> REDIS |
| 26 | + MS -.-> RMQ[(RabbitMQ · :5672)] |
| 27 | + RMQ -.-> NS |
| 28 | + FS --> AI |
| 29 | + AS & BS & NS & MS -.-> ZIP[Zipkin · :9411] |
| 30 | +
|
| 31 | + MS -.-> PROM[Prometheus · :9090] |
| 32 | + PROM -.-> GRAF[Grafana · :3001] |
| 33 | + GRAF -.-> LOKI[Loki · :3100] |
| 34 | +
|
| 35 | + style Ingress fill:#e65100,color:#fff |
| 36 | + style FE fill:#4caf50,color:#fff |
| 37 | + style GW fill:#1976d2,color:#fff |
| 38 | + style AS fill:#ff9800,color:#fff |
| 39 | + style BS fill:#7b1fa2,color:#fff |
| 40 | + style MS fill:#d32f2f,color:#fff |
| 41 | + style NS fill:#00838f,color:#fff |
| 42 | + style AI fill:#667eea,color:#fff |
| 43 | + style EB fill:#ef6c00,color:#fff |
| 44 | + style DS fill:#5d4037,color:#fff |
| 45 | + style FS fill:#5d4037,color:#fff |
| 46 | + style PG fill:#336791,color:#fff |
| 47 | + style MDB fill:#47a248,color:#fff |
| 48 | + style REDIS fill:#dc382d,color:#fff |
| 49 | + style RMQ fill:#ff6f00,color:#fff |
| 50 | + style PROM fill:#e6522c,color:#fff |
| 51 | + style GRAF fill:#f46800,color:#fff |
| 52 | + style LOKI fill:#2c3e50,color:#fff |
| 53 | + style ZIP fill:#4a90d9,color:#fff |
68 | 54 | ``` |
69 | 55 |
|
70 | 56 | <div align="center"> |
|
0 commit comments