archupsg03 commented on this pull request.
> + // configure the blobstore to use multipart uploading of the file
+ /*
+ * payLoad.getContentMetadata().setContentLength(bigFile.length());
+ * BasePayloadSlicer slicer = new BasePayloadSlicer();
+ */
+ while (partNumber < 3) {
+ String objName = objectName + "/dlo/" + String.valueOf(partNumber);
+ String data = "data".concat(String.valueOf(partNumber));
+ String etag = getApi().getDynamicLargeObjectApi(regionId,
defaultContainerName).uploadLargeFile(
+ defaultContainerName, objName, Payloads.newPayload(data),
ImmutableMap.of("myfoo", "Bar"),
+ ImmutableMap.of("myfoo", "Bar"));
+ Segment s = new Segment(objName, etag, data.length());
+ assertNotNull(etag);
+ list1.add(s);
+ partNumber++;
+ total_size = total_size + data.length();
Done
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1105#discussion_r118183888