Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add tests reproducing issue #732

+review REVIEW-6323

    • -0
    • +37
    ./transport/http/HttpResourceAccessorTest.groovy
  1. … 2 more files in changeset.
Fixed failing integration tests due to `null` being returned instead of a proper http response

    • -1
    • +1
    ./transport/http/AbstractHttpClientTest.groovy
    • -1
    • +1
    ./transport/http/HttpClientHelperTest.groovy
  1. … 3 more files in changeset.
Merge branch 'max-age' of https://github.com/DanielThomas/gradle into DanielThomas-max-age

    • -1
    • +17
    ./transport/http/HttpClientHelperTest.groovy
  1. … 8 more files in changeset.
Do not require password for truststore (#697)

Because it throws an apache http SSLInitializationException it was

misleading as to what was really the cause of a password being

required for the use of a custom truststore.

+review REVIEW-6256

    • -0
    • +156
    ./transport/http/DefaultSslContextFactoryTest.groovy
  1. … 1 more file in changeset.
Extract common logic for checking correct closing of response

GRADLE-3518

+review REVIEW-6201

    • -0
    • +56
    ./transport/http/AbstractHttpClientTest.groovy
    • -15
    • +6
    ./transport/http/HttpClientHelperTest.groovy
    • -17
    • +6
    ./transport/http/HttpResourceUploaderTest.groovy
    • -9
    • +5
    ./transport/http/HttpResponseResourceTest.groovy
Add tests for correct usage of CloseableHttpResponse

GRADLE-3518

+review REVIEW-6201

    • -0
    • +25
    ./transport/http/HttpClientHelperTest.groovy
    • -0
    • +51
    ./transport/http/HttpResourceUploaderTest.groovy
    • -0
    • +16
    ./transport/http/HttpResponseResourceTest.groovy
Close responses from httpclient

Since Apache HttpClient 4.3 `(Closable)HttpResponse`s

need to be closed. Gradle has not been doing that after

the upgrade to HttpClient 4.4. This probably caused some

resource problems.

GRADLE-3518

    • -2
    • +2
    ./transport/http/AlwaysRedirectRedirectStrategyTest.groovy
    • -2
    • +2
    ./transport/http/HttpClientHelperTest.groovy
    • -3
    • +3
    ./transport/http/HttpResponseResourceTest.groovy
  1. … 4 more files in changeset.
Refine ApacheDirectoryListingParserTest

Some test cases were not testing what was intended.

    • -6
    • +6
    ./transport/http/ApacheDirectoryListingParserTest.groovy
GRADLE-3424 Enable default httpclient retry handler

* GRADLE-3424 Enable default httpclient retry handler

    • -1
    • +1
    ./transport/http/HttpClientConfigurerTest.groovy
  1. … 1 more file in changeset.
GRADLE-3424 Enable default httpclient retry handler

* GRADLE-3424 Enable default httpclient retry handler

    • -1
    • +1
    ./transport/http/HttpClientConfigurerTest.groovy
  1. … 1 more file in changeset.
Add ability to revalidate external resource requests

The argument allows Cache-Control: max-age=0 to be added in cases where it's desirable for artifact repositories or caching proxies to revalidate requests:

- Listing version metadata

- Resource has exceeded it's cache lifetime on disk, such as dynamic/snapshot dependencies or when --refresh-dependencies is specified

    • -1
    • +17
    ./transport/http/HttpClientHelperTest.groovy
    • -2
    • +2
    ./transport/http/HttpResourceListerTest.groovy
  1. … 23 more files in changeset.
Merged internal `ResourceException` into public `ResourceException`.

    • -1
    • +1
    ./transport/http/ApacheDirectoryListingParserTest.groovy
  1. … 37 more files in changeset.
Renamed `o.g.internal.resource.Resource` to `TextResource`.

    • -2
    • +2
    ./transport/http/HttpClientConfigurerTest.groovy
  1. … 35 more files in changeset.
Add caching of ssl contexts

+review REVIEW-5736

    • -5
    • +2
    ./transport/http/HttpClientConfigurerTest.groovy
    • -3
    • +2
    ./transport/http/HttpClientHelperTest.groovy
  1. … 8 more files in changeset.
Add back removed test

+review REVIEW-5736

    • -0
    • +13
    ./transport/http/HttpClientConfigurerTest.groovy
Fix unit tests

+review REVIEW-5736

    • -4
    • +5
    ./transport/http/HttpClientConfigurerTest.groovy
    • -3
    • +2
    ./transport/http/HttpClientHelperTest.groovy
Remove unused imports

+review REVIEW-5736

    • -3
    • +0
    ./transport/http/HttpClientConfigurerTest.groovy
Fix failing unit tests

+review REVIEW-5736

    • -27
    • +6
    ./transport/http/HttpClientConfigurerTest.groovy
    • -12
    • +4
    ./transport/http/HttpClientHelperTest.groovy
Update HttpClient to 4.4.1

- This bumps httpclient to 4.4.1 and httpcore to 4.4.4

- Update ':docs' subproject to use same httpclient version to avoid duplicate libraries in IntelliJ

- Incorporated fix for GRADLE-3029 by synchronizing access to 'java.home' system property

- This commit also resolves GRADLE-3250 since SNI support was added in httpclient 4.3.2

+review REVIEW-5736

    • -16
    • +37
    ./transport/http/HttpClientConfigurerTest.groovy
    • -0
    • +3
    ./transport/http/HttpClientHelperTest.groovy
  1. … 16 more files in changeset.
Revert "Update HttpClient to 4.4.1"

This reverts commit cbafb10057af801054f22f5ebd42853bc9e8817a.

    • -37
    • +16
    ./transport/http/HttpClientConfigurerTest.groovy
    • -3
    • +0
    ./transport/http/HttpClientHelperTest.groovy
  1. … 16 more files in changeset.
Update HttpClient to 4.4.1

- This bumps httpclient to 4.4.1 and httpcore to 4.4.4

- Update ':docs' subproject to use same httpclient version to avoid duplicate libraries in IntelliJ

- Incorporated fix for GRADLE-3029 by synchronizing access to 'java.home' system property

- This commit also resolves GRADLE-3250 since SNI support was added in httpclient 4.3.2

+review REVIEW-5736

    • -16
    • +37
    ./transport/http/HttpClientConfigurerTest.groovy
    • -0
    • +3
    ./transport/http/HttpClientHelperTest.groovy
  1. … 16 more files in changeset.
Removed duplicate PasswordCredentials

    • -1
    • +1
    ./transport/http/HttpClientHelperTest.groovy
  1. … 11 more files in changeset.
Normalize authentication package names

+review REVIEW-5569

    • -1
    • +1
    ./transport/http/HttpClientConfigurerTest.groovy
  1. … 44 more files in changeset.
Resource transport credentials refactoring. - Authentication objects are now passed thru to ResourceConnectionFactory - Connectors now use credentials on Authentication objects for configuration - Removed some usages of duplicate PasswordCredentials class in resources project

+review REVIEW-5569

    • -7
    • +9
    ./transport/http/HttpClientConfigurerTest.groovy
  1. … 25 more files in changeset.
Fix broken tests. Re-enable windows auth schemes (kerberos, spnego) by default.

+review REVIEW-5569

    • -0
    • +1
    ./transport/http/HttpClientConfigurerTest.groovy
  1. … 2 more files in changeset.
Initial work for authentication types story. - Add support for configuring authentication schemes for repositories - Update Http transport factory to only enable configured authentication schemes

+review REVIEW-5569

    • -0
    • +1
    ./transport/http/HttpClientConfigurerTest.groovy
  1. … 31 more files in changeset.
Renames constant and mocks params to work with httpclient 4.2.2 & 4.3.2

    • -3
    • +5
    ./transport/http/AlwaysRedirectRedirectStrategyTest.groovy
[GRADLE-3312] Adds a httpclient redirect strategy to always redirect for all HTTP methods

+review

    • -0
    • +60
    ./transport/http/AlwaysRedirectRedirectStrategyTest.groovy
  1. … 4 more files in changeset.
Changed ExternalResourceAccessor to return an ExternalResourceReadResponse instead of ExternalResource.

    • -5
    • +5
    ./transport/http/HttpResourceListerTest.groovy
  1. … 16 more files in changeset.
Added ExternalResourceMetaData.contentType and use this to do content listing of HTTP resources instead of bolting directly on to the HTTP response.

    • -5
    • +6
    ./transport/http/HttpResourceListerTest.groovy
  1. … 11 more files in changeset.