New Deploy for Demo
This commit is contained in:
202
docker/demo/db-1/datas/purchase_resource.json
Normal file
202
docker/demo/db-1/datas/purchase_resource.json
Normal 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"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user