all: use strict(er) and more regular JSON schema

This commit is contained in:
Sebastien Binet 2016-11-10 14:22:11 +01:00
parent 581e93968e
commit 02f5e63784
2 changed files with 46 additions and 49 deletions

View File

@ -1,60 +1,57 @@
{
"fairMQOptions": {
"device":
{
"devices":
[{
"id": "merger1",
"channel":
{
"channels":
[{
"name": "two_inputs_channel",
"socket":
{
"sockets":
[{
"type": "pull",
"address": "tcp://*:5569",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "1"
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 1
},
"socket":
{
"type": "pull",
"method": "bind",
"address": "tcp://*:5570",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "1"
}
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 1
}]
},
"channel":
{
"name": "one_output_channel",
"socket": {
"sockets": [{
"type": "push",
"method": "connect",
"address": "tcp://*:5571",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "1"
}
}
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 1
}]
}]
},
"device":
{
"id": "sink1",
"channel": {
"channels": [{
"name": "one_input",
"socket": {
"sockets": [{
"name": "input1",
"type": "pull",
"method": "bind",
"address": "tcp://localhost:5571",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "1"
}
}
}
"sndBufSize": 1000,
"rcvBufSize": 1000,
"rateLogging": 1
}]
}]
}]
}
}

View File

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