GitHub user ieb opened a pull request: https://github.com/apache/sling/pull/252
SLING-7140 Support redirects to URLs provided by the underlying datastore. This pull request contains API and pom changes which is why I am not committing it directly myself. It should be squashed into a Single commit. It depends on https://github.com/apache/jackrabbit-oak/pull/70 being merged and OAK 1.6.5 (or 6) being released. It will break a build if Oak 1.6.5-SNAPSHOT does not contain that pull request. It enables Sling to redirect requests for binaries held in Oak in a S3 DataStore to be served by an appropriately configured CloudFront instance. For more info and documentation see https://issues.apache.org/jira/browse/SLING-7140 and https://issues.apache.org/jira/browse/OAK-6575 You can merge this pull request into a Git repository by running: $ git pull https://github.com/ieb/sling OAK-6575-3-2 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/sling/pull/252.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #252 ---- commit 1127fb77567f1ca48dc243e4700ed0c0c9dc2808 Author: Ian Boston <i...@tfd.co.uk> Date: 2017-09-07T08:57:49Z Proposed implementation in Sling for OAK-6575 patch 3 commit a491430a8b30ec84ef66985f3af81a758eab6022 Author: Ian Boston <i...@tfd.co.uk> Date: 2017-09-13T23:26:49Z Using ExternalizableInputStream commit 66623c7398743aeb141c36f817a850e90d05edf4 Author: Ian Boston <i...@tfd.co.uk> Date: 2017-09-18T11:10:30Z Changed suggested by Carsten on the issue, also added Private URI to the interface commit c4d504ef0efc6c9d0bb85060b4b7e793880fe0d9 Author: Ian Boston <i...@tfd.co.uk> Date: 2017-09-18T12:52:03Z Fixed URIConverter commit e11ec2de49b9ba76d762b342439aeeb6f50617c1 Author: Ian Boston <i...@tfd.co.uk> Date: 2017-09-18T15:03:58Z Using HelperData instead of Adaptable commit 7e58c32daa0ce4e1d16ce57b7f5cfa32bd9d876d Author: Ian Boston <i...@tfd.co.uk> Date: 2017-09-18T15:11:11Z Fixed missing annotations commit e2ded1ccb771a73681d011554deda9a34df398f0 Author: Ian Boston <i...@tfd.co.uk> Date: 2017-09-26T09:34:51Z Fixed build issues commit 9395dcd3b7b8f01de82d608037890ec6aac0c51d Author: Ian Boston <i...@tfd.co.uk> Date: 2017-09-26T10:54:02Z Merge branch 'trunk' into OAK-6575-3-2 commit 7a35cc189031e492f85363b3b1c8b5c3f19ce544 Author: Ian Boston <i...@tfd.co.uk> Date: 2017-09-29T10:10:45Z OAK-6575 Fixed startup issues commit bdce6975a77645e7e88879407c3b2e77fe2c1265 Author: Ian Boston <i...@tfd.co.uk> Date: 2017-09-29T10:18:57Z Fixing imports, need to fix my IDE. ---- ---