aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/bitbucket/ApiClient.java
AgeCommit message (Collapse)AuthorFilesLines
2017-12-13Version 0.1.00.1.0Igor Pashev1-285/+0
2017-06-26Fixed NPEDaniel Fly1-2/+3
2017-06-22Improved logging for thoubleshootingDaniel Fly1-2/+6
2017-06-04Decreased logging level from INFO to FINE across whole pluginMartin Damovsky1-3/+3
2017-02-20Fixed reported Findbugs issuesMartin Damovsky1-1/+11
2017-02-08Remove all "e.printStackTrace()" callselifarley1-7/+0
2017-01-01Merge pull request #7 from csomme/bitbucket-v2-pr-comments-apiS.Nishio1-14/+25
Use the 2.0 Bitbucket pull request comment API.
2016-08-25Use the V2 Bitbucket pull request comment API.Chris Somme1-14/+25
The V1 pull request comment API is deprecated. Replace with a call to the V2 API. The V2 API is paginated and may need to be called multiple times to get the entire set of comments. While fixing this I noticed that while fetching pull requests the plugin is using the v2 API there, which is also paginated. So not all open pull requests were being retrieved.
2016-04-08Set an explicit HTTP request timeoutAlexey Ermakov1-1/+8
2016-02-18Properly close connections to avoid TCP CLOSE_WAITMaxim Epishchev1-0/+2
Using HttpMethodBase.releaseConnection() for this stuff.
2016-02-04Remove overqualified using of Class<T> as HttpClient interceptorMaxim Epishchev1-12/+3
Constructor of ApiClient now using just <T extends HttpClientFactory> T type to make possible using of HttpClient interceptor in tests.
2016-02-03Limit size "key" field in BitBucket POST APIMaxim Epishchev1-2/+30
Refactoring method ApiClient::computeAPIKey() to check maximum size of computed key. Now field size contolled by special constant ApiClient::MAX_KEY_SIZE_BB_API. This changes will resolve, in my opinion, issue with continuously rebuilding: method ApiClient::hasBuildStatus() fail and PR's are always trigger new builds.
2016-02-01Add tests for integration CredentialsSupport functionalMaxim Epishchev1-21/+50
By default we using username/password from original text fields (config.jelly). If credentials ID provided in plugin settings - using them for BitBucket API auth.
2016-01-26Bugfixes issue for continuously rebuilding PRMaxim Epishchev1-4/+46
If available TTP (aka "test this please") comment Jenkins PR builder continuously rebuilding PR. Now Jenkins post specific build comment. If you want to rebuild already rebuilded PR, post new TTP comment.
2016-01-15Fix UTF-8 build statuses and fix issue:1; also minor fixesMaxim Epishchev1-6/+14
2015-12-07Use new Build Status instead of commenting on pull requestsBjörn Dahlgren1-23/+25
News: http://blog.bitbucket.org/2015/11/18/introducing-the-build-status-api-for-bitbucket-cloud/ API: https://confluence.atlassian.com/bitbucket/buildstatus-resource-779295267.html
2015-09-04:lipstick: Only some cosmetiquesJonathan Brachthäuser1-15/+15
2015-09-04Factor out url construction to v1 and v2Jonathan Brachthäuser1-13/+16
2015-09-04Refactor http requestsJonathan Brachthäuser1-41/+20
2015-09-04Refactor: Have only one generic parse methodJonathan Brachthäuser1-37/+8
2015-09-04Refactored: Only have one file for JSON POJOsJonathan Brachthäuser1-0/+204