Skip to content

Commit

Permalink
Update new_description.json format based on the discussion in Ericsso…
Browse files Browse the repository at this point in the history
  • Loading branch information
salehsedghpour committed Feb 23, 2022
1 parent 7df07ef commit bd7be7b
Showing 1 changed file with 31 additions and 32 deletions.
63 changes: 31 additions & 32 deletions generator/input/new_description.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,41 +6,40 @@
"latency": 0.002
}
],
"clusters": [
"services": [
{
"name": "cluster_1",
"namespace": "ns_1",
"services": [
"name": "service_1",
"clusters": [
{
"name": "service_1",
"node": "node-1",
"resources": {
"limits": {
"memory": "1024",
"cpu": "1000"
},
"requests": {
"memory": "512",
"cpu": "500"
}
},
"endpoints": [
"cluster": "cluster_1",
"namespace": "ns_1",
"node": "node_1"
}
],
"resources": {
"limits": {
"memory": "1024",
"cpu": "1000"
},
"requests": {
"memory": "512",
"cpu": "500"
}
},
"endpoints": [
{
"name": "/end_1",
"protocol": "http",
"cpu_consumption": 0.003,
"network_consumption": 0.002,
"memory_consumption": 0.003,
"calledservices": [
{
"name": "/end_1",
"protocol": "http",
"cpu_consumption": 0.003,
"network_consumption": 0.002,
"memory_consumption": 0.003,
"calledservices": [
{
"cluster": "cluster_1",
"service": "service_2",
"endpoint": "/end_2",
"protocol": "grpc",
"traffic_ratio": 1,
"requests": "asynchronous"
}
]
"cluster": "cluster_1",
"service": "service_2",
"endpoint": "/end_2",
"traffic_forward_ratio": 1,
"requests": "asynchronous"
}
]
}
Expand Down

0 comments on commit bd7be7b

Please sign in to comment.