Configuration and DDS example/tools updates

- Update DDS example command UI and extract it from example.
 - Unify address handling via DDS properties for dynamic deployment.
 - Update DDS docs with the new approach.
 - Allow `--config-key` to be used to access common config in JSON.
 - Allow common channel properties to be specified for all sockets.
 - Update MQ examples and Tuto3 with new config options.
 - Add start scripts to MQ examples for easier use.
This commit is contained in:
Alexey Rybalchenko
2016-03-31 14:41:05 +02:00
committed by Mohammad Al-Turany
parent 8317d440db
commit 13453354c8
40 changed files with 211 additions and 605 deletions

View File

@@ -1,8 +1,8 @@
{
"fairMQOptions":
{
"device":
{
"devices":
[{
"id": "sampler1",
"channel":
{
@@ -18,12 +18,10 @@
}
}
},
"device":
{
"id": "processor1",
"channel":
{
"key": "processor",
"channels":
[{
"name": "data1",
"socket":
{
@@ -35,7 +33,6 @@
"rateLogging": "0"
}
},
"channel":
{
"name": "data2",
"socket":
@@ -47,41 +44,8 @@
"rcvBufSize": "1000",
"rateLogging": "0"
}
}
}]
},
"device":
{
"id": "processor2",
"channel":
{
"name": "data1",
"socket":
{
"type": "pull",
"method": "connect",
"address": "tcp://localhost:5555",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "0"
}
},
"channel":
{
"name": "data2",
"socket":
{
"type": "push",
"method": "connect",
"address": "tcp://localhost:5556",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "0"
}
}
},
"device":
{
"id": "sink1",
"channel":
@@ -97,6 +61,6 @@
"rateLogging": "0"
}
}
}
}]
}
}