|
| 1 | +{ |
| 2 | + "$schema": "https://calm.finos.org/draft/2025-03/meta/calm.json", |
| 3 | + "nodes": [ |
| 4 | + { |
| 5 | + "unique-id": "web-client", |
| 6 | + "node-type": "webclient", |
| 7 | + "name": "Web Client", |
| 8 | + "description": "Browser based web interface for TraderX", |
| 9 | + "data-classification": "Confidential", |
| 10 | + "run-as": "user" |
| 11 | + }, |
| 12 | + { |
| 13 | + "unique-id": "web-service", |
| 14 | + "node-type": "service", |
| 15 | + "name": "Web Service", |
| 16 | + "description": "Allows employees to manage accounts and book trades", |
| 17 | + "data-classification": "Confidential", |
| 18 | + "run-as": "systemId" |
| 19 | + }, |
| 20 | + { |
| 21 | + "unique-id": "app-db", |
| 22 | + "node-type": "database", |
| 23 | + "name": "App DB", |
| 24 | + "description": "Database which stores account, trade and position state", |
| 25 | + "data-classification": "Confidential", |
| 26 | + "run-as": "systemId" |
| 27 | + }, |
| 28 | + { |
| 29 | + "unique-id": "internal-bank-network", |
| 30 | + "node-type": "network", |
| 31 | + "name": "Bank ABC Internal Network", |
| 32 | + "description": "Internal network for Bank ABC", |
| 33 | + "instance": "Internal Network" |
| 34 | + } |
| 35 | + ], |
| 36 | + "relationships": [ |
| 37 | + { |
| 38 | + "unique-id": "client-to-service", |
| 39 | + "description": "Calls web service", |
| 40 | + "relationship-type": { |
| 41 | + "connects": { |
| 42 | + "source": { |
| 43 | + "node": "web-client" |
| 44 | + }, |
| 45 | + "destination": { |
| 46 | + "node": "web-service" |
| 47 | + } |
| 48 | + } |
| 49 | + }, |
| 50 | + "protocol": "HTTPS" |
| 51 | + }, |
| 52 | + { |
| 53 | + "unique-id": "service-to-database", |
| 54 | + "description": "Persist data in and retrieve data from", |
| 55 | + "relationship-type": { |
| 56 | + "connects": { |
| 57 | + "source": { |
| 58 | + "node": "web-service" |
| 59 | + }, |
| 60 | + "destination": { |
| 61 | + "node": "app-db" |
| 62 | + } |
| 63 | + } |
| 64 | + }, |
| 65 | + "protocol": "HTTPS" |
| 66 | + }, |
| 67 | + { |
| 68 | + "unique-id": "traderx-system-is-deployed-in-internal-bank-network", |
| 69 | + "relationship-type": { |
| 70 | + "deployed-in": { |
| 71 | + "container": "internal-bank-network", |
| 72 | + "nodes": [ |
| 73 | + "web-client", |
| 74 | + "web-service", |
| 75 | + "app-db" |
| 76 | + ] |
| 77 | + } |
| 78 | + } |
| 79 | + } |
| 80 | + ] |
| 81 | +} |
0 commit comments