Move replication config parsing out of DestinationsCollection

DestinationsCollection class is breaking single responsibility principle
because is mixing ReplicationDestination and ConfigParser functionality.
This split allows better code decoupling and is a prerequisite for
replacing ReplicationFileBasedConfig with ReplicationConfig interface.

Feature: Issue 12450
Change-Id: I33e3350596884e24bc32eacc4b51b73048e3f18c
9 files changed
tree: 49e354548f1c9c81c4b5a5fbc1d3dc07015efd27
  1. .gitignore
  2. .mailmap
  3. .settings/
  4. BUILD
  5. LICENSE
  6. src/