{
"stats": {
"period": 1000, // in ms., 1 sec.
"console": {
"period": 10000
}
},
"mods": {
"positions": {
"type": "http-poll",
"settings": {
"delay": 1000, // in ms., 1 sec.
"format": "binary",
"host": "gtfs.bigbluebus.com",
"ssl": true,
"verify-host": false,
"path": "/vehiclepositions.bin"
}
},
"trips": {
"type": "http-poll",
"settings": {
"delay": 1000, // in ms., 1 sec.
"format": "binary",
"host": "gtfs.bigbluebus.com",
"ssl": true,
"verify-host": false,
"path": "/tripupdates.bin"
}
},
"converter": {
"type": "gtfs-proto-buf-to-json",
"connectors": ["positions", "trips"],
"settings": {
"user-data": "auckland"
}
},
"unwrapper": {
"type": "array-unwrap",
"connectors": "converter",
"settings": "/entity"
},
"dedup": {
"type": "dedup",
"connectors": "unwrapper",
"settings": {
"expiration-interval": 600000,
"override": false
//"key-selector": "/entity"
}
},
"printer": {
"type": "printer",
"connectors": "dedup"
}
}
}
- Overview
- Examples
- Mods Suite
- Building and Running
- Async support library
- Composition diagram drawer
- Composer gradle plugin
- Examples:
<repository>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
<dependency>
<groupId>com.satori</groupId>
<artifactId>satori-composer</artifactId>
<version>0.5.82-SNAPSHOT</version>
</dependency>
java 1.8