Add REST endpoint to rename operation
Implement Rest API equivalent to the ssh rename command with usage of
projects API. New project name is getting passed in through json request
With this change the plugin will be able to receive rename requests not
only through ssh but also through its new endpoint, making it more
testable with frameworks that utilise http, such as Gatling.
DatabaseRenameHandler has no support for reviewDB in versions 3.0 and up
and that created conflict during cherry-pick. This resolution is making
the rename method to use renameInReviewDb and renameInNoteDb again.
(cherry picked from commit 94dd6934e9ab5fe03961ae431b5d50f6610f4e65)
9 files changed