[jira] [Resolved] (JCLOUDS-1042) S3BlobStore.putBlob() makes a call to get ACL which maybe blocked by S3 policy, resulting in failure of the operation.

2016-06-03 Thread Andrew Gaul (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Gaul resolved JCLOUDS-1042. -- Resolution: Fixed > S3BlobStore.putBlob() makes a call to get ACL which maybe blocked by S3 >

[jira] [Commented] (JCLOUDS-912) GCS uploads with InputStream payloads are not working

2016-06-03 Thread ASF subversion and git services (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15314667#comment-15314667 ] ASF subversion and git services commented on JCLOUDS-912: - Commit

[jira] [Comment Edited] (JCLOUDS-114) Support OpenStack Keystone v3 API

2016-06-03 Thread Yufen Kuo (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15314613#comment-15314613 ] Yufen Kuo edited comment on JCLOUDS-114 at 6/3/16 7:04 PM: --- Wit

[jira] [Commented] (JCLOUDS-114) Support OpenStack Keystone v3 API

2016-06-03 Thread Yufen Kuo (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15314613#comment-15314613 ] Yufen Kuo commented on JCLOUDS-114: --- With OpenStack Mitaka relase keystone deprecated a

[jira] [Created] (JCLOUDS-1122) Add support for subnetwork definition in google compute

2016-06-03 Thread Erin Collins (JIRA)
Erin Collins created JCLOUDS-1122: - Summary: Add support for subnetwork definition in google compute Key: JCLOUDS-1122 URL: https://issues.apache.org/jira/browse/JCLOUDS-1122 Project: jclouds

[jira] [Created] (JCLOUDS-1121) Unable to specify non-default zone when creating GCE template

2016-06-03 Thread Erin Collins (JIRA)
Erin Collins created JCLOUDS-1121: - Summary: Unable to specify non-default zone when creating GCE template Key: JCLOUDS-1121 URL: https://issues.apache.org/jira/browse/JCLOUDS-1121 Project: jclouds

Re: [jclouds/jclouds-labs] ProfitBricks Compute API (#268)

2016-06-03 Thread Ignasi Barrera
There are other providers that face this issue, and they encode the region in the node ID. You can have a look at how the [OpenStack Nova](https://github.com/jclouds/jclouds/blob/master/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/compute/NovaComputeServiceAdapter.java#L221-L

Re: [jclouds/jclouds-labs] JCLOUDS-1005: Backblaze B2 object operations (#276)

2016-06-03 Thread Ignasi Barrera
This looks great @andrewgaul! Just a few minor comments :) --- 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-labs/pull/276#issuecomment-223554189

Re: [jclouds/jclouds-labs] JCLOUDS-1005: Backblaze B2 object operations (#276)

2016-06-03 Thread Ignasi Barrera
> + > assertThat(b2Object.payload().getContentMetadata().getContentLength()).isEqualTo(PAYLOAD.length()); > + > assertThat(b2Object.payload().getContentMetadata().getContentType()).isEqualTo(CONTENT_TYPE); > + > + assertThat(server.getRequestCount()).isEqualTo(2); > + > +

Re: [jclouds/jclouds-labs] JCLOUDS-1005: Backblaze B2 object operations (#276)

2016-06-03 Thread Ignasi Barrera
> +import org.jclouds.rest.annotations.MapBinder; > +import org.jclouds.rest.annotations.PayloadParam; > +import org.jclouds.rest.annotations.RequestFilters; > +import org.jclouds.rest.annotations.ResponseParser; > +import org.jclouds.rest.binders.BindToJsonPayload; > + > +@BlobScope(CONTAINER) > +

Re: [jclouds/jclouds-labs] JCLOUDS-1005: Backblaze B2 object operations (#276)

2016-06-03 Thread Ignasi Barrera
> + @GET > + @Path("/b2api/v1/b2_list_file_names") > + @MapBinder(BindToJsonPayload.class) > + @RequestFilters(RequestAuthorization.class) > + @Consumes(APPLICATION_JSON) > + @Produces(APPLICATION_JSON) > + B2ObjectList listFileNames(@PayloadParam("bucketId") String bucketId, > @Payl

Re: [jclouds/jclouds-labs] JCLOUDS-1005: Backblaze B2 object operations (#276)

2016-06-03 Thread Ignasi Barrera
> + @POST > + @Path("/b2api/v1/b2_delete_file_version") > + @MapBinder(BindToJsonPayload.class) > + @RequestFilters(RequestAuthorization.class) > + @Consumes(APPLICATION_JSON) > + @Produces(APPLICATION_JSON) > + DeleteFileResponse deleteFileVersion(@PayloadParam("fileName") String >

Re: [jclouds/jclouds-labs] JCLOUDS-1005: Backblaze B2 object operations (#276)

2016-06-03 Thread Ignasi Barrera
> + UploadUrlResponse getUploadUrl(@PayloadParam("bucketId") String bucketId); > + > + @Named("b2_upload_file") > + @POST > + @MapBinder(UploadFileBinder.class) > + @Consumes(APPLICATION_JSON) > + UploadFileResponse uploadFile(@PayloadParam("uploadUrl") > UploadUrlResponse uploadUrl, @

Re: [jclouds/jclouds-labs] JCLOUDS-1005: Backblaze B2 object operations (#276)

2016-06-03 Thread Ignasi Barrera
> +expected = byteSource.openStream(); > +assertThat(actual).hasContentEqualTo(expected); > + } finally { > +Closeables2.closeQuietly(expected); > +Closeables2.closeQuietly(actual); > + } > + } finally { > + if (uploadFile

Re: [jclouds/jclouds-labs] JCLOUDS-1005: Backblaze B2 object operations (#276)

2016-06-03 Thread Ignasi Barrera
> +import com.google.auto.value.AutoValue; > + > +@AutoValue > +public abstract class UploadFileResponse { > + public abstract String fileId(); > + public abstract String fileName(); > + public abstract String accountId(); > + public abstract String bucketId(); > + public abstract long co

Re: [jclouds/jclouds-labs] JCLOUDS-1005: Backblaze B2 object operations (#276)

2016-06-03 Thread Ignasi Barrera
> + > + public static B2Object create(String fileName, String contentSha1, > Map fileInfo, @Nullable Payload payload) { > + return createResponse(null, fileName, contentSha1, fileInfo, payload, > null); > + } > + > + /** Create a response to a request. Most external callers should cal

Re: [jclouds/jclouds-labs-google] Implementation of password setting for windows (#170)

2016-06-03 Thread Вальо
@andreaturli ? --- 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-labs-google/pull/170#issuecomment-223508179