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,57 +1,63 @@
{ {
"fairMQOptions": { "fairMQOptions": {
"devices": "devices": [
[{ {
"id": "merger1", "id": "merger1",
"channels": "channels": [
[{ {
"name": "two_inputs_channel", "name": "two_inputs_channel",
"sockets": "sockets": [
[{ {
"type": "pull", "type": "pull",
"address": "tcp://*:5569", "method": "",
"sndBufSize": 1000, "address": "tcp://*:5569",
"rcvBufSize": 1000, "sndBufSize": 1000,
"rateLogging": 1 "rcvBufSize": 1000,
}, "rateLogging": 1
{ },
"type": "pull", {
"method": "bind", "type": "pull",
"address": "tcp://*:5570", "method": "bind",
"sndBufSize": 1000, "address": "tcp://*:5570",
"rcvBufSize": 1000, "sndBufSize": 1000,
"rateLogging": 1 "rcvBufSize": 1000,
}] "rateLogging": 1
}
}, ]
{ },
"name": "one_output_channel", {
"sockets": [{ "name": "one_output_channel",
"type": "push", "sockets": [
"method": "connect", {
"address": "tcp://*:5571", "type": "push",
"sndBufSize": 1000, "method": "connect",
"rcvBufSize": 1000, "address": "tcp://*:5571",
"rateLogging": 1 "sndBufSize": 1000,
}] "rcvBufSize": 1000,
}] "rateLogging": 1
}
}, ]
{ }
"id": "sink1", ]
"channels": [{ },
"name": "one_input", {
"sockets": [{ "id": "sink1",
"name": "input1", "channels": [
"type": "pull", {
"method": "bind", "name": "one_input",
"address": "tcp://localhost:5571", "sockets": [
"sndBufSize": 1000, {
"rcvBufSize": 1000, "type": "pull",
"rateLogging": 1 "method": "bind",
}] "address": "tcp://localhost:5571",
}] "sndBufSize": 1000,
}] "rcvBufSize": 1000,
"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", {
"channels": "id": "sink1",
[{ "channels": [
"name": "data", {
"sockets": "name": "data",
[{ "sockets": [
"type": "pull", {
"method": "connect", "type": "pull",
"address": "tcp://127.0.0.1:5555", "method": "connect",
"sndBufSize": 1000, "address": "tcp://127.0.0.1:5555",
"rcvBufSize": 1000, "sndBufSize": 1000,
"rateLogging": 1 "rcvBufSize": 1000,
}] "rateLogging": 1
}] }
}] ]
}
]
}
]
} }
} }