New Deploy for Demo

This commit is contained in:
mr
2026-04-13 16:35:42 +02:00
parent fdd8c6a50d
commit 34f10565c7
32 changed files with 3630 additions and 54 deletions

View File

@@ -1,32 +1,2 @@
[{ [{"_id":"c0cece97-7730-4c2a-8c20-a30944564106","failed_execution":null,"api_url":"http://beta.opencloud.com:9600","nats_address":"nats://nats:4222","stream_address":"/ip4/172.40.0.3/tcp/4003/p2p/12D3KooWBh9kZrekBAE5G33q4jCLNRAzygem3gP1mMdK8mhoCTaw","wallet_address":"my-wallet","public_key":"MCowBQYDK2VwAyEAG95Ettl3jTi41HM8le1A9WDmOEq0ANEqpLF7zTZrfXA=","peer_id":"12D3KooWBh9kZrekBAE5G33q4jCLNRAzygem3gP1mMdK8mhoCTaw","relation":1,"abstractobject":{"id":"c0cece97-7730-4c2a-8c20-a30944564106","name":"opencloud-demo-1","is_draft":false,"creation_date":{"$date":"2025-03-27T09:13:13.230Z"},"update_date":{"$date":"2026-03-31T12:48:11.704Z"},"access_mode":0},"trust_score":0,"verify":false},
"_id":"c0cece97-7730-4c2a-8c20-a30944564106", {"_id":"b87318c9-f5f8-44bb-8d48-913f4ddd6c31","failed_execution":null,"abstractobject":{"update_date":{"$date":"2026-04-07T09:56:35.247Z"},"access_mode":0,"id":"b87318c9-f5f8-44bb-8d48-913f4ddd6c31","not_in_catalog":false,"name":"opencloud-demo-2","is_draft":false,"creation_date":{"$date":"2025-03-27T09:13:13.230Z"}},"api_url":"http://localhost:8000","nats_address":"nats://nats:4222","stream_address":"/ip4/172.40.0.4/tcp/4004/p2p/12D3KooWSzQtBux5GkpdqK8MA9Rmo5W1vTVZhWCbut2k99Ge45GN","peer_id":"12D3KooWSzQtBux5GkpdqK8MA9Rmo5W1vTVZhWCbut2k99Ge45GN","wallet_address":"my-wallet","public_key":"MCowBQYDK2VwAyEA/ymOIb0sJ0qCWrf3mKz7ACCvsMXLog/EK533JfNXZTM=","relation":2,"organization_id":"","trust_score":0,"verify":false}]
"failed_execution":null,
"api_url":"http://beta.opencloud.com:9600",
"nats_address": "nats://nats:4222",
"stream_address":"/ip4/172.40.0.9/tcp/4009/p2p/12D3KooWGnQfKwX9E4umCPE8dUKZuig4vw5BndDowRLEbGmcZyta",
"wallet_address":"my-wallet",
"public_key":"MCowBQYDK2VwAyEAZ4F3KqOp/5QrPdZGqqX6PYYEGd2snX4Q3AUt9XAG3v8=",
"peer_id": "12D3KooWGnQfKwX9E4umCPE8dUKZuig4vw5BndDowRLEbGmcZyta",
"relation": 1,
"abstractobject":{
"update_date":{"$date":"2025-03-27T09:13:13.230Z"},"access_mode":0,
"id":"c0cece97-7730-4c2a-8c20-a30944564106",
"name":"opencloud-demo-1","is_draft":false,
"creation_date":{"$date":"2025-03-27T09:13:13.230Z"}
}
}, {
"_id":"b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"failed_execution":null,
"abstractobject":{
"update_date":{"$date":"2025-03-27T09:13:13.230Z"},"access_mode":0,
"id":"b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"name":"opencloud-demo-2","is_draft":false,
"creation_date":{"$date":"2025-03-27T09:13:13.230Z"}},
"api_url":"http://localhost:8000",
"nats_address": "nats://nats:4222",
"stream_address":"/ip4/172.40.0.10/tcp/4010/p2p/12D3KooWB4jGjyhr8idBehfpkwvfuvEKvubSDu3VPgxFeeXSwEgZ",
"peer_id": "12D3KooWB4jGjyhr8idBehfpkwvfuvEKvubSDu3VPgxFeeXSwEgZ",
"wallet_address":"my-wallet",
"public_key":"MCowBQYDK2VwAyEAEomuEQGmGsYVw35C6DB5tfY8LI8jm359ceAxRX8eQ0o",
"relation": 2
}]

View File

@@ -0,0 +1 @@
[{"_id":"ed30526a-b6be-4c3e-8451-418ec90008f8","abstractobject":{"id":"ed30526a-b6be-4c3e-8451-418ec90008f8","not_in_catalog":false,"name":"IRT local file storage purchase 2026-04-09 08:39","is_draft":false,"update_date":{"$date":"2026-04-09T08:37:21.749Z"},"access_mode":0},"dest_peer_id":"c0cece97-7730-4c2a-8c20-a30944564106","execution_id":"4305cac5-b669-46fd-a2b8-5c98e0177d8e","executions_id":"f1ebffed-4985-4109-9acd-a6bd0892092b","end_buying_date":{"$date":"2026-04-09T08:59:21.587Z"},"instance_id":"7fdccb9c-7090-40a5-bacd-7435bc56c90d","priced_item":{"peer_id":"c0cece97-7730-4c2a-8c20-a30944564106","quantity":1,"selected_pricing":{"default_refund":0,"exceeding":false,"exceeding_ratio":0,"pricing":{"override_strategy":0,"price":0,"time_pricing_strategy":0,"buying_strategy":0,"currency":""},"refund_ratio":0,"refund_types":null},"pricing_variations":[],"resource_type":3,"instance_id":"7fdccb9c-7090-40a5-bacd-7435bc56c90d","resource_id":"e726020a-b68e-4abc-ab36-c3640ea3f557","name":"IRT local file storage","instances_refs":{"7fdccb9c-7090-40a5-bacd-7435bc56c90d":"IRT local file storage Marseille"},"booking_configuration":{"end":"2026-04-09T08:59:21.587972898Z","start":"2026-04-09T08:39:21.587972898Z"}},"resource_id":"e726020a-b68e-4abc-ab36-c3640ea3f557","resource_type":3,"scheduler_peer_id":"12D3KooWBh9kZrekBAE5G33q4jCLNRAzygem3gP1mMdK8mhoCTaw"}]

File diff suppressed because one or more lines are too long

23
docker/demo/clients.json Normal file
View File

@@ -0,0 +1,23 @@
[
{
"client_id": "oc-auth",
"client_secret": "oc-auth-got-secret",
"client_name": "oc-auth",
"grant_types": [
"implicit",
"refresh_token",
"authorization_code",
"client_credentials"
],
"response_types": [
"id_token",
"token",
"code"
],
"scope": "openid profile email roles",
"redirect_uris": [
"http://localhost:8000"
],
"token_endpoint_auth_method": "client_secret_post"
}
]

18
docker/demo/config Normal file
View File

@@ -0,0 +1,18 @@
apiVersion: v1
clusters:
- cluster:
certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJkekNDQVIyZ0F3SUJBZ0lCQURBS0JnZ3Foa2pPUFFRREFqQWpNU0V3SHdZRFZRUUREQmhyTTNNdGMyVnkKZG1WeUxXTmhRREUzTnpReU56STVNVEF3SGhjTk1qWXdNekl6TVRNek5URXdXaGNOTXpZd016SXdNVE16TlRFdwpXakFqTVNFd0h3WURWUVFEREJock0zTXRjMlZ5ZG1WeUxXTmhRREUzTnpReU56STVNVEF3V1RBVEJnY3Foa2pPClBRSUJCZ2dxaGtqT1BRTUJCd05DQUFSSGpYRDVpbnRIYWZWSk5VaDFlRnIxcXBKdFlkUmc5NStKVENEa0tadTIKYjUxRXlKaG1zanRIY3BDUndGL1VGMzlvdzY4TFBUcjBxaUorUHlhQTBLZUtvMEl3UURBT0JnTlZIUThCQWY4RQpCQU1DQXFRd0R3WURWUjBUQVFIL0JBVXdBd0VCL3pBZEJnTlZIUTRFRmdRVTdWQkNzZVN3ajJ2cmczMFE5UG8vCnV6ZzAvMjR3Q2dZSUtvWkl6ajBFQXdJRFNBQXdSUUloQUlEOVY2aFlUSS83ZW1hRzU0dDdDWVU3TXFSdDdESUkKNlgvSUwrQ0RLbzlNQWlCdlFEMGJmT0tVWDc4UmRGdUplcEhEdWFUMUExaGkxcWdIUGduM1dZdDBxUT09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
server: https://127.0.0.1:6443
name: default
contexts:
- context:
cluster: default
user: default
name: default
current-context: default
kind: Config
users:
- name: default
user:
client-certificate-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJrVENDQVRlZ0F3SUJBZ0lJUU5KbFNJQUJPMDR3Q2dZSUtvWkl6ajBFQXdJd0l6RWhNQjhHQTFVRUF3d1kKYXpOekxXTnNhV1Z1ZEMxallVQXhOemMwTWpjeU9URXdNQjRYRFRJMk1ETXlNekV6TXpVeE1Gb1hEVEkzTURNeQpNekV6TXpVeE1Gb3dNREVYTUJVR0ExVUVDaE1PYzNsemRHVnRPbTFoYzNSbGNuTXhGVEFUQmdOVkJBTVRESE41CmMzUmxiVHBoWkcxcGJqQlpNQk1HQnlxR1NNNDlBZ0VHQ0NxR1NNNDlBd0VIQTBJQUJMY3Uwb2pUbVg4RFhTQkYKSHZwZDZNVEoyTHdXc1lRTmdZVURXRDhTVERIUWlCczlMZ0x5ZTdOMEFvZk85RkNZVW1HamhiaVd3WFVHR3dGTgpUdlRMU2lXalNEQkdNQTRHQTFVZER3RUIvd1FFQXdJRm9EQVRCZ05WSFNVRUREQUtCZ2dyQmdFRkJRY0RBakFmCkJnTlZIU01FR0RBV2dCUlJhRW9wQzc5NGJyTHlnR0g5SVhvbDZTSmlFREFLQmdncWhrak9QUVFEQWdOSUFEQkYKQWlFQWhaRUlrSWV3Y1loL1NmTFVCVjE5MW1CYTNRK0J5S2J5eTVlQmpwL3kzeWtDSUIxWTJicTVOZTNLUUU4RAprNnNzeFJrbjJmN0VoWWVRQU1pUlJ2MjIweDNLCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0KLS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJkekNDQVIyZ0F3SUJBZ0lCQURBS0JnZ3Foa2pPUFFRREFqQWpNU0V3SHdZRFZRUUREQmhyTTNNdFkyeHAKWlc1MExXTmhRREUzTnpReU56STVNVEF3SGhjTk1qWXdNekl6TVRNek5URXdXaGNOTXpZd016SXdNVE16TlRFdwpXakFqTVNFd0h3WURWUVFEREJock0zTXRZMnhwWlc1MExXTmhRREUzTnpReU56STVNVEF3V1RBVEJnY3Foa2pPClBRSUJCZ2dxaGtqT1BRTUJCd05DQUFTcTdVTC85MEc1ZmVTaE95NjI3eGFZWlM5dHhFdWFoWFQ3Vk5wZkpQSnMKaEdXd2UxOXdtbXZzdlp6dlNPUWFRSzJaMmttN0hSb1IrNlA1YjIyamczbHVvMEl3UURBT0JnTlZIUThCQWY4RQpCQU1DQXFRd0R3WURWUjBUQVFIL0JBVXdBd0VCL3pBZEJnTlZIUTRFRmdRVVVXaEtLUXUvZUc2eThvQmgvU0Y2Ckpla2lZaEF3Q2dZSUtvWkl6ajBFQXdJRFNBQXdSUUloQUk3cGxHczFtV20ySDErbjRobDBNTk13RmZzd0o5ZXIKTzRGVkM0QzhwRG44QWlCN3NZMVFwd2M5VkRUeGNZaGxuZzZNUzRXai85K0lHWjJxcy94UStrMjdTQT09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
client-key-data: LS0tLS1CRUdJTiBFQyBQUklWQVRFIEtFWS0tLS0tCk1IY0NBUUVFSUROZDRnWXd6aVRhK1hwNnFtNVc3SHFzc1JJNkREaUJTbUV2ZHoxZzk3VGxvQW9HQ0NxR1NNNDkKQXdFSG9VUURRZ0FFdHk3U2lOT1pmd05kSUVVZStsM294TW5ZdkJheGhBMkJoUU5ZUHhKTU1kQ0lHejB1QXZKNwpzM1FDaDg3MFVKaFNZYU9GdUpiQmRRWWJBVTFPOU10S0pRPT0KLS0tLS1FTkQgRUMgUFJJVkFURSBLRVktLS0tLQo=

10
docker/demo/db-1/add.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
# Load data into node 1's MongoDB (container: mongo, port 27017)
MONGO_CONTAINER=${1:-mongo}
docker cp ./datas $MONGO_CONTAINER:.
for i in $(ls ./datas); do
echo "ADD file $i in collection ${i/.json/}"
docker exec -it $MONGO_CONTAINER sh -c "mongoimport --jsonArray --db DC_myDC --collection ${i/.json/} --file ./datas/$i"
done

View File

@@ -0,0 +1,81 @@
[
{
"_id": "ca000001-ca00-4001-8001-ca0000000001",
"abstractobject": {
"id": "ca000001-ca00-4001-8001-ca0000000001",
"name": "Cross-Peer Environmental Monitoring",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": {"$date": "2026-04-10T00:00:00.000Z"},
"update_date": {"$date": "2026-04-10T00:00:00.000Z"},
"access_mode": 0
},
"version": "1.2.0",
"description": "Bi-peer collaborative zone for real-time road traffic monitoring and environmental sensor collection. Peer-1 (IRT Saint-Exupéry, Toulouse) contributes GPU compute (Mundi datacenter — RTX 3090 FE cluster), the IRT RAID-5S scratch store (/mnt/vol) and the Toulouse ring-road camera feed (eu-001.jpg, 0.2 Hz). Peer-2 (opencloud-demo-2, Paris) contributes the bare-metal EPYC 9654 cluster for CPU-bound Python vehicle detection and provides the Mosquitto MQTT broker for downstream edge consumers. Covers the full sensor-data-collector pipeline: Alpine frame acquisition → Python OpenCV vehicle analysis → Mosquitto sensors/camera/vehicle publication. The ALPR workflow is also shared for licence-plate extraction cross-runs. Access to workflow scheduling is restricted by the sensor-data-access-policy rule; MQTT subscription is open to all default-namespace peers.",
"collaborative_area": {
"share_mode": "shared",
"created_at": {"$date": "2026-04-10T00:00:00.000Z"},
"creator": "c0cece97-7730-4c2a-8c20-a30944564106",
"exploited_by": "collaborators only"
},
"attributes": {
"domain": "environmental-monitoring",
"data_classification": "restricted",
"sla_uptime_pct": 99.5,
"contact": "irt-opencloud@irt-saintexupery.com"
},
"workspaces": [],
"workflows": [
"33333333-3333-4333-8333-333333333333",
"58314c99-c595-4ca2-8b5e-822a6774efed"
],
"allowed_peers_group": {
"c0cece97-7730-4c2a-8c20-a30944564106": ["*"],
"b87318c9-f5f8-44bb-8d48-913f4ddd6c31": ["sensor-operators", "analysts"]
},
"rules": [
"rule0001-0000-4000-8000-r00000000001",
"rule0003-0000-4000-8000-r00000000003"
]
},
{
"_id": "ca000002-ca00-4002-8002-ca0000000002",
"abstractobject": {
"id": "ca000002-ca00-4002-8002-ca0000000002",
"name": "API Health Observatory",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": {"$date": "2026-04-10T06:00:00.000Z"},
"update_date": {"$date": "2026-04-10T06:00:00.000Z"},
"access_mode": 0
},
"version": "1.0.1",
"description": "Cross-peer operational monitoring zone for the OpenCloud federation API gateway. Peer-2 (opencloud-demo-2, Paris) owns the primary infrastructure: Peer2 MinIO RAID-6 NVMe bucket (1 TB, /mnt/minio) acts as the log sink, Redis 7-alpine caches per-endpoint p50/p95 latency distributions under a 300-second TTL, and Nginx 1.25-alpine serves the aggregated status dashboard on port 80. Peer-1 (IRT Saint-Exupéry, Toulouse) schedules the CURL ingestion step via the Mundi datacenter GPU cluster and consumes the Nginx endpoint for its operator dashboards. The image-meta-extractor workflow is also registered to validate image pipeline health metrics. Data governance: API log read access is open to all zone members; write access and scheduling are restricted to peer-1 principals via the api-logs-read-only rule. Cross-peer data retention policy (rule 3) governs MinIO /logs lifecycle (30-day auto-purge, 90-day for .gz rotations).",
"collaborative_area": {
"share_mode": "shared",
"created_at": {"$date": "2026-04-10T06:00:00.000Z"},
"creator": "c0cece97-7730-4c2a-8c20-a30944564106",
"exploited_by": "all members"
},
"attributes": {
"domain": "api-observability",
"data_classification": "internal",
"dashboard_url": "http://localhost:9000/status",
"alert_channel": "nats://nats:4222/alerts.api",
"contact": "ops-opencloud@irt-saintexupery.com"
},
"workspaces": [],
"workflows": [
"22222222-2222-4222-8222-222222222222",
"11111111-1111-4111-8111-111111111111"
],
"allowed_peers_group": {
"c0cece97-7730-4c2a-8c20-a30944564106": ["*"],
"b87318c9-f5f8-44bb-8d48-913f4ddd6c31": ["*"]
},
"rules": [
"rule0002-0000-4000-8000-r00000000002",
"rule0003-0000-4000-8000-r00000000003"
]
}
]

View File

@@ -0,0 +1,209 @@
[
{
"_id": "7b989e97-c3e7-49d2-a3a7-f959da4870b5",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "compute",
"abstractobject": {
"id": "7b989e97-c3e7-49d2-a3a7-f959da4870b5",
"name": "Mundi datacenter",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2021-09-30T14:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "https://localhost:8000/static/images/Mundi datacenter.png",
"description": "Toulouse-based GPU cluster operated by IRT Saint-Exupéry under the Mundi Opencloud programme. Node spec: 1× Intel Core i7-14700KF (3.6 GHz base, 5.6 GHz boost, 20 cores / 28 threads, Intel 7 process), 16 GB DDR5-6000, 8× NVIDIA RTX 3090 FE (24 GB GDDR6X, 10 496 CUDA cores, 328 3rd-gen tensor cores each). Total GPU VRAM per node: 192 GB. Specialised for GPU-accelerated computer-vision workloads: image batch processing, ONNX/TensorRT neural-network inference, satellite raster analytics (GDAL 3.8 stack). Connected to IRT local storage (/mnt/vol) via 10 GbE with direct NFS mount. Power mix: ~60% solar / ~40% coal. Annual CO₂ footprint: ~1 000 kg eqCO₂.",
"short_description": "IRT Saint-Exupéry GPU cluster — i7-14700KF + 8× RTX 3090 FE per node (peer-1)",
"owners": [{"name": "IRT Saint Exupery"}],
"allowed_booking_modes": {
"0": {"inflate": false, "percent": 0, "priority": 0},
"1": {"inflate": false, "percent": 8, "priority": 1}
}
},
"instances": [{
"resourceinstance": {
"abstractobject": {"id": "7b989e97-c3e7-49d2-a3a7-f959da4870b5", "name": "Mundi datacenter Toulouse", "is_draft": false, "access_mode": 0},
"location": {"latitude": 43.6047, "longitude": 1.4442},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}, "pricing_profiles": {
"0": {"3": {"privilege_strategy": 0, "garanted_delay_second": 0, "refund_types": [], "exceeding": false, "exceeding_ratio": 0, "pricing": {"price": 3.5, "currency": "EUR", "buying_strategy": 0, "time_pricing_strategy": 3, "override_strategy": 0}, "allowed_payment_type": [0, 1, 2], "default_refund": 0, "refund_ratio": 0}},
"2": {"0": {"privilege_strategy": 2, "garanted_delay_second": 0, "refund_types": [], "exceeding": false, "exceeding_ratio": 0, "pricing": {"price": 250.0, "currency": "EUR", "buying_strategy": 2, "time_pricing_strategy": 0, "override_strategy": 0}, "allowed_payment_type": [0], "default_refund": 0, "refund_ratio": 0}}
}}]
},
"security_level": "public",
"annual_co2_emissions": 1000,
"power_sources": ["solaire", "charbon"],
"cpus": {"Intel Core i7-14700KF": {"model": "Intel Core i7-14700KF", "frequency": 3.6, "cores": 20, "architecture": "x86"}},
"gpus": {"RTX 3090 FE": {"cores": {"cuda": 10496, "tensor": 328}, "model": "RTX 3090 FE", "memory": 24000}},
"nodes": [
{"name": "default", "quantity": 1, "ram": {"size": 16384}, "cpus": {"Intel Core i7-14700KF": 1}, "gpus": {"RTX 3090 FE": 8}},
{"name": "special", "quantity": 2, "ram": {"size": 16384}, "cpus": {"Intel Core i7-14700KF": 10}, "gpus": {"RTX 3090 FE": 10}}
]
}]
},
"architecture": "x86",
"infrastructure": 0
},
{
"_id": "0bb77206-371a-428e-8ae3-ff11575071e2",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "compute",
"abstractobject": {
"id": "0bb77206-371a-428e-8ae3-ff11575071e2",
"name": "VM Target 2",
"is_draft": false,
"creator_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2021-09-30T14:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "https://localhost:8000/static/images/vm_logo.png",
"description": "x86_64 virtual machine (KVM) running on the opencloud-demo-2 (peer-2) Proxmox VE 8 hypervisor cluster at IP 172.16.0.181. Host hardware: Intel Core Ultra 9 285K (3.6 GHz, 32 cores Arrow Lake-S, Intel 3 process), 16 GB DDR5-6400 ECC. Exposed to peer-1 for cross-peer workflow scheduling via Admiralty multi-cluster federation; scheduling happens transparently through the OpenCloud workflow engine without explicit SSH or kubectl access from peer-1. Handles CPU-bound processing steps (Python analysis, ALPR recognition) that benefit from low-latency access to peer-2-hosted MinIO storage. Inter-peer data traffic encrypted in transit (mTLS). Power: 100% alternating-current reclaimed energy. Annual CO₂: ~1 000 kg eqCO₂.",
"short_description": "Peer-2 KVM VM — cross-peer execution target owned by opencloud-demo-2",
"owners": [{"name": "IRT Saint Exupery"}]
},
"instances": [{
"resourceinstance": {
"abstractobject": {"id": "0bb77206-371a-428e-8ae3-ff11575071e2", "name": "VM Proxmox Pierre 2", "is_draft": false, "access_mode": 0},
"location": {"latitude": 48.8566, "longitude": 2.3522},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
},
"security_level": "private",
"annual_co2_emissions": 1000,
"power_sources": ["Larmes d'alternant"],
"cpus": {"Intel Core Ultra 9 285K": {"model": "Intel Core Ultra 9 285K", "frequency": 3.6, "cores": 32, "architecture": "x86"}},
"nodes": [{"name": "default", "quantity": 1, "ram": {"size": 16384}, "cpus": {"Intel Core Ultra 9 285K": 1}}]
}]
},
"architecture": "x86",
"infrastructure": 0
},
{
"_id": "7fdccb9c-7090-40a5-bacd-7435bc56c90d",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "compute",
"abstractobject": {
"id": "7fdccb9c-7090-40a5-bacd-7435bc56c90d",
"name": "Meteo France datacenter",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2021-09-30T14:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "https://localhost:8000/static/images/Meteo France datacenter.png",
"description": "HPC node operated by Météo-France at their Toulouse facility. Node spec: Intel Core i7-14700KF (3.6 GHz, 20 cores), 32 GB DDR5-6000, 8× NVIDIA RTX 3090 FE GPU. SecNumCloud-compliant (ANSSI qualification): data at rest AES-256, inter-node TLS 1.3, access governed by RBAC with attribute-based policy. Primarily reserved for numerical weather prediction (NWP) post-processing (AROME-France 1.3 km, ARPEGE global) and satellite raster ingestion (Sentinel-3 OLCI / SRAL, Copernicus Land Service). Available to OpenCloud federation workloads during off-peak hours (20:0006:00 UTC). Power mix: solar + coal. Annual CO₂: ~1 000 kg eqCO₂.",
"short_description": "Météo-France SecNumCloud HPC node — i7-14700KF + 8× RTX 3090 FE (peer-1)",
"owners": [{"name": "Meteo France"}]
},
"instances": [{
"resourceinstance": {
"abstractobject": {"id": "7fdccb9c-7090-40a5-bacd-7435bc56c90d", "name": "Meteo France datacenter Toulouse", "is_draft": false, "access_mode": 0},
"location": {"latitude": 43.6047, "longitude": 1.4442},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
},
"security_level": "sec num cloud",
"annual_co2_emissions": 1000,
"power_sources": ["solaire", "charbon"],
"cpus": {"Intel Core i7-14700KF": {"model": "Intel Core i7-14700KF", "frequency": 3.6, "cores": 20, "architecture": "x86"}},
"gpus": {"RTX 3090 FE": {"cores": {"cuda": 10496, "tensor": 328}, "model": "RTX 3090 FE", "memory": 24000}},
"nodes": [{"name": "default", "quantity": 1, "ram": {"size": 32786}, "cpus": {"Intel Core i7-14700KF": 1}, "gpus": {"RTX 3090 FE": 8}}]
}]
},
"architecture": "x86",
"infrastructure": 0
},
{
"_id": "979776c3-9ae7-4e02-9138-7b30b25f22cc",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "compute",
"abstractobject": {
"id": "979776c3-9ae7-4e02-9138-7b30b25f22cc",
"name": "VM Target 1",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2021-09-30T14:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "https://localhost:8000/static/images/vm_logo.png",
"description": "x86_64 virtual machine (KVM) on the opencloud-demo-1 (peer-1) Proxmox VE 8 cluster at IP 172.16.0.180. Host: Intel Core Ultra 9 285K (3.6 GHz, 32 cores Arrow Lake-S), 16 GB DDR5-6400. Peer-1-only scope: not exposed to external peers. Used as an isolated sandbox for running workflow steps that must not leave peer-1 infrastructure, and as a failover execution target when the Mundi datacenter GPU cluster is unavailable or saturated. VLAN-isolated from the federation DMZ; storage accessible via NFS mount to /mnt/vol. Power: 100% reclaimed alternating-current energy. Annual CO₂: ~1 000 kg eqCO₂.",
"short_description": "Peer-1 KVM VM — isolated local execution target owned by opencloud-demo-1",
"owners": [{"name": "IRT Saint Exupery"}]
},
"instances": [{
"resourceinstance": {
"abstractobject": {"id": "979776c3-9ae7-4e02-9138-7b30b25f22cc", "name": "VM Proxmox Pierre 1", "is_draft": false, "access_mode": 0},
"location": {"latitude": 43.6047, "longitude": 1.4442},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
},
"security_level": "private",
"annual_co2_emissions": 1000,
"power_sources": ["Larmes d'alternant"],
"cpus": {"Intel Core Ultra 9 285K": {"model": "Intel Core Ultra 9 285K", "frequency": 3.6, "cores": 32, "architecture": "x86"}},
"nodes": [{"name": "default", "quantity": 1, "ram": {"size": 16384}, "cpus": {"Intel Core Ultra 9 285K": 1}}]
}]
},
"architecture": "x86",
"infrastructure": 0
},
{
"_id": "ee550005-ee55-4005-8005-eeeeeeeeeeee",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "compute",
"abstractobject": {
"id": "ee550005-ee55-4005-8005-eeeeeeeeeeee",
"name": "Demo Peer2 Server",
"is_draft": false,
"creator_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2026-04-10T00:00:00.000Z",
"updater_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"access_mode": 1
},
"logo": "https://localhost:8000/static/images/vm_logo.png",
"description": "High-density bare-metal server owned by opencloud-demo-2, hosted in a Tier-3 Paris data centre (PUE 1.3). 4 compute nodes, each: 2× AMD EPYC 9654 (2.4 GHz base, 3.7 GHz boost, 96 cores / 192 threads per socket, Zen 4, 5nm TSMC), 64 GB DDR5-4800 ECC registered, 2× NVIDIA RTX 4090 (24 GB GDDR6X, 16 384 CUDA cores, 512 4th-gen tensor cores). Total cluster: 768 CPU cores and 192 GB GPU VRAM across 4 nodes. Dedicated to containerised workloads requiring both high CPU parallelism (Redis, Nginx, Mosquitto pub/sub) and optional GPU acceleration (Stable Diffusion inference, large model fine-tuning). Exposed to partner peers via OpenCloud Federation manifest. Powered 100% by certified renewable (solar PPA). Annual CO₂: ~500 kg eqCO₂.",
"short_description": "Peer-2 bare-metal cluster — 4 nodes × dual EPYC 9654 + 2× RTX 4090, solar-powered",
"owners": [{"name": "opencloud-demo-2"}],
"allowed_booking_modes": {
"0": {"inflate": false, "percent": 0, "priority": 0},
"1": {"inflate": false, "percent": 10, "priority": 1}
}
},
"instances": [{
"resourceinstance": {
"abstractobject": {"id": "ee550005-ee55-4005-8005-eeeeeeeeeeee", "name": "Demo Peer2 Server Paris", "is_draft": false, "access_mode": 0},
"location": {"latitude": 48.8566, "longitude": 2.3522},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}, "pricing_profiles": {
"0": {"3": {"privilege_strategy": 0, "garanted_delay_second": 0, "refund_types": [], "exceeding": false, "exceeding_ratio": 0, "pricing": {"price": 6.0, "currency": "EUR", "buying_strategy": 0, "time_pricing_strategy": 3, "override_strategy": 0}, "allowed_payment_type": [0, 1, 2], "default_refund": 0, "refund_ratio": 0}},
"2": {"0": {"privilege_strategy": 2, "garanted_delay_second": 0, "refund_types": [], "exceeding": false, "exceeding_ratio": 0, "pricing": {"price": 500.0, "currency": "EUR", "buying_strategy": 2, "time_pricing_strategy": 0, "override_strategy": 0}, "allowed_payment_type": [0], "default_refund": 0, "refund_ratio": 0}}
}}]
},
"security_level": "public",
"annual_co2_emissions": 500,
"power_sources": ["solaire"],
"cpus": {"AMD EPYC 9654": {"model": "AMD EPYC 9654", "frequency": 2.4, "cores": 96, "architecture": "x86"}},
"gpus": {"RTX 4090": {"cores": {"cuda": 16384, "tensor": 512}, "model": "RTX 4090", "memory": 24000}},
"nodes": [
{"name": "default", "quantity": 4, "ram": {"size": 65536}, "cpus": {"AMD EPYC 9654": 2}, "gpus": {"RTX 4090": 2}}
]
}]
},
"architecture": "x86",
"infrastructure": 0
}
]

