> @@ -102,7 +104,35 @@ public void testCreate() throws InterruptedException {
>
> assertEquals(server.getRequestCount(), 1);
> assertSent(server, "POST", "/rest/datacenters/datacenter-id/volumes",
> - "{\"properties\": {\"name\": \"jclouds-volume\", \"size\": 3,
> \"licenceType\": \"LINUX\"}}"
> + "{\"properties\": {\"name\": \"jclouds-volume\", \"size\": 3,
> \"licenceType\": \"LINUX\", \"type\":\"HDD\"}}"
> + );
> + }
> +
> + @Test
> + public void testCreateWithSsh() throws InterruptedException {
> + server.enqueue(
> + new MockResponse().setBody(stringFromResource("/volume/get.json"))
> + );
> +
> + List<String> sshKeys = new ArrayList<String>();
> + sshKeys.add("hQGOEJeFL91EG3+l9TtRbWNjzhDVHeLuL3NWee6bekA=");
As far as I've been given information, the key should fit into a string inside
the list/set. So yes, I think that the real value should be here. This one
seems to be a 256 bit key
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/245/files#r55354941