Reuse SmartGson.getReader() in JenkinsCiPluginsRepository

JenkinsCiPluginsRepository was reading directly from a URI when fetching
a remote stream rather than relying on the SmartGson.getReader(), which
had exactly the same logic.

Use a unique channel to fetch from a remote source so that mocking
becomes easier and also replacing it with a different transport handler
would not require changes to the JenkinsCiPluginsRepository
implementation.

Change-Id: Ib1f25e7085cafb1c133e1b7e48dc993328489254
2 files changed
tree: cf5a9450ac795071418a9782e9923d1e77bfcb83
  1. src/
  2. .gitignore
  3. .zuul.yaml
  4. BUILD
  5. LICENSE
  6. README.md
README.md

plugin-manager

Gerrit web-based plugin manager.

To enable this plugin, please look at the configuration guide