all: apply fer-json-fmt

This commit is contained in:
Sebastien Binet 2016-11-10 15:20:09 +01:00
parent 02f5e63784
commit 0a3f14c0e3
2 changed files with 100 additions and 91 deletions

View File

@ -1,14 +1,15 @@
{ {
"fairMQOptions": { "fairMQOptions": {
"devices": "devices": [
[{ {
"id": "merger1", "id": "merger1",
"channels": "channels": [
[{ {
"name": "two_inputs_channel", "name": "two_inputs_channel",
"sockets": "sockets": [
[{ {
"type": "pull", "type": "pull",
"method": "",
"address": "tcp://*:5569", "address": "tcp://*:5569",
"sndBufSize": 1000, "sndBufSize": 1000,
"rcvBufSize": 1000, "rcvBufSize": 1000,
@ -21,37 +22,42 @@
"sndBufSize": 1000, "sndBufSize": 1000,
"rcvBufSize": 1000, "rcvBufSize": 1000,
"rateLogging": 1 "rateLogging": 1
}] }
]
}, },
{ {
"name": "one_output_channel", "name": "one_output_channel",
"sockets": [{ "sockets": [
{
"type": "push", "type": "push",
"method": "connect", "method": "connect",
"address": "tcp://*:5571", "address": "tcp://*:5571",
"sndBufSize": 1000, "sndBufSize": 1000,
"rcvBufSize": 1000, "rcvBufSize": 1000,
"rateLogging": 1 "rateLogging": 1
}] }
}] ]
}
]
}, },
{ {
"id": "sink1", "id": "sink1",
"channels": [{ "channels": [
{
"name": "one_input", "name": "one_input",
"sockets": [{ "sockets": [
"name": "input1", {
"type": "pull", "type": "pull",
"method": "bind", "method": "bind",
"address": "tcp://localhost:5571", "address": "tcp://localhost:5571",
"sndBufSize": 1000, "sndBufSize": 1000,
"rcvBufSize": 1000, "rcvBufSize": 1000,
"rateLogging": 1 "rateLogging": 1
}] }
}] ]
}] }
]
}
]
} }
} }

View File

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