Package org.jclouds.glacier.domain

Examples of org.jclouds.glacier.domain.PaginatedMultipartUploadCollection


      mr.addHeader(HttpHeaders.CONTENT_TYPE, MediaType.JSON_UTF_8);
      mr.setBody(getResponseBody("/json/listMultipartUploadsResponseBody.json"));
      mr.addHeader(HttpHeaders.CONTENT_LENGTH, mr.getBody().length);
      server.enqueue(mr);

      PaginatedMultipartUploadCollection mpus = client.listMultipartUploads(VAULT_NAME, PaginationOptions.Builder.limit(1).marker(MARKER));
      assertThat(mpus).extracting("archiveDescription").containsExactly("archive 2");
      assertThat(mpus).extracting("multipartUploadId").containsExactly("nPyGOnyFcx67qqX7E-0tSGiRi88hHMOwOxR-_jNyM6RjVMFfV29lFqZ3rNsSaWBugg6OP92pRtufeHdQH7ClIpSF6uJc");
      assertThat(mpus).extracting("partSizeInBytes").containsExactly(4194304L);
      assertThat(mpus).extracting("vaultARN").containsExactly(VAULT_ARN);
View Full Code Here

TOP

Related Classes of org.jclouds.glacier.domain.PaginatedMultipartUploadCollection

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.