Add possibility to override global configuration per remote

Benefits:
* connection parameters can be fine tuned per-remote (there is no need
to specify lengthy timeouts for every endpoint when only one is
particularly slow) - the following parameters could be redefined:
  connectionTimeout
  socketTimeout
  maxTries
  retryInterval

* as a bonus RemoteConfig contains the following methods public:
  getGlobal (to return global configuration)
  getEffective (to return effective configuration per remote)
  getName (to return remote name so that further parameters can be
reached)
in order to enable further configuration extension in EventProcessor
implementations.

Change-Id: I3ade3cd5c103d5810ecc8dd3bc0446e9ac81abbd
Originally-authored-by: Stephen Elsemore <selsemore@collab.net>
Signed-off-by: Jacek Centkowski <jcentkowski@collab.net>
6 files changed
tree: f254a1b2ffa959031daee6c818391ec712d98234
  1. src/
  2. tools/
  3. .gitignore
  4. bazlets.bzl
  5. BUILD
  6. external_plugin_deps.bzl
  7. WORKSPACE