You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "adoroszlai (via GitHub)" <gi...@apache.org> on 2024/10/13 16:20:46 UTC

Re: [PR] HDDS-10390. MiniOzoneCluster to support S3G [ozone]

adoroszlai commented on code in PR #7281:
URL: https://github.com/apache/ozone/pull/7281#discussion_r1798439205


##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/MiniOzoneClusterImpl.java:
##########
@@ -286,6 +312,54 @@ public OzoneClient newClient() throws IOException {
     return client;
   }
 
+  @Override
+  public AmazonS3 newS3Client() {
+    // TODO: Parameterize tests between Virtual host style and Path style
+    return createS3Client(true);
+  }
+
+  public AmazonS3 createS3Client(boolean enablePathStyle) {

Review Comment:
   In a follow-up task I think we should add a separate factory class for creating the client, and remove `AmazonS3` from `MiniOzoneCluster` interface.



-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org