Convert `FanoutReplicationConfig` to `FanoutConfigResource`

With the introduction of `ConfigResource` we can simplify how the
"fanout" configuration works and reduce the code complexity.

The "fanout" replication configuration moves the `remote` sections from
the `replication.config` file into the `replication/` directory with
one-remote-per-file approach.

What this effectively means, is the final config object provided by the
"fanout" approach, is built not from a single file, but potentially
from multiple files.

This is one of the purposes of `ConfigResource`, to get the
configuration object regardless of how or where it's stored.

That's why, converting the `FanoutReplicationConfig` into
`FanoutConfigResource` makes sense. It also simplifies the code, as
`@MainReplicationConfig` is no longer needed.

Change-Id: Ic6a5c5b8ab502a5e53d52a146d73b219563ee759
14 files changed
tree: 159716d0e809db1b1ac6ad719f34693f6d9c9fdd
  1. .settings/
  2. src/
  3. .gitignore
  4. .mailmap
  5. BUILD
  6. LICENSE