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