This configuration creates a hub-and-spoke network with a single hub node H, and spoke nodes A, B, and C. A single web client is exposed at the hub; queries originate and terminate at the hub. The spoke nodes only respond to queries. Hub's shrine.conf Code Block |
---|
shrine {
...
queryEntryPoint {
...
}
hub {
...
downstreamNodes {
"Node A" = "http://nodeA.example.com/shrine/rest/adapter/requests"
"Descriptive name for node B" = "http://nodeB.example.com/shrine/rest/adapter/requests"
"Human-readable name for node C (can be anything)" = "http://nodeC.example.com/shrine/rest/adapter/requests"
}
}
// NB: no adapter { } block
}
|
|