Search in sources :

Example 1 with ProxyConfiguration

use of org.cloudfoundry.reactor.ProxyConfiguration in project promregator by promregator.

the class ReactiveCFAccessorImpl method constructCloudFoundryClient.

@PostConstruct
private void constructCloudFoundryClient() throws ConfigurationException {
    ProxyConfiguration proxyConfiguration = this.proxyConfiguration();
    DefaultConnectionContext connectionContext = this.connectionContext(proxyConfiguration);
    PasswordGrantTokenProvider tokenProvider = this.tokenProvider();
    this.cloudFoundryClient = this.cloudFoundryClient(connectionContext, tokenProvider);
}
Also used : ProxyConfiguration(org.cloudfoundry.reactor.ProxyConfiguration) DefaultConnectionContext(org.cloudfoundry.reactor.DefaultConnectionContext) PasswordGrantTokenProvider(org.cloudfoundry.reactor.tokenprovider.PasswordGrantTokenProvider) PostConstruct(javax.annotation.PostConstruct)

Aggregations

PostConstruct (javax.annotation.PostConstruct)1 DefaultConnectionContext (org.cloudfoundry.reactor.DefaultConnectionContext)1 ProxyConfiguration (org.cloudfoundry.reactor.ProxyConfiguration)1 PasswordGrantTokenProvider (org.cloudfoundry.reactor.tokenprovider.PasswordGrantTokenProvider)1