return build(httpStrategy, config.platformlayerEndpoint, authenticator, projectId,
config.platformlayerTrustKeys);
}
public static HttpPlatformLayerClient buildUsingProperties(HttpStrategy httpStrategy, Properties properties) {
PlatformLayerConnectionConfiguration config = new PlatformLayerConnectionConfiguration();
config.tenant = properties.getProperty("platformlayer.tenant");
config.authenticationEndpoint = properties.getProperty("platformlayer.auth.url");
config.username = properties.getProperty("platformlayer.username");
config.secret = properties.getProperty("platformlayer.password");
config.platformlayerEndpoint = properties.getProperty("platformlayer.url");