> +
> client.getVirtualMachineApi().getDeploymentBySlot(serviceName,
> deploymentSlot);
> + if (deploymentResponse != null) {
> +
> virtualMachines.add(deploymentResponseToVirtualMachine.apply(deploymentResponse));
> + }
> + } catch (Exception ex) {
> + ex.printStackTrace();
> + }
> + }
> +
> + @Override
> + public Iterable<VirtualMachine> listNodesByIds(final Iterable<String>
> ids) {
> + Set<Long> idsAsLongs = FluentIterable.from(ids)
> + .transform(toLong())
> + .toSet();
> + logger.info("listNodesByIds()");
> + throw new UnsupportedOperationException("Should not be here");
This must be implemented. If there is not an API call to get N nodes by id,
then just call the existing `listNodes()` method and filter afterwards.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/132/files#r24749283