puppetlabs/puppetdb — pull request #1124 by senior (2014-10-15 14:38:52+00:00)
Title: (PDB-100) Convert terminus to internally use a URL connecting to PDB

There purely a refactor of terminus' HTTP code to use URLs rather than
the existing server + port combination internally. The user still
specifies server+port and we convert this internally to URLs. This is
step one in getting connection failover for the terminus.

This is my first significant change to the terminus code and would appreciate some feedback on the new API, style etc.