-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multiple changes from IntelliJ client fork and not only (#122)
* BuildTest.test_download_artifact: TeamCity behavior workaround * BuildArtifactImpl: override `toString` * Minor codestyle fixes * Copy REST API extensions from IntelliJ client fork * Introduce TestRun fields selector * Expose http error code and body as TeamCityConversationException properties * Add Project#setParameter supplementary removeParameter method and test This commit also introduces Project#removeParameter method * Specify Content-type explicitly for all bodies * Add BuildConfiguration#setParameter supplementary methods and test This commit also introduces BuildConfiguration#removeParameter, BuildConfiguration#getParameters methods * Add Build.downloadBuildLog, TestRunsLocatorSettings#withStatus tests * ArtifactDependency: expose id * Add missing equals() and hashCode() implementation * [impl] Properly cache values returned to user * [impl] Incorrect full bean detection: report mismatched id properly (cherry picked from commit 0b92f55c485958f5ae1f9daef27b60aca54b54ce) * [impl] TestRun: fix fetch full bean locator * [impl] Fix non-working request retries (cherry picked from commit b1f3b64411106a8cc877bb87a0677ba8c2f56dc0) * [impl] Optimize `BuildImpl#getProjectId()` implementation * [impl] BuildQueue: prefetch queuedDate,revisions as meaningful for queued builds * [api] Make Revision.vcsBranchName nullable Server may respond with: ```json "revisions" : { "count" : 1, "revision" : [ { "version" : "N/A", "vcs-root-instance" : { "id" : "93736", "vcs-root-id" : "vcs_root_id", "name" : "Some Name (master)", "href" : "/app/rest/vcs-root-instances/id:93736" } } ] }, ``` (cherry picked from commit 88b3b8861c58fc3932540a248a62d5b905831c42) * [impl] BuildImpl: do not retrieve full bean if field is fetched in partial bean * [impl] BuildImpl: provide prefetch build fields selection * [impl] TestOccurrence: add missing `nextHref` field to filter (cherry picked from commit 017c124aa427f72b5403b878674dceefffb31039) * [impl] TestRunImpl: don't fetch fields if already fetched
- Loading branch information
Showing
20 changed files
with
2,021 additions
and
539 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.