At the moment we cannot easily provide detailed information about the
SSHD configuration from the /config/server/info REST endpoint because
in the REST API layer there are no Guice bindings for the SSHD
classes and we do not want to pull in all these dependencies. This is
why for now the only information that is provided by the
/config/server/info REST endpoint is whether SSHD is enabled or not.
If SSHD is enabled an empty SshdInfo is included into the ServerInfo
JSON entity. If SSHD is disabled, the 'sshd' field in ServerInfo is
not set. Using an empty SshdInfo entity instead of a boolean field
allows us to provide more details in future without breaking the API.
Knowing whether SSHD is enabled is at the moment sufficient for the
Gerrit Client, other SSHD information is not needed.
Change-Id: Ibb66c8ec9ce3fba32dd9c68e7267333d524d0e2d
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>