ushaheu opened a new issue, #108:
URL: https://github.com/apache/airavata-mft/issues/108

   **Is your feature request related to a problem? Please describe.**
   Path-style access is a way of specifying the location of a bucket or object 
in Amazon S3 using a URL-like syntax. This is in contrast to virtual-hosted 
style access, which uses the bucket name as a subdomain in the URL. For example:
   
       Virtual-hosted style: https://bucket-name.s3.amazonaws.com/object-key
       Path-style: https://s3.amazonaws.com/bucket-name/object-key
   
   In virtual-hosted style access, the bucket name must be a valid DNS name, 
which means it must not contain dots. This can be a problem if you need to 
access a bucket that has dots in its name. In addition, some regions may only 
support path-style access.
   
   **Describe the solution you'd like**
   1. Add enablePathStyleAccess property to S3StorageCreateRequest proto file
   2. Make the property enablePathStyleAccess default to false. A client that 
wants to use path style access will set the value to true
   3. In the S3Util.java class, add the method 
withPathStyleAccessEnabled(boolean) to the AmazonS3ClientBuilder object.
   
   **Additional context**
   Some buckets are not valid DNS names. Setting this flag will result in 
path-style access being used for all requests.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to