Refactoring the code to make classes testable

Now, instead of passing the parameters to establish a connection to the whole
chain of classes, dependency injection is used to simplify the class
dependencies.

Given the injection stack is limited when doing the site initialization,
circumvent it by calling directly the class responsible for establishing
the connection.

Change-Id: Id933998dfa30d188b6cfcece6e5355fd6a8079cd
6 files changed
tree: c0c46f308ae66cf786cd7cb23410b1efcdfbd249
  1. .gitignore
  2. .settings/
  3. BUILD
  4. LICENSE
  5. external_plugin_deps.bzl
  6. src/