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": "fairMQOptions": {
"devices": [
{ {
"devices":
[{
"id": "sampler1", "id": "sampler1",
"channels": "channels": [
[{ {
"name": "data", "name": "data",
"sockets": "sockets": [
[{ {
"type": "push", "type": "push",
"method": "bind", "method": "bind",
"address": "tcp://*:5555", "address": "tcp://*:5555",
"sndBufSize": 1000, "sndBufSize": 1000,
"rcvBufSize": 1000, "rcvBufSize": 1000,
"rateLogging": 0 "rateLogging": 0
}] }
}] ]
}
]
}, },
{ {
"id": "sink1", "id": "sink1",
"channels": "channels": [
[{ {
"name": "data", "name": "data",
"sockets": "sockets": [
[{ {
"type": "pull", "type": "pull",
"method": "connect", "method": "connect",
"address": "tcp://localhost:5555", "address": "tcp://localhost:5555",
"sndBufSize": 1000, "sndBufSize": 1000,
"rcvBufSize": 1000, "rcvBufSize": 1000,
"rateLogging": 0 "rateLogging": 0
}] }
}] ]
}] }
]
}
]
} }
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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