Added support for rename in replication
Now rename-project also works in replica mode for http.
Added feature to automatically replicate rename-project to urls in
gerrit.config via rest api.
HttpClientProvider, HttpResponseHandler and HttpSession are adapted
from rest forwarding mechanism of high-availability plugin to perform
http requests since they can already perform http requests to other
gerrit instances successfully.
Adaptations were mainly done on access modifiers of HttpResponseHandler
and changing the success code for isSuccessful from SC_NO_CONTENT to
SC_OK. HttpSession has delete requests removed, since rename-project
only needs post request.
Mainly based on previous attemp from Icbe98eb6af9bffc38f4b882c149b9092f9701f3c
Change-Id: I1f4aa638a565a1f85fb1f710a65ac659b5273107
13 files changed