all: apply fer-json-fmt

This commit is contained in:
Sebastien Binet 2016-11-10 15:20:09 +01:00 committed by Mohammad Al-Turany
parent 6e8839e955
commit e241ea41bb
7 changed files with 365 additions and 338 deletions

View File

@ -1,40 +1,42 @@
{
"fairMQOptions":
{
"devices":
[{
"id": "sampler1",
"channels":
[{
"name": "data",
"sockets":
[{
"type": "push",
"method": "bind",
"address": "tcp://*:5555",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
}]
},
{
"id": "sink1",
"channels":
[{
"name": "data",
"sockets":
[{
"type": "pull",
"method": "connect",
"address": "tcp://localhost:5555",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
}]
}]
"fairMQOptions": {
"devices": [
{
"id": "sampler1",
"channels": [
{
"name": "data",
"sockets": [
{
"type": "push",
"method": "bind",
"address": "tcp://*:5555",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}
]
}
]
},
{
"id": "sink1",
"channels": [
{
"name": "data",
"sockets": [
{
"type": "pull",
"method": "connect",
"address": "tcp://localhost:5555",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}
]
}
]
}
]
}
}

View File

@ -1,66 +1,73 @@
{
"fairMQOptions":
{
"devices":
[{
"id": "sampler1",
"channels":
[{
"name": "data1",
"sockets":
[{
"type": "push",
"method": "bind",
"address": "tcp://*:5555",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
}]
},
{
"key": "processor",
"channels":
[{
"name": "data1",
"sockets":
[{
"type": "pull",
"method": "connect",
"address": "tcp://localhost:5555",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
"fairMQOptions": {
"devices": [
{
"id": "sampler1",
"channels": [
{
"name": "data1",
"sockets": [
{
"type": "push",
"method": "bind",
"address": "tcp://*:5555",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}
]
}
]
},
{
"name": "data2",
"sockets":
[{
"type": "push",
"method": "connect",
"address": "tcp://localhost:5556",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
}]
},
{
"id": "sink1",
"channels":
[{
"name": "data2",
"sockets":
[{
"type": "pull",
"method": "bind",
"address": "tcp://*:5556",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
}]
}]
"key": "processor",
"channels": [
{
"name": "data1",
"sockets": [
{
"type": "pull",
"method": "connect",
"address": "tcp://localhost:5555",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}
]
},
{
"name": "data2",
"sockets": [
{
"type": "push",
"method": "connect",
"address": "tcp://localhost:5556",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}
]
}
]
},
{
"id": "sink1",
"channels": [
{
"name": "data2",
"sockets": [
{
"type": "pull",
"method": "bind",
"address": "tcp://*:5556",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}
]
}
]
}
]
}
}

View File

@ -1,42 +1,41 @@
{
"fairMQOptions":
{
"devices":
[{
"id": "sampler",
"channels":
[{
"name": "data1",
"type": "push",
"method": "bind",
"rateLogging": 0
}]
},
{
"key": "processor",
"channels":
[{
"name": "data1",
"type": "pull",
"method": "connect",
"rateLogging": 0
"fairMQOptions": {
"devices": [
{
"id": "sampler",
"channels": [
{
"name": "data1",
"type": "push",
"method": "bind"
}
]
},
{
"name": "data2",
"type": "push",
"method": "connect",
"rateLogging": 0
}]
},
{
"id": "sink",
"channels":
[{
"name": "data2",
"type": "pull",
"method": "bind",
"rateLogging": 0
}]
}]
"key": "processor",
"channels": [
{
"name": "data1",
"type": "pull",
"method": "connect"
},
{
"name": "data2",
"type": "push",
"method": "connect"
}
]
},
{
"id": "sink",
"channels": [
{
"name": "data2",
"type": "pull",
"method": "bind"
}
]
}
]
}
}

View File

@ -1,63 +1,68 @@
{
"fairMQOptions":
{
"devices":
[{
"id": "sampler1",
"channels":
[{
"name": "data",
"sockets":
[{
"type": "push",
"method": "bind",
"address": "tcp://*:5555",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
},
{
"type": "push",
"method": "bind",
"address": "tcp://*:5556",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
}]
},
{
"id": "sink1",
"channels":
[{
"name": "data",
"sockets":
[{
"type": "pull",
"method": "connect",
"address": "tcp://localhost:5555",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
}]
},
{
"id": "sink2",
"channels":
[{
"name": "data",
"sockets":
[{
"type": "pull",
"method": "connect",
"address": "tcp://localhost:5556",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
}]
}]
"fairMQOptions": {
"devices": [
{
"id": "sampler1",
"channels": [
{
"name": "data",
"sockets": [
{
"type": "push",
"method": "bind",
"address": "tcp://*:5555",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
},
{
"type": "push",
"method": "bind",
"address": "tcp://*:5556",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}
]
}
]
},
{
"id": "sink1",
"channels": [
{
"name": "data",
"sockets": [
{
"type": "pull",
"method": "connect",
"address": "tcp://localhost:5555",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}
]
}
]
},
{
"id": "sink2",
"channels": [
{
"name": "data",
"sockets": [
{
"type": "pull",
"method": "connect",
"address": "tcp://localhost:5556",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}
]
}
]
}
]
}
}

View File

@ -1,39 +1,42 @@
{
"fairMQOptions":
{
"devices":
[{
"id": "client",
"channels":
[{
"name": "data",
"sockets":
[{
"type": "req",
"method": "connect",
"address": "tcp://localhost:5005",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
}]
},
{
"id": "server",
"channels":
[{
"name": "data",
"sockets":
[{
"type": "rep",
"method": "bind",
"address": "tcp://*:5005",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
}]
}]
"fairMQOptions": {
"devices": [
{
"id": "client",
"channels": [
{
"name": "data",
"sockets": [
{
"type": "req",
"method": "connect",
"address": "tcp://localhost:5005",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}
]
}
]
},
{
"id": "server",
"channels": [
{
"name": "data",
"sockets": [
{
"type": "rep",
"method": "bind",
"address": "tcp://*:5005",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}
]
}
]
}
]
}
}

View File

@ -1,79 +1,86 @@
{
"fairMQOptions":
{
"devices":
[{
"id": "sampler1",
"channels":
[{
"name": "data",
"sockets":
[{
"type": "push",
"method": "bind",
"address": "tcp://*:5555",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
"fairMQOptions": {
"devices": [
{
"id": "sampler1",
"channels": [
{
"name": "data",
"sockets": [
{
"type": "push",
"method": "bind",
"address": "tcp://*:5555",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}
]
},
{
"name": "broadcast",
"sockets": [
{
"type": "sub",
"method": "connect",
"address": "tcp://localhost:5005",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}
]
}
]
},
{
"name": "broadcast",
"sockets":
[{
"type": "sub",
"method": "connect",
"address": "tcp://localhost:5005",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
}]
},
{
"id": "sink1",
"channels":
[{
"name": "data",
"sockets":
[{
"type": "pull",
"method": "connect",
"address": "tcp://localhost:5555",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
"id": "sink1",
"channels": [
{
"name": "data",
"sockets": [
{
"type": "pull",
"method": "connect",
"address": "tcp://localhost:5555",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}
]
},
{
"name": "broadcast",
"sockets": [
{
"type": "sub",
"method": "connect",
"address": "tcp://localhost:5005",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}
]
}
]
},
{
"name": "broadcast",
"sockets":
[{
"type": "sub",
"method": "connect",
"address": "tcp://localhost:5005",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
}]
},
{
"id": "broadcaster1",
"channels":
[{
"name": "broadcast",
"sockets":
[{
"type": "pub",
"method": "bind",
"address": "tcp://*:5005",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
}]
}]
"id": "broadcaster1",
"channels": [
{
"name": "broadcast",
"sockets": [
{
"type": "pub",
"method": "bind",
"address": "tcp://*:5005",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}
]
}
]
}
]
}
}

View File

@ -1,38 +1,42 @@
{
"fairMQOptions":
{
"devices":
[{
"id": "sampler1",
"channels":
[{
"name": "data-out",
"sockets":
[{
"type": "push",
"method": "bind",
"address": "tcp://*:5555",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
}]
},
{
"id": "sink1",
"channels":
[{
"name": "data-in",
"sockets":
[{
"type": "pull",
"method": "connect",
"address": "tcp://localhost:5555",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}]
}]
}]
"fairMQOptions": {
"devices": [
{
"id": "sampler1",
"channels": [
{
"name": "data-out",
"sockets": [
{
"type": "push",
"method": "bind",
"address": "tcp://*:5555",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}
]
}
]
},
{
"id": "sink1",
"channels": [
{
"name": "data-in",
"sockets": [
{
"type": "pull",
"method": "connect",
"address": "tcp://localhost:5555",
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 0
}
]
}
]
}
]
}
}