View File

@@ -0,0 +1,152 @@
[
{
"_id": "d573dc63-4de0-4e29-8a4e-c15cbb3aed06",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "data",
"abstractobject": {
"id": "d573dc63-4de0-4e29-8a4e-c15cbb3aed06",
"name": "Red Car",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2021-09-30T14:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "https://images.wondershare.com/repairit/article/guide-on-jpeg-repair-online-01.png",
"description": "Single-frame JPEG (h786poj.jpg, 590 KB, 2592×1944 px, sRGB) extracted from a French motorway speed-camera sequence. Depicts a red Peugeot 308 SW at an oblique 40° rear angle; licence plate FR-AA-000 fully unoccluded and in focus. Reference artefact for ALPR regression tests: standard 23° skew, 98 lx simulated ambient light, 35 km/h forward motion (motion-blur coefficient 0.18). Used as the canonical static input in the alpr and image-meta-extractor workflows to ensure reproducible plate-extraction benchmarks across peers. Served statically from the openalpr.com CDN evaluation dataset; SHA-1 checksum stable across CDN edge pops. Licence: OpenALPR evaluation — non-commercial use only.",
"short_description": "OpenALPR benchmark JPEG — red Peugeot 308, unoccluded rear plate, 2592×1944 px",
"owners": [{"name": "OpenALPR"}]
},
"instances": [{
"source": "http://plates.openalpr.com/h786poj.jpg",
"resourceinstance": {
"env": [{"attr": "source", "readonly": true}],
"abstractobject": {"id": "d573dc63-4de0-4e29-8a4e-c15cbb3aed06", "name": "Red Car", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 43.6047, "longitude": 1.4442},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
}
}]
},
"quality": "low",
"open_data": false,
"static": true,
"size": 0.59,
"example": "http://plates.openalpr.com/h786poj.jpg"
},
{
"_id": "gg770007-gg77-4007-8007-gggggggggggg",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "data",
"abstractobject": {
"id": "gg770007-gg77-4007-8007-gggggggggggg",
"name": "Traffic Camera Feed",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2026-04-10T00:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "https://localhost:8000/static/images/alpine-logo.png",
"description": "Rolling series of JPEG snapshots (eu-001.jpg, avg 250 KB per frame, 1920×1080 px) captured at 0.2 Hz (one frame per 5 s) by a Hikvision DS-2CD2T43G2-2I bullet camera mounted 6 m above a Toulouse ring-road on-ramp. H.264-encoded video stream demuxed by an onboard RTSP gateway; individual frames exposed as a static HTTPS endpoint refreshed server-side every 5 seconds. Resolution sufficient for single-plate detection at vehicle distance 412 m with a 50 mm equivalent focal length. Frames are baseline JPEG (quality factor 85, no progressive encoding) and carry EXIF GPS tag matching the camera pole coordinates (43.6047°N, 1.4442°E). Classified as non-public operational data; OpenCloud federation partnerships restricted to default namespace. Source endpoint served from the openalpr CDN staging mirror; not archived.",
"short_description": "Toulouse ring-road live JPEG feed — 1920×1080, 0.2 Hz, Hikvision DS-2CD2T43G2-2I (peer-1)",
"owners": [{"name": "IRT"}]
},
"instances": [{
"source": "http://plates.openalpr.com/eu-001.jpg",
"resourceinstance": {
"env": [{"attr": "source", "readonly": true}],
"abstractobject": {"id": "gg770007-gg77-4007-8007-gggggggggggg", "name": "Traffic Camera Feed Toulouse", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 43.6047, "longitude": 1.4442},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
}
}]
},
"quality": "medium",
"open_data": false,
"static": false,
"size": 0.25,
"example": "http://plates.openalpr.com/eu-001.jpg"
},
{
"_id": "811d4b6d-0170-400f-b4a5-9e1597dc7620",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "data",
"abstractobject": {
"id": "811d4b6d-0170-400f-b4a5-9e1597dc7620",
"name": "Meteo-France forecasts",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2021-09-30T14:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "https://localhost:8000/static/images/Meteo France datacenter.png",
"description": "GRIB2-encoded short-range numerical weather prediction output from the Météo-France AROME-France 1.3 km model over metropolitan France (domain 37.5°N55°N, 12°W16°E). Issued 4× daily (00, 06, 12, 18 UTC runs); forecast horizon H+0 to H+48 at 1-hour steps. Fields per level: 2 m temperature (K), 10 m U/V wind components (m/s), total cloud cover fraction (01), convective available potential energy (J/kg), cumulative precipitation (kg/m²), surface pressure (Pa), relative humidity (%). Each full-run bundle: ~590 MB compressed (gzip level 6). Served from the Météo-France Données Publiques HTTPS API (token-free, rate-limit 500 req/day/IP). SHA-256 checksum file published alongside each bundle. Licence: Étalab Open Licence 2.0 — reuse and redistribution permitted with attribution.",
"short_description": "Météo-France AROME 1.3 km GRIB2 — H+48 NWP, 4× daily, Étalab open data (peer-1)",
"owners": [{"name": "Meteo France"}]
},
"instances": [{
"resourceinstance": {
"abstractobject": {"id": "811d4b6d-0170-400f-b4a5-9e1597dc7620", "name": "Meteo-France forecasts Toulouse", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 43.6047, "longitude": 1.4442},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
}
}]
},
"quality": "medium",
"open_data": true,
"static": false,
"size": 590,
"example": "https://donneespubliques.meteofrance.fr/"
},
{
"_id": "hh880008-hh88-4008-8008-hhhhhhhhhhhh",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "data",
"abstractobject": {
"id": "hh880008-hh88-4008-8008-hhhhhhhhhhhh",
"name": "Web API Logs",
"is_draft": false,
"creator_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2026-04-10T00:00:00.000Z",
"updater_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"access_mode": 1
},
"logo": "https://localhost:8000/static/images/alpine-logo.png",
"description": "Structured NDJSON (newline-delimited JSON) HTTP access-log stream produced by the OpenCloud peer-2 API gateway (Nginx 1.25). Each record: {\"ts\":\"ISO-8601\",\"method\":\"HTTP verb\",\"path\":\"/endpoint\",\"status\":NNN,\"latency_ms\":N,\"peer\":\"opencloud-demo-2\",\"bytes_out\":N,\"upstream_ms\":N}. Rolling 24-h window; approximately 1.2 GB uncompressed per day at typical 300 req/min sustained load with bursts to 2 000 req/min. Flushed to the peer-2 MinIO bucket under /logs/api.log with a 1-minute write interval and gzip-compressed daily rotations retained for 30 days. Consumed by the api-monitoring-stack workflow: CURL fetches the current active chunk, Redis caches per-endpoint status-code distributions and p50/p95 latency percentiles under a 300-second TTL, Nginx serves the aggregated dashboard over HTTP/1.1. Data classification: internal peer-2 operational telemetry; partnerships restricted to default namespace.",
"short_description": "Peer-2 API gateway NDJSON access logs — 1.2 GB/day, 300 req/min, 30-day MinIO retention",
"owners": [{"name": "opencloud-demo-2"}]
},
"instances": [{
"source": "http://localhost:9000/logs/api.log",
"resourceinstance": {
"env": [{"attr": "source", "readonly": true}],
"abstractobject": {"id": "hh880008-hh88-4008-8008-hhhhhhhhhhhh", "name": "Web API Logs Paris", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 48.8566, "longitude": 2.3522},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
}
}]
},
"quality": "high",
"open_data": false,
"static": false,
"size": 1200,
"example": "{\"ts\":\"2026-04-10T08:00:00Z\",\"method\":\"GET\",\"path\":\"/workflow\",\"status\":200,\"latency_ms\":45,\"bytes_out\":1024,\"upstream_ms\":38}"
}
]

View File

@@ -0,0 +1,46 @@
[
{
"_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"failed_execution": null,
"api_url": "http://localhost:8000",
"nats_address": "nats://nats:4222",
"stream_address": "/ip4/172.40.0.3/tcp/4003/p2p/12D3KooWBh9kZrekBAE5G33q4jCLNRAzygem3gP1mMdK8mhoCTaw",
"wallet_address": "my-wallet",
"public_key": "MCowBQYDK2VwAyEAG95Ettl3jTi41HM8le1A9WDmOEq0ANEqpLF7zTZrfXA=",
"peer_id": "12D3KooWBh9kZrekBAE5G33q4jCLNRAzygem3gP1mMdK8mhoCTaw",
"relation": 1,
"abstractobject": {
"id": "c0cece97-7730-4c2a-8c20-a30944564106",
"name": "opencloud-demo-1",
"is_draft": false,
"not_in_catalog": false,
"creation_date": {"$date": "2025-03-27T09:13:13.230Z"},
"update_date": {"$date": "2026-04-10T00:00:00.000Z"},
"access_mode": 0
},
"trust_score": 0,
"verify": false
},
{
"_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"failed_execution": null,
"api_url": "http://localhost:9000",
"nats_address": "nats://nats:4222",
"stream_address": "/ip4/172.40.0.4/tcp/4004/p2p/12D3KooWSzQtBux5GkpdqK8MA9Rmo5W1vTVZhWCbut2k99Ge45GN",
"wallet_address": "my-wallet",
"public_key": "MCowBQYDK2VwAyEA/ymOIb0sJ0qCWrf3mKz7ACCvsMXLog/EK533JfNXZTM=",
"peer_id": "12D3KooWSzQtBux5GkpdqK8MA9Rmo5W1vTVZhWCbut2k99Ge45GN",
"relation": 2,
"abstractobject": {
"id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"name": "opencloud-demo-2",
"is_draft": false,
"not_in_catalog": false,
"creation_date": {"$date": "2025-03-27T09:13:13.230Z"},
"update_date": {"$date": "2026-04-10T00:00:00.000Z"},
"access_mode": 0
},
"trust_score": 0,
"verify": false
}
]

View File

@@ -0,0 +1,290 @@
[
{
"_id": "0d565c87-50ae-4a73-843d-f8b2d4047772",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "processing",
"abstractobject": {
"id": "0d565c87-50ae-4a73-843d-f8b2d4047772",
"name": "CURL",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2021-09-30T14:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/curl-logo.png",
"description": "Official curl Docker image (curlimages/curl:8.5.0) published by the curl project. Implements HTTP/1.1, HTTP/2, HTTPS (TLS 1.3), FTP, SFTP, SCP and 25+ other protocols. Supports cookies, redirect chains, proxy authentication, rate limiting, resumable transfers and parallel downloads (-Z flag). Typical workflow use: first-stage ingestion step that pulls remote datasets — camera snapshots, API log files, GeoTIFF archives, JSON feeds — into a shared storage volume before downstream processing nodes consume them. Single static binary; 12 MB compressed Alpine-based image; no shell dependency.",
"short_description": "Official curl image — multi-protocol data fetcher for workflow ingestion stages",
"owners": [{"name": "IRT"}]
},
"instances": [{
"access": {"container": {"image": "curlimages/curl:8.5.0", "command": "curl"}},
"resourceinstance": {
"abstractobject": {"id": "0d565c87-50ae-4a73-843d-f8b2d4047772", "name": "CURL Toulouse", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 43.6047, "longitude": 1.4442},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
}
}]
},
"license": "MIT",
"infrastructure": 0,
"usage": {"scaling_model": "2"},
"open_source": true
},
{
"_id": "f3c8346b-3536-4c99-8b11-1be9c01697de",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "processing",
"abstractobject": {
"id": "f3c8346b-3536-4c99-8b11-1be9c01697de",
"name": "imagemagic",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2021-09-30T14:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/imagemagic-logo.png",
"description": "dpokidov/imagemagick:7.1.0-62-2 — community-maintained ImageMagick® 7 build. Covers the full ImageMagick® feature surface: format conversion (JPEG ↔ PNG ↔ TIFF ↔ WebP ↔ AVIF), geometric transforms (resize, crop, rotate, shear, perspective distortion), colour-space conversion (sRGB ↔ Lab ↔ CMYK ↔ HSL), compositing, annotation, histogram normalisation, Fourier transforms and ICC/ICM profile embedding. In the ALPR pipeline it pre-processes downloaded vehicle images — CLAHE contrast enhancement, 3×3 Gaussian blur for noise reduction, gamma correction — before the plate-recognition stage, improving OpenALPR recognition confidence by 1015% on low-quality frames.",
"short_description": "ImageMagick® 7 — image format conversion, enhancement and compositing",
"owners": [{"name": "IRT"}]
},
"instances": [{
"access": {"container": {"image": "dpokidov/imagemagick:7.1.0-62-2", "command": "magick"}},
"resourceinstance": {
"abstractobject": {"id": "f3c8346b-3536-4c99-8b11-1be9c01697de", "name": "imagemagic Toulouse", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 43.6047, "longitude": 1.4442},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
}
}]
},
"license": "Apache-2.0",
"infrastructure": 0,
"usage": {"scaling_model": "2"},
"open_source": true
},
{
"_id": "3041990c-5c5d-40c4-8329-c1df1b812dc3",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "processing",
"abstractobject": {
"id": "3041990c-5c5d-40c4-8329-c1df1b812dc3",
"name": "alpr",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2021-09-30T14:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/alpr-logo.png",
"description": "openalpr/openalpr — OpenALPR open-source Automatic License Plate Recognition library. Combines OpenCV 4 object detection (SSD-MobileNet) with a Tesseract-derived OCR engine for character segmentation. Supports EU, US/CA, BR, AU and Middle-Eastern plate formats via configurable country files. Accepts JPEG/PNG/BMP input; outputs a structured JSON payload per frame: bounding-box coordinates, plate string, per-character confidence score, country code, processing time. --json flag enables machine-readable output suitable for downstream pipeline stages. Recognition latency: ~120 ms/frame on x86 CPU, ~18 ms with GPU acceleration (CUDA 11+). Used in the alpr workflow as the core recognition step after ImageMagick pre-processing.",
"short_description": "OpenALPR — automatic license plate recognition with JSON output",
"owners": [{"name": "IRT"}]
},
"instances": [{
"access": {"container": {"image": "openalpr/openalpr", "command": "alpr"}},
"resourceinstance": {
"abstractobject": {"id": "3041990c-5c5d-40c4-8329-c1df1b812dc3", "name": "alpr Toulouse", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 43.6047, "longitude": 1.4442},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
}
}]
},
"license": "GPLv3",
"infrastructure": 0,
"usage": {"scaling_model": "2"},
"open_source": true
},
{
"_id": "2ce0323f-a85d-4b8b-a783-5280f48d634a",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "processing",
"abstractobject": {
"id": "2ce0323f-a85d-4b8b-a783-5280f48d634a",
"name": "alpine",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2021-09-30T14:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/alpine-logo.png",
"description": "Official Alpine Linux 3.18 Docker image (5.3 MB compressed). musl-libc + BusyBox base exposing: wget, curl, awk, sed, grep, tar, gzip, openssl, jq (via apk). Zero extraneous packages; deterministic sha256 digest per tag. Used in workflows as a lightweight sidecar for tasks that do not justify a heavier runtime: downloading camera frames via wget, renaming and archiving intermediary files, running one-shot POSIX shell scripts (--command 'sh -c'), performing pre-run health-check assertions, or post-processing step cleanup. Starts in under 80 ms; memory footprint < 4 MB at idle.",
"short_description": "Official Alpine 3.18 — minimal shell environment for scripting sidecars",
"owners": [{"name": "IRT"}]
},
"instances": [{
"access": {"container": {"image": "alpine:3.18", "command": "sh"}},
"resourceinstance": {
"abstractobject": {"id": "2ce0323f-a85d-4b8b-a783-5280f48d634a", "name": "alpine Toulouse", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 43.6047, "longitude": 1.4442},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
}
}]
},
"license": "MIT",
"infrastructure": 0,
"usage": {"scaling_model": "2"},
"open_source": true
},
{
"_id": "e518d7a4-426a-4900-94e5-300767b1bb31",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "processing",
"abstractobject": {
"id": "e518d7a4-426a-4900-94e5-300767b1bb31",
"name": "Mosquitto server",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2021-09-30T14:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/mosquitto-logo.png",
"description": "Official Eclipse Mosquitto 2.0.18 Docker image — reference MQTT broker from the Eclipse Foundation. Implements MQTT v5.0, v3.1.1 and v3.1 over TCP (port 1883), WebSocket (port 9001), and optional TLS (port 8883) with X.509 mutual auth. Supports password-file authentication, ACL-based topic access control, QoS 0/1/2 delivery guarantees, persistent sessions, retained messages, shared subscriptions (MQTT 5) and bridge mode for multi-broker topologies. Used as the terminal publish step in the sensor-data-collector workflow: reads vehicle-metadata JSON produced by the upstream Python analysis stage from shared storage and fans it out to subscribed edge consumers on the sensors/camera/vehicle topic.",
"short_description": "Official Eclipse Mosquitto 2.0 — MQTT v5/v3 broker with QoS and ACL support",
"owners": [{"name": "IRT"}]
},
"instances": [{
"access": {"container": {"image": "eclipse-mosquitto:2.0.18", "command": "mosquitto"}},
"resourceinstance": {
"abstractobject": {"id": "e518d7a4-426a-4900-94e5-300767b1bb31", "name": "Mosquitto server Toulouse", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 43.6047, "longitude": 1.4442},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
}
}]
},
"license": "EPL-2.0",
"infrastructure": 0,
"usage": {"scaling_model": "2"},
"open_source": true
},
{
"_id": "aa110001-aa11-4001-8001-aaaaaaaaaaaa",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "processing",
"abstractobject": {
"id": "aa110001-aa11-4001-8001-aaaaaaaaaaaa",
"name": "Python Data Processor",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2026-04-10T00:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/alpine-logo.png",
"description": "Official Python 3.11-slim Docker image (Debian Bookworm base, 45 MB compressed). Provides CPython 3.11 runtime with pip; scientific stack installable at launch: NumPy 1.26, Pillow 10, OpenCV-headless 4.9, scikit-learn 1.4, pandas 2.2, requests 2.31. Two workflow roles: (1) image-meta-extractor — EXIF/IPTC tag parsing, colour histogram extraction (256-bin per channel), resolution fingerprinting, output serialised as JSON to shared storage; (2) sensor-data-collector — vehicle object count and bounding-box extraction from camera frames via OpenCV contour detection, plate candidate generation, result published as a structured JSON record. Entry-point script path passed via OUTPUT_FILENAME env var; storage mount path via IRT_LOCAL_FILE_STORAGE_SOURCE.",
"short_description": "Official Python 3.11-slim — image analysis and sensor data processing runtime",
"owners": [{"name": "Python Software Foundation"}]
},
"instances": [{
"access": {"container": {"image": "python:3.11-slim", "command": "python"}},
"resourceinstance": {
"abstractobject": {"id": "aa110001-aa11-4001-8001-aaaaaaaaaaaa", "name": "Python Data Processor Toulouse", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 43.6047, "longitude": 1.4442},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
}
}]
},
"license": "PSF-2.0",
"infrastructure": 0,
"usage": {"scaling_model": "2"},
"open_source": true
},
{
"_id": "cc330003-cc33-4003-8003-cccccccccccc",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "processing",
"abstractobject": {
"id": "cc330003-cc33-4003-8003-cccccccccccc",
"name": "Nginx Gateway",
"is_draft": false,
"creator_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2026-04-10T00:00:00.000Z",
"updater_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/alpine-logo.png",
"description": "Official Nginx 1.25-alpine Docker image (9 MB compressed) — high-performance asynchronous HTTP/1.1 and HTTP/2 server and reverse proxy. Event-driven architecture handles 50 000+ concurrent connections per worker process. In the api-monitoring-stack workflow it acts as the terminal presentation layer: reads Redis-cached API status JSON objects from MinIO storage and serves them on port 80 as a structured HTTP endpoint consumed by the OpenCloud operator dashboard. Configuration injected via envsubst at container startup. Features: gzip compression (level 6), custom JSON access logging, CORS headers, configurable cache-control directives, graceful hot-reload via SIGHUP without dropping connections. Owned by opencloud-demo-2.",
"short_description": "Official Nginx 1.25-alpine — HTTP frontend and static result endpoint (peer-2)",
"owners": [{"name": "nginx"}]
},
"instances": [{
"access": {"container": {"image": "nginx:1.25-alpine", "command": "nginx"}},
"resourceinstance": {
"abstractobject": {"id": "cc330003-cc33-4003-8003-cccccccccccc", "name": "Nginx Gateway Paris", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 48.8566, "longitude": 2.3522},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
}
}]
},
"license": "BSD-2-Clause",
"infrastructure": 0,
"usage": {"scaling_model": "2"},
"open_source": true
},
{
"_id": "dd440004-dd44-4004-8004-dddddddddddd",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "processing",
"abstractobject": {
"id": "dd440004-dd44-4004-8004-dddddddddddd",
"name": "Redis Cache",
"is_draft": false,
"creator_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2026-04-10T00:00:00.000Z",
"updater_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/alpine-logo.png",
"description": "Official Redis 7-alpine Docker image (14 MB compressed) — in-memory key-value store with sub-millisecond read latency. Supports strings, hashes, lists, sorted sets and streams natively. In the api-monitoring-stack workflow, ingests structured API-status objects (status-code distribution per endpoint, p50/p95 latency percentiles) produced by the CURL fetch step, stores them under a configurable CACHE_KEY with a TTL_CACHE_TTL-second TTL (default 300 s) to decouple the slow log-fetching stage from the fast Nginx serving stage. Configured in ephemeral mode (--save '' --appendonly no) to eliminate disk I/O and maximise throughput. Pub/Sub channel api_status_updates can be subscribed to by external consumers for real-time event streaming. Owned by opencloud-demo-2.",
"short_description": "Official Redis 7-alpine — TTL-based API status cache with pub/sub support (peer-2)",
"owners": [{"name": "Redis Ltd"}]
},
"instances": [{
"access": {"container": {"image": "redis:7-alpine", "command": "redis-server"}},
"resourceinstance": {
"abstractobject": {"id": "dd440004-dd44-4004-8004-dddddddddddd", "name": "Redis Cache Paris", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 48.8566, "longitude": 2.3522},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
}
}]
},
"license": "BSD-3-Clause",
"infrastructure": 0,
"usage": {"scaling_model": "2"},
"open_source": true
}
]

View File

