[jira] [Commented] (JCLOUDS-1401) S3 SignatureDoesNotMatch when listing keys using prefix with ampersand

2018-07-09 Thread Jesse Glick (JIRA)
[ https://issues.apache.org/jira/browse/JCLOUDS-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16537962#comment-16537962 ] Jesse Glick commented on JCLOUDS-1401: -- I filed PR 1226 with a proposed fix. > S3

[jclouds/jclouds] [JCLOUDS-1401] Properly URL-encode the CanonicalQueryString when it contains funny characters (#1226)

2018-07-09 Thread Jesse Glick
[JCLOUDS-1401](https://jira.apache.org/jira/browse/JCLOUDS-1401) I managed to write integration tests for this in Jenkins (which fail without this patch and pass with it). I would have liked to add a test case for it to `AWSS3ClientLiveTest` (or `S3ClientLiveTest`? not sure I grasp the

Re: [jclouds/jclouds] Adds listall methods to NetworkInterfaceCardApi and PublicIPAddressApi (#1225)

2018-07-09 Thread Ignasi Barrera
nacx commented on this pull request. Thanks @danielestevez! > @@ -105,6 +105,12 @@ public void listNetworkInterfaceCards() { assertTrue(nicList.contains(api().get(nicName))); } + @Test(dependsOnMethods = "createNetworkInterfaceCard") + public void listAllNetworkInterfaceCards()

[jclouds/jclouds] Adds listall methods to NetworkInterfaceCardApi and PublicIPAddressApi (#1225)

2018-07-09 Thread Daniel Estévez
You can view, comment on, or merge this pull request online at: https://github.com/jclouds/jclouds/pull/1225 -- Commit Summary -- * Adds listAll to PublicIPAddressAPI * Adds listAll to NetworkInterfaceCardApi -- File Changes -- M

Re: [jclouds/jclouds] Implements VirtualMachineAPI deallocate operation (#1220)

2018-07-09 Thread Ignasi Barrera
Pushed to [master](http://git-wip-us.apache.org/repos/asf/jclouds/commit/1bd3b8f9) and [2.1.x](http://git-wip-us.apache.org/repos/asf/jclouds/commit/467501fd). Thanks @danielestevez! -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it

Re: [jclouds/jclouds] Implements VirtualMachineAPI deallocate operation (#1220)

2018-07-09 Thread Ignasi Barrera
Closed #1220. -- 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/1220#event-1723703416

Re: [jclouds/jclouds-labs] JCLOUDS-1432 - handle RESOURCE_NOT_FOUND, (#439)

2018-07-09 Thread Ignasi Barrera
FTR: https://github.com/jclouds/jclouds/pull/1224 should fix this build once merged. There is one checkstyle violation in this branch though: ``` [WARNING] src/test/java/org/jclouds/dimensiondata/cloudcontrol/features/ServerApiMockTest.java[31:8] (imports) UnusedImports: Unused import -

[jclouds/jclouds] Configure Java 7 language level (#1224)

2018-07-09 Thread Ignasi Barrera
There is already https://github.com/jclouds/jclouds/pull/1197, but while we complete the work to properly support Java 8 in every project (just jclouds-karaf pending) we should not block contributions from using Java 7 stuff. You can view, comment on, or merge this pull request online at:

Re: [jclouds/jclouds-labs] JCLOUDS-1432 - handle RESOURCE_NOT_FOUND, (#439)

2018-07-09 Thread Ignasi Barrera
It's because the default build config. No need to close the PR. I'll bump the source and target versions in the build config and it should be fine. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [jclouds/jclouds-labs] JCLOUDS-1432 - handle RESOURCE_NOT_FOUND, (#439)

2018-07-09 Thread FileIOUtility
build failed again after I committed the suggested change that needs at least Java 7 to work: "Undefined reference: void java.util.ConcurrentModificationException.(String, Throwable)"

Re: [jclouds/jclouds-labs] JCLOUDS-1432 - handle RESOURCE_NOT_FOUND, (#439)

2018-07-09 Thread FileIOUtility
Reopened #439. -- 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/439#event-1723645985

Re: [jclouds/jclouds-labs] JCLOUDS-1432 - handle RESOURCE_NOT_FOUND, (#439)

2018-07-09 Thread FileIOUtility
Closed #439. -- 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/439#event-1723645736

Re: [jclouds/jclouds] Implements VirtualMachineAPI deallocate operation (#1220)

2018-07-09 Thread Ignasi Barrera
nacx approved this pull request. -- 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/1220#pullrequestreview-135491806

Re: [jclouds/jclouds-labs] JCLOUDS-1425 1&1 Block Storage and SSH keys API (#437)

2018-07-09 Thread Ali Bazlamit
alibazlamit commented on this pull request. > + + @Named("sshkeys:create") + @POST + SshKey create(@BinderParam(BindToJsonPayload.class) SshKey.CreateSshKey sshKey); + + @Named("sshkeys:update") + @PUT + @Path("/{sshKeyId}") + SshKey update(@PathParam("sshKeyId") String sshKeyId,

Re: [jclouds/jclouds-labs] JCLOUDS-1425 1&1 Block Storage and SSH keys API (#437)

2018-07-09 Thread Ali Bazlamit
@alibazlamit pushed 1 commit. 6c882ef Applied review changes -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/jclouds/jclouds-labs/pull/437/files/9ae6fe1066dca923129f6e3dde6a82565a6ee71b..6c882ef5aee3012666bc86793ca022bb1c6e80c5

Re: [jclouds/jclouds-labs] JCLOUDS-1425 1&1 Block Storage and SSH keys API (#437)

2018-07-09 Thread Ali Bazlamit
alibazlamit commented on this pull request. > +import org.apache.jclouds.oneandone.rest.domain.Server; +import org.apache.jclouds.oneandone.rest.domain.BlockStorage; +import org.apache.jclouds.oneandone.rest.domain.options.GenericQueryOptions; +import

Re: [jclouds/jclouds-labs] JCLOUDS-1425 1&1 Block Storage and SSH keys API (#437)

2018-07-09 Thread Ali Bazlamit
alibazlamit commented on this pull request. > + @Path("/{blockStorageId}") + BlockStorage update(@PathParam("blockStorageId") String blockStorageId, @BinderParam(BindToJsonPayload.class) BlockStorage.UpdateBlockStorage blockStorage); + + @Named("blockstorages:delete") + @DELETE +

Re: [jclouds/jclouds-labs] JCLOUDS-1425 1&1 Block Storage and SSH keys API (#437)

2018-07-09 Thread Ali Bazlamit
alibazlamit commented on this pull request. > + @POST + BlockStorage create(@BinderParam(BindToJsonPayload.class) BlockStorage.CreateBlockStorage blockStorage); + + @Named("blockstorages:update") + @PUT + @Path("/{blockStorageId}") + BlockStorage update(@PathParam("blockStorageId")

Re: [jclouds/jclouds] Implements VirtualMachineAPI deallocate operation (#1220)

2018-07-09 Thread Daniel Estévez
Sorry i forgot about the mock test! Also noticed i changed the returning HTTP codes for start/restart/stop to the actual values returned by ARM API -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [jclouds/jclouds] Implements VirtualMachineAPI deallocate operation (#1220)

2018-07-09 Thread Daniel Estévez
@danielestevez pushed 1 commit. cb8881b Adds missing mock test -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/jclouds/jclouds/pull/1220/files/b76a2b6ecf997e4214fa7990b3d58d1f1b095043..cb8881bbac7f8fc448acd59772c00891814d7cea

Re: [jclouds/jclouds-labs] JCLOUDS-1432 - handle RESOURCE_NOT_FOUND, (#439)

2018-07-09 Thread FileIOUtility
@FileIOUtility pushed 2 commits. b13d0f8 JCLOUDS-1432 - review - use JDK7 and ConcurrentModificationException 6e076b3 JCLOUDS-1432 - review - fix test failure message -- You are receiving this because you are subscribed to this thread. View it on GitHub:

Re: [jclouds/jclouds-labs] JCLOUDS-1425 1&1 Block Storage and SSH keys API (#437)

2018-07-09 Thread Ali Bazlamit
alibazlamit commented on this pull request. > + +@Path("/block_storages") +@Produces("application/json") +@Consumes("application/json") +@RequestFilters(AuthenticateRequest.class) +public interface BlockStorageApi extends Closeable { + + @Named("blockstorages:list") + @GET +

Re: [jclouds/jclouds-labs] JCLOUDS-1425 1&1 Block Storage and SSH keys API (#437)

2018-07-09 Thread Andrea Turli
andreaturli commented on this pull request. > + +@Path("/block_storages") +@Produces("application/json") +@Consumes("application/json") +@RequestFilters(AuthenticateRequest.class) +public interface BlockStorageApi extends Closeable { + + @Named("blockstorages:list") + @GET +

Re: [jclouds/jclouds-labs] JCLOUDS-1425 1&1 Block Storage and SSH keys API (#437)

2018-07-09 Thread Ali Bazlamit
alibazlamit commented on this pull request. > +import javax.ws.rs.Produces; +import org.jclouds.rest.annotations.BinderParam; +import org.jclouds.rest.annotations.Fallback; +import org.jclouds.rest.annotations.MapBinder; +import org.jclouds.rest.annotations.RequestFilters; + +@Path("/ssh_keys")

Re: [jclouds/jclouds-labs] JCLOUDS-1425 1&1 Block Storage and SSH keys API (#437)

2018-07-09 Thread Ali Bazlamit
alibazlamit commented on this pull request. > + +@Path("/block_storages") +@Produces("application/json") +@Consumes("application/json") +@RequestFilters(AuthenticateRequest.class) +public interface BlockStorageApi extends Closeable { + + @Named("blockstorages:list") + @GET +

Re: [jclouds/jclouds-labs] JCLOUDS-1432 - handle RESOURCE_NOT_FOUND, (#439)

2018-07-09 Thread Ignasi Barrera
rebuild please -- 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/439#issuecomment-403472574

Re: [jclouds/jclouds-labs] JCLOUDS-1432 - handle RESOURCE_NOT_FOUND, (#439)

2018-07-09 Thread Ignasi Barrera
nacx commented on this pull request. > @@ -56,7 +57,7 @@ public void testDeployServerReturnsUnexpectedError() throws > InterruptedException serverApi().deployServer(ServerApiMockTest.class.getSimpleName(), "imageId", true, networkInfo, "administratorPassword");

Re: [jclouds/jclouds-labs] JCLOUDS-1432 - handle RESOURCE_NOT_FOUND, (#439)

2018-07-09 Thread FileIOUtility
FYI: build was aborted during "jclouds jdbc core" phase. -- 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/439#issuecomment-403468803

Re: [jclouds/jclouds-labs] JCLOUDS-1432 - handle RESOURCE_NOT_FOUND, (#439)

2018-07-09 Thread FileIOUtility
FileIOUtility commented on this pull request. > @@ -56,7 +57,7 @@ public void testDeployServerReturnsUnexpectedError() throws > InterruptedException serverApi().deployServer(ServerApiMockTest.class.getSimpleName(), "imageId", true, networkInfo,