The goal of this refactoring is to set correct type of HTTP methods in GitService. Now almost all HTTP methods in this service are POST methods, but there are methods that are used to get some content, so they should be marked as GET method. Also I had to change such methods to receive query parameters instead of body.
Implemented parameter objects to use them instead of using DTO as parameter in GitConnection methods.
Add support for skip and maxCount when calling the LOG API.
Add support to get the log for a specific folder or file in the repository.
For every commit that is returned when calling the LOG API, the following data was added:
The author of the commit
A list of branch names that the commit is related to.
A list of file names that were changed/deleted/added in the commit.
A list of commit parents (to enable for example clients to paint a graph)
Change-Id: I2cc486cc49787c681b031067728b7a33f8fb11e7
Signed-off-by: Shimon Ben.Yair <shimon.ben.yair@sap.com>
1. Fix storing issue in JGitConfigImpl
2. Commit command scenario - Get gerrit changid property from configuration
and set the commit command to set insert change ID to work with Gerrit
3. Push command scenario - Create PushResponse with details regarding updates
and refs and use it in push command
Change-Id: Ic54109810cdc6ba026447f691759ef0fc94924d0
Signed-off-by: Offer Shostak <offershostak@gmail.com>