@@ -0,0 +1,202 @@
[
{
"_id": "aa000001-aaaa-4001-8001-purchase00001",
"abstractobject": {
"id": "aa000001-aaaa-4001-8001-purchase00001",
"not_in_catalog": false,
"name": "Mundi datacenter purchase 2026-04-10 08:00",
"is_draft": false,
"update_date": {"$date": "2026-04-10T08:00:00.000Z"},
"access_mode": 0
},
"dest_peer_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"execution_id": "b1000001-b100-4001-8001-b10000000001",
"executions_id": "c1000001-c100-4001-8001-c10000000001",
"end_buying_date": {"$date": "2026-04-10T12:00:00.000Z"},
"instance_id": "7b989e97-c3e7-49d2-a3a7-f959da4870b5",
"priced_item": {
"peer_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"quantity": 1,
"selected_pricing": {
"privilege_strategy": 0,
"garanted_delay_second": 0,
"refund_types": [],
"exceeding": false,
"exceeding_ratio": 0,
"pricing": {
"price": 3.5,
"currency": "EUR",
"buying_strategy": 0,
"time_pricing_strategy": 3,
"override_strategy": 0
},
"allowed_payment_type": [0, 1, 2],
"default_refund": 0,
"refund_ratio": 0
},
"pricing_variations": [],
"resource_type": 4,
"instance_id": "7b989e97-c3e7-49d2-a3a7-f959da4870b5",
"resource_id": "7b989e97-c3e7-49d2-a3a7-f959da4870b5",
"name": "Mundi datacenter",
"instances_refs": {"7b989e97-c3e7-49d2-a3a7-f959da4870b5": "Mundi datacenter Toulouse"},
"booking_configuration": {
"start": "2026-04-10T08:00:00.000000000Z",
"end": "2026-04-10T12:00:00.000000000Z"
}
},
"resource_id": "7b989e97-c3e7-49d2-a3a7-f959da4870b5",
"resource_type": 4,
"scheduler_peer_id": "c0cece97-7730-4c2a-8c20-a30944564106"
},
{
"_id": "aa000002-aaaa-4002-8002-purchase00002",
"abstractobject": {
"id": "aa000002-aaaa-4002-8002-purchase00002",
"not_in_catalog": false,
"name": "Demo Peer2 Server purchase 2026-04-11 10:00",
"is_draft": false,
"update_date": {"$date": "2026-04-11T10:00:00.000Z"},
"access_mode": 0
},
"dest_peer_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"execution_id": "b1000002-b100-4002-8002-b10000000002",
"executions_id": "c1000002-c100-4002-8002-c10000000002",
"end_buying_date": {"$date": "2026-04-11T12:00:00.000Z"},
"instance_id": "ee550005-ee55-4005-8005-eeeeeeeeeeee",
"priced_item": {
"peer_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"quantity": 1,
"selected_pricing": {
"privilege_strategy": 1,
"garanted_delay_second": 300,
"refund_types": [],
"exceeding": false,
"exceeding_ratio": 0,
"pricing": {
"price": 6.0,
"currency": "EUR",
"buying_strategy": 0,
"time_pricing_strategy": 3,
"override_strategy": 0
},
"allowed_payment_type": [0, 1, 2],
"default_refund": 0,
"refund_ratio": 0
},
"pricing_variations": [{"inflate": false, "percent": 10, "priority": 1}],
"resource_type": 4,
"instance_id": "ee550005-ee55-4005-8005-eeeeeeeeeeee",
"resource_id": "ee550005-ee55-4005-8005-eeeeeeeeeeee",
"name": "Demo Peer2 Server",
"instances_refs": {"ee550005-ee55-4005-8005-eeeeeeeeeeee": "Demo Peer2 Server Paris"},
"booking_configuration": {
"start": "2026-04-11T10:00:00.000000000Z",
"end": "2026-04-11T12:00:00.000000000Z"
}
},
"resource_id": "ee550005-ee55-4005-8005-eeeeeeeeeeee",
"resource_type": 4,
"scheduler_peer_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31"
},
{
"_id": "aa000003-aaaa-4003-8003-purchase00003",
"abstractobject": {
"id": "aa000003-aaaa-4003-8003-purchase00003",
"not_in_catalog": false,
"name": "Peer2 MinIO Storage purchase 2026-04-12 00:00",
"is_draft": false,
"update_date": {"$date": "2026-04-12T00:00:00.000Z"},
"access_mode": 0
},
"dest_peer_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"execution_id": "b1000003-b100-4003-8003-b10000000003",
"executions_id": "c1000003-c100-4003-8003-c10000000003",
"end_buying_date": {"$date": "2026-04-13T00:00:00.000Z"},
"instance_id": "ff660006-ff66-4006-8006-ffffffffffff",
"priced_item": {
"peer_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"quantity": 1,
"selected_pricing": {
"privilege_strategy": 0,
"garanted_delay_second": 0,
"refund_types": [],
"exceeding": false,
"exceeding_ratio": 0,
"pricing": {
"price": 0.12,
"currency": "EUR",
"buying_strategy": 0,
"time_pricing_strategy": 3,
"override_strategy": 0
},
"allowed_payment_type": [0, 1, 2],
"default_refund": 0,
"refund_ratio": 0
},
"pricing_variations": [{"inflate": false, "percent": 12, "priority": 1}],
"resource_type": 3,
"instance_id": "ff660006-ff66-4006-8006-ffffffffffff",
"resource_id": "ff660006-ff66-4006-8006-ffffffffffff",
"name": "Peer2 MinIO Storage",
"instances_refs": {"ff660006-ff66-4006-8006-ffffffffffff": "Peer2 MinIO Storage Paris"},
"booking_configuration": {
"start": "2026-04-12T00:00:00.000000000Z",
"end": "2026-04-13T00:00:00.000000000Z"
}
},
"resource_id": "ff660006-ff66-4006-8006-ffffffffffff",
"resource_type": 3,
"scheduler_peer_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31"
},
{
"_id": "aa000004-aaaa-4004-8004-purchase00004",
"abstractobject": {
"id": "aa000004-aaaa-4004-8004-purchase00004",
"not_in_catalog": false,
"name": "IRT local file storage purchase 2026-04-10 00:00",
"is_draft": false,
"update_date": {"$date": "2026-04-10T00:00:00.000Z"},
"access_mode": 0
},
"dest_peer_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"execution_id": "b1000004-b100-4004-8004-b10000000004",
"executions_id": "c1000004-c100-4004-8004-c10000000004",
"end_buying_date": {"$date": "2026-04-12T00:00:00.000Z"},
"instance_id": "e726020a-b68e-4abc-ab36-c3640ea3f557",
"priced_item": {
"peer_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"quantity": 1,
"selected_pricing": {
"privilege_strategy": 0,
"garanted_delay_second": 0,
"refund_types": [],
"exceeding": false,
"exceeding_ratio": 0,
"pricing": {
"price": 0.08,
"currency": "EUR",
"buying_strategy": 0,
"time_pricing_strategy": 3,
"override_strategy": 0
},
"allowed_payment_type": [0, 1, 2],
"default_refund": 0,
"refund_ratio": 0
},
"pricing_variations": [],
"resource_type": 3,
"instance_id": "e726020a-b68e-4abc-ab36-c3640ea3f557",
"resource_id": "e726020a-b68e-4abc-ab36-c3640ea3f557",
"name": "IRT local file storage",
"instances_refs": {"e726020a-b68e-4abc-ab36-c3640ea3f557": "IRT local file storage Toulouse"},
"booking_configuration": {
"start": "2026-04-10T00:00:00.000000000Z",
"end": "2026-04-12T00:00:00.000000000Z"
}
},
"resource_id": "e726020a-b68e-4abc-ab36-c3640ea3f557",
"resource_type": 3,
"scheduler_peer_id": "c0cece97-7730-4c2a-8c20-a30944564106"
}
]

View File

@@ -0,0 +1,64 @@
[
{
"_id": "rule0001-0000-4000-8000-r00000000001",
"abstractobject": {
"id": "rule0001-0000-4000-8000-r00000000001",
"name": "Sensor data access policy",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": {"$date": "2026-04-10T00:00:00.000Z"},
"update_date": {"$date": "2026-04-10T00:00:00.000Z"},
"access_mode": 0
},
"description": "Governs access to the road-traffic sensor pipeline. Only members of the sensor-operators or analysts group may schedule or cancel executions of the sensor-data-collector workflow. MQTT topic sensors/camera/vehicle is readable by all default-namespace peers; write access restricted to the Mosquitto processing step running on authorised compute nodes. Violations trigger an audit log entry forwarded to the OpenCloud rule engine.",
"condition": "request.group IN ['sensor-operators', 'analysts'] OR request.resource.type == 'mqtt.subscribe'",
"actions": [
"ALLOW schedule:sensor-data-collector IF group IN [sensor-operators, analysts]",
"ALLOW subscribe:sensors/camera/vehicle FOR *",
"DENY publish:sensors/camera/vehicle UNLESS processing_id == e518d7a4-426a-4900-94e5-300767b1bb31",
"AUDIT ON DENY"
]
},
{
"_id": "rule0002-0000-4000-8000-r00000000002",
"abstractobject": {
"id": "rule0002-0000-4000-8000-r00000000002",
"name": "API logs read-only",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": {"$date": "2026-04-10T00:00:00.000Z"},
"update_date": {"$date": "2026-04-10T00:00:00.000Z"},
"access_mode": 0
},
"description": "Controls access to the API monitoring pipeline. All collaborative-area members may query the Nginx dashboard endpoint (GET /status) and read Redis-cached API metrics. Triggering a new CURL ingestion run is restricted to peer-1 scheduler principals (peer_id == c0cece97). Direct writes to the Peer2 MinIO /logs bucket are denied to all external actors; only the CURL processing step running on Mundi datacenter is authorised to PUT objects. Ensures observability without allowing log tampering.",
"condition": "request.method == 'GET' OR (request.peer_id == 'c0cece97-7730-4c2a-8c20-a30944564106' AND request.action == 'schedule')",
"actions": [
"ALLOW GET:/status FOR *",
"ALLOW GET:redis.key.api_status FOR *",
"ALLOW schedule:api-monitoring-stack IF peer_id == c0cece97-7730-4c2a-8c20-a30944564106",
"ALLOW PUT:minio:/logs/* IF processing_id == 0d565c87-50ae-4a73-843d-f8b2d4047772",
"DENY PUT:minio:/logs/* FOR *",
"AUDIT ON DENY"
]
},
{
"_id": "rule0003-0000-4000-8000-r00000000003",
"abstractobject": {
"id": "rule0003-0000-4000-8000-r00000000003",
"name": "Cross-peer data retention",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": {"$date": "2026-04-10T00:00:00.000Z"},
"update_date": {"$date": "2026-04-10T00:00:00.000Z"},
"access_mode": 0
},
"description": "Enforces lifecycle policies for cross-peer shared storage. Objects written to the Peer2 MinIO bucket (ff660006) under the /logs prefix are subject to a 30-day auto-expiry; a daily cron on peer-2 scans for objects older than 30 days and schedules deletion. Objects written to the IRT local file storage (e726020a) under the /tmp prefix expire after 7 days via a nightly cron on peer-1. Compressed daily rotations (.gz) under /logs are exempt from the 7-day rule and follow a 90-day archive policy. This rule is evaluated at write-time to tag objects with the appropriate TTL metadata header (X-Amz-Meta-Expires-At).",
"condition": "resource.path STARTSWITH '/logs' OR resource.path STARTSWITH '/tmp'",
"actions": [
"TAG X-Amz-Meta-Expires-At:+30d IF storage_id == ff660006-ff66-4006-8006-ffffffffffff AND path STARTSWITH /logs AND NOT path ENDSWITH .gz",
"TAG X-Amz-Meta-Expires-At:+90d IF storage_id == ff660006-ff66-4006-8006-ffffffffffff AND path ENDSWITH .gz",
"TAG X-Amz-Meta-Expires-At:+7d IF storage_id == e726020a-b68e-4abc-ab36-c3640ea3f557 AND path STARTSWITH /tmp",
"SCHEDULE purge:expired CRON 0 2 * * *"
]
}
]

View File

@@ -0,0 +1,138 @@
[
{
"_id": "e726020a-b68e-4abc-ab36-c3640ea3f557",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "storage",
"abstractobject": {
"id": "e726020a-b68e-4abc-ab36-c3640ea3f557",
"name": "IRT local file storage",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2021-09-30T14:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/IRT local file storage.png",
"description": "S3-compatible POSIX file storage deployed on peer-1 infrastructure (IRT Saint-Exupéry, Toulouse). Mount point: /mnt/vol. Capacity: 500 GB, SSD RAID-5S array (5 drives + 1 hot spare), sustained throughput read 300 MB/s / write 350 MB/s, IOPS peak 120 k random 4K. AES-256 encryption at rest; TLS 1.3 in transit. Exposed via MinIO S3 gateway: any peer holding a valid default-namespace credential can GET/PUT objects. Acts as the primary shared scratch space across all peer-1 workflows: CURL download outputs, ImageMagick processed intermediates, Python analysis results and ALPR JSON payloads all land here between pipeline stages. Auto-purge policy: objects older than 7 days under the /tmp prefix are deleted by a nightly cron.",
"short_description": "IRT RAID-5S SSD scratch store — 500 GB, 300/350 MB/s, AES-256, S3-compatible (peer-1)",
"owners": [{"name": "IRT"}],
"allowed_booking_modes": {
"0": {"inflate": false, "percent": 0, "priority": 0},
"1": {"inflate": false, "percent": 5, "priority": 1}
}
},
"instances": [{
"resourceinstance": {
"env": [{"attr": "source", "readonly": true}],
"abstractobject": {"id": "e726020a-b68e-4abc-ab36-c3640ea3f557", "name": "IRT local file storage Toulouse", "is_draft": false, "access_mode": 0},
"location": {"latitude": 43.6047, "longitude": 1.4442},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}, "pricing_profiles": {
"0": {"3": {"privilege_strategy": 0, "garanted_delay_second": 0, "refund_types": [], "exceeding": false, "exceeding_ratio": 0, "pricing": {"price": 0.08, "currency": "EUR", "buying_strategy": 0, "time_pricing_strategy": 3, "override_strategy": 0}, "allowed_payment_type": [0, 1, 2], "default_refund": 0, "refund_ratio": 0}},
"1": {"4": {"privilege_strategy": 0, "garanted_delay_second": 0, "refund_types": [], "exceeding": true, "exceeding_ratio": 15, "pricing": {"price": 1.5, "currency": "EUR", "buying_strategy": 1, "time_pricing_strategy": 4, "override_strategy": 0}, "allowed_payment_type": [1, 2, 3], "default_refund": 1, "refund_ratio": 20}}
}}]
},
"source": "/mnt/vol",
"local": true,
"security_level": "public",
"size": 500,
"size_type": 0,
"encryption": true,
"redundancy": "RAID5S",
"throughput": "r:300,w:350"
}]
},
"storage_type": 5,
"acronym": "DC_myDC"
},
{
"_id": "04bc70b5-8d7b-44e6-9015-fadfa0fb102d",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "storage",
"abstractobject": {
"id": "04bc70b5-8d7b-44e6-9015-fadfa0fb102d",
"name": "IRT risk database",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2021-09-30T14:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/IRT risk database.png",
"description": "S3-compatible network object store dedicated to long-lived risk-analysis artefacts produced by environmental monitoring workflows (fire propagation maps, flood risk rasters, atmospheric dispersion outputs). Mount point: /mnt/riskdb. Capacity: 50 GB, NAS RAID-5 (4 drives + 1 parity), sustained throughput read 200 MB/s / write 150 MB/s. Remote (non-local) store; data persists indefinitely across workflow runs and is consumed by downstream analytics dashboards, OpenCloud workspace layers and long-term archive pipelines. No encryption at rest — data classified as public environmental open data under Licence Ouverte Etalab 2.0. Daily differential backup to CNES datacenter S3 (retention: 90 days).",
"short_description": "IRT RAID-5 NAS — 50 GB persistent risk-analysis store, open-data, S3-compatible (peer-1)",
"owners": [{"name": "IRT"}]
},
"instances": [{
"resourceinstance": {
"env": [{"attr": "source", "readonly": true}],
"abstractobject": {"id": "04bc70b5-8d7b-44e6-9015-fadfa0fb102d", "name": "IRT risk database Toulouse", "is_draft": false, "access_mode": 0},
"location": {"latitude": 43.6047, "longitude": 1.4442},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
},
"source": "/mnt/riskdb",
"local": false,
"security_level": "public",
"size": 50,
"size_type": 3,
"redundancy": "RAID5",
"throughput": "r:200,w:150"
}]
},
"storage_type": 5,
"acronym": "DC_myDC"
},
{
"_id": "ff660006-ff66-4006-8006-ffffffffffff",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "storage",
"abstractobject": {
"id": "ff660006-ff66-4006-8006-ffffffffffff",
"name": "Peer2 MinIO Storage",
"is_draft": false,
"creator_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2026-04-10T00:00:00.000Z",
"updater_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"access_mode": 1
},
"logo": "https://min.io/resources/img/logo/ORIGINAL/vertical/dark/minioVerticalLogo-Dark.png",
"description": "MinIO Community Edition S3-compatible object store hosted on opencloud-demo-2 infrastructure, Paris Tier-3 data centre. Mount point: /mnt/minio. Capacity: 1 TB, NVMe RAID-6 array (6 drives, 2 parity), sustained throughput read 500 MB/s / write 400 MB/s, random IOPS 350 k. AES-256 encryption at rest; TLS 1.3 for all S3 API calls; server-side object integrity checksums (SHA-256). Bucket lifecycle policies: /logs prefix auto-archived to Glacier-class tier after 30 days; /tmp prefix purged after 24 h. Accessible to partner peers via S3 presigned URLs (1 h TTL) issued within the OpenCloud Federation default namespace. MinIO Console on :9001 restricted to peer-2 operators. Acts as the primary sink for peer-2 workflows: CURL log dumps, Redis snapshot exports and Mosquitto payload archives.",
"short_description": "Peer-2 MinIO NVMe RAID-6 — 1 TB, 500/400 MB/s, AES-256, presigned S3 access",
"owners": [{"name": "opencloud-demo-2"}],
"allowed_booking_modes": {
"0": {"inflate": false, "percent": 0, "priority": 0},
"1": {"inflate": false, "percent": 12, "priority": 1}
}
},
"instances": [{
"resourceinstance": {
"env": [{"attr": "source", "readonly": true}],
"abstractobject": {"id": "ff660006-ff66-4006-8006-ffffffffffff", "name": "Peer2 MinIO Storage Paris", "is_draft": false, "access_mode": 0},
"location": {"latitude": 48.8566, "longitude": 2.3522},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}, "pricing_profiles": {
"0": {"3": {"privilege_strategy": 0, "garanted_delay_second": 0, "refund_types": [], "exceeding": false, "exceeding_ratio": 0, "pricing": {"price": 0.12, "currency": "EUR", "buying_strategy": 0, "time_pricing_strategy": 3, "override_strategy": 0}, "allowed_payment_type": [0, 1, 2], "default_refund": 0, "refund_ratio": 0}},
"1": {"4": {"privilege_strategy": 0, "garanted_delay_second": 0, "refund_types": [], "exceeding": true, "exceeding_ratio": 20, "pricing": {"price": 2.5, "currency": "EUR", "buying_strategy": 1, "time_pricing_strategy": 4, "override_strategy": 0}, "allowed_payment_type": [1, 2, 3], "default_refund": 1, "refund_ratio": 15}}
}}]
},
"source": "/mnt/minio",
"local": true,
"security_level": "public",
"size": 1000,
"size_type": 0,
"encryption": true,
"redundancy": "RAID6",
"throughput": "r:500,w:400"
}]
},
"storage_type": 5,
"acronym": "DC_myDC"
}
]

View File

