> +
> + public void testGetConsoleWhenResponseIs2xx() throws Exception {
> + String serverId = "123";
> + String type = "novnc";
> +
> + HttpRequest getConsole = HttpRequest
> + .builder()
> + .method("POST")
> + .addHeader("Accept", "application/json")
> + .addHeader("X-Auth-Token", authToken)
> + .payload(payloadFromStringWithContentType(
> + "{\"os-getVNCConsole\":{\"type\":\"novnc\"}}",
> + "application/json"))
> +
> .endpoint("https://az-1.region-a.geo-1.compute.hpcloudsvc.com/v1.1/3456/"
> + + "servers/" + serverId + "/action")
> + .build();
fixed
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/339/files#r11378279