> +/**
> + * 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()

ok, so I assume profitbricks doesn't have a password like that :)

what you want to do in order to have tests use a well known property is add the 
property to your pom
    
<test.profitbricks.template>imageId=your_image_id,loginUser=root:apachejcrauds</test.profitbricks.template>

Make sure you propagate that in the surefire systemPropertyVariables

Syntax is here! 
https://github.com/jclouds/jclouds/blob/master/compute/src/test/java/org/jclouds/compute/domain/TemplateBuilderSpecTest.java#L541

cc @demobox @andreaturli  (just to share this info)

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/72/files#r19673538

Reply via email to