@@ -0,0 +1,772 @@
[
{
"_id": "58314c99-c595-4ca2-8b5e-822a6774efed",
"abstractobject": {
"id": "58314c99-c595-4ca2-8b5e-822a6774efed",
"not_in_catalog": false,
"name": "alpr",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"update_date": {"$date": "2026-04-10T07:47:52.875Z"},
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"user_updater_id": "admin",
"access_mode": 0
},
"resourceset": {
"storages": ["e726020a-b68e-4abc-ab36-c3640ea3f557"],
"processings": ["0d565c87-50ae-4a73-843d-f8b2d4047772","f3c8346b-3536-4c99-8b11-1be9c01697de","2ce0323f-a85d-4b8b-a783-5280f48d634a","3041990c-5c5d-40c4-8329-c1df1b812dc3"],
"computes": ["0bb77206-371a-428e-8ae3-ff11575071e2","7b989e97-c3e7-49d2-a3a7-f959da4870b5"],
"datas": ["d573dc63-4de0-4e29-8a4e-c15cbb3aed06"]
},
"schedule_active": false,
"graph": {
"partial": false,
"zoom": 1,
"items": {
"c30100a7-1162-4c6b-a8dd-e42fd4d352a2": {
"id": "c30100a7-1162-4c6b-a8dd-e42fd4d352a2", "width": 100, "height": 100,
"position": {"id": "", "x": 351.45, "y": 563.55},
"itemresource": {"processing": {"license": "GPLv2", "open_source": false, "infrastructure": 0, "usage": {"scaling_model": "2"},
"abstractinstanciatedresource": {"abstractresource": {"purchaseinfo": null, "type": "processing",
"logo": "http://localhost:8000/static/images/alpine-logo.png",
"description": "Official Alpine Linux minimal Docker image.", "short_description": "A minimal Docker image",
"owners": [{"name": "IRT"}], "allowed_booking_modes": null,
"abstractobject": {"id": "2ce0323f-a85d-4b8b-a783-5280f48d634a", "not_in_catalog": false, "is_draft": false,
"creation_date": {"$date": "2021-09-30T14:00:00Z"}, "updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 0, "name": "alpine", "creator_id": "c0cece97-7730-4c2a-8c20-a30944564106", "update_date": {"$date": "2021-09-30T14:00:00Z"}}},
"instances": [{"resourceinstance": {"abstractobject": {"access_mode": 0, "id": "2ce0323f-a85d-4b8b-a783-5280f48d634a", "not_in_catalog": false, "name": "alpine Toulouse", "is_draft": false},
"origin": {"origin_type": 0, "origin_verified": false}, "location": {"latitude": 43.6047, "longitude": 1.4442},
"partnerships": [{"peer_groups": {"*": ["*"]}, "namespace": "default"}]},
"access": {"container": {"image": "alpine:3.18", "command": "cat"}}}]}}}
},
"fd831155-e6d1-4f24-83aa-bb9af0a3c264": {
"id": "fd831155-e6d1-4f24-83aa-bb9af0a3c264", "width": 100, "height": 42,
"position": {"id": "", "x": 438.53, "y": 429.41},
"itemresource": {"processing": {"infrastructure": 0, "usage": {"scaling_model": "2"}, "open_source": false, "license": "GPLv3",
"abstractinstanciatedresource": {"abstractresource": {"type": "processing",
"logo": "http://localhost:8000/static/images/alpr-logo.png",
"description": "Open source Automatic License Plate Recognition library.", "short_description": "Open source Automatic License Plate Recognition library.",
"owners": [{"name": "IRT"}], "allowed_booking_modes": null, "purchaseinfo": null,
"abstractobject": {"name": "alpr", "is_draft": false, "creation_date": {"$date": "2021-09-30T14:00:00Z"},
"access_mode": 0, "id": "3041990c-5c5d-40c4-8329-c1df1b812dc3", "not_in_catalog": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106", "update_date": {"$date": "2021-09-30T14:00:00Z"}, "updater_id": "c0cece97-7730-4c2a-8c20-a30944564106"}},
"instances": [{"resourceinstance": {"abstractobject": {"id": "3041990c-5c5d-40c4-8329-c1df1b812dc3", "not_in_catalog": false, "name": "alpr Toulouse", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false}, "location": {"latitude": 43.6047, "longitude": 1.4442},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]},
"access": {"container": {"image": "openalpr/openalpr", "command": "alpr"}}}]}}}
},
"0c5ffc8c-c7db-471d-a45f-65a14b6a93e9": {
"id": "0c5ffc8c-c7db-471d-a45f-65a14b6a93e9", "width": 100, "height": 100,
"position": {"id": "", "x": 220.18, "y": 296.47},
"itemresource": {"storage": {"storage_type": 0, "acronym": "DC_myDC",
"abstractinstanciatedresource": {"abstractresource": {"type": "storage", "purchaseinfo": null,
"logo": "http://localhost:8000/static/images/IRT local file storage.png",
"description": "S3-compliant IRT local file storage.", "short_description": "S3 compliant IRT file storage",
"owners": [{"name": "IRT"}], "allowed_booking_modes": null,
"abstractobject": {"not_in_catalog": false, "name": "IRT local file storage", "update_date": {"$date": "2021-09-30T14:00:00Z"},
"id": "e726020a-b68e-4abc-ab36-c3640ea3f557", "is_draft": false, "creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": {"$date": "2021-09-30T14:00:00Z"}, "updater_id": "c0cece97-7730-4c2a-8c20-a30944564106", "access_mode": 0}},
"instances": [{"resourceinstance": {"env": [{"attr": "source", "readonly": true}],
"abstractobject": {"access_mode": 0, "id": "e726020a-b68e-4abc-ab36-c3640ea3f557", "not_in_catalog": false, "name": "IRT local file storage Toulouse", "is_draft": false},
"origin": {"origin_type": 0, "origin_verified": false}, "location": {"latitude": 43.6047, "longitude": 1.4442},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]},
"source": "/mnt/vol", "security_level": "public", "size_type": 0, "local": true, "size": 500, "encryption": true, "redundancy": "RAID5S", "throughput": "r:300,w:350"}]}}}
},
"0e4ffccd-f0fb-478b-b3b4-173e7f7cc741": {
"id": "0e4ffccd-f0fb-478b-b3b4-173e7f7cc741", "width": 100, "height": 46,
"position": {"id": "", "x": 436.64, "y": 186.08},
"itemresource": {"processing": {"infrastructure": 0, "usage": {"scaling_model": "2"}, "open_source": false, "license": "MIT",
"abstractinstanciatedresource": {"abstractresource": {"owners": [{"name": "IRT"}], "allowed_booking_modes": null, "purchaseinfo": null, "type": "processing",
"logo": "http://localhost:8000/static/images/curl-logo.png",
"description": "Official curl Docker image. Transfers data from or to a server.", "short_description": "Transfer or retrieve information from or to a server",
"abstractobject": {"name": "CURL", "creation_date": {"$date": "2021-09-30T14:00:00Z"}, "updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 0, "id": "0d565c87-50ae-4a73-843d-f8b2d4047772", "not_in_catalog": false, "is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106", "update_date": {"$date": "2021-09-30T14:00:00Z"}}},
"instances": [{"resourceinstance": {"abstractobject": {"access_mode": 0, "id": "0d565c87-50ae-4a73-843d-f8b2d4047772", "not_in_catalog": false, "name": "CURL Toulouse", "is_draft": false},
"origin": {"origin_type": 0, "origin_verified": false}, "location": {"latitude": 43.6047, "longitude": 1.4442},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]},
"access": {"container": {"image": "curlimages/curl:8.5.0", "command": "curl"}}}]}}}
},
"3968d439-f294-4607-95f0-3afb61b87f9a": {
"id": "3968d439-f294-4607-95f0-3afb61b87f9a", "width": 100, "height": 80,
"position": {"id": "", "x": 435.83, "y": 77.63},
"itemresource": {"data": {"type": "data", "quality": "low", "open_data": false, "static": true, "size": 0.59, "example": "tutut",
"abstractinstanciatedresource": {"abstractresource": {"allowed_booking_modes": null, "purchaseinfo": null,
"logo": "https://images.wondershare.com/repairit/article/guide-on-jpeg-repair-online-01.png",
"description": "Sample JPEG image of a red car with a visible license plate.", "short_description": "A casual red car",
"owners": [{"name": "Red Car"}],
"abstractobject": {"name": "Red Car", "is_draft": false, "creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": {"$date": "2021-09-30T14:00:00Z"}, "access_mode": 0, "id": "d573dc63-4de0-4e29-8a4e-c15cbb3aed06",
"not_in_catalog": false, "update_date": {"$date": "2021-09-30T14:00:00Z"}, "updater_id": "c0cece97-7730-4c2a-8c20-a30944564106"}},
"instances": [{"source": "http://plates.openalpr.com/h786poj.jpg",
"resourceinstance": {"location": {"longitude": 1.4442, "latitude": 43.6047},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}],
"abstractobject": {"is_draft": false, "access_mode": 0, "id": "d573dc63-4de0-4e29-8a4e-c15cbb3aed06", "not_in_catalog": false, "name": "Red Car"},
"origin": {"origin_type": 0, "origin_verified": false}}}]}}}
},
"425a4a07-9d7b-423f-9e97-0ce408279e7f": {
"id": "425a4a07-9d7b-423f-9e97-0ce408279e7f", "width": 100, "height": 100,
"position": {"id": "", "x": 638.33, "y": 295.86},
"itemresource": {"compute": {"architecture": "x86", "infrastructure": 0,
"abstractinstanciatedresource": {"abstractresource": {"type": "compute", "purchaseinfo": null,
"logo": "https://cloud.o-forge.io/core/deprecated-oc-catalog/raw/branch/main/scripts/local_imgs/vm_logo.png",
"description": "VM hosted on opencloud-demo-2, shared with peer-1.", "short_description": "VM hosted on opencloud-demo-2 — peer-2 owned",
"owners": [{"name": "IRT Saint Exupery"}], "allowed_booking_modes": null,
"abstractobject": {"id": "0bb77206-371a-428e-8ae3-ff11575071e2", "not_in_catalog": false, "name": "VM Target 2",
"creator_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31", "creation_date": {"$date": "2021-09-30T14:00:00Z"},
"update_date": {"$date": "2021-09-30T14:00:00Z"}, "updater_id": "c0cece97-7730-4c2a-8c20-a30944564106", "access_mode": 0, "is_draft": false}},
"instances": [{"resourceinstance": {"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 48.8566, "longitude": 2.3522},
"abstractobject": {"access_mode": 0, "id": "0bb77206-371a-428e-8ae3-ff11575071e2", "not_in_catalog": false, "name": "VM Proxmox Pierre 2", "is_draft": false}},
"security_level": "private", "power_sources": ["Larmes d'alternant"]}]}}}
},
"775c5cb3-5dc0-46ae-949c-1c5911b2ca4c": {
"id": "775c5cb3-5dc0-46ae-949c-1c5911b2ca4c", "width": 100, "height": 100,
"position": {"id": "", "x": 643.35, "y": 429.86},
"itemresource": {"compute": {"architecture": "x86", "infrastructure": 0,
"abstractinstanciatedresource": {"abstractresource": {"type": "compute", "purchaseinfo": null,
"logo": "http://localhost:8000/static/images/Mundi datacenter.png",
"description": "Mundi cloud computing node operated by IRT Saint-Exupéry.", "short_description": "Mundi Opencloud GPU instance — peer-1 owned",
"owners": [{"name": "IRT Saint Exupery"}], "allowed_booking_modes": null,
"abstractobject": {"not_in_catalog": false, "name": "Mundi datacenter", "is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106", "update_date": {"$date": "2021-09-30T14:00:00Z"},
"id": "7b989e97-c3e7-49d2-a3a7-f959da4870b5", "creation_date": {"$date": "2021-09-30T14:00:00Z"},
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106", "access_mode": 0}},
"instances": [{"resourceinstance": {"abstractobject": {"not_in_catalog": false, "name": "Mundi datacenter Toulouse", "is_draft": false, "access_mode": 0, "id": "7b989e97-c3e7-49d2-a3a7-f959da4870b5"},
"origin": {"origin_type": 0, "origin_verified": false}, "location": {"latitude": 43.6047, "longitude": 1.4442},
"partnerships": [{"allowed_gpus": {"RTX 3090 FE": 4}, "allowed_ram": 20000, "namespace": "default", "peer_groups": {"*": ["*"]}, "allowed_cpus": {"Intel Core i7-14700KF": 1}}]},
"security_level": "public", "power_sources": ["solaire", "charbon"]}]}}}
},
"aec3a3af-2b3c-4c4c-a849-af2a9bb554f3": {
"id": "aec3a3af-2b3c-4c4c-a849-af2a9bb554f3", "width": 100, "height": 112,
"position": {"id": "", "x": 438.03, "y": 295.96},
"itemresource": {"processing": {"license": "Apache-2.0", "open_source": true, "infrastructure": 0, "usage": {"scaling_model": "2"},
"abstractinstanciatedresource": {"abstractresource": {"type": "processing", "purchaseinfo": null,
"logo": "http://localhost:8000/static/images/imagemagic-logo.png",
"description": "ImageMagick® image manipulation suite.", "short_description": "ImageMagick® image manipulation suite",
"owners": [{"name": "IRT"}], "allowed_booking_modes": null,
"abstractobject": {"not_in_catalog": false, "name": "imagemagic", "is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106", "creation_date": {"$date": "2021-09-30T14:00:00Z"},
"update_date": {"$date": "2021-09-30T14:00:00Z"}, "id": "f3c8346b-3536-4c99-8b11-1be9c01697de",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106", "access_mode": 0}},
"instances": [{"resourceinstance": {"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 43.6047, "longitude": 1.4442},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}],
"abstractobject": {"is_draft": false, "access_mode": 0, "id": "f3c8346b-3536-4c99-8b11-1be9c01697de", "not_in_catalog": false, "name": "imagemagic Toulouse"}},
"access": {"container": {"image": "dpokidov/imagemagick:7.1.0-62-2", "command": "magick"}}}]}}}
}
},
"links": [
{"env": [], "source": {"id": "0c5ffc8c-c7db-471d-a45f-65a14b6a93e9", "x": 319.68, "y": 345.97}, "destination": {"id": "aec3a3af-2b3c-4c4c-a849-af2a9bb554f3", "x": 436.53, "y": 351.32}, "style": {"head_radius": 6, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "color": 4294472049, "stroke": 1.7, "tension": 1, "dash_width": 2, "dash_space": 2, "end_arrow": {"id": "", "x": -1, "y": 0}, "start_arrow": {"id": "", "x": 1, "y": 0}, "end_arrow_width": 10}},
{"env": [], "source": {"id": "0c5ffc8c-c7db-471d-a45f-65a14b6a93e9", "x": 319.68, "y": 345.97}, "destination": {"id": "fd831155-e6d1-4f24-83aa-bb9af0a3c264", "x": 437.03, "y": 449.99}, "style": {"head_radius": 6, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "color": 4294472049, "stroke": 1.7, "tension": 1, "dash_width": 2, "dash_space": 2, "end_arrow": {"id": "", "x": -1, "y": 0}, "start_arrow": {"id": "", "x": 1, "y": 0}, "end_arrow_width": 10}},
{"env": [], "source": {"id": "0c5ffc8c-c7db-471d-a45f-65a14b6a93e9", "x": 269.68, "y": 395.97}, "destination": {"id": "c30100a7-1162-4c6b-a8dd-e42fd4d352a2", "x": 349.95, "y": 613.05}, "style": {"color": 4294472049, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_space": 2, "end_arrow": {"id": "", "x": -1, "y": 0}, "start_arrow": {"id": "", "x": 0, "y": 1}, "arrow_style": 0, "dash_width": 2, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10}},
{"env": [], "source": {"id": "0e4ffccd-f0fb-478b-b3b4-173e7f7cc741", "x": 436.14, "y": 208.63}, "destination": {"id": "0c5ffc8c-c7db-471d-a45f-65a14b6a93e9", "x": 268.68, "y": 295.97}, "style": {"color": 4294472049, "stroke": 1.7, "head_radius": 6, "end_arrow": {"id": "", "x": 0, "y": -1}, "arrow_style": 0, "end_arrow_width": 10, "tension": 1, "dash_width": 2, "dash_space": 2, "start_arrow": {"id": "", "x": -1, "y": 0}, "arrow_direction": 0, "start_arrow_width": 10}},
{"env": [], "source": {"id": "0e4ffccd-f0fb-478b-b3b4-173e7f7cc741", "x": 536.14, "y": 208.63}, "destination": {"id": "425a4a07-9d7b-423f-9e97-0ce408279e7f", "x": 636.83, "y": 295.36}, "style": {"end_arrow": {"id": "", "x": 0, "y": -1}, "start_arrow": {"x": 1, "y": 0, "id": ""}, "color": 4294940672, "stroke": 1.7, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10, "tension": 1, "head_radius": 6, "dash_width": 2, "dash_space": 2}},
{"env": [], "source": {"id": "0e4ffccd-f0fb-478b-b3b4-173e7f7cc741", "x": 486.14, "y": 231.68}, "destination": {"id": "aec3a3af-2b3c-4c4c-a849-af2a9bb554f3", "x": 486.53, "y": 295.46}, "style": {"dash_space": 0, "end_arrow": {"id": "", "x": 0, "y": -1}, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "tension": 1, "dash_width": 0, "start_arrow": {"id": "", "x": 0, "y": 1}, "end_arrow_width": 10, "color": 4278190080, "stroke": 1.7, "head_radius": 6}},
{"env": [], "source": {"id": "3968d439-f294-4607-95f0-3afb61b87f9a", "x": 485.33, "y": 157.15}, "destination": {"id": "0e4ffccd-f0fb-478b-b3b4-173e7f7cc741", "x": 485.14, "y": 185.58}, "style": {"start_arrow": {"id": "", "x": 0, "y": 1}, "arrow_style": 0, "arrow_direction": 0, "color": 4280391411, "stroke": 1.7, "head_radius": 6, "dash_width": 2, "end_arrow": {"id": "", "x": 0, "y": -1}, "start_arrow_width": 10, "end_arrow_width": 10, "tension": 1, "dash_space": 2}},
{"env": [], "source": {"id": "aec3a3af-2b3c-4c4c-a849-af2a9bb554f3", "x": 537.53, "y": 351.32}, "destination": {"id": "425a4a07-9d7b-423f-9e97-0ce408279e7f", "x": 636.83, "y": 345.36}, "style": {"dash_width": 2, "dash_space": 2, "start_arrow_width": 10, "end_arrow_width": 10, "end_arrow": {"x": -1, "y": 0, "id": ""}, "start_arrow": {"id": "", "x": 1, "y": 0}, "arrow_style": 0, "arrow_direction": 0, "color": 4294940672, "stroke": 1.7, "tension": 1, "head_radius": 6}},
{"env": [], "source": {"id": "aec3a3af-2b3c-4c4c-a849-af2a9bb554f3", "x": 487.53, "y": 407.18}, "destination": {"id": "fd831155-e6d1-4f24-83aa-bb9af0a3c264", "x": 487.28, "y": 428.91}, "style": {"tension": 1, "end_arrow": {"id": "", "x": 0, "y": -1}, "start_arrow": {"id": "", "x": 0, "y": 1}, "arrow_style": 0, "arrow_direction": 0, "stroke": 1.7, "head_radius": 6, "dash_width": 0, "dash_space": 0, "start_arrow_width": 10, "end_arrow_width": 10, "color": 4278190080}},
{"env": [], "source": {"id": "c30100a7-1162-4c6b-a8dd-e42fd4d352a2", "x": 450.95, "y": 613.05}, "destination": {"id": "775c5cb3-5dc0-46ae-949c-1c5911b2ca4c", "x": 691.85, "y": 529.36}, "style": {"color": 4294940672, "stroke": 1.7, "head_radius": 6, "dash_width": 2, "dash_space": 2, "end_arrow": {"x": 0, "y": 1, "id": ""}, "start_arrow": {"id": "", "x": 1, "y": 0}, "arrow_direction": 0, "tension": 1, "arrow_style": 0, "start_arrow_width": 10, "end_arrow_width": 10}},
{"env": [], "source": {"id": "fd831155-e6d1-4f24-83aa-bb9af0a3c264", "x": 538.52, "y": 449.99}, "destination": {"id": "775c5cb3-5dc0-46ae-949c-1c5911b2ca4c", "x": 641.85, "y": 479.36}, "style": {"tension": 1, "dash_space": 2, "start_arrow_width": 10, "stroke": 1.7, "head_radius": 6, "dash_width": 2, "end_arrow": {"x": -1, "y": 0, "id": ""}, "start_arrow": {"id": "", "x": 1, "y": 0}, "arrow_style": 0, "arrow_direction": 0, "end_arrow_width": 10, "color": 4294940672}},
{"env": [], "source": {"id": "fd831155-e6d1-4f24-83aa-bb9af0a3c264", "x": 488.28, "y": 471.08}, "destination": {"id": "c30100a7-1162-4c6b-a8dd-e42fd4d352a2", "x": 449.95, "y": 613.05}, "style": {"start_arrow_width": 10, "end_arrow_width": 10, "color": 4278190080, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_space": 0, "end_arrow": {"y": 0, "id": "", "x": 1}, "start_arrow": {"id": "", "x": 0, "y": 1}, "dash_width": 0, "arrow_style": 0, "arrow_direction": 0}}
]
},
"shared": [],
"exposes": {},
"outputs": {
"0c5ffc8c-c7db-471d-a45f-65a14b6a93e9": [{"name": "SOURCE", "value": "/mnt/vol", "readonly": false, "optionnal": false}],
"0e4ffccd-f0fb-478b-b3b4-173e7f7cc741": [{"name": "FILENAME", "value": "image.jpg", "readonly": false, "optionnal": false}],
"3968d439-f294-4607-95f0-3afb61b87f9a": [{"readonly": false, "optionnal": false, "name": "SOURCE", "value": "http://plates.openalpr.com/h786poj.jpg"}],
"aec3a3af-2b3c-4c4c-a849-af2a9bb554f3": [{"optionnal": false, "name": "OUTPUT_FILENAME", "value": "treated_image.jpg", "readonly": false}],
"fd831155-e6d1-4f24-83aa-bb9af0a3c264": [{"name": "OUTPUT_FILENAME", "value": "alpr.json", "readonly": false, "optionnal": false}]
},
"env": {
"0c5ffc8c-c7db-471d-a45f-65a14b6a93e9": [{"optionnal": false, "name": "SOURCE", "value": "/mnt/vol", "readonly": false}],
"0e4ffccd-f0fb-478b-b3b4-173e7f7cc741": [{"value": "image.jpg", "readonly": false, "optionnal": false, "name": "FILENAME"}],
"aec3a3af-2b3c-4c4c-a849-af2a9bb554f3": [{"readonly": false, "optionnal": false, "name": "OUTPUT_FILENAME", "value": "treated_image.jpg"}],
"c30100a7-1162-4c6b-a8dd-e42fd4d352a2": [{"readonly": true, "optionnal": false, "name": "ALPR_OUTPUT_FILENAME", "value": "alpr.json", "origin": "fd831155-e6d1-4f24-83aa-bb9af0a3c264"}],
"fd831155-e6d1-4f24-83aa-bb9af0a3c264": [{"optionnal": false, "name": "OUTPUT_FILENAME", "value": "alpr.json", "readonly": false}]
},
"inputs": {
"0e4ffccd-f0fb-478b-b3b4-173e7f7cc741": [
{"name": "IRT_LOCAL_FILE_STORAGE_SOURCE", "value": "/mnt/vol", "origin": "0c5ffc8c-c7db-471d-a45f-65a14b6a93e9", "readonly": true, "optionnal": false},
{"name": "RED_CAR_SOURCE", "value": "http://plates.openalpr.com/h786poj.jpg", "origin": "3968d439-f294-4607-95f0-3afb61b87f9a", "readonly": true, "optionnal": false}
],
"aec3a3af-2b3c-4c4c-a849-af2a9bb554f3": [
{"readonly": true, "optionnal": false, "name": "IRT_LOCAL_FILE_STORAGE_SOURCE", "value": "/mnt/vol", "origin": "0c5ffc8c-c7db-471d-a45f-65a14b6a93e9"},
{"value": "image.jpg", "origin": "0e4ffccd-f0fb-478b-b3b4-173e7f7cc741", "readonly": true, "optionnal": false, "name": "CURL_FILENAME"}
],
"fd831155-e6d1-4f24-83aa-bb9af0a3c264": [
{"name": "IRT_LOCAL_FILE_STORAGE_SOURCE", "value": "/mnt/vol", "origin": "0c5ffc8c-c7db-471d-a45f-65a14b6a93e9", "readonly": true, "optionnal": false},
{"name": "IMAGEMAGIC_OUTPUT_FILENAME", "value": "treated_image.jpg", "origin": "aec3a3af-2b3c-4c4c-a849-af2a9bb554f3", "readonly": true, "optionnal": false}
],
"c30100a7-1162-4c6b-a8dd-e42fd4d352a2": [
{"value": "/mnt/vol", "origin": "0c5ffc8c-c7db-471d-a45f-65a14b6a93e9", "readonly": true, "optionnal": false, "name": "IRT_LOCAL_FILE_STORAGE_SOURCE"},
{"readonly": true, "optionnal": false, "name": "ALPR_OUTPUT_FILENAME", "value": "alpr.json", "origin": "fd831155-e6d1-4f24-83aa-bb9af0a3c264"}
]
},
"args": {
"0e4ffccd-f0fb-478b-b3b4-173e7f7cc741": ["-SL", "$RED_CAR_SOURCE", "-o", "$IRT_LOCAL_FILE_STORAGE_SOURCE/$FILENAME"],
"aec3a3af-2b3c-4c4c-a849-af2a9bb554f3": ["$IRT_LOCAL_FILE_STORAGE_SOURCE/$CURL_FILENAME", "$IRT_LOCAL_FILE_STORAGE_SOURCE/$OUTPUT_FILENAME"],
"fd831155-e6d1-4f24-83aa-bb9af0a3c264": ["--country", "eu", "--json", "$IRT_LOCAL_FILE_STORAGE_SOURCE/$IMAGEMAGIC_OUTPUT_FILENAME", ">", "$IRT_LOCAL_FILE_STORAGE_SOURCE/$OUTPUT_FILENAME"],
"c30100a7-1162-4c6b-a8dd-e42fd4d352a2": ["$IRT_LOCAL_FILE_STORAGE_SOURCE/$ALPR_OUTPUT_FILENAME"]
}
},
{
"_id": "11111111-1111-4111-8111-111111111111",
"abstractobject": {
"id": "11111111-1111-4111-8111-111111111111",
"not_in_catalog": false,
"name": "image-meta-extractor",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": {"$date": "2026-04-10T00:00:00.000Z"},
"update_date": {"$date": "2026-04-10T00:00:00.000Z"},
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"user_updater_id": "admin",
"access_mode": 0
},
"resourceset": {
"storages": ["e726020a-b68e-4abc-ab36-c3640ea3f557"],
"processings": ["0d565c87-50ae-4a73-843d-f8b2d4047772", "aa110001-aa11-4001-8001-aaaaaaaaaaaa"],
"computes": ["7b989e97-c3e7-49d2-a3a7-f959da4870b5", "0bb77206-371a-428e-8ae3-ff11575071e2"],
"datas": ["d573dc63-4de0-4e29-8a4e-c15cbb3aed06"]
},
"schedule_active": false,
"graph": {
"partial": false,
"zoom": 1,
"items": {
"a1000001-0000-4000-8000-000000000001": {
"id": "a1000001-0000-4000-8000-000000000001", "width": 100, "height": 80,
"position": {"id": "", "x": 430, "y": 60},
"itemresource": {"data": {"type": "data", "quality": "low", "open_data": false, "static": true, "size": 0.59, "example": "http://plates.openalpr.com/h786poj.jpg",
"abstractinstanciatedresource": {"abstractresource": {"allowed_booking_modes": null, "purchaseinfo": null,
"logo": "https://images.wondershare.com/repairit/article/guide-on-jpeg-repair-online-01.png",
"description": "Sample JPEG image of a red car with a visible license plate.",
"short_description": "Sample image of a red car with license plate",
"owners": [{"name": "OpenALPR"}],
"abstractobject": {"name": "Red Car", "is_draft": false, "creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": {"$date": "2021-09-30T14:00:00Z"}, "access_mode": 0,
"id": "d573dc63-4de0-4e29-8a4e-c15cbb3aed06", "not_in_catalog": false,
"update_date": {"$date": "2021-09-30T14:00:00Z"}, "updater_id": "c0cece97-7730-4c2a-8c20-a30944564106"}},
"instances": [{"source": "http://plates.openalpr.com/h786poj.jpg",
"resourceinstance": {"location": {"longitude": 1.4442, "latitude": 43.6047},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}],
"abstractobject": {"is_draft": false, "access_mode": 0, "id": "d573dc63-4de0-4e29-8a4e-c15cbb3aed06", "not_in_catalog": false, "name": "Red Car"},
"origin": {"origin_type": 0, "origin_verified": false}}}]}}}
},
"a1000002-0000-4000-8000-000000000002": {
"id": "a1000002-0000-4000-8000-000000000002", "width": 100, "height": 46,
"position": {"id": "", "x": 430, "y": 200},
"itemresource": {"processing": {"license": "MIT", "open_source": true, "infrastructure": 0, "usage": {"scaling_model": "2"},
"abstractinstanciatedresource": {"abstractresource": {"type": "processing", "purchaseinfo": null,
"logo": "http://localhost:8000/static/images/curl-logo.png",
"description": "Official curl Docker image. Transfers data from or to a server.",
"short_description": "Transfer data from/to a server — official curl image",
"owners": [{"name": "IRT"}], "allowed_booking_modes": null,
"abstractobject": {"id": "0d565c87-50ae-4a73-843d-f8b2d4047772", "name": "CURL", "is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106", "creation_date": {"$date": "2021-09-30T14:00:00Z"},
"update_date": {"$date": "2021-09-30T14:00:00Z"}, "updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 0, "not_in_catalog": false}},
"instances": [{"resourceinstance": {"abstractobject": {"id": "0d565c87-50ae-4a73-843d-f8b2d4047772", "name": "CURL Toulouse", "is_draft": false, "access_mode": 0, "not_in_catalog": false},
"origin": {"origin_type": 0, "origin_verified": false}, "location": {"latitude": 43.6047, "longitude": 1.4442},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]},
"access": {"container": {"image": "curlimages/curl:8.5.0", "command": "curl"}}}]}}}
},
"a1000003-0000-4000-8000-000000000003": {
"id": "a1000003-0000-4000-8000-000000000003", "width": 100, "height": 46,
"position": {"id": "", "x": 430, "y": 340},
"itemresource": {"processing": {"license": "PSF-2.0", "open_source": true, "infrastructure": 0, "usage": {"scaling_model": "2"},
"abstractinstanciatedresource": {"abstractresource": {"type": "processing", "purchaseinfo": null,
"logo": "http://localhost:8000/static/images/alpine-logo.png",
"description": "Official Python 3.11 slim Docker image for data processing scripts.",
"short_description": "Official Python 3.11 runtime for data processing",
"owners": [{"name": "Python Software Foundation"}], "allowed_booking_modes": null,
"abstractobject": {"id": "aa110001-aa11-4001-8001-aaaaaaaaaaaa", "name": "Python Data Processor", "is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106", "creation_date": {"$date": "2021-09-30T14:00:00Z"},
"update_date": {"$date": "2026-04-10T00:00:00Z"}, "updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 0, "not_in_catalog": false}},
"instances": [{"resourceinstance": {"abstractobject": {"id": "aa110001-aa11-4001-8001-aaaaaaaaaaaa", "name": "Python Data Processor Toulouse", "is_draft": false, "access_mode": 0, "not_in_catalog": false},
"origin": {"origin_type": 0, "origin_verified": false}, "location": {"latitude": 43.6047, "longitude": 1.4442},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]},
"access": {"container": {"image": "python:3.11-slim", "command": "python"}}}]}}}
},
"a1000004-0000-4000-8000-000000000004": {
"id": "a1000004-0000-4000-8000-000000000004", "width": 100, "height": 100,
"position": {"id": "", "x": 210, "y": 270},
"itemresource": {"storage": {"storage_type": 5, "acronym": "DC_myDC",
"abstractinstanciatedresource": {"abstractresource": {"type": "storage", "purchaseinfo": null,
"logo": "http://localhost:8000/static/images/IRT local file storage.png",
"description": "S3-compliant IRT local file storage.", "short_description": "S3-compliant local file storage (peer-1)",
"owners": [{"name": "IRT"}], "allowed_booking_modes": null,
"abstractobject": {"id": "e726020a-b68e-4abc-ab36-c3640ea3f557", "name": "IRT local file storage", "is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106", "creation_date": {"$date": "2021-09-30T14:00:00Z"},
"update_date": {"$date": "2021-09-30T14:00:00Z"}, "updater_id": "c0cece97-7730-4c2a-8c20-a30944564106", "access_mode": 0, "not_in_catalog": false}},
"instances": [{"resourceinstance": {"env": [{"attr": "source", "readonly": true}],
"abstractobject": {"id": "e726020a-b68e-4abc-ab36-c3640ea3f557", "name": "IRT local file storage Toulouse", "is_draft": false, "access_mode": 0, "not_in_catalog": false},
"origin": {"origin_type": 0, "origin_verified": false}, "location": {"latitude": 43.6047, "longitude": 1.4442},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]},
"source": "/mnt/vol", "security_level": "public", "size_type": 0, "local": true, "size": 500, "encryption": true, "redundancy": "RAID5S", "throughput": "r:300,w:350"}]}}}
},
"a1000005-0000-4000-8000-000000000005": {
"id": "a1000005-0000-4000-8000-000000000005", "width": 100, "height": 100,
"position": {"id": "", "x": 640, "y": 190},
"itemresource": {"compute": {"architecture": "x86", "infrastructure": 0,
"abstractinstanciatedresource": {"abstractresource": {"type": "compute", "purchaseinfo": null,
"logo": "http://localhost:8000/static/images/Mundi datacenter.png",
"description": "Mundi cloud computing node, peer-1 owned. Executes the CURL download step.",
"short_description": "Mundi Opencloud GPU instance — peer-1 owned",
"owners": [{"name": "IRT Saint Exupery"}], "allowed_booking_modes": null,
"abstractobject": {"id": "7b989e97-c3e7-49d2-a3a7-f959da4870b5", "name": "Mundi datacenter", "is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106", "creation_date": {"$date": "2021-09-30T14:00:00Z"},
"update_date": {"$date": "2021-09-30T14:00:00Z"}, "updater_id": "c0cece97-7730-4c2a-8c20-a30944564106", "access_mode": 0, "not_in_catalog": false}},
"instances": [{"resourceinstance": {"abstractobject": {"id": "7b989e97-c3e7-49d2-a3a7-f959da4870b5", "name": "Mundi datacenter Toulouse", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false}, "location": {"latitude": 43.6047, "longitude": 1.4442},
"partnerships": [{"allowed_gpus": {"RTX 3090 FE": 4}, "allowed_ram": 20000, "namespace": "default", "peer_groups": {"*": ["*"]}, "allowed_cpus": {"Intel Core i7-14700KF": 1}}]},
"security_level": "public", "power_sources": ["solaire", "charbon"]}]}}}
},
"a1000006-0000-4000-8000-000000000006": {
"id": "a1000006-0000-4000-8000-000000000006", "width": 100, "height": 100,
"position": {"id": "", "x": 640, "y": 330},
"itemresource": {"compute": {"architecture": "x86", "infrastructure": 0,
"abstractinstanciatedresource": {"abstractresource": {"type": "compute", "purchaseinfo": null,
"logo": "https://cloud.o-forge.io/core/deprecated-oc-catalog/raw/branch/main/scripts/local_imgs/vm_logo.png",
"description": "VM hosted on opencloud-demo-2, peer-2 owned. Executes the Python analysis step.",
"short_description": "VM hosted on opencloud-demo-2 — peer-2 owned",
"owners": [{"name": "IRT Saint Exupery"}], "allowed_booking_modes": null,
"abstractobject": {"id": "0bb77206-371a-428e-8ae3-ff11575071e2", "name": "VM Target 2", "is_draft": false,
"creator_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31", "creation_date": {"$date": "2021-09-30T14:00:00Z"},
"update_date": {"$date": "2021-09-30T14:00:00Z"}, "updater_id": "c0cece97-7730-4c2a-8c20-a30944564106", "access_mode": 0, "not_in_catalog": false}},
"instances": [{"resourceinstance": {"abstractobject": {"id": "0bb77206-371a-428e-8ae3-ff11575071e2", "name": "VM Proxmox Pierre 2", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false}, "location": {"latitude": 48.8566, "longitude": 2.3522}},
"security_level": "private", "power_sources": ["Larmes d'alternant"]}]}}}
}
},
"links": [
{"env": [], "source": {"id": "a1000001-0000-4000-8000-000000000001", "x": 480, "y": 140}, "destination": {"id": "a1000002-0000-4000-8000-000000000002", "x": 480, "y": 200}, "style": {"color": 4280391411, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_width": 2, "dash_space": 2, "start_arrow": {"id": "", "x": 0, "y": 1}, "end_arrow": {"id": "", "x": 0, "y": -1}, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10}},
{"env": [], "source": {"id": "a1000002-0000-4000-8000-000000000002", "x": 430, "y": 223}, "destination": {"id": "a1000004-0000-4000-8000-000000000004", "x": 310, "y": 320}, "style": {"color": 4294472049, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_width": 2, "dash_space": 2, "start_arrow": {"id": "", "x": -1, "y": 0}, "end_arrow": {"id": "", "x": 1, "y": 0}, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10}},
{"env": [], "source": {"id": "a1000004-0000-4000-8000-000000000004", "x": 310, "y": 320}, "destination": {"id": "a1000003-0000-4000-8000-000000000003", "x": 430, "y": 363}, "style": {"color": 4294472049, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_width": 2, "dash_space": 2, "start_arrow": {"id": "", "x": 1, "y": 0}, "end_arrow": {"id": "", "x": -1, "y": 0}, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10}},
{"env": [], "source": {"id": "a1000002-0000-4000-8000-000000000002", "x": 530, "y": 223}, "destination": {"id": "a1000005-0000-4000-8000-000000000005", "x": 640, "y": 240}, "style": {"color": 4294940672, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_width": 2, "dash_space": 2, "start_arrow": {"id": "", "x": 1, "y": 0}, "end_arrow": {"id": "", "x": -1, "y": 0}, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10}},
{"env": [], "source": {"id": "a1000003-0000-4000-8000-000000000003", "x": 530, "y": 363}, "destination": {"id": "a1000006-0000-4000-8000-000000000006", "x": 640, "y": 380}, "style": {"color": 4294940672, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_width": 2, "dash_space": 2, "start_arrow": {"id": "", "x": 1, "y": 0}, "end_arrow": {"id": "", "x": -1, "y": 0}, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10}}
]
},
"shared": [],
"exposes": {},
"outputs": {
"a1000001-0000-4000-8000-000000000001": [{"name": "SOURCE", "value": "http://plates.openalpr.com/h786poj.jpg", "readonly": false, "optionnal": false}],
"a1000004-0000-4000-8000-000000000004": [{"name": "SOURCE", "value": "/mnt/vol", "readonly": false, "optionnal": false}],
"a1000002-0000-4000-8000-000000000002": [{"name": "FILENAME", "value": "image.jpg", "readonly": false, "optionnal": false}],
"a1000003-0000-4000-8000-000000000003": [{"name": "OUTPUT_FILENAME", "value": "metadata.json", "readonly": false, "optionnal": false}]
},
"env": {
"a1000002-0000-4000-8000-000000000002": [{"name": "FILENAME", "value": "image.jpg", "readonly": false, "optionnal": false}],
"a1000003-0000-4000-8000-000000000003": [{"name": "OUTPUT_FILENAME", "value": "metadata.json", "readonly": false, "optionnal": false}]
},
"inputs": {
"a1000002-0000-4000-8000-000000000002": [
{"name": "RED_CAR_SOURCE", "value": "http://plates.openalpr.com/h786poj.jpg", "origin": "a1000001-0000-4000-8000-000000000001", "readonly": true, "optionnal": false},
{"name": "IRT_LOCAL_FILE_STORAGE_SOURCE", "value": "/mnt/vol", "origin": "a1000004-0000-4000-8000-000000000004", "readonly": true, "optionnal": false}
],
"a1000003-0000-4000-8000-000000000003": [
{"name": "IRT_LOCAL_FILE_STORAGE_SOURCE", "value": "/mnt/vol", "origin": "a1000004-0000-4000-8000-000000000004", "readonly": true, "optionnal": false},
{"name": "CURL_FILENAME", "value": "image.jpg", "origin": "a1000002-0000-4000-8000-000000000002", "readonly": true, "optionnal": false}
]
},
"args": {
"a1000002-0000-4000-8000-000000000002": ["-SL", "$RED_CAR_SOURCE", "-o", "$IRT_LOCAL_FILE_STORAGE_SOURCE/$FILENAME"],
"a1000003-0000-4000-8000-000000000003": ["analyze_image.py", "--input", "$IRT_LOCAL_FILE_STORAGE_SOURCE/$CURL_FILENAME", "--output", "$IRT_LOCAL_FILE_STORAGE_SOURCE/$OUTPUT_FILENAME"]
}
},
{
"_id": "22222222-2222-4222-8222-222222222222",
"abstractobject": {
"id": "22222222-2222-4222-8222-222222222222",
"not_in_catalog": false,
"name": "api-monitoring-stack",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": {"$date": "2026-04-10T00:00:00.000Z"},
"update_date": {"$date": "2026-04-10T00:00:00.000Z"},
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"user_updater_id": "admin",
"access_mode": 0
},
"resourceset": {
"storages": ["ff660006-ff66-4006-8006-ffffffffffff"],
"processings": ["0d565c87-50ae-4a73-843d-f8b2d4047772", "dd440004-dd44-4004-8004-dddddddddddd", "cc330003-cc33-4003-8003-cccccccccccc"],
"computes": ["7b989e97-c3e7-49d2-a3a7-f959da4870b5", "ee550005-ee55-4005-8005-eeeeeeeeeeee"],
"datas": ["hh880008-hh88-4008-8008-hhhhhhhhhhhh"]
},
"schedule_active": false,
"graph": {
"partial": false,
"zoom": 1,
"items": {
"b2000001-0000-4000-8000-000000000001": {
"id": "b2000001-0000-4000-8000-000000000001", "width": 100, "height": 80,
"position": {"id": "", "x": 430, "y": 60},
"itemresource": {"data": {"type": "data", "quality": "high", "open_data": false, "static": false, "size": 1200,
"example": "{\"ts\":\"2026-04-10T08:00:00Z\",\"method\":\"GET\",\"path\":\"/workflow\",\"status\":200,\"latency_ms\":45}",
"abstractinstanciatedresource": {"abstractresource": {"allowed_booking_modes": null, "purchaseinfo": null,
"logo": "http://localhost:8000/static/images/alpine-logo.png",
"description": "Structured NDJSON HTTP access-log stream from the peer-2 API gateway. ~1.2 GB/day at 300 req/min.",
"short_description": "Peer-2 API gateway NDJSON access logs",
"owners": [{"name": "opencloud-demo-2"}],
"abstractobject": {"name": "Web API Logs", "is_draft": false, "creator_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"creation_date": {"$date": "2021-09-30T14:00:00Z"}, "access_mode": 0,
"id": "hh880008-hh88-4008-8008-hhhhhhhhhhhh", "not_in_catalog": false,
"update_date": {"$date": "2026-04-10T00:00:00Z"}, "updater_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31"}},
"instances": [{"source": "http://localhost:9000/logs/api.log",
"resourceinstance": {"location": {"longitude": 2.3522, "latitude": 48.8566},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}],
"abstractobject": {"is_draft": false, "access_mode": 0, "id": "hh880008-hh88-4008-8008-hhhhhhhhhhhh", "not_in_catalog": false, "name": "Web API Logs Paris"},
"env": [{"attr": "source", "readonly": true}],
"origin": {"origin_type": 0, "origin_verified": false}}}]}}}
},
"b2000002-0000-4000-8000-000000000002": {
"id": "b2000002-0000-4000-8000-000000000002", "width": 100, "height": 46,
"position": {"id": "", "x": 430, "y": 200},
"itemresource": {"processing": {"license": "MIT", "open_source": true, "infrastructure": 0, "usage": {"scaling_model": "2"},
"abstractinstanciatedresource": {"abstractresource": {"type": "processing", "purchaseinfo": null,
"logo": "http://localhost:8000/static/images/curl-logo.png",
"description": "Official curl Docker image. Fetches the API log file from the peer-2 gateway endpoint and writes it to MinIO storage.",
"short_description": "Official curl image — multi-protocol data fetcher",
"owners": [{"name": "IRT"}], "allowed_booking_modes": null,
"abstractobject": {"id": "0d565c87-50ae-4a73-843d-f8b2d4047772", "name": "CURL", "is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106", "creation_date": {"$date": "2021-09-30T14:00:00Z"},
"update_date": {"$date": "2021-09-30T14:00:00Z"}, "updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 0, "not_in_catalog": false}},
"instances": [{"resourceinstance": {"abstractobject": {"id": "0d565c87-50ae-4a73-843d-f8b2d4047772", "name": "CURL Paris", "is_draft": false, "access_mode": 0, "not_in_catalog": false},
"origin": {"origin_type": 0, "origin_verified": false}, "location": {"latitude": 48.8566, "longitude": 2.3522},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]},
"access": {"container": {"image": "curlimages/curl:8.5.0", "command": "curl"}}}]}}}
},
"b2000003-0000-4000-8000-000000000003": {
"id": "b2000003-0000-4000-8000-000000000003", "width": 100, "height": 46,
"position": {"id": "", "x": 430, "y": 340},
"itemresource": {"processing": {"license": "BSD-3-Clause", "open_source": true, "infrastructure": 0, "usage": {"scaling_model": "2"},
"abstractinstanciatedresource": {"abstractresource": {"type": "processing", "purchaseinfo": null,
"logo": "http://localhost:8000/static/images/alpine-logo.png",
"description": "Official Redis 7-alpine image. Ingests structured API-status objects from storage and caches them with a 300-second TTL.",
"short_description": "Official Redis 7-alpine — TTL cache with pub/sub support",
"owners": [{"name": "Redis Ltd"}], "allowed_booking_modes": null,
"abstractobject": {"id": "dd440004-dd44-4004-8004-dddddddddddd", "name": "Redis Cache", "is_draft": false,
"creator_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31", "creation_date": {"$date": "2021-09-30T14:00:00Z"},
"update_date": {"$date": "2026-04-10T00:00:00Z"}, "updater_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"access_mode": 0, "not_in_catalog": false}},
"instances": [{"resourceinstance": {"abstractobject": {"id": "dd440004-dd44-4004-8004-dddddddddddd", "name": "Redis Cache Paris", "is_draft": false, "access_mode": 0, "not_in_catalog": false},
"origin": {"origin_type": 0, "origin_verified": false}, "location": {"latitude": 48.8566, "longitude": 2.3522},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]},
"access": {"container": {"image": "redis:7-alpine", "command": "redis-server"}}}]}}}
},
"b2000004-0000-4000-8000-000000000004": {
"id": "b2000004-0000-4000-8000-000000000004", "width": 100, "height": 46,
"position": {"id": "", "x": 430, "y": 480},
"itemresource": {"processing": {"license": "BSD-2-Clause", "open_source": true, "infrastructure": 0, "usage": {"scaling_model": "2"},
"abstractinstanciatedresource": {"abstractresource": {"type": "processing", "purchaseinfo": null,
"logo": "http://localhost:8000/static/images/alpine-logo.png",
"description": "Official Nginx 1.25-alpine image. Serves Redis-cached API status JSON as an HTTP endpoint on port 80 for the OpenCloud operator dashboard.",
"short_description": "Official Nginx 1.25-alpine — HTTP frontend and static result endpoint",
"owners": [{"name": "nginx"}], "allowed_booking_modes": null,
"abstractobject": {"id": "cc330003-cc33-4003-8003-cccccccccccc", "name": "Nginx Gateway", "is_draft": false,
"creator_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31", "creation_date": {"$date": "2021-09-30T14:00:00Z"},
"update_date": {"$date": "2026-04-10T00:00:00Z"}, "updater_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"access_mode": 0, "not_in_catalog": false}},
"instances": [{"resourceinstance": {"abstractobject": {"id": "cc330003-cc33-4003-8003-cccccccccccc", "name": "Nginx Gateway Paris", "is_draft": false, "access_mode": 0, "not_in_catalog": false},
"origin": {"origin_type": 0, "origin_verified": false}, "location": {"latitude": 48.8566, "longitude": 2.3522},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]},
"access": {"container": {"image": "nginx:1.25-alpine", "command": "nginx"}}}]}}}
},
"b2000005-0000-4000-8000-000000000005": {
"id": "b2000005-0000-4000-8000-000000000005", "width": 100, "height": 100,
"position": {"id": "", "x": 210, "y": 340},
"itemresource": {"storage": {"storage_type": 5, "acronym": "DC_myDC",
"abstractinstanciatedresource": {"abstractresource": {"type": "storage", "purchaseinfo": null,
"logo": "https://min.io/resources/img/logo/ORIGINAL/vertical/dark/minioVerticalLogo-Dark.png",
"description": "MinIO NVMe RAID-6 1 TB object store, peer-2 owned. Primary sink for CURL log dumps and Redis snapshot exports.",
"short_description": "Peer-2 MinIO NVMe RAID-6 — 1 TB, AES-256, S3-compatible",
"owners": [{"name": "opencloud-demo-2"}], "allowed_booking_modes": null,
"abstractobject": {"id": "ff660006-ff66-4006-8006-ffffffffffff", "name": "Peer2 MinIO Storage", "is_draft": false,
"creator_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31", "creation_date": {"$date": "2021-09-30T14:00:00Z"},
"update_date": {"$date": "2026-04-10T00:00:00Z"}, "updater_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31", "access_mode": 0, "not_in_catalog": false}},
"instances": [{"resourceinstance": {"env": [{"attr": "source", "readonly": true}],
"abstractobject": {"id": "ff660006-ff66-4006-8006-ffffffffffff", "name": "Peer2 MinIO Storage Paris", "is_draft": false, "access_mode": 0, "not_in_catalog": false},
"origin": {"origin_type": 0, "origin_verified": false}, "location": {"latitude": 48.8566, "longitude": 2.3522},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]},
"source": "/mnt/minio", "security_level": "public", "size_type": 0, "local": true, "size": 1000, "encryption": true, "redundancy": "RAID6", "throughput": "r:500,w:400"}]}}}
},
"b2000006-0000-4000-8000-000000000006": {
"id": "b2000006-0000-4000-8000-000000000006", "width": 100, "height": 100,
"position": {"id": "", "x": 640, "y": 380},
"itemresource": {"compute": {"architecture": "x86", "infrastructure": 0,
"abstractinstanciatedresource": {"abstractresource": {"type": "compute", "purchaseinfo": null,
"logo": "https://cloud.o-forge.io/core/deprecated-oc-catalog/raw/branch/main/scripts/local_imgs/vm_logo.png",
"description": "Peer-2 bare-metal cluster, 4 nodes × dual EPYC 9654 + 2× RTX 4090. Executes Redis and Nginx steps.",
"short_description": "Peer-2 bare-metal cluster — dual EPYC 9654 + 2× RTX 4090, peer-2 owned",
"owners": [{"name": "opencloud-demo-2"}], "allowed_booking_modes": null,
"abstractobject": {"id": "ee550005-ee55-4005-8005-eeeeeeeeeeee", "name": "Demo Peer2 Server", "is_draft": false,
"creator_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31", "creation_date": {"$date": "2021-09-30T14:00:00Z"},
"update_date": {"$date": "2026-04-10T00:00:00Z"}, "updater_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31", "access_mode": 0, "not_in_catalog": false}},
"instances": [{"resourceinstance": {"abstractobject": {"id": "ee550005-ee55-4005-8005-eeeeeeeeeeee", "name": "Demo Peer2 Server Paris", "is_draft": false, "access_mode": 0},
"location": {"latitude": 48.8566, "longitude": 2.3522},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]},
"security_level": "public", "power_sources": ["solaire"]}]}}}
},
"b2000007-0000-4000-8000-000000000007": {
"id": "b2000007-0000-4000-8000-000000000007", "width": 100, "height": 100,
"position": {"id": "", "x": 640, "y": 190},
"itemresource": {"compute": {"architecture": "x86", "infrastructure": 0,
"abstractinstanciatedresource": {"abstractresource": {"type": "compute", "purchaseinfo": null,
"logo": "http://localhost:8000/static/images/Mundi datacenter.png",
"description": "IRT Saint-Exupéry GPU cluster, peer-1 owned. Executes the CURL ingestion step for the api-monitoring workflow.",
"short_description": "IRT Saint-Exupéry GPU cluster — peer-1 owned",
"owners": [{"name": "IRT Saint Exupery"}], "allowed_booking_modes": null,
"abstractobject": {"id": "7b989e97-c3e7-49d2-a3a7-f959da4870b5", "name": "Mundi datacenter", "is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106", "creation_date": {"$date": "2021-09-30T14:00:00Z"},
"update_date": {"$date": "2021-09-30T14:00:00Z"}, "updater_id": "c0cece97-7730-4c2a-8c20-a30944564106", "access_mode": 0, "not_in_catalog": false}},
"instances": [{"resourceinstance": {"abstractobject": {"id": "7b989e97-c3e7-49d2-a3a7-f959da4870b5", "name": "Mundi datacenter Toulouse", "is_draft": false, "access_mode": 0},
"location": {"latitude": 43.6047, "longitude": 1.4442},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]},
"security_level": "public", "power_sources": ["solaire", "charbon"]}]}}}
}
},
"links": [
{"env": [], "source": {"id": "b2000001-0000-4000-8000-000000000001", "x": 480, "y": 140}, "destination": {"id": "b2000002-0000-4000-8000-000000000002", "x": 480, "y": 200}, "style": {"color": 4280391411, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_width": 2, "dash_space": 2, "start_arrow": {"id": "", "x": 0, "y": 1}, "end_arrow": {"id": "", "x": 0, "y": -1}, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10}},
{"env": [], "source": {"id": "b2000002-0000-4000-8000-000000000002", "x": 430, "y": 223}, "destination": {"id": "b2000005-0000-4000-8000-000000000005", "x": 310, "y": 390}, "style": {"color": 4294472049, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_width": 2, "dash_space": 2, "start_arrow": {"id": "", "x": -1, "y": 0}, "end_arrow": {"id": "", "x": 1, "y": 0}, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10}},
{"env": [], "source": {"id": "b2000005-0000-4000-8000-000000000005", "x": 310, "y": 390}, "destination": {"id": "b2000003-0000-4000-8000-000000000003", "x": 430, "y": 363}, "style": {"color": 4294472049, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_width": 2, "dash_space": 2, "start_arrow": {"id": "", "x": 1, "y": 0}, "end_arrow": {"id": "", "x": -1, "y": 0}, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10}},
{"env": [], "source": {"id": "b2000003-0000-4000-8000-000000000003", "x": 430, "y": 386}, "destination": {"id": "b2000004-0000-4000-8000-000000000004", "x": 430, "y": 480}, "style": {"color": 4278190080, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_width": 2, "dash_space": 2, "start_arrow": {"id": "", "x": 0, "y": 1}, "end_arrow": {"id": "", "x": 0, "y": -1}, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10}},
{"env": [], "source": {"id": "b2000002-0000-4000-8000-000000000002", "x": 530, "y": 223}, "destination": {"id": "b2000007-0000-4000-8000-000000000007", "x": 640, "y": 240}, "style": {"color": 4294940672, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_width": 2, "dash_space": 2, "start_arrow": {"id": "", "x": 1, "y": 0}, "end_arrow": {"id": "", "x": -1, "y": 0}, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10}},
{"env": [], "source": {"id": "b2000003-0000-4000-8000-000000000003", "x": 530, "y": 363}, "destination": {"id": "b2000006-0000-4000-8000-000000000006", "x": 640, "y": 430}, "style": {"color": 4294940672, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_width": 2, "dash_space": 2, "start_arrow": {"id": "", "x": 1, "y": 0}, "end_arrow": {"id": "", "x": -1, "y": 0}, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10}},
{"env": [], "source": {"id": "b2000004-0000-4000-8000-000000000004", "x": 530, "y": 503}, "destination": {"id": "b2000006-0000-4000-8000-000000000006", "x": 640, "y": 480}, "style": {"color": 4294940672, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_width": 2, "dash_space": 2, "start_arrow": {"id": "", "x": 1, "y": 0}, "end_arrow": {"id": "", "x": -1, "y": 0}, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10}}
]
},
"shared": [],
"exposes": {},
"outputs": {
"b2000001-0000-4000-8000-000000000001": [{"name": "SOURCE", "value": "http://localhost:9000/logs/api.log", "readonly": false, "optionnal": false}],
"b2000005-0000-4000-8000-000000000005": [{"name": "SOURCE", "value": "/mnt/minio", "readonly": false, "optionnal": false}],
"b2000002-0000-4000-8000-000000000002": [{"name": "LOGFILE", "value": "api.log", "readonly": false, "optionnal": false}],
"b2000003-0000-4000-8000-000000000003": [{"name": "CACHE_KEY", "value": "api_status", "readonly": false, "optionnal": false}]
},
"env": {
"b2000002-0000-4000-8000-000000000002": [{"name": "LOGFILE", "value": "api.log", "readonly": false, "optionnal": false}],
"b2000003-0000-4000-8000-000000000003": [{"name": "CACHE_KEY", "value": "api_status", "readonly": false, "optionnal": false}, {"name": "CACHE_TTL", "value": "300", "readonly": false, "optionnal": false}]
},
"inputs": {
"b2000002-0000-4000-8000-000000000002": [
{"name": "WEB_API_LOGS_SOURCE", "value": "http://localhost:9000/logs/api.log", "origin": "b2000001-0000-4000-8000-000000000001", "readonly": true, "optionnal": false},
{"name": "PEER2_MINIO_STORAGE_SOURCE", "value": "/mnt/minio", "origin": "b2000005-0000-4000-8000-000000000005", "readonly": true, "optionnal": false}
],
"b2000003-0000-4000-8000-000000000003": [
{"name": "PEER2_MINIO_STORAGE_SOURCE", "value": "/mnt/minio", "origin": "b2000005-0000-4000-8000-000000000005", "readonly": true, "optionnal": false},
{"name": "CURL_LOGFILE", "value": "api.log", "origin": "b2000002-0000-4000-8000-000000000002", "readonly": true, "optionnal": false}
],
"b2000004-0000-4000-8000-000000000004": [
{"name": "PEER2_MINIO_STORAGE_SOURCE", "value": "/mnt/minio", "origin": "b2000005-0000-4000-8000-000000000005", "readonly": true, "optionnal": false},
{"name": "REDIS_CACHE_KEY", "value": "api_status", "origin": "b2000003-0000-4000-8000-000000000003", "readonly": true, "optionnal": false}
]
},
"args": {
"b2000002-0000-4000-8000-000000000002": ["-SL", "$WEB_API_LOGS_SOURCE", "-o", "$PEER2_MINIO_STORAGE_SOURCE/$LOGFILE"],
"b2000003-0000-4000-8000-000000000003": ["redis-server", "--save", "", "--appendonly", "no"],
"b2000004-0000-4000-8000-000000000004": ["nginx", "-g", "daemon off;"]
}
},
{
"_id": "33333333-3333-4333-8333-333333333333",
"abstractobject": {
"id": "33333333-3333-4333-8333-333333333333",
"not_in_catalog": false,
"name": "sensor-data-collector",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": {"$date": "2026-04-10T00:00:00.000Z"},
"update_date": {"$date": "2026-04-10T00:00:00.000Z"},
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"user_updater_id": "admin",
"access_mode": 0
},
"resourceset": {
"storages": ["e726020a-b68e-4abc-ab36-c3640ea3f557"],
"processings": ["2ce0323f-a85d-4b8b-a783-5280f48d634a", "aa110001-aa11-4001-8001-aaaaaaaaaaaa", "e518d7a4-426a-4900-94e5-300767b1bb31"],
"computes": ["7b989e97-c3e7-49d2-a3a7-f959da4870b5", "ee550005-ee55-4005-8005-eeeeeeeeeeee"],
"datas": ["gg770007-gg77-4007-8007-gggggggggggg"]
},
"schedule_active": false,
"graph": {
"partial": false,
"zoom": 1,
"items": {
"c3000001-0000-4000-8000-000000000001": {
"id": "c3000001-0000-4000-8000-000000000001", "width": 100, "height": 80,
"position": {"id": "", "x": 430, "y": 60},
"itemresource": {"data": {"type": "data", "quality": "medium", "open_data": false, "static": false, "size": 0.25,
"example": "http://plates.openalpr.com/eu-001.jpg",
"abstractinstanciatedresource": {"abstractresource": {"allowed_booking_modes": null, "purchaseinfo": null,
"logo": "http://localhost:8000/static/images/alpine-logo.png",
"description": "Rolling JPEG snapshots from a Toulouse ring-road traffic camera, 0.2 Hz, 1920×1080 px.",
"short_description": "Toulouse ring-road live JPEG feed — 1920×1080, 0.2 Hz",
"owners": [{"name": "IRT"}],
"abstractobject": {"name": "Traffic Camera Feed", "is_draft": false, "creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": {"$date": "2021-09-30T14:00:00Z"}, "access_mode": 0,
"id": "gg770007-gg77-4007-8007-gggggggggggg", "not_in_catalog": false,
"update_date": {"$date": "2026-04-10T00:00:00Z"}, "updater_id": "c0cece97-7730-4c2a-8c20-a30944564106"}},
"instances": [{"source": "http://plates.openalpr.com/eu-001.jpg",
"resourceinstance": {"location": {"longitude": 1.4442, "latitude": 43.6047},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}],
"abstractobject": {"is_draft": false, "access_mode": 0, "id": "gg770007-gg77-4007-8007-gggggggggggg", "not_in_catalog": false, "name": "Traffic Camera Feed Toulouse"},
"env": [{"attr": "source", "readonly": true}],
"origin": {"origin_type": 0, "origin_verified": false}}}]}}}
},
"c3000002-0000-4000-8000-000000000002": {
"id": "c3000002-0000-4000-8000-000000000002", "width": 100, "height": 46,
"position": {"id": "", "x": 430, "y": 200},
"itemresource": {"processing": {"license": "MIT", "open_source": true, "infrastructure": 0, "usage": {"scaling_model": "2"},
"abstractinstanciatedresource": {"abstractresource": {"type": "processing", "purchaseinfo": null,
"logo": "http://localhost:8000/static/images/alpine-logo.png",
"description": "Official Alpine 3.18 image. Downloads the camera frame via wget and saves it to IRT shared storage.",
"short_description": "Official Alpine 3.18 — minimal shell environment for scripting sidecars",
"owners": [{"name": "IRT"}], "allowed_booking_modes": null,
"abstractobject": {"id": "2ce0323f-a85d-4b8b-a783-5280f48d634a", "name": "alpine", "is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106", "creation_date": {"$date": "2021-09-30T14:00:00Z"},
"update_date": {"$date": "2021-09-30T14:00:00Z"}, "updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 0, "not_in_catalog": false}},
"instances": [{"resourceinstance": {"abstractobject": {"id": "2ce0323f-a85d-4b8b-a783-5280f48d634a", "name": "alpine Toulouse", "is_draft": false, "access_mode": 0, "not_in_catalog": false},
"origin": {"origin_type": 0, "origin_verified": false}, "location": {"latitude": 43.6047, "longitude": 1.4442},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]},
"access": {"container": {"image": "alpine:3.18", "command": "sh"}}}]}}}
},
"c3000003-0000-4000-8000-000000000003": {
"id": "c3000003-0000-4000-8000-000000000003", "width": 100, "height": 46,
"position": {"id": "", "x": 430, "y": 340},
"itemresource": {"processing": {"license": "PSF-2.0", "open_source": true, "infrastructure": 0, "usage": {"scaling_model": "2"},
"abstractinstanciatedresource": {"abstractresource": {"type": "processing", "purchaseinfo": null,
"logo": "http://localhost:8000/static/images/alpine-logo.png",
"description": "Official Python 3.11-slim image. Reads the camera frame from IRT storage, runs vehicle detection with OpenCV, and writes vehicle_meta.json.",
"short_description": "Official Python 3.11-slim — frame analysis and vehicle detection runtime",
"owners": [{"name": "Python Software Foundation"}], "allowed_booking_modes": null,
"abstractobject": {"id": "aa110001-aa11-4001-8001-aaaaaaaaaaaa", "name": "Python Data Processor", "is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106", "creation_date": {"$date": "2021-09-30T14:00:00Z"},
"update_date": {"$date": "2026-04-10T00:00:00Z"}, "updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 0, "not_in_catalog": false}},
"instances": [{"resourceinstance": {"abstractobject": {"id": "aa110001-aa11-4001-8001-aaaaaaaaaaaa", "name": "Python Data Processor Paris", "is_draft": false, "access_mode": 0, "not_in_catalog": false},
"origin": {"origin_type": 0, "origin_verified": false}, "location": {"latitude": 48.8566, "longitude": 2.3522},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]},
"access": {"container": {"image": "python:3.11-slim", "command": "python"}}}]}}}
},
"c3000004-0000-4000-8000-000000000004": {
"id": "c3000004-0000-4000-8000-000000000004", "width": 100, "height": 46,
"position": {"id": "", "x": 430, "y": 480},
"itemresource": {"processing": {"license": "EPL-2.0", "open_source": true, "infrastructure": 0, "usage": {"scaling_model": "2"},
"abstractinstanciatedresource": {"abstractresource": {"type": "processing", "purchaseinfo": null,
"logo": "http://localhost:8000/static/images/mosquitto-logo.png",
"description": "Official Eclipse Mosquitto 2.0.18 MQTT broker. Reads vehicle_meta.json from IRT storage and publishes it to sensors/camera/vehicle topic.",
"short_description": "Official Eclipse Mosquitto 2.0 — MQTT v5/v3 broker with QoS and ACL support",
"owners": [{"name": "IRT"}], "allowed_booking_modes": null,
"abstractobject": {"id": "e518d7a4-426a-4900-94e5-300767b1bb31", "name": "Mosquitto server", "is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106", "creation_date": {"$date": "2021-09-30T14:00:00Z"},
"update_date": {"$date": "2021-09-30T14:00:00Z"}, "updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 0, "not_in_catalog": false}},
"instances": [{"resourceinstance": {"abstractobject": {"id": "e518d7a4-426a-4900-94e5-300767b1bb31", "name": "Mosquitto server Toulouse", "is_draft": false, "access_mode": 0, "not_in_catalog": false},
"origin": {"origin_type": 0, "origin_verified": false}, "location": {"latitude": 43.6047, "longitude": 1.4442},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]},
"access": {"container": {"image": "eclipse-mosquitto:2.0.18", "command": "mosquitto"}}}]}}}
},
"c3000005-0000-4000-8000-000000000005": {
"id": "c3000005-0000-4000-8000-000000000005", "width": 100, "height": 100,
"position": {"id": "", "x": 210, "y": 340},
"itemresource": {"storage": {"storage_type": 5, "acronym": "DC_myDC",
"abstractinstanciatedresource": {"abstractresource": {"type": "storage", "purchaseinfo": null,
"logo": "http://localhost:8000/static/images/IRT local file storage.png",
"description": "IRT SSD RAID-5S scratch store, peer-1 owned. Shared intermediary for all sensor-collector pipeline stages.",
"short_description": "IRT RAID-5S SSD scratch store — 500 GB, AES-256, S3-compatible (peer-1)",
"owners": [{"name": "IRT"}], "allowed_booking_modes": null,
"abstractobject": {"id": "e726020a-b68e-4abc-ab36-c3640ea3f557", "name": "IRT local file storage", "is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106", "creation_date": {"$date": "2021-09-30T14:00:00Z"},
"update_date": {"$date": "2021-09-30T14:00:00Z"}, "updater_id": "c0cece97-7730-4c2a-8c20-a30944564106", "access_mode": 0, "not_in_catalog": false}},
"instances": [{"resourceinstance": {"env": [{"attr": "source", "readonly": true}],
"abstractobject": {"id": "e726020a-b68e-4abc-ab36-c3640ea3f557", "name": "IRT local file storage Toulouse", "is_draft": false, "access_mode": 0, "not_in_catalog": false},
"origin": {"origin_type": 0, "origin_verified": false}, "location": {"latitude": 43.6047, "longitude": 1.4442},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]},
"source": "/mnt/vol", "security_level": "public", "size_type": 0, "local": true, "size": 500, "encryption": true, "redundancy": "RAID5S", "throughput": "r:300,w:350"}]}}}
},
"c3000006-0000-4000-8000-000000000006": {
"id": "c3000006-0000-4000-8000-000000000006", "width": 100, "height": 100,
"position": {"id": "", "x": 640, "y": 330},
"itemresource": {"compute": {"architecture": "x86", "infrastructure": 0,
"abstractinstanciatedresource": {"abstractresource": {"type": "compute", "purchaseinfo": null,
"logo": "https://cloud.o-forge.io/core/deprecated-oc-catalog/raw/branch/main/scripts/local_imgs/vm_logo.png",
"description": "Peer-2 bare-metal cluster, 4 nodes × dual EPYC 9654 + 2× RTX 4090, peer-2 owned. Executes Python vehicle-detection step cross-peer.",
"short_description": "Peer-2 bare-metal cluster — dual EPYC 9654 + 2× RTX 4090, peer-2 owned",
"owners": [{"name": "opencloud-demo-2"}], "allowed_booking_modes": null,
"abstractobject": {"id": "ee550005-ee55-4005-8005-eeeeeeeeeeee", "name": "Demo Peer2 Server", "is_draft": false,
"creator_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31", "creation_date": {"$date": "2021-09-30T14:00:00Z"},
"update_date": {"$date": "2026-04-10T00:00:00Z"}, "updater_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31", "access_mode": 0, "not_in_catalog": false}},
"instances": [{"resourceinstance": {"abstractobject": {"id": "ee550005-ee55-4005-8005-eeeeeeeeeeee", "name": "Demo Peer2 Server Paris", "is_draft": false, "access_mode": 0},
"location": {"latitude": 48.8566, "longitude": 2.3522},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]},
"security_level": "public", "power_sources": ["solaire"]}]}}}
},
"c3000007-0000-4000-8000-000000000007": {
"id": "c3000007-0000-4000-8000-000000000007", "width": 100, "height": 100,
"position": {"id": "", "x": 640, "y": 190},
"itemresource": {"compute": {"architecture": "x86", "infrastructure": 0,
"abstractinstanciatedresource": {"abstractresource": {"type": "compute", "purchaseinfo": null,
"logo": "http://localhost:8000/static/images/Mundi datacenter.png",
"description": "IRT Saint-Exupéry GPU cluster, peer-1 owned. Executes the Alpine frame-download and Mosquitto publish steps.",
"short_description": "IRT Saint-Exupéry GPU cluster — peer-1 owned",
"owners": [{"name": "IRT Saint Exupery"}], "allowed_booking_modes": null,
"abstractobject": {"id": "7b989e97-c3e7-49d2-a3a7-f959da4870b5", "name": "Mundi datacenter", "is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106", "creation_date": {"$date": "2021-09-30T14:00:00Z"},
"update_date": {"$date": "2021-09-30T14:00:00Z"}, "updater_id": "c0cece97-7730-4c2a-8c20-a30944564106", "access_mode": 0, "not_in_catalog": false}},
"instances": [{"resourceinstance": {"abstractobject": {"id": "7b989e97-c3e7-49d2-a3a7-f959da4870b5", "name": "Mundi datacenter Toulouse", "is_draft": false, "access_mode": 0},
"location": {"latitude": 43.6047, "longitude": 1.4442},
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]},
"security_level": "public", "power_sources": ["solaire", "charbon"]}]}}}
}
},
"links": [
{"env": [], "source": {"id": "c3000001-0000-4000-8000-000000000001", "x": 480, "y": 140}, "destination": {"id": "c3000002-0000-4000-8000-000000000002", "x": 480, "y": 200}, "style": {"color": 4280391411, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_width": 2, "dash_space": 2, "start_arrow": {"id": "", "x": 0, "y": 1}, "end_arrow": {"id": "", "x": 0, "y": -1}, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10}},
{"env": [], "source": {"id": "c3000002-0000-4000-8000-000000000002", "x": 430, "y": 223}, "destination": {"id": "c3000005-0000-4000-8000-000000000005", "x": 310, "y": 390}, "style": {"color": 4294472049, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_width": 2, "dash_space": 2, "start_arrow": {"id": "", "x": -1, "y": 0}, "end_arrow": {"id": "", "x": 1, "y": 0}, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10}},
{"env": [], "source": {"id": "c3000005-0000-4000-8000-000000000005", "x": 310, "y": 390}, "destination": {"id": "c3000003-0000-4000-8000-000000000003", "x": 430, "y": 363}, "style": {"color": 4294472049, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_width": 2, "dash_space": 2, "start_arrow": {"id": "", "x": 1, "y": 0}, "end_arrow": {"id": "", "x": -1, "y": 0}, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10}},
{"env": [], "source": {"id": "c3000003-0000-4000-8000-000000000003", "x": 430, "y": 386}, "destination": {"id": "c3000005-0000-4000-8000-000000000005", "x": 310, "y": 440}, "style": {"color": 4294472049, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_width": 2, "dash_space": 2, "start_arrow": {"id": "", "x": -1, "y": 0}, "end_arrow": {"id": "", "x": 1, "y": 0}, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10}},
{"env": [], "source": {"id": "c3000005-0000-4000-8000-000000000005", "x": 310, "y": 440}, "destination": {"id": "c3000004-0000-4000-8000-000000000004", "x": 430, "y": 503}, "style": {"color": 4294472049, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_width": 2, "dash_space": 2, "start_arrow": {"id": "", "x": 1, "y": 0}, "end_arrow": {"id": "", "x": -1, "y": 0}, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10}},
{"env": [], "source": {"id": "c3000002-0000-4000-8000-000000000002", "x": 530, "y": 223}, "destination": {"id": "c3000007-0000-4000-8000-000000000007", "x": 640, "y": 240}, "style": {"color": 4294940672, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_width": 2, "dash_space": 2, "start_arrow": {"id": "", "x": 1, "y": 0}, "end_arrow": {"id": "", "x": -1, "y": 0}, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10}},
{"env": [], "source": {"id": "c3000003-0000-4000-8000-000000000003", "x": 530, "y": 363}, "destination": {"id": "c3000006-0000-4000-8000-000000000006", "x": 640, "y": 380}, "style": {"color": 4294940672, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_width": 2, "dash_space": 2, "start_arrow": {"id": "", "x": 1, "y": 0}, "end_arrow": {"id": "", "x": -1, "y": 0}, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10}},
{"env": [], "source": {"id": "c3000004-0000-4000-8000-000000000004", "x": 530, "y": 503}, "destination": {"id": "c3000007-0000-4000-8000-000000000007", "x": 640, "y": 290}, "style": {"color": 4294940672, "stroke": 1.7, "tension": 1, "head_radius": 6, "dash_width": 2, "dash_space": 2, "start_arrow": {"id": "", "x": 1, "y": 0}, "end_arrow": {"id": "", "x": -1, "y": 0}, "arrow_style": 0, "arrow_direction": 0, "start_arrow_width": 10, "end_arrow_width": 10}}
]
},
"shared": [],
"exposes": {},
"outputs": {
"c3000001-0000-4000-8000-000000000001": [{"name": "SOURCE", "value": "http://plates.openalpr.com/eu-001.jpg", "readonly": false, "optionnal": false}],
"c3000005-0000-4000-8000-000000000005": [{"name": "SOURCE", "value": "/mnt/vol", "readonly": false, "optionnal": false}],
"c3000002-0000-4000-8000-000000000002": [{"name": "FRAME_FILENAME", "value": "frame.jpg", "readonly": false, "optionnal": false}],
"c3000003-0000-4000-8000-000000000003": [{"name": "ANALYSIS_FILENAME", "value": "vehicle_meta.json", "readonly": false, "optionnal": false}]
},
"env": {
"c3000002-0000-4000-8000-000000000002": [{"name": "FRAME_FILENAME", "value": "frame.jpg", "readonly": false, "optionnal": false}],
"c3000003-0000-4000-8000-000000000003": [{"name": "ANALYSIS_FILENAME", "value": "vehicle_meta.json", "readonly": false, "optionnal": false}]
},
"inputs": {
"c3000002-0000-4000-8000-000000000002": [
{"name": "TRAFFIC_CAMERA_FEED_SOURCE", "value": "http://plates.openalpr.com/eu-001.jpg", "origin": "c3000001-0000-4000-8000-000000000001", "readonly": true, "optionnal": false},
{"name": "IRT_LOCAL_FILE_STORAGE_SOURCE", "value": "/mnt/vol", "origin": "c3000005-0000-4000-8000-000000000005", "readonly": true, "optionnal": false}
],
"c3000003-0000-4000-8000-000000000003": [
{"name": "IRT_LOCAL_FILE_STORAGE_SOURCE", "value": "/mnt/vol", "origin": "c3000005-0000-4000-8000-000000000005", "readonly": true, "optionnal": false},
{"name": "ALPINE_FRAME_FILENAME", "value": "frame.jpg", "origin": "c3000002-0000-4000-8000-000000000002", "readonly": true, "optionnal": false}
],
"c3000004-0000-4000-8000-000000000004": [
{"name": "IRT_LOCAL_FILE_STORAGE_SOURCE", "value": "/mnt/vol", "origin": "c3000005-0000-4000-8000-000000000005", "readonly": true, "optionnal": false},
{"name": "PYTHON_ANALYSIS_FILENAME", "value": "vehicle_meta.json", "origin": "c3000003-0000-4000-8000-000000000003", "readonly": true, "optionnal": false}
]
},
"args": {
"c3000002-0000-4000-8000-000000000002": ["wget", "-O", "$IRT_LOCAL_FILE_STORAGE_SOURCE/$FRAME_FILENAME", "$TRAFFIC_CAMERA_FEED_SOURCE"],
"c3000003-0000-4000-8000-000000000003": ["analyze_frame.py", "--input", "$IRT_LOCAL_FILE_STORAGE_SOURCE/$ALPINE_FRAME_FILENAME", "--output", "$IRT_LOCAL_FILE_STORAGE_SOURCE/$ANALYSIS_FILENAME"],
"c3000004-0000-4000-8000-000000000004": ["-c", "/mosquitto/config/mosquitto.conf"]
}
}
]

10
docker/demo/db-2/add.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
# Load data into node 2's MongoDB (container: mongo2, port 27018)
MONGO_CONTAINER=${1:-mongo2}
docker cp ./datas $MONGO_CONTAINER:.
for i in $(ls ./datas); do
echo "ADD file $i in collection ${i/.json/}"
docker exec -it $MONGO_CONTAINER sh -c "mongoimport --jsonArray --db DC_myDC --collection ${i/.json/} --file ./datas/$i"
done

View File

@@ -0,0 +1,117 @@
[
{
"_id": "ee550005-ee55-4005-8005-eeeeeeeeeeee",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "compute",
"abstractobject": {
"id": "ee550005-ee55-4005-8005-eeeeeeeeeeee",
"name": "Demo Peer2 Server",
"is_draft": false,
"creator_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2026-04-10T00:00:00.000Z",
"updater_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/vm_logo.png",
"description": "High-density bare-metal server owned by opencloud-demo-2, hosted in a Tier-3 Paris data centre (PUE 1.3). 4 compute nodes, each: 2× AMD EPYC 9654 (2.4 GHz base, 3.7 GHz boost, 96 cores / 192 threads per socket, Zen 4, 5nm TSMC), 64 GB DDR5-4800 ECC registered, 2× NVIDIA RTX 4090 (24 GB GDDR6X, 16 384 CUDA cores, 512 4th-gen tensor cores). Total cluster: 768 CPU cores and 192 GB GPU VRAM across 4 nodes. Dedicated to containerised workloads requiring both high CPU parallelism (Redis, Nginx, Mosquitto pub/sub) and optional GPU acceleration (Stable Diffusion inference, large model fine-tuning). Exposed to partner peers via OpenCloud Federation manifest. Powered 100% by certified renewable (solar PPA). Annual CO₂: ~500 kg eqCO₂.",
"short_description": "Peer-2 bare-metal cluster — 4 nodes × dual EPYC 9654 + 2× RTX 4090, solar-powered",
"owners": [{"name": "opencloud-demo-2"}]
},
"instances": [{
"resourceinstance": {
"abstractobject": {"id": "ee550005-ee55-4005-8005-eeeeeeeeeeee", "name": "Demo Peer2 Server Paris", "is_draft": false, "access_mode": 0},
"location": {"latitude": 48.8566, "longitude": 2.3522},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
},
"security_level": "public",
"annual_co2_emissions": 500,
"power_sources": ["solaire"],
"cpus": {"AMD EPYC 9654": {"model": "AMD EPYC 9654", "frequency": 2.4, "cores": 96, "architecture": "x86"}},
"gpus": {"RTX 4090": {"cores": {"cuda": 16384, "tensor": 512}, "model": "RTX 4090", "memory": 24000}},
"nodes": [
{"name": "default", "quantity": 4, "ram": {"size": 65536}, "cpus": {"AMD EPYC 9654": 2}, "gpus": {"RTX 4090": 2}}
]
}]
},
"architecture": "x86",
"infrastructure": 0
},
{
"_id": "0bb77206-371a-428e-8ae3-ff11575071e2",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "compute",
"abstractobject": {
"id": "0bb77206-371a-428e-8ae3-ff11575071e2",
"name": "VM Target 2",
"is_draft": false,
"creator_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2021-09-30T14:00:00.000Z",
"updater_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/vm_logo.png",
"description": "x86_64 virtual machine (KVM) running on the opencloud-demo-2 (peer-2) Proxmox VE 8 hypervisor cluster at IP 172.16.0.181. Host hardware: Intel Core Ultra 9 285K (3.6 GHz, 32 cores Arrow Lake-S, Intel 3 process), 16 GB DDR5-6400 ECC. Exposed to peer-1 for cross-peer workflow scheduling via Admiralty multi-cluster federation. Handles CPU-bound steps that benefit from low-latency access to peer-2-hosted MinIO storage. Inter-peer data traffic encrypted in transit (mTLS). Power: 100% alternating-current reclaimed energy. Annual CO₂: ~1 000 kg eqCO₂.",
"short_description": "Peer-2 KVM VM — cross-peer execution target owned by opencloud-demo-2",
"owners": [{"name": "IRT Saint Exupery"}]
},
"instances": [{
"resourceinstance": {
"abstractobject": {"id": "0bb77206-371a-428e-8ae3-ff11575071e2", "name": "VM Proxmox Pierre 2", "is_draft": false, "access_mode": 0},
"location": {"latitude": 48.8566, "longitude": 2.3522},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
},
"security_level": "private",
"annual_co2_emissions": 1000,
"power_sources": ["Larmes d'alternant"],
"cpus": {"Intel Core Ultra 9 285K": {"model": "Intel Core Ultra 9 285K", "frequency": 3.6, "cores": 32, "architecture": "x86"}},
"nodes": [{"name": "default", "quantity": 1, "ram": {"size": 16384}, "cpus": {"Intel Core Ultra 9 285K": 1}}]
}]
},
"architecture": "x86",
"infrastructure": 0
},
{
"_id": "7b989e97-c3e7-49d2-a3a7-f959da4870b5",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "compute",
"abstractobject": {
"id": "7b989e97-c3e7-49d2-a3a7-f959da4870b5",
"name": "Mundi datacenter",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2021-09-30T14:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/Mundi datacenter.png",
"description": "Toulouse-based GPU cluster operated by IRT Saint-Exupéry (opencloud-demo-1 / peer-1) under the Mundi Opencloud programme. Node spec: 1× Intel Core i7-14700KF (3.6 GHz, 20 cores), 16 GB DDR5-6000, 8× NVIDIA RTX 3090 FE (24 GB GDDR6X, 10 496 CUDA cores each). Shared with peer-2 for cross-peer workloads that benefit from GPU acceleration or proximity to peer-1 storage (/mnt/vol). Scheduling from peer-2 goes through the Admiralty federation layer; peer-2 has no direct SSH access. Power mix: ~60% solar / ~40% coal. Annual CO₂: ~1 000 kg eqCO₂.",
"short_description": "IRT Saint-Exupéry GPU cluster — shared with peer-2 via federation (peer-1 owned)",
"owners": [{"name": "IRT Saint Exupery"}]
},
"instances": [{
"resourceinstance": {
"abstractobject": {"id": "7b989e97-c3e7-49d2-a3a7-f959da4870b5", "name": "Mundi datacenter Toulouse", "is_draft": false, "access_mode": 0},
"location": {"latitude": 43.6047, "longitude": 1.4442},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
},
"security_level": "public",
"annual_co2_emissions": 1000,
"power_sources": ["solaire", "charbon"],
"cpus": {"Intel Core i7-14700KF": {"model": "Intel Core i7-14700KF", "frequency": 3.6, "cores": 20, "architecture": "x86"}},
"gpus": {"RTX 3090 FE": {"cores": {"cuda": 10496, "tensor": 328}, "model": "RTX 3090 FE", "memory": 24000}},
"nodes": [{"name": "default", "quantity": 1, "ram": {"size": 16384}, "cpus": {"Intel Core i7-14700KF": 1}, "gpus": {"RTX 3090 FE": 8}}]
}]
},
"architecture": "x86",
"infrastructure": 0
}
]

View File

@@ -0,0 +1,118 @@
[
{
"_id": "hh880008-hh88-4008-8008-hhhhhhhhhhhh",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "data",
"abstractobject": {
"id": "hh880008-hh88-4008-8008-hhhhhhhhhhhh",
"name": "Web API Logs",
"is_draft": false,
"creator_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2026-04-10T00:00:00.000Z",
"updater_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/alpine-logo.png",
"description": "Rolling HTTP access logs collected from the OpenCloud API gateway. Each line is a JSON record with timestamp, method, path, status code and latency. Used by monitoring workflows to detect anomalies.",
"short_description": "OpenCloud API gateway HTTP access logs",
"owners": [{"name": "opencloud-demo-2"}],
"source": "http://localhost:9000/logs/api.log"
},
"instances": [{
"source": "http://localhost:9000/logs/api.log",
"resourceinstance": {
"env": [{"attr": "source", "readonly": true}],
"abstractobject": {"id": "hh880008-hh88-4008-8008-hhhhhhhhhhhh", "name": "Web API Logs Paris", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 48.8566, "longitude": 2.3522},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
}
}]
},
"quality": "high",
"open_data": false,
"static": false,
"size": 1.2,
"example": "{\"ts\":\"2026-04-10T08:00:00Z\",\"method\":\"GET\",\"path\":\"/workflow\",\"status\":200,\"latency_ms\":45}"
},
{
"_id": "gg770007-gg77-4007-8007-gggggggggggg",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "data",
"abstractobject": {
"id": "gg770007-gg77-4007-8007-gggggggggggg",
"name": "Traffic Camera Feed",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2026-04-10T00:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/alpine-logo.png",
"description": "Live JPEG snapshot from a road-side traffic surveillance camera. Updated every 5 seconds. Shared by peer-1 with peer-2.",
"short_description": "Road traffic camera snapshot feed (peer-1)",
"owners": [{"name": "IRT"}],
"source": "http://plates.openalpr.com/eu-001.jpg"
},
"instances": [{
"source": "http://plates.openalpr.com/eu-001.jpg",
"resourceinstance": {
"env": [{"attr": "source", "readonly": true}],
"abstractobject": {"id": "gg770007-gg77-4007-8007-gggggggggggg", "name": "Traffic Camera Feed Toulouse", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 43.6047, "longitude": 1.4442},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
}
}]
},
"quality": "medium",
"open_data": false,
"static": false,
"size": 0.25,
"example": "http://plates.openalpr.com/eu-001.jpg"
},
{
"_id": "d573dc63-4de0-4e29-8a4e-c15cbb3aed06",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "data",
"abstractobject": {
"id": "d573dc63-4de0-4e29-8a4e-c15cbb3aed06",
"name": "Red Car",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2021-09-30T14:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "https://images.wondershare.com/repairit/article/guide-on-jpeg-repair-online-01.png",
"description": "Sample JPEG image of a red car with a visible license plate. Shared by peer-1.",
"short_description": "Sample image of a red car with license plate",
"owners": [{"name": "OpenALPR"}]
},
"instances": [{
"source": "http://plates.openalpr.com/h786poj.jpg",
"resourceinstance": {
"env": [{"attr": "source", "readonly": true}],
"abstractobject": {"id": "d573dc63-4de0-4e29-8a4e-c15cbb3aed06", "name": "Red Car", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 43.6047, "longitude": 1.4442},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
}
}]
},
"quality": "low",
"open_data": false,
"static": true,
"size": 0.59,
"example": "http://plates.openalpr.com/h786poj.jpg"
}
]

View File

@@ -0,0 +1,68 @@
[
{
"_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"failed_execution": null,
"api_url": "http://localhost:9000",
"nats_address": "nats://nats:4222",
"stream_address": "/ip4/172.40.0.4/tcp/4004/p2p/12D3KooWSzQtBux5GkpdqK8MA9Rmo5W1vTVZhWCbut2k99Ge45GN",
"wallet_address": "my-wallet",
"public_key": "MCowBQYDK2VwAyEA/ymOIb0sJ0qCWrf3mKz7ACCvsMXLog/EK533JfNXZTM=",
"peer_id": "12D3KooWSzQtBux5GkpdqK8MA9Rmo5W1vTVZhWCbut2k99Ge45GN",
"relation": 1,
"abstractobject": {
"id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"name": "opencloud-demo-2",
"is_draft": false,
"not_in_catalog": false,
"creation_date": {"$date": "2025-03-27T09:13:13.230Z"},
"update_date": {"$date": "2026-04-10T00:00:00.000Z"},
"access_mode": 0
},
"trust_score": 0,
"verify": false
},
{
"_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"failed_execution": null,
"api_url": "http://localhost:8000",
"nats_address": "nats://nats:4222",
"stream_address": "/ip4/172.40.0.3/tcp/4003/p2p/12D3KooWBh9kZrekBAE5G33q4jCLNRAzygem3gP1mMdK8mhoCTaw",
"wallet_address": "my-wallet",
"public_key": "MCowBQYDK2VwAyEAG95Ettl3jTi41HM8le1A9WDmOEq0ANEqpLF7zTZrfXA=",
"peer_id": "12D3KooWBh9kZrekBAE5G33q4jCLNRAzygem3gP1mMdK8mhoCTaw",
"relation": 2,
"abstractobject": {
"id": "c0cece97-7730-4c2a-8c20-a30944564106",
"name": "opencloud-demo-1",
"is_draft": false,
"not_in_catalog": false,
"creation_date": {"$date": "2025-03-27T09:13:13.230Z"},
"update_date": {"$date": "2026-04-10T00:00:00.000Z"},
"access_mode": 0
},
"trust_score": 0,
"verify": false
},
{
"_id": "b97318c9-f5f8-44bb-8d48-913f4ddd6c31",
"failed_execution": null,
"api_url": "http://localhost:10000",
"nats_address": "nats://nats:4222",
"stream_address": "/ip4/172.40.0.45/tcp/4005/p2p/12D4KooWSzQtBux5GkpdqK8MA9Rmo5W1vTVZhWCbut2k99Ge45GN",
"wallet_address": "my-wallet",
"public_key": "MCowBQYDK2VwAyEA/ymOIb0sJ0qCWrf3mKz7ACCvsMXLog/EK533JfNXZTM=",
"peer_id": "12D4KooWSzQtBux5GkpdqK8MA9Rmo5W1vTVZhWCbut2k99Ge45GN",
"relation": 1,
"abstractobject": {
"id": "b97318c9-f5f8-44bb-8d48-913f4ddd6c31",
"name": "opencloud-demo-3",
"is_draft": false,
"not_in_catalog": false,
"creation_date": {"$date": "2025-03-27T09:13:13.230Z"},
"update_date": {"$date": "2026-04-10T00:00:00.000Z"},
"access_mode": 0
},
"trust_score": 0,
"verify": false
}
]

View File

@@ -0,0 +1,218 @@
[
{
"_id": "0d565c87-50ae-4a73-843d-f8b2d4047772",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "processing",
"abstractobject": {
"id": "0d565c87-50ae-4a73-843d-f8b2d4047772",
"name": "CURL",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2021-09-30T14:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/curl-logo.png",
"description": "Official curl Docker image (curlimages/curl:8.5.0) published by the curl project. Implements HTTP/1.1, HTTP/2, HTTPS (TLS 1.3), FTP, SFTP, SCP and 25+ other protocols. Supports cookies, redirect chains, proxy authentication, rate limiting, resumable transfers and parallel downloads (-Z flag). Typical workflow use: first-stage ingestion step that pulls remote datasets — camera snapshots, API log files, GeoTIFF archives, JSON feeds — into a shared storage volume before downstream processing nodes consume them. Single static binary; 12 MB compressed Alpine-based image; no shell dependency.",
"short_description": "Official curl image — multi-protocol data fetcher for workflow ingestion stages",
"owners": [{"name": "IRT"}]
},
"instances": [{
"access": {"container": {"image": "curlimages/curl:8.5.0", "command": "curl"}},
"resourceinstance": {
"abstractobject": {"id": "0d565c87-50ae-4a73-843d-f8b2d4047772", "name": "CURL Paris", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 48.8566, "longitude": 2.3522},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
}
}]
},
"license": "MIT",
"infrastructure": 0,
"usage": {"scaling_model": "2"},
"open_source": true
},
{
"_id": "2ce0323f-a85d-4b8b-a783-5280f48d634a",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "processing",
"abstractobject": {
"id": "2ce0323f-a85d-4b8b-a783-5280f48d634a",
"name": "alpine",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2021-09-30T14:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/alpine-logo.png",
"description": "Official Alpine Linux 3.18 Docker image (5.3 MB compressed). musl-libc + BusyBox base exposing: wget, curl, awk, sed, grep, tar, gzip, openssl, jq (via apk). Zero extraneous packages; deterministic sha256 digest per tag. Used in workflows as a lightweight sidecar for tasks that do not justify a heavier runtime: downloading camera frames via wget, renaming and archiving intermediary files, running one-shot POSIX shell scripts, performing pre-run health-check assertions, or post-processing step cleanup. Starts in under 80 ms; memory footprint < 4 MB at idle.",
"short_description": "Official Alpine 3.18 — minimal shell environment for scripting sidecars",
"owners": [{"name": "IRT"}]
},
"instances": [{
"access": {"container": {"image": "alpine:3.18", "command": "sh"}},
"resourceinstance": {
"abstractobject": {"id": "2ce0323f-a85d-4b8b-a783-5280f48d634a", "name": "alpine Paris", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 48.8566, "longitude": 2.3522},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
}
}]
},
"license": "MIT",
"infrastructure": 0,
"usage": {"scaling_model": "2"},
"open_source": true
},
{
"_id": "e518d7a4-426a-4900-94e5-300767b1bb31",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "processing",
"abstractobject": {
"id": "e518d7a4-426a-4900-94e5-300767b1bb31",
"name": "Mosquitto server",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2021-09-30T14:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/mosquitto-logo.png",
"description": "Official Eclipse Mosquitto 2.0.18 Docker image — reference MQTT broker from the Eclipse Foundation. Implements MQTT v5.0, v3.1.1 and v3.1 over TCP (port 1883), WebSocket (port 9001), and optional TLS (port 8883) with X.509 mutual auth. Supports password-file authentication, ACL-based topic access control, QoS 0/1/2 delivery guarantees, persistent sessions, retained messages, shared subscriptions (MQTT 5) and bridge mode for multi-broker topologies. Used as the terminal publish step in the sensor-data-collector workflow: reads vehicle-metadata JSON produced by the upstream Python analysis stage from shared storage and fans it out to subscribed edge consumers on the sensors/camera/vehicle topic.",
"short_description": "Official Eclipse Mosquitto 2.0 — MQTT v5/v3 broker with QoS and ACL support",
"owners": [{"name": "IRT"}]
},
"instances": [{
"access": {"container": {"image": "eclipse-mosquitto:2.0.18", "command": "mosquitto"}},
"resourceinstance": {
"abstractobject": {"id": "e518d7a4-426a-4900-94e5-300767b1bb31", "name": "Mosquitto server Paris", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 48.8566, "longitude": 2.3522},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
}
}]
},
"license": "EPL-2.0",
"infrastructure": 0,
"usage": {"scaling_model": "2"},
"open_source": true
},
{
"_id": "aa110001-aa11-4001-8001-aaaaaaaaaaaa",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "processing",
"abstractobject": {
"id": "aa110001-aa11-4001-8001-aaaaaaaaaaaa",
"name": "Python Data Processor",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2026-04-10T00:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/alpine-logo.png",
"description": "Official Python 3.11-slim Docker image (Debian Bookworm base, 45 MB compressed). Provides CPython 3.11 runtime with pip; scientific stack installable at launch: NumPy 1.26, Pillow 10, OpenCV-headless 4.9, scikit-learn 1.4, pandas 2.2, requests 2.31. Shared by peer-1 (opencloud-demo-1). In the sensor-data-collector workflow: receives a camera frame path via ALPINE_FRAME_FILE and storage mount via IRT_LOCAL_FILE_STORAGE_SOURCE, runs vehicle object detection with OpenCV contour detection + background subtraction, extracts bounding boxes and plate candidates, serialises results as vehicle_meta.json to shared storage for the downstream Mosquitto publish step.",
"short_description": "Official Python 3.11-slim — frame analysis and sensor data processing runtime (shared by peer-1)",
"owners": [{"name": "Python Software Foundation"}]
},
"instances": [{
"access": {"container": {"image": "python:3.11-slim", "command": "python"}},
"resourceinstance": {
"abstractobject": {"id": "aa110001-aa11-4001-8001-aaaaaaaaaaaa", "name": "Python Data Processor Paris", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 48.8566, "longitude": 2.3522},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
}
}]
},
"license": "PSF-2.0",
"infrastructure": 0,
"usage": {"scaling_model": "2"},
"open_source": true
},
{
"_id": "cc330003-cc33-4003-8003-cccccccccccc",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "processing",
"abstractobject": {
"id": "cc330003-cc33-4003-8003-cccccccccccc",
"name": "Nginx Gateway",
"is_draft": false,
"creator_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2026-04-10T00:00:00.000Z",
"updater_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/alpine-logo.png",
"description": "Official Nginx 1.25-alpine Docker image (9 MB compressed) — high-performance asynchronous HTTP/1.1 and HTTP/2 server and reverse proxy. Event-driven architecture handles 50 000+ concurrent connections per worker process. In the api-monitoring-stack workflow it acts as the terminal presentation layer: reads Redis-cached API status JSON objects from MinIO storage and serves them on port 80 as a structured HTTP endpoint consumed by the OpenCloud operator dashboard. Configuration injected via envsubst at container startup. Features: gzip compression (level 6), custom JSON access logging, CORS headers, configurable cache-control directives, graceful hot-reload via SIGHUP without dropping connections. Owned by opencloud-demo-2.",
"short_description": "Official Nginx 1.25-alpine — HTTP frontend and static result endpoint (peer-2)",
"owners": [{"name": "nginx"}]
},
"instances": [{
"access": {"container": {"image": "nginx:1.25-alpine", "command": "nginx"}},
"resourceinstance": {
"abstractobject": {"id": "cc330003-cc33-4003-8003-cccccccccccc", "name": "Nginx Gateway Paris", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 48.8566, "longitude": 2.3522},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
}
}]
},
"license": "BSD-2-Clause",
"infrastructure": 0,
"usage": {"scaling_model": "2"},
"open_source": true
},
{
"_id": "dd440004-dd44-4004-8004-dddddddddddd",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "processing",
"abstractobject": {
"id": "dd440004-dd44-4004-8004-dddddddddddd",
"name": "Redis Cache",
"is_draft": false,
"creator_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2026-04-10T00:00:00.000Z",
"updater_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/alpine-logo.png",
"description": "Official Redis 7-alpine Docker image (14 MB compressed) — in-memory key-value store with sub-millisecond read latency. Supports strings, hashes, lists, sorted sets and streams natively. In the api-monitoring-stack workflow, ingests structured API-status objects (status-code distribution per endpoint, p50/p95 latency percentiles) produced by the CURL fetch step, stores them under a configurable CACHE_KEY with a 300-second TTL (default) to decouple the slow log-fetching stage from the fast Nginx serving stage. Configured in ephemeral mode (--save '' --appendonly no) to eliminate disk I/O and maximise throughput. Pub/Sub channel api_status_updates can be subscribed to by external consumers for real-time event streaming. Owned by opencloud-demo-2.",
"short_description": "Official Redis 7-alpine — TTL-based API status cache with pub/sub support (peer-2)",
"owners": [{"name": "Redis Ltd"}]
},
"instances": [{
"access": {"container": {"image": "redis:7-alpine", "command": "redis-server"}},
"resourceinstance": {
"abstractobject": {"id": "dd440004-dd44-4004-8004-dddddddddddd", "name": "Redis Cache Paris", "is_draft": false, "access_mode": 0},
"origin": {"origin_type": 0, "origin_verified": false},
"location": {"latitude": 48.8566, "longitude": 2.3522},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
}
}]
},
"license": "BSD-3-Clause",
"infrastructure": 0,
"usage": {"scaling_model": "2"},
"open_source": true
}
]

View File

@@ -0,0 +1,84 @@
[
{
"_id": "ff660006-ff66-4006-8006-ffffffffffff",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "storage",
"abstractobject": {
"id": "ff660006-ff66-4006-8006-ffffffffffff",
"name": "Peer2 MinIO Storage",
"is_draft": false,
"creator_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2026-04-10T00:00:00.000Z",
"updater_id": "b87318c9-f5f8-44bb-8d48-913f4ddd6c31",
"access_mode": 1
},
"logo": "https://min.io/resources/img/logo/ORIGINAL/vertical/dark/minioVerticalLogo-Dark.png",
"description": "MinIO Community Edition S3-compatible object store hosted on opencloud-demo-2 infrastructure, Paris Tier-3 data centre. Mount point: /mnt/minio. Capacity: 1 TB, NVMe RAID-6 array (6 drives, 2 parity), sustained throughput read 500 MB/s / write 400 MB/s, random IOPS 350 k. AES-256 encryption at rest; TLS 1.3 for all S3 API calls; server-side object integrity checksums (SHA-256). Bucket lifecycle policies: /logs prefix auto-archived to Glacier-class tier after 30 days; /tmp prefix purged after 24 h. Accessible to partner peers via S3 presigned URLs (1 h TTL) issued within the OpenCloud Federation default namespace. MinIO Console on :9001 restricted to peer-2 operators. Acts as the primary sink for peer-2 workflows: CURL log dumps, Redis snapshot exports and Mosquitto payload archives.",
"short_description": "Peer-2 MinIO NVMe RAID-6 — 1 TB, 500/400 MB/s, AES-256, presigned S3 access",
"owners": [{"name": "opencloud-demo-2"}]
},
"instances": [{
"resourceinstance": {
"env": [{"attr": "source", "readonly": true}],
"abstractobject": {"id": "ff660006-ff66-4006-8006-ffffffffffff", "name": "Peer2 MinIO Storage Paris", "is_draft": false, "access_mode": 0},
"location": {"latitude": 48.8566, "longitude": 2.3522},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
},
"source": "/mnt/minio",
"local": true,
"security_level": "public",
"size": 1000,
"size_type": 0,
"encryption": true,
"redundancy": "RAID6",
"throughput": "r:500,w:400"
}]
},
"storage_type": 5,
"acronym": "DC_myDC"
},
{
"_id": "e726020a-b68e-4abc-ab36-c3640ea3f557",
"abstractinstanciatedresource": {
"abstractresource": {
"type": "storage",
"abstractobject": {
"id": "e726020a-b68e-4abc-ab36-c3640ea3f557",
"name": "IRT local file storage",
"is_draft": false,
"creator_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"creation_date": "2021-09-30T14:00:00.000Z",
"update_date": "2021-09-30T14:00:00.000Z",
"updater_id": "c0cece97-7730-4c2a-8c20-a30944564106",
"access_mode": 1
},
"logo": "http://localhost:8000/static/images/IRT local file storage.png",
"description": "S3-compatible POSIX file storage deployed on peer-1 infrastructure (IRT Saint-Exupéry, Toulouse). Mount point: /mnt/vol. Capacity: 500 GB, SSD RAID-5S array (5 drives + 1 hot spare), sustained throughput read 300 MB/s / write 350 MB/s, IOPS peak 120 k random 4K. AES-256 encryption at rest; TLS 1.3 in transit. Exposed via MinIO S3 gateway: any peer holding a valid default-namespace credential can GET/PUT objects. Acts as the primary shared scratch space across all peer-1 workflows: CURL download outputs, ImageMagick processed intermediates, Python analysis results and ALPR JSON payloads all land here between pipeline stages. Auto-purge policy: objects older than 7 days under the /tmp prefix are deleted by a nightly cron.",
"short_description": "IRT RAID-5S SSD scratch store — 500 GB, 300/350 MB/s, AES-256, S3-compatible (peer-1)",
"owners": [{"name": "IRT"}]
},
"instances": [{
"resourceinstance": {
"env": [{"attr": "source", "readonly": true}],
"abstractobject": {"id": "e726020a-b68e-4abc-ab36-c3640ea3f557", "name": "IRT local file storage Toulouse", "is_draft": false, "access_mode": 0},
"location": {"latitude": 43.6047, "longitude": 1.4442},
"country": 250,
"partnerships": [{"namespace": "default", "peer_groups": {"*": ["*"]}}]
},
"source": "/mnt/vol",
"local": false,
"security_level": "public",
"size": 500,
"size_type": 0,
"encryption": true,
"redundancy": "RAID5S",
"throughput": "r:300,w:350"
}]
},
"storage_type": 5,
"acronym": "DC_myDC"
}
]

163
docker/demo/demo.sh Executable file
View File

@@ -0,0 +1,163 @@
#!/usr/bin/env bash
set -euo pipefail
echo "🧹 Uninstalling existing K3s (if any)..."
if [ -f /usr/local/bin/k3s-uninstall.sh ]; then
sudo /usr/local/bin/k3s-uninstall.sh
fi
if [ -f /usr/local/bin/k3s-agent-uninstall.sh ]; then
sudo /usr/local/bin/k3s-agent-uninstall.sh
fi
echo "🧼 Cleaning leftovers..."
sudo rm -rf /etc/rancher /var/lib/rancher /var/lib/kubelet /etc/cni /opt/cni
sudo ip link delete cni0 2>/dev/null || true
sudo ip link delete flannel.1 2>/dev/null || true
echo "🚀 Installing K3s..."
curl -sfL https://get.k3s.io | sh -
echo "📄 Setting kubeconfig..."
mkdir -p ~/.kube
cp ~/.kube/config ~/.kube/old_config | true
sudo cp /etc/rancher/k3s/k3s.yaml ~/.kube/config
export KUBECONFIG=~/.kube/config
echo "⏳ Waiting for CoreDNS deployment to exist..."
timeout 120 bash -c '
until kubectl get deployment coredns -n kube-system >/dev/null 2>&1; do
sleep 2
done
'
echo "⏳ Waiting for CoreDNS to be available..."
kubectl wait --for=condition=Available deployment/coredns -n kube-system --timeout=120s
echo "🔄 Restarting CoreDNS..."
kubectl -n kube-system rollout restart deployment coredns
echo "📦 Installing Helm..."
if ! command -v helm &>/dev/null; then
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
fi
echo " Adding Helm repos..."
helm repo add argo https://argoproj.github.io/argo-helm || true
helm repo add admiralty https://charts.admiralty.io || true
helm repo update
echo "🧩 Installing Argo CD..."
kubectl create namespace argocd || true
helm upgrade --install argocd argo/argo-cd -n argocd
echo "🧩 Installing Admiralty..."
helm uninstall cert-manager -n cert-manager || true
kubectl delete namespace cert-manager --grace-period=0 --force || true
helm install \
cert-manager oci://quay.io/jetstack/charts/cert-manager \
--version v1.20.2 \
--namespace cert-manager \
--create-namespace \
--set crds.enabled=true
kubectl wait --for=condition=Established crd --all --timeout=60s
helm install admiralty oci://public.ecr.aws/admiralty/admiralty \
--namespace admiralty --create-namespace \
--version 0.17.0 \
--wait
echo "🌐 Configuring /etc/hosts..."
CLUSTER_IP=$(kubectl get svc kubernetes -o jsonpath='{.spec.clusterIP}')
if grep -q "kubernetes.default.svc.cluster.local" /etc/hosts; then
sudo sed -i "s/^.*kubernetes.default.svc.cluster.local/$CLUSTER_IP kubernetes.default.svc.cluster.local/" /etc/hosts
else
echo "$CLUSTER_IP kubernetes.default.svc.cluster.local" | sudo tee -a /etc/hosts
fi
ca=$(kubectl config view --raw --minify -o jsonpath='{.clusters[0].cluster.certificate-authority-data}')
cert=$(kubectl config view --raw --minify -o jsonpath='{.users[0].user.client-certificate-data}')
key=$(kubectl config view --raw --minify -o jsonpath='{.users[0].user.client-key-data}')
REPOS=(
"mongo"
"mongo-express"
"nats"
"loki"
"hydra"
"ldap"
"keto"
"traefik"
"oc-auth"
"oc-catalog"
"oc-datacenter"
"oc-peer"
"oc-shared"
"oc-scheduler"
"oc-schedulerd"
"oc-workflow"
"oc-workspace"
"oc-discovery_1"
"oc-discovery_2"
"oc-discovery_3"
"oc-front"
)
echo "🧩 Installing Node 1..."
docker network create oc || true
for i in "${REPOS[@]}"
do
docker kill $i || true
docker rm $i || true
done
REGISTRY= KUBE_CA=$ca KUBE_CERT=$cert KUBE_DATA=$key docker compose -f ./docker-compose.dev.yml up -d || true
cd ./db-1 && ./add.sh && cd ..
# MISSING ADD DATAS
echo "🧩 Installing Node 2..."
docker network create oc2 || true
REPOS2=(
"mongo2"
"mongo-express2"
"nats2"
"loki2"
"hydra2"
"ldap2"
"keto2"
"traefik2"
"oc-auth2"
"oc-catalog2"
"oc-datacenter2"
"oc-peer2"
"oc-shared2"
"oc-scheduler2"
"oc-schedulerd2"
"oc-workflow2"
"oc-workspace2"
"oc-discovery_4"
)
for i in "${REPOS2[@]}"
do
docker kill "$i" || true
docker rm "$i" || true
done
REGISTRY= KUBE_CA=$ca KUBE_CERT=$cert KUBE_DATA=$key docker compose -f ./docker-compose.dev2.yml up -d || true
# MISSING ADD DATAS
cd ./db-2 && ./add.sh && cd ..
echo "✅ DONE"

View File

@@ -0,0 +1,406 @@
version: '3.9'
services:
mongo:
image: 'mongo:latest'
networks:
- oc
ports:
- 27017:27017
container_name: mongo
volumes:
- oc-data:/data/db
- oc-data:/data/configdb
mongo-express:
image: "mongo-express:latest"
restart: always
depends_on:
- mongo
networks:
- oc
ports:
- 8081:8081
container_name: mongo-express
environment:
- ME_CONFIG_BASICAUTH_USERNAME=test
- ME_CONFIG_BASICAUTH_PASSWORD=test
nats:
image: 'nats:latest'
container_name: nats
ports:
- 4222:4222
command:
- "--debug"
networks:
- oc
loki:
image: 'grafana/loki'
container_name: loki
labels:
- "traefik.stack=peer1"
- "traefik.enable=true"
- "traefik.http.routers.loki.entrypoints=web"
- "traefik.http.routers.loki.rule=PathPrefix(`/tools/loki`)"
- "traefik.http.services.loki.loadbalancer.server.port=3100"
- "traefik.http.middlewares.loki-stripprefix.stripprefix.prefixes=/tools/loki"
- "traefik.http.routers.loki.middlewares=loki-stripprefix"
- "traefik.http.middlewares.loki.forwardauth.address=http://oc-auth:8080/oc/forward"
ports :
- "3100:3100"
networks:
- oc
hydra:
container_name: hydra
image: oryd/hydra:v2.2.0
environment:
SECRETS_SYSTEM: oc-auth-got-secret
LOG_LEAK_SENSITIVE_VALUES: true
# OAUTH2_TOKEN_HOOK_URL: http://oc-auth:8080/oc/claims
HYDRA_ADMIN_URL: http://hydra:4445
URLS_SELF_ISSUER: http://localhost:8000/hydra
URLS_SELF_PUBLIC: http://localhost:8000/hydra
URLS_LOGIN: http://localhost:8000/auth/login
URLS_CONSENT: http://localhost:8000/auth/consent
URLS_LOGOUT: http://localhost:8000/auth/logout
URLS_ERROR: http://localhost:8000
STRATEGIES_ACCESS_TOKEN: jwt
WEBFINGER_OIDC_DISCOVERY_SUPPORTED_SCOPES: profile,email,phone,roles
WEBFINGER_OIDC_DISCOVERY_SUPPORTED_CLAIMS: name,family_name,given_name,nickname,email,phone_number
DSN: memory
user: root
entrypoint: >
sh -c "
hydra serve all --dev &
echo '⏳ Waiting for Hydra admin API...' &&
until wget -q --spider http://localhost:4445/health/ready; do
sleep 2;
done &&
echo '✅ Hydra is ready. Importing clients...' &&
hydra import oauth2-client /clients.json -e http://hydra:4445 &&
echo '🚀 Clients imported.' &&
wait
"
volumes:
- ./clients.json:/clients.json
networks:
- oc
ports:
- "4444:4444"
- "4445:4445"
deploy:
restart_policy:
condition: on-failure
labels:
- "traefik.stack=peer1"
- "traefik.enable=true"
- "traefik.http.routers.hydra.entrypoints=web"
- "traefik.http.routers.hydra.rule=PathPrefix(`/hydra`)"
- "traefik.http.services.hydra.loadbalancer.server.port=4444"
- "traefik.http.middlewares.hydra-stripprefix.stripprefix.prefixes=/hydra"
- "traefik.http.routers.hydra.middlewares=hydra-stripprefix"
ldap:
image: pgarrett/ldap-alpine
container_name: ldap
volumes:
- "./ldap.ldif:/ldif/ldap.ldif"
networks:
- oc
ports:
- "390:389"
deploy:
restart_policy:
condition: on-failure
keto:
image: oryd/keto:v0.7.0-alpha.1-sqlite
ports:
- "4466:4466"
- "4467:4467"
command: serve -c /home/ory/keto.yml
restart: on-failure
volumes:
- type: bind
source: .
target: /home/ory
container_name: keto
networks:
- oc
traefik:
image: traefik:v3.6
container_name: traefik
restart: unless-stopped
networks:
- oc
command:
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--providers.docker.network=oc"
- "--providers.docker.constraints=Label(`traefik.stack`,`peer1`)"
- "--entrypoints.web.address=:8000"
user: root
ports:
- "8000:8000" # Expose Traefik on port 8000
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
oc-datacenter:
env_file:
- path: ./env.env
required: false
environment:
- MONGO_DATABASE=DC_myDC
- KUBE_CA=${KUBE_CA:-}
- KUBE_CERT=${KUBE_CERT:-}
- KUBE_DATA=${KUBE_DATA:-}
image: '${REGISTRY:-opencloudregistry/}oc-datacenter:latest'
ports:
- 8092:8080
labels:
- "traefik.stack=peer1"
- "traefik.enable=true"
- "traefik.http.routers.datacenter.entrypoints=web"
- "traefik.http.routers.datacenter.rule=PathPrefix(`/datacenter`)"
- "traefik.http.services.datacenter.loadbalancer.server.port=8080"
- "traefik.http.middlewares.datacenter-rewrite.replacepathregex.regex=^/datacenter(.*)"
- "traefik.http.middlewares.datacenter-rewrite.replacepathregex.replacement=/oc$$1"
- "traefik.http.routers.datacenter.middlewares=datacenter-rewrite,auth-datacenter"
- "traefik.http.middlewares.auth-datacenter.forwardauth.address=http://oc-auth:8080/oc/forward"
- "traefik.http.middlewares.auth-datacenter.forwardauth.trustForwardHeader=true"
- "traefik.http.middlewares.auth-datacenter.forwardauth.authResponseHeaders=X-Auth-Request-User,X-Auth-Request-Email"
container_name: oc-datacenter
networks:
- oc
oc-scheduler:
environment:
- MONGO_DATABASE=DC_myDC
- KUBE_CA=${KUBE_CA:-}
- KUBE_CERT=${KUBE_CERT:-}
- KUBE_DATA=${KUBE_DATA:-}
image: '${REGISTRY:-opencloudregistry/}oc-scheduler:latest'
labels:
- "traefik.stack=peer1"
- "traefik.enable=true"
- "traefik.http.routers.scheduler.entrypoints=web"
- "traefik.http.routers.scheduler.rule=PathPrefix(`/scheduler`)"
- "traefik.http.middlewares.scheduler-rewrite.replacepathregex.regex=^/scheduler(.*)"
- "traefik.http.middlewares.scheduler-rewrite.replacepathregex.replacement=/oc$$1"
- "traefik.http.routers.scheduler.middlewares=scheduler-rewrite,auth-scheduler"
- "traefik.http.services.scheduler.loadbalancer.server.port=8080"
- "traefik.http.middlewares.auth-scheduler.forwardauth.address=http://oc-auth:8080/oc/forward"
- "traefik.http.middlewares.auth-scheduler.forwardauth.trustForwardHeader=true"
- "traefik.http.middlewares.auth-scheduler.forwardauth.authResponseHeaders=X-Auth-Request-User,X-Auth-Request-Email"
ports:
- 8090:8080
container_name: oc-scheduler
networks:
- oc
oc-catalog:
environment:
- MONGO_DATABASE=DC_myDC
image: '${REGISTRY:-opencloudregistry/}oc-catalog:latest'
ports:
- 8087:8080
container_name: oc-catalog
networks:
- oc
labels:
- "traefik.stack=peer1"
- "traefik.enable=true"
- "traefik.http.routers.catalog.entrypoints=web"
- "traefik.http.routers.catalog.rule=PathPrefix(`/catalog`)"
- "traefik.http.middlewares.catalog-rewrite.replacepathregex.regex=^/catalog(.*)"
- "traefik.http.middlewares.catalog-rewrite.replacepathregex.replacement=/oc$$1"
- "traefik.http.routers.catalog.middlewares=catalog-rewrite,auth-catalog"
- "traefik.http.services.catalog.loadbalancer.server.port=8080"
- "traefik.http.middlewares.auth-catalog.forwardauth.address=http://oc-auth:8080/oc/forward"
- "traefik.http.middlewares.auth-catalog.forwardauth.trustForwardHeader=true"
- "traefik.http.middlewares.auth-catalog.forwardauth.authResponseHeaders=X-Auth-Request-User,X-Auth-Request-Email"
oc-workspace:
environment:
- MONGO_DATABASE=DC_myDC
image: '${REGISTRY:-opencloudregistry/}oc-workspace:latest'
ports:
- 8089:8080
labels:
- "traefik.stack=peer1"
- "traefik.enable=true"
- "traefik.http.routers.workspace.entrypoints=web"
- "traefik.http.routers.workspace.rule=PathPrefix(`/workspace`)"
- "traefik.http.middlewares.workspace-rewrite.replacepathregex.regex=^/workspace(.*)"
- "traefik.http.middlewares.workspace-rewrite.replacepathregex.replacement=/oc$$1"
- "traefik.http.routers.workspace.middlewares=workspace-rewrite,auth-workspace"
- "traefik.http.services.workspace.loadbalancer.server.port=8080"
- "traefik.http.middlewares.auth-workspace.forwardauth.address=http://oc-auth:8080/oc/forward"
- "traefik.http.middlewares.auth-workspace.forwardauth.trustForwardHeader=true"
- "traefik.http.middlewares.auth-workspace.forwardauth.authResponseHeaders=X-Auth-Request-User,X-Auth-Request-Email"
container_name: oc-workspace
networks:
- oc
oc-peer:
environment:
- MONGO_DATABASE=DC_myDC
image: '${REGISTRY:-opencloudregistry/}oc-peer:latest'
labels:
- "traefik.stack=peer1"
- "traefik.enable=true"
- "traefik.http.routers.peer.entrypoints=web"
- "traefik.http.routers.peer.rule=PathPrefix(`/peer`)"
- "traefik.http.middlewares.peer-rewrite.replacepathregex.regex=^/peer(.*)"
- "traefik.http.middlewares.peer-rewrite.replacepathregex.replacement=/oc$$1"
- "traefik.http.routers.peer.middlewares=peer-rewrite,auth-peer"
- "traefik.http.services.peer.loadbalancer.server.port=8080"
- "traefik.http.middlewares.auth-peer.forwardauth.address=http://oc-auth:8080/oc/forward"
- "traefik.http.middlewares.auth-peer.forwardauth.trustForwardHeader=true"
- "traefik.http.middlewares.auth-peer.forwardauth.authResponseHeaders=X-Auth-Request-User,X-Auth-Request-Email"
ports:
- 8093:8080
container_name: oc-peer
networks:
- oc
oc-auth:
image: '${REGISTRY:-opencloudregistry/}oc-auth:latest'
ports:
- 8094:8080
container_name: oc-auth
labels:
- "traefik.stack=peer1"
- "traefik.enable=true"
- "traefik.http.routers.auth-sec.entrypoints=web"
- "traefik.http.routers.auth-sec.rule=PathPrefix(`/auth/`)"
- "traefik.http.middlewares.auth-sec-rewrite.replacepathregex.regex=^/auth(.*)"
- "traefik.http.middlewares.auth-sec-rewrite.replacepathregex.replacement=/oc$$1"
- "traefik.http.services.auth-sec.loadbalancer.server.port=8080"
- "traefik.http.routers.auth-sec.middlewares=auth-sec-rewrite,auth-auth-sec"
- "traefik.http.middlewares.auth-auth-sec.forwardauth.address=http://oc-auth:8080/oc/forward"
- "traefik.http.middlewares.auth-auth-sec.forwardauth.trustForwardHeader=true"
- "traefik.http.middlewares.auth-auth-sec.forwardauth.authResponseHeaders=X-Auth-Request-User,X-Auth-Request-Email"
environment:
LDAP_ENDPOINTS: ldap:389
LDAP_BINDDN: cn=admin,dc=example,dc=com
LDAP_BINDPW: password
LDAP_BASEDN: "dc=example,dc=com"
LDAP_USER_BASEDN: "ou=users,dc=example,dc=com"
LDAP_ROLE_BASEDN: "ou=AppRoles,dc=example,dc=com"
networks:
- oc
volumes:
- ./pem/private3.pem:/keys/private/private.pem
- ./pem/public3.pem:/keys/public/public.pem
oc-shared:
environment:
- MONGO_DATABASE=DC_myDC
image: '${REGISTRY:-opencloudregistry/}oc-shared:latest'
ports:
- 8091:8080
container_name: oc-shared
labels:
- "traefik.stack=peer1"
- "traefik.enable=true"
- "traefik.http.routers.shared.entrypoints=web"
- "traefik.http.routers.shared.rule=PathPrefix(`/shared`)"
- "traefik.http.middlewares.shared-rewrite.replacepathregex.regex=^/shared(.*)"
- "traefik.http.middlewares.shared-rewrite.replacepathregex.replacement=/oc$$1"
- "traefik.http.routers.shared.middlewares=shared-rewrite"
- "traefik.http.services.shared.loadbalancer.server.port=8080"
- "traefik.http.middlewares.shared.forwardauth.address=http://oc-auth:8080/oc/forward"
networks:
- oc
oc-workflow:
environment:
- _OCWORKFLOW_MONGO_DATABASE=DC_myDC
- _OCWORKFLOW_MONGO_URL=mongodb://mongo:27017
- _OCWORKFLOW_NATS_URL=nats://nats:4222
image: '${REGISTRY:-opencloudregistry/}oc-workflow:latest'
ports:
- 8088:8080
container_name: oc-workflow
labels:
- "traefik.stack=peer1"
- "traefik.enable=true"
- "traefik.http.routers.workflow.entrypoints=web"
- "traefik.http.routers.workflow.rule=PathPrefix(`/workflow`)"
- "traefik.http.services.workflow.loadbalancer.server.port=8080"
- "traefik.http.middlewares.workflow-rewrite.replacepathregex.regex=^/workflow(.*)"
- "traefik.http.middlewares.workflow-rewrite.replacepathregex.replacement=/oc$1"
- "traefik.http.routers.workflow.middlewares=workflow-rewrite,auth-workflow"
- "traefik.http.middlewares.auth-workflow.forwardauth.address=http://oc-auth:8080/oc/forward"
- "traefik.http.middlewares.auth-workflow.forwardauth.trustForwardHeader=true"
- "traefik.http.middlewares.auth-workflow.forwardauth.authResponseHeaders=X-Auth-Request-User,X-Auth-Request-Email"
networks:
- oc
oc-discovery_1:
image: '${REGISTRY:-opencloudregistry/}oc-discovery_1:latest'
ports:
- 4001:4001
container_name: oc-discovery_1
networks:
- oc
oc-discovery_2:
image: '${REGISTRY:-opencloudregistry/}oc-discovery_2:latest'
ports:
- 4002:4002
container_name: oc-discovery_2
networks:
- oc
oc-discovery_3:
image: '${REGISTRY:-opencloudregistry/}oc-discovery_3:latest'
ports:
- 4003:4003
container_name: oc-discovery_3
networks:
- oc
oc-schedulerd:
image: '${REGISTRY:-opencloudregistry/}oc-schedulerd:latest'
ports:
- 9006:8080
environment:
- MONGO_DATABASE=DC_myDC
- KUBE_CA=${KUBE_CA:-}
- KUBE_CERT=${KUBE_CERT:-}
- KUBE_DATA=${KUBE_DATA:-}
container_name: oc-schedulerd
networks:
- oc
oc-front:
image: '${REGISTRY:-opencloudregistry/}oc-front:latest'
container_name: oc-front
ports:
- 8001:80
networks:
- oc
labels:
- "traefik.stack=peer1"
- "traefik.enable=true"
- "traefik.http.routers.front.entrypoints=web"
- "traefik.http.routers.front.rule=PathPrefix(`/`)"
- "traefik.http.services.front.loadbalancer.server.port=80"
- "traefik.http.middlewares.front-stripprefix.stripprefix.prefixes=/"
- "traefik.http.routers.front.middlewares=front-stripprefix"
oc-static:
image: '${REGISTRY:-opencloudregistry/}oc-static:latest'
ports:
- 8098:80
labels:
- "traefik.stack=peer1"
- "traefik.enable=true"
- "traefik.http.routers.static.entrypoints=web"
- "traefik.http.routers.static.rule=PathPrefix(`/static`)"
- "traefik.http.services.static.loadbalancer.server.port=80"
container_name: oc-static
networks:
- oc
volumes:
oc-data:
networks:
oc:
external: true

View File

@@ -0,0 +1,371 @@
version: '3.9'
services:
mongo2:
image: 'mongo:latest'
container_name: mongo2
networks:
- oc2
ports:
- 27018:27017
volumes:
- oc-data2:/data/db
- oc-data2:/data/configdb
mongo-express2:
image: "mongo-express:latest"
container_name: mongo-express2
restart: always
depends_on:
- mongo2
networks:
- oc2
ports:
- 8082:8081
environment:
- ME_CONFIG_BASICAUTH_USERNAME=test
- ME_CONFIG_BASICAUTH_PASSWORD=test
nats2:
image: 'nats:latest'
container_name: nats2
ports:
- 4223:4222
command:
- "--debug"
networks:
- oc2
loki2:
image: 'grafana/loki'
container_name: loki2
labels:
- "traefik.enable=true"
- "traefik.http.routers.loki2.entrypoints=web"
- "traefik.http.routers.loki2.rule=PathPrefix(`/tools/loki`)"
- "traefik.http.services.loki2.loadbalancer.server.port=3100"
- "traefik.http.middlewares.loki2-stripprefix.stripprefix.prefixes=/tools/loki"
- "traefik.http.routers.loki2.middlewares=loki2-stripprefix"
- "traefik.http.middlewares.loki2.forwardauth.address=http://oc-auth2:8080/oc/forward"
ports :
- "3101:3100"
networks:
- oc2
hydra2:
container_name: hydra2
image: oryd/hydra:v2.2.0
environment:
SECRETS_SYSTEM: oc-auth-got-secret
LOG_LEAK_SENSITIVE_VALUES: true
# OAUTH2_TOKEN_HOOK_URL: http://oc-auth2:8080/oc/claims
HYDRA_ADMIN_URL: http://hydra2:4445
URLS_SELF_ISSUER: http://localhost:9000/hydra
URLS_SELF_PUBLIC: http://localhost:9000/hydra
URLS_LOGIN: http://localhost:9000/auth/login
URLS_CONSENT: http://localhost:9000/auth/consent
URLS_LOGOUT: http://localhost:9000/auth/logout
URLS_ERROR: http://localhost:9000
STRATEGIES_ACCESS_TOKEN: jwt
WEBFINGER_OIDC_DISCOVERY_SUPPORTED_SCOPES: profile,email,phone,roles
WEBFINGER_OIDC_DISCOVERY_SUPPORTED_CLAIMS: name,family_name,given_name,nickname,email,phone_number
DSN: memory
user: root
entrypoint: >
sh -c "
hydra serve all --dev &
echo '⏳ Waiting for Hydra admin API...' &&
until wget -q --spider http://localhost:4445/health/ready; do
sleep 2;
done &&
echo '✅ Hydra is ready. Importing clients...' &&
hydra import oauth2-client /clients.json -e http://hydra2:4445 &&
echo '🚀 Clients imported.' &&
wait
"
volumes:
- ./clients.json:/clients.json
networks:
- oc2
ports:
- "4446:4444"
- "4447:4445"
deploy:
restart_policy:
condition: on-failure
labels:
- "traefik.enable=true"
- "traefik.http.routers.hydra2.entrypoints=web"
- "traefik.http.routers.hydra2.rule=PathPrefix(`/hydra`)"
- "traefik.http.services.hydra2.loadbalancer.server.port=4444"
- "traefik.http.middlewares.hydra2-stripprefix.stripprefix.prefixes=/hydra"
- "traefik.http.routers.hydra2.middlewares=hydra2-stripprefix"
ldap2:
image: pgarrett/ldap-alpine
container_name: ldap2
volumes:
- "./ldap.ldif:/ldif/ldap.ldif"
networks:
- oc2
ports:
- "391:389"
deploy:
restart_policy:
condition: on-failure
keto2:
image: oryd/keto:v0.7.0-alpha.1-sqlite
ports:
- "4468:4466"
- "4469:4467"
command: serve -c /home/ory/keto.yml
restart: on-failure
volumes:
- type: bind
source: .
target: /home/ory
container_name: keto2
networks:
- oc2
traefik2:
image: traefik:v3.6
container_name: traefik2
restart: unless-stopped
networks:
- oc2
command:
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--providers.docker.network=oc2"
- "--providers.docker.constraints=Label(`traefik.stack`,`peer2`)"
- "--entrypoints.web.address=:9000"
user: root
ports:
- "9000:9000" # Expose Traefik on port 9000
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
oc-datacenter2:
env_file:
- path: ./env.env
required: false
environment:
- MONGO_DATABASE=DC_myDC
- KUBE_CA=${KUBE_CA:-}
- KUBE_CERT=${KUBE_CERT:-}
- KUBE_DATA=${KUBE_DATA:-}
image: '${REGISTRY:-opencloudregistry/}oc-datacenter:latest'
ports:
- 9092:8080
labels:
- "traefik.stack=peer2"
- "traefik.enable=true"
- "traefik.http.routers.datacenter2.entrypoints=web"
- "traefik.http.routers.datacenter2.rule=PathPrefix(`/datacenter`)"
- "traefik.http.services.datacenter2.loadbalancer.server.port=8080"
- "traefik.http.middlewares.datacenter2-rewrite.replacepathregex.regex=^/datacenter(.*)"
- "traefik.http.middlewares.datacenter2-rewrite.replacepathregex.replacement=/oc$$1"
- "traefik.http.routers.datacenter2.middlewares=datacenter2-rewrite,auth-datacenter2"
- "traefik.http.middlewares.auth-datacenter2.forwardauth.address=http://oc-auth2:8080/oc/forward"
- "traefik.http.middlewares.auth-datacenter2.forwardauth.trustForwardHeader=true"
- "traefik.http.middlewares.auth-datacenter2.forwardauth.authResponseHeaders=X-Auth-Request-User,X-Auth-Request-Email"
container_name: oc-datacenter2
networks:
- oc2
oc-scheduler2:
environment:
- MONGO_DATABASE=DC_myDC
- KUBE_CA=${KUBE_CA:-}
- KUBE_CERT=${KUBE_CERT:-}
- KUBE_DATA=${KUBE_DATA:-}
image: '${REGISTRY:-opencloudregistry/}oc-scheduler:latest'
labels:
- "traefik.stack=peer2"
- "traefik.enable=true"
- "traefik.http.routers.scheduler2.entrypoints=web"
- "traefik.http.routers.scheduler2.rule=PathPrefix(`/scheduler`)"
- "traefik.http.middlewares.scheduler2-rewrite.replacepathregex.regex=^/scheduler(.*)"
- "traefik.http.middlewares.scheduler2-rewrite.replacepathregex.replacement=/oc$$1"
- "traefik.http.routers.scheduler2.middlewares=scheduler2-rewrite,auth-scheduler2"
- "traefik.http.services.scheduler2.loadbalancer.server.port=8080"
- "traefik.http.middlewares.auth-scheduler2.forwardauth.address=http://oc-auth2:8080/oc/forward"
- "traefik.http.middlewares.auth-scheduler2.forwardauth.trustForwardHeader=true"
- "traefik.http.middlewares.auth-scheduler2.forwardauth.authResponseHeaders=X-Auth-Request-User,X-Auth-Request-Email"
ports:
- 9090:8080
container_name: oc-scheduler2
networks:
- oc2
oc-catalog2:
environment:
- MONGO_DATABASE=DC_myDC
image: '${REGISTRY:-opencloudregistry/}oc-catalog:latest'
ports:
- 9087:8080
container_name: oc-catalog2
networks:
- oc2
labels:
- "traefik.stack=peer2"
- "traefik.enable=true"
- "traefik.http.routers.catalog2.entrypoints=web"
- "traefik.http.routers.catalog2.rule=PathPrefix(`/catalog`)"
- "traefik.http.middlewares.catalog2-rewrite.replacepathregex.regex=^/catalog(.*)"
- "traefik.http.middlewares.catalog2-rewrite.replacepathregex.replacement=/oc$$1"
- "traefik.http.routers.catalog2.middlewares=catalog2-rewrite,auth-catalog2"
- "traefik.http.services.catalog2.loadbalancer.server.port=8080"
- "traefik.http.middlewares.auth-catalog2.forwardauth.address=http://oc-auth2:8080/oc/forward"
- "traefik.http.middlewares.auth-catalog2.forwardauth.trustForwardHeader=true"
- "traefik.http.middlewares.auth-catalog2.forwardauth.authResponseHeaders=X-Auth-Request-User,X-Auth-Request-Email"
oc-workspace2:
environment:
- MONGO_DATABASE=DC_myDC
image: '${REGISTRY:-opencloudregistry/}oc-workspace:latest'
ports:
- 9089:8080
labels:
- "traefik.stack=peer2"
- "traefik.enable=true"
- "traefik.http.routers.workspace2.entrypoints=web"
- "traefik.http.routers.workspace2.rule=PathPrefix(`/workspace`)"
- "traefik.http.middlewares.workspace2-rewrite.replacepathregex.regex=^/workspace(.*)"
- "traefik.http.middlewares.workspace2-rewrite.replacepathregex.replacement=/oc$$1"
- "traefik.http.routers.workspace2.middlewares=workspace2-rewrite,auth-workspace2"
- "traefik.http.services.workspace2.loadbalancer.server.port=8080"
- "traefik.http.middlewares.auth-workspace2.forwardauth.address=http://oc-auth2:8080/oc/forward"
- "traefik.http.middlewares.auth-workspace2.forwardauth.trustForwardHeader=true"
- "traefik.http.middlewares.auth-workspace2.forwardauth.authResponseHeaders=X-Auth-Request-User,X-Auth-Request-Email"
container_name: oc-workspace2
networks:
- oc2
oc-peer2:
environment:
- MONGO_DATABASE=DC_myDC
image: '${REGISTRY:-opencloudregistry/}oc-peer:latest'
labels:
- "traefik.stack=peer2"
- "traefik.enable=true"
- "traefik.http.routers.peer2.entrypoints=web"
- "traefik.http.routers.peer2.rule=PathPrefix(`/peer`)"
- "traefik.http.middlewares.peer2-rewrite.replacepathregex.regex=^/peer(.*)"
- "traefik.http.middlewares.peer2-rewrite.replacepathregex.replacement=/oc$$1"
- "traefik.http.routers.peer2.middlewares=peer2-rewrite,auth-peer2"
- "traefik.http.services.peer2.loadbalancer.server.port=8080"
- "traefik.http.middlewares.auth-peer2.forwardauth.address=http://oc-auth2:8080/oc/forward"
- "traefik.http.middlewares.auth-peer2.forwardauth.trustForwardHeader=true"
- "traefik.http.middlewares.auth-peer2.forwardauth.authResponseHeaders=X-Auth-Request-User,X-Auth-Request-Email"
ports:
- 9093:8080
container_name: oc-peer2
networks:
- oc2
oc-auth2:
image: '${REGISTRY:-opencloudregistry/}oc-auth:latest'
ports:
- 9094:8080
container_name: oc-auth2
labels:
- "traefik.stack=peer2"
- "traefik.enable=true"
- "traefik.http.routers.auth-sec2.entrypoints=web"
- "traefik.http.routers.auth-sec2.rule=PathPrefix(`/auth/`)"
- "traefik.http.middlewares.auth-sec2-rewrite.replacepathregex.regex=^/auth(.*)"
- "traefik.http.middlewares.auth-sec2-rewrite.replacepathregex.replacement=/oc$$1"
- "traefik.http.services.auth-sec2.loadbalancer.server.port=8080"
- "traefik.http.routers.auth-sec2.middlewares=auth-sec2-rewrite,auth-auth-sec2"
- "traefik.http.middlewares.auth-auth-sec2.forwardauth.address=http://oc-auth2:8080/oc/forward"
- "traefik.http.middlewares.auth-auth-sec2.forwardauth.trustForwardHeader=true"
- "traefik.http.middlewares.auth-auth-sec2.forwardauth.authResponseHeaders=X-Auth-Request-User,X-Auth-Request-Email"
environment:
LDAP_ENDPOINTS: ldap2:389
LDAP_BINDDN: cn=admin,dc=example,dc=com
LDAP_BINDPW: password
LDAP_BASEDN: "dc=example,dc=com"
LDAP_USER_BASEDN: "ou=users,dc=example,dc=com"
LDAP_ROLE_BASEDN: "ou=AppRoles,dc=example,dc=com"
ADMIN_ORIGIN: "http://localhost:9000"
OAUTH_REDIRECT_URI: "http://localhost:9000"
networks:
- oc2
volumes:
- ./pem/private4.pem:/keys/private/private.pem
- ./pem/public4.pem:/keys/public/public.pem
oc-shared2:
environment:
- MONGO_DATABASE=DC_myDC
image: '${REGISTRY:-opencloudregistry/}oc-shared:latest'
ports:
- 9091:8080
container_name: oc-shared2
labels:
- "traefik.stack=peer2"
- "traefik.enable=true"
- "traefik.http.routers.shared2.entrypoints=web"
- "traefik.http.routers.shared2.rule=PathPrefix(`/shared`)"
- "traefik.http.middlewares.shared2-rewrite.replacepathregex.regex=^/shared(.*)"
- "traefik.http.middlewares.shared2-rewrite.replacepathregex.replacement=/oc$$1"
- "traefik.http.routers.shared2.middlewares=shared2-rewrite"
- "traefik.http.services.shared2.loadbalancer.server.port=8080"
- "traefik.http.middlewares.shared2.forwardauth.address=http://oc-auth2:8080/oc/forward"
networks:
- oc2
oc-workflow2:
environment:
- _OCWORKFLOW_MONGO_DATABASE=DC_myDC
- _OCWORKFLOW_MONGO_URL=mongodb://mongo2:27017
- _OCWORKFLOW_NATS_URL=nats://nats2:4222
image: '${REGISTRY:-opencloudregistry/}oc-workflow:latest'
ports:
- 9088:8080
container_name: oc-workflow2
labels:
- "traefik.stack=peer2"
- "traefik.enable=true"
- "traefik.http.routers.workflow2.entrypoints=web"
- "traefik.http.routers.workflow2.rule=PathPrefix(`/workflow`)"
- "traefik.http.services.workflow2.loadbalancer.server.port=8080"
- "traefik.http.middlewares.workflow2-rewrite.replacepathregex.regex=^/workflow(.*)"
- "traefik.http.middlewares.workflow2-rewrite.replacepathregex.replacement=/oc$1"
- "traefik.http.routers.workflow2.middlewares=workflow2-rewrite"
networks:
- oc2
oc-discovery_4:
image: '${REGISTRY:-opencloudregistry/}oc-discovery_4:latest'
ports:
- 4004:4004
container_name: oc-discovery_4
networks:
- oc2
oc-schedulerd2:
image: '${REGISTRY:-opencloudregistry/}oc-schedulerd:latest'
ports:
- 10006:8080
environment:
- MONGO_DATABASE=DC_myDC
- KUBE_CA=${KUBE_CA:-}
- KUBE_CERT=${KUBE_CERT:-}
- KUBE_DATA=${KUBE_DATA:-}
container_name: oc-schedulerd2
networks:
- oc2
oc-static2:
image: '${REGISTRY:-opencloudregistry/}oc-static:latest'
ports:
- 9098:8080
labels:
- "traefik.stack=peer2"
- "traefik.enable=true"
- "traefik.http.routers.static2.entrypoints=web"
- "traefik.http.routers.static2.rule=PathPrefix(`/static`)"
- "traefik.http.services.static2.loadbalancer.server.port=8080"
container_name: oc-static2
networks:
- oc2
volumes:
oc-data2:
networks:
oc2:
external: true

18
docker/demo/keto.yml Normal file
View File

@@ -0,0 +1,18 @@
version: v0.6.0-alpha.1
log:
level: debug
namespaces:
- id: 0
name: open-cloud
dsn: memory
serve:
read:
host: 0.0.0.0
port: 4466
write:
host: 0.0.0.0
port: 4467

24
docker/demo/ldap.ldif Normal file
View File

@@ -0,0 +1,24 @@
dn: uid=admin,ou=Users,dc=example,dc=com
objectClass: inetOrgPerson
cn: Admin
sn: Istrator
uid: admin
userPassword: admin
mail: admin@example.com
ou: Users
dn: ou=AppRoles,dc=example,dc=com
objectClass: organizationalunit
ou: AppRoles
description: AppRoles
dn: ou=App1,ou=AppRoles,dc=example,dc=com
objectClass: organizationalunit
ou: App1
description: App1
dn: cn=traveler,ou=App1,ou=AppRoles,dc=example,dc=com
objectClass: groupofnames
cn: traveler
description: traveler
member: uid=admin,ou=Users,dc=example,dc=com

View File

@@ -0,0 +1,3 @@
-----BEGIN PRIVATE KEY-----
MC4CAQAwBQYDK2VwBCIEIAeX4O7ldwehRSnPkbzuE6csyo63vjvqAcNNujENOKUC
-----END PRIVATE KEY-----

View File

@@ -0,0 +1,3 @@
-----BEGIN PRIVATE KEY-----
MC4CAQAwBQYDK2VwBCIEIEkgqINXDLnxIJZs2LEK9O4vdsqk43dwbULGUE25AWuR
-----END PRIVATE KEY-----

View File

@@ -0,0 +1,3 @@
-----BEGIN PUBLIC KEY-----
MCowBQYDK2VwAyEAG95Ettl3jTi41HM8le1A9WDmOEq0ANEqpLF7zTZrfXA=
-----END PUBLIC KEY-----

View File

@@ -0,0 +1,3 @@
-----BEGIN PUBLIC KEY-----
MCowBQYDK2VwAyEA/ymOIb0sJ0qCWrf3mKz7ACCvsMXLog/EK533JfNXZTM=
-----END PUBLIC KEY-----

View File

@@ -16,7 +16,7 @@ cd ./tools && docker compose -f ./docker-compose.dev.yml down --force-recreate
docker compose -f ./docker-compose.dev.yml up --force-recreate -d && docker compose -f ./docker-compose.traefik.yml up --force-recreate -d && cd .. docker compose -f ./docker-compose.dev.yml up --force-recreate -d && docker compose -f ./docker-compose.traefik.yml up --force-recreate -d && cd ..
cd ./db && ./add.sh && cd .. # cd ./db && ./add.sh && cd ..
cd ../.. cd ../..
@@ -31,7 +31,6 @@ REPOS=(
"oc-schedulerd" "oc-schedulerd"
"oc-workflow" "oc-workflow"
"oc-workspace" "oc-workspace"
"oc-front"
) )
for i in "${REPOS[@]}" for i in "${REPOS[@]}"
do do

View File

@@ -143,23 +143,20 @@ services:
container_name: keto container_name: keto
networks: networks:
- oc - oc
login-app: oc-front:
image: nginx:alpine image: 'opencloudregistry/oc-front:latest'
container_name: login-app container_name: oc-front
ports: ports:
- "9090:80" - 80:80
networks: networks:
- oc - oc
volumes:
- ./html:/usr/share/nginx/html:ro
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.login.entrypoints=web" - "traefik.http.routers.front.entrypoints=web"
- "traefik.http.routers.login.rule=PathPrefix(`/l`)" - "traefik.http.routers.front.rule=PathPrefix(`/`)"
- "traefik.http.services.login.loadbalancer.server.port=80" - "traefik.http.services.front.loadbalancer.server.port=80"
- "traefik.http.middlewares.login-stripprefix.stripprefix.prefixes=/l" - "traefik.http.middlewares.front-stripprefix.stripprefix.prefixes=/"
- "traefik.http.routers.login.middlewares=login-stripprefix" - "traefik.http.routers.front.middlewares=front-stripprefix"
volumes: volumes:
oc-data: oc-data: