Files
gerrit/gerrit-common/src/main/java/com/google
Eric Anderson 713f07b1b5 Add rpc method for GerritConfig
The Eclipse Reviews plugin currently parses what types of reviews are possible
by parsing the javascript from a gerrit page load. This minor
improvement exposes the same information via json rpc that is provided
via the HTML.

Curl command to test:
curl --header 'Accept: application/json' --data-binary \
'{"jsonrpc":"2.0","method":"gerritConfig",id:2222}' -H 'Content-Type: \
application/json; charset=UTF-8' \
http://127.0.0.1:8080/gerrit/rpc/SystemInfoService

Bug: issue 848
Change-Id: Ie114d91073857304a234602187deee183eec4510
2011-08-02 11:44:47 -07:00
..
2011-08-02 11:44:47 -07:00