mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 00:31:14 +00:00
all: use strict(er) and more regular JSON schema
This commit is contained in:
parent
581e93968e
commit
02f5e63784
|
@ -1,60 +1,57 @@
|
||||||
{
|
{
|
||||||
"fairMQOptions": {
|
"fairMQOptions": {
|
||||||
"device":
|
"devices":
|
||||||
{
|
[{
|
||||||
"id": "merger1",
|
"id": "merger1",
|
||||||
"channel":
|
"channels":
|
||||||
{
|
[{
|
||||||
"name": "two_inputs_channel",
|
"name": "two_inputs_channel",
|
||||||
"socket":
|
"sockets":
|
||||||
{
|
[{
|
||||||
"type": "pull",
|
"type": "pull",
|
||||||
"address": "tcp://*:5569",
|
"address": "tcp://*:5569",
|
||||||
"sndBufSize": "1000",
|
"sndBufSize": 1000,
|
||||||
"rcvBufSize": "1000",
|
"rcvBufSize": 1000,
|
||||||
"rateLogging": "1"
|
"rateLogging": 1
|
||||||
},
|
},
|
||||||
"socket":
|
|
||||||
{
|
{
|
||||||
"type": "pull",
|
"type": "pull",
|
||||||
"method": "bind",
|
"method": "bind",
|
||||||
"address": "tcp://*:5570",
|
"address": "tcp://*:5570",
|
||||||
"sndBufSize": "1000",
|
"sndBufSize": 1000,
|
||||||
"rcvBufSize": "1000",
|
"rcvBufSize": 1000,
|
||||||
"rateLogging": "1"
|
"rateLogging": 1
|
||||||
}
|
}]
|
||||||
|
|
||||||
},
|
},
|
||||||
"channel":
|
|
||||||
{
|
{
|
||||||
"name": "one_output_channel",
|
"name": "one_output_channel",
|
||||||
"socket": {
|
"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
|
||||||
}
|
}]
|
||||||
}
|
}]
|
||||||
|
|
||||||
},
|
},
|
||||||
"device":
|
|
||||||
{
|
{
|
||||||
"id": "sink1",
|
"id": "sink1",
|
||||||
"channel": {
|
"channels": [{
|
||||||
"name": "one_input",
|
"name": "one_input",
|
||||||
"socket": {
|
"sockets": [{
|
||||||
"name": "input1",
|
"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
|
||||||
}
|
}]
|
||||||
}
|
}]
|
||||||
}
|
}]
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -4,35 +4,35 @@
|
||||||
"devices":
|
"devices":
|
||||||
[{
|
[{
|
||||||
"id": "bsampler1",
|
"id": "bsampler1",
|
||||||
"channel":
|
"channels":
|
||||||
{
|
[{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
"socket":
|
"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",
|
||||||
"channel":
|
"channels":
|
||||||
{
|
[{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
"socket":
|
"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
|
||||||
}
|
}]
|
||||||
}
|
}]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user