> + return null; > + } > + logger.trace(">> searching for image with id=%s", id); > + Image image = pbApi.imagesApi().getImage(id); > + logger.trace("<< found image [%s].", image.getImageName()); > + return image; > + } > + > + @Override > + public Iterable<Hardware> listHardwareProfiles() { > + logger.trace("listing of Hardware Profiles doesn't implemented yet. > Return empty iterable collection"); > + return ImmutableSet.of(new HardwareBuilder() > + .id("fake") > + .processor(new Processor(2, 0)) > + .ram(1024) > + .build()); // TODO tmp workaround. PB doesn't provide > predefined hardware profiles
Sure. You'll find both [here](https://github.com/jclouds/jclouds/blob/master/apis/cloudsigma/src/main/java/org/jclouds/cloudsigma/compute/CloudSigmaComputeServiceAdapter.java#L138-L162) and [here](https://github.com/jclouds/jclouds/blob/master/apis/elasticstack/src/main/java/org/jclouds/elasticstack/compute/ElasticStackComputeServiceAdapter.java#L143-L167). --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs/pull/72/files#r17286164