> + server.put("metadata", launchConfigurationRequest.getServerMetadata());
> + List<Map<String, String>> networks = Lists.newArrayList();
> + server.put("networks", networks);
> + for(String networkId : launchConfigurationRequest.getNetworks()) {
> + Map<String, String> network = Maps.newHashMap();
> + network.put("uuid", networkId);
> + networks.add(network);
> + }
> + server.put("personality",
> launchConfigurationRequest.getPersonalities());
> +
> + return jsonBinder.bindToRequest(request, launchConfigurationMap);
> + }
> +
> + @Override
> + public <R extends HttpRequest> R bindToRequest(R request, Object toBind) {
> + throw new IllegalStateException("CreateInstance is a POST operation");
Is this the correct message?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/39/files#r7234830