> +/** > + * Designates connection between {@link org.jclouds.compute.ComputeService} > API and > + * {@link org.jclouds.profitbricks.ProfitBricksApi} API. > + */ > +@Singleton > +public class PBComputeServiceAdapter implements > ComputeServiceAdapter<Server, Hardware, Image, DataCenter> { > + > + @Resource > + @Named(ComputeServiceConstants.COMPUTE_LOGGER) > + protected Logger logger = Logger.NULL; > + > + protected ProfitBricksApi pbApi; > + protected Function<Template, CreateServerRequest> templateToServer; > + > + private final Predicate<String> vdcWaitingPredicate; > + private final LoginCredentials defaultCredentials = > LoginCredentials.builder()
move this to a property, as I believe we have a form to express default credentials (look at other compute providers.. I think it is in jclouds.template?) --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs/pull/72/files#r19648451