Skip to content

Commit 2e58ac0

Browse files
committed
Adding README.md for rest api sink.
1 parent 432c78a commit 2e58ac0

File tree

3 files changed

+4
-15
lines changed

3 files changed

+4
-15
lines changed

test_client/rest_API_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"device_id": "092b7908-69ee-46ee-b2c7-2d9ae23ee298", #optional. No device filtering applied if this value is not provided. Invalid device will return 404 error.
77
'sort_order': ['memory', 'cpu'], #optional, default - [cpu]
88
'telemetry_filter': False, #optional, default - False
9-
"description": "clearwater_ims",
9+
"description": "test",
1010
"project": "mf2c" #optional. Required if device_id is provided for filtering
1111
}
1212

test_client/rest_API_client_5g_service_inst.py

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,8 @@
44
service_json = {
55
"name": "test",
66
"id": "464d4a27-4f83-473f-bbe4-95c4d3b5f06b",
7-
"description": "clearwater_ims",
8-
"exec": "mf2c/compss-test:it2",
9-
"exec_type": "vm",
10-
"exec_ports": [8080],
11-
"agent_type": "normal",
12-
"num_agents": 2,
13-
"cpu_arch": "x86-64",
14-
"os": "linux",
15-
"memory_min": 1000,
16-
"storage_min": 100,
17-
"disk": 100,
18-
"req_resource": ["Location"],
19-
"opt_resource": ["SenseHat"]
7+
"description": "test",
8+
"exec_type": "vm"
209
}
2110

2211
headers = {'Content-type': 'application/json', 'Accept': 'text/json'}

test_client/rest_API_client_analyse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"description": "test service",
99
"id": "464d4a27-4f83-473f-bbe4-95c4d3b5f06b",
1010
"ts_from": '1551803300',
11-
"ts_to": '1551803400',
11+
"ts_to": '1551803400'
1212
}
1313

1414
url = 'http://localhost:46020/mf2c/analyse'

0 commit comments

Comments
 (0)