Addressed all outstanding review 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-224812187
> +import org.jclouds.b2.domain.UploadUrlResponse;
> +import org.jclouds.b2.reference.B2Headers;
> +import org.jclouds.rest.MapBinder;
> +
> +import com.google.common.base.Preconditions;
> +import com.google.common.net.HttpHeaders;
> +import com.google.common.net.PercentEscaper;
> +
> +public final
> +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)
> +
> +
> assertThat(b2Object.payload().getContentMetadata().getContentLength()).isEqualTo(PAYLOAD.length());
> +
> assertThat(b2Object.payload().getContentMetadata().getContentType()).isEqualTo(CONTENT_TYPE);
> +
> + assertThat(server.getRequestCount()).isEqualTo(2);
> +
> +
> + @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
>
> + @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
> + UploadUrlResponse getUploadUrl(@PayloadParam("bucketId") String bucketId);
> +
> + @Named("b2_upload_file")
> + @POST
> + @MapBinder(UploadFileBinder.class)
> + @Consumes(APPLICATION_JSON)
> + UploadFileResponse uploadFile(@PayloadParam("uploadUrl")
> UploadUrlResponse uploadUrl, @
> +expected = byteSource.openStream();
> +assertThat(actual).hasContentEqualTo(expected);
> + } finally {
> +Closeables2.closeQuietly(expected);
> +Closeables2.closeQuietly(actual);
> + }
> + } finally {
> + if (uploadFile
[
https://issues.apache.org/jira/browse/JCLOUDS-902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Gaul updated JCLOUDS-902:
Component/s: jclouds-labs-google
> GCS temporary signed URLs
> -
>
>
> + public boolean apply(final String name) {
> +runningNumber++;
> +
> +Deployment deployment =
> api.getDeploymentApi(resourceGroupName).create(name, deploymentTemplate);
> +
> +if (deployment != null) {
> + VMDeployment vmDeployment = ne
@nacx Removed all of the unneeded binders, i had to keep a few binders where
the Json/Objects are more complex, let me know if its looks ok now.
---
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/jclo
> @@ -105,6 +109,19 @@ private void createContainer() throws IOException {
>}
> }
>
> + private void updatePrivateURLKey() throws IOException {
> + // The key can be changed to quickly expire all existing signed URLs.
> + AccountApi accountApi = blobStore
> +.g
> @@ -105,6 +109,19 @@ private void createContainer() throws IOException {
>}
> }
>
> + private void updatePrivateURLKey() throws IOException {
> + // The key can be changed to quickly expire all existing signed URLs.
> + AccountApi accountApi = blobStore
> +.g
@ritazh generally this means that jclouds couldn't ssh to the VM for the
following reasons:
```
- timeout: slow provisioning
- wrong password
- port 22 closed
```
could you identify a test case that is likely to show the problem more often?
---
You are receiving this because you are subscribed to
@andreaturli @nacx Occasionally I'm getting the following error now. Any idea
or recommendations?
org.jclouds.rest.AuthorizationException:
(jclouds:pw[0cef1fb10f60529028a71f58e54ed07b]@[hostip]:22)
(jclouds:pw[0cef1fb10f60529028a71f58e54ed07b]@[hostip:22) error acquiring
{hostAndPort=[hostip:2
Added log delivery field for CDN Service creation
You can view, comment on, or merge this pull request online at:
https://github.com/jclouds/jclouds-labs-openstack/pull/205
-- Commit Summary --
* Added LogDelivery
-- File Changes --
M
openstack-poppy/src/main/java/org/jclouds/openstac
> @@ -105,6 +109,19 @@ private void createContainer() throws IOException {
>}
> }
>
> + private void updatePrivateURLKey() throws IOException {
> + // The key can be changed to quickly expire all existing signed URLs.
> + AccountApi accountApi = blobStore
> +.g
> @@ -207,7 +208,7 @@ private void getImagesFromPublisher(String publisherName,
> List osImages
>
> private List listImagesByLocation(String location) {
>final List osImages = Lists.newArrayList();
> - String[] publishers =
> this.azureComputeConstants.azureImagePublishers().sp
> +
> + @Override
> + public void destroyNode(final String id) {
> + logger.debug("Destroying %s ...", id);
> + String storageAccountName = id.replaceAll("[^A-Za-z0-9 ]", "") +
> "storage";
> + int index = id.lastIndexOf("-");
> + String group = id.substring(0, index);
> +
19 matches
Mail list logo