Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Touch

Signed-off-by: Dennis Hoer <dennis.hoer@pearson.com>

Fix #4012 AWS Java SDK libraries are too old

Signed-off-by: Dennis Hoer <dennis.hoer@pearson.com>

  1. … 2 more files in changeset.
Fix typo on S3 AwsImAuthentication

  1. … 1 more file in changeset.
Renamed a class.

  1. … 26 more files in changeset.
Moved a class to remove package cycle.

  1. … 22 more files in changeset.
Introduce a ExecutionScopeServices between BuildSession and Build scopes

- This isn't wired into anything, so no services actually work yet.

  1. … 30 more files in changeset.
Address code review comments

+review REVIEW-6323

  1. … 2 more files in changeset.
Ensure ExternalResourceReadResponse are correctly closed

Digged inside the code to find all code path leading to the

instantiation of ExternalResourceReadResponse class and verify the

resource is properly closed.

+review REVIEW-6323

  1. … 5 more files in changeset.
Merge branch 'max-age' of https://github.com/DanielThomas/gradle into DanielThomas-max-age

  1. … 8 more files in changeset.
Merge pull request #690 from kiddouk:story/S3-repository-can-be-configured-to-authenticate-using-AWS-EC2-instance-metadata

S3 repository can authenticate using AWS EC2 instance metadata

* This is related to https://github.com/gradle/gradle/blob/c2dc9979706e6b3beca13f1de860834e9255fb1b/design-docs/finding-and-using-credentials.md#story-an-s3-repository-can-be-configured-to-authenticate-using-awss-ec2-instance-metadata

* Note that the AWS S3 Client implementation will now use the following

credentials (in this specific order)

- Environment (AWS_ACCESS_KEY, AWS_SECRET_ACCESS_KEY,

AWS_SESSION_TOKEN)

- Java System Properties - aws.accessKeyId and aws.secretKey

- Credential profiles file at the default

location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI

- Instance Profile Credentials - delivered through the Amazon EC2

metadata service

* The implementation assumes that only ONE authentication can be used

per s3-resource at a time

* This patch enforces that each Authentication now declares

`requiresCredentials` to be explicit

Integration tests:

Note that we cannot mock the instance meta data since it uses the ip

169.254.169.254 so we mock the system properties that the client

CredentialsProviderChain will look for.

    • -0
    • +25
    ./gradle/authentication/aws/package-info.java
  1. … 17 more files in changeset.
Polish release notes for S3 publishing

+review REVIEW-6072

  1. … 2 more files in changeset.
Allow resolving from S3 on Java 9 without java.xml.bind

We only need the java.xml.bind Jigsaw module for uploading,

resolving works fine without it.

+review REVIEW-6072

  1. … 2 more files in changeset.
Fix checkstyle issue

Add helpful error message when using S3Client on Java 9

  1. … 3 more files in changeset.
Revert "Temporarily reverting everything since 810f052813ea0835dc7e9d3eb87bca005815db64 for 3.0-milestone-1 release"

This reverts commit 506f8ce9d6dc1a81e8ff10575c512778ca2f382a.

  1. … 198 more files in changeset.
Temporarily reverting everything since 810f052813ea0835dc7e9d3eb87bca005815db64 for 3.0-milestone-1 release

  1. … 198 more files in changeset.
Upgrade the AWS SDK and fix a breaking change introduced by that upgrade.

- Fixes the issue described here: https://github.com/aws/aws-sdk-java/issues/727

+review

  1. … 2 more files in changeset.
Remove duplicate call and extract prefix from the common prefix

- Include the prefix in the common prefx of the stubbed response

+review REVIEW-5988

  1. … 2 more files in changeset.
Only list direct children form the S3 ExternalResourceLister

- Document the contract of ExternalResourceLister

- Fix the S#Stub server to return the correct file contents and common prefixes in a listing

- Simplify S3 resource name extraction

+review REVIEW-5988

  1. … 7 more files in changeset.
Upgrade the AWS SDK for Java to v 1.11.4

- Removes the [dependency on the json.org library](https://github.com/aws/aws-sdk-java/pull/417)

- Upgrade jackson to 2.6.6

  1. … 1 more file in changeset.
Include directories when using a S3Client to list objects in a prefix. #636 - Include Contributor in release notes - Minor changes to Code

GRADLE-3453

+review REVIEW-5988

  1. … 2 more files in changeset.
Include directories when using a S3Client to list objects in a prefix. (#636)

Ensure that directories are correctly included when listing the contents of an S3 prefix so that dynamic version dependencies will be able to discover the correct version to use.

- Directories are given as 'common prefixes' when listing the the items in an S3 prefix, so we need to process them into the list of things returned by the S3Client.

This fixes GRADLE-3453

  1. … 4 more files 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. … 24 more files in changeset.
Merged internal `ResourceException` into public `ResourceException`.

  1. … 37 more files in changeset.
Revert "Add s3 repository transport support for authenticating with EC2 instance metadata"

This reverts commit 3f138d2dbda259768d1d3ac91f18c192baacb5d1.

    • -25
    • +0
    ./gradle/authentication/aws/package-info.java
  1. … 9 more files in changeset.
Revert "Remove whitespace"

This reverts commit d396323b876f7c05fc6cd8e41339d6484141b968.

Remove whitespace

+review REVIEW-5737

Add s3 repository transport support for authenticating with EC2 instance metadata

+review

    • -0
    • +25
    ./gradle/authentication/aws/package-info.java
  1. … 9 more files in changeset.
Normalize authentication package names

+review REVIEW-5569

  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

  1. … 25 more files in changeset.