@Configuration @ConditionalOnProperty(value="spring.cloud.appbroker.deployer.cloudfoundry.api-host") @EnableConfigurationProperties public class CloudFoundryAppDeployerAutoConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
CloudFoundryAppDeployerAutoConfiguration.TokenQualifier |
static interface |
CloudFoundryAppDeployerAutoConfiguration.UaaClientQualifier |
| Modifier and Type | Field and Description |
|---|---|
protected static String |
PROPERTY_PREFIX |
| Constructor and Description |
|---|
CloudFoundryAppDeployerAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cloud.appbroker.deployer.AppDeployer |
cloudFoundryAppDeployer(org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryDeploymentProperties deploymentProperties,
org.cloudfoundry.operations.CloudFoundryOperations cloudFoundryOperations,
org.cloudfoundry.client.CloudFoundryClient cloudFoundryClient,
org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryOperationsUtils operationsUtils,
org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryTargetProperties targetProperties,
ResourceLoader resourceLoader)
Provide a
AppDeployer bean |
org.springframework.cloud.appbroker.manager.AppManager |
cloudFoundryAppManager(org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryOperationsUtils cloudFoundryOperationsUtils)
Provide an
AppManager bean |
org.cloudfoundry.reactor.client.ReactorCloudFoundryClient |
cloudFoundryClient(org.cloudfoundry.reactor.ConnectionContext connectionContext,
org.cloudfoundry.reactor.TokenProvider tokenProvider)
Provide a
ReactorCloudFoundryClient bean |
org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryDeploymentProperties |
cloudFoundryDeploymentProperties()
Provide a
CloudFoundryDeploymentProperties bean |
org.springframework.cloud.appbroker.oauth2.OAuth2Client |
cloudFoundryOAuth2Client(org.cloudfoundry.uaa.UaaClient uaaClient)
Provide an
OAuth2Client bean |
org.cloudfoundry.operations.CloudFoundryOperations |
cloudFoundryOperations(org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryTargetProperties properties,
org.cloudfoundry.client.CloudFoundryClient client,
org.cloudfoundry.doppler.DopplerClient dopplerClient,
org.cloudfoundry.uaa.UaaClient uaaClient)
Provide a
CloudFoundryOperations bean |
org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryOperationsUtils |
cloudFoundryOperationsUtils(org.cloudfoundry.operations.CloudFoundryOperations operations)
Provide a
CloudFoundryOperationsUtils bean |
org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryTargetProperties |
cloudFoundryTargetProperties()
Provide a
CloudFoundryTargetProperties bean |
org.cloudfoundry.reactor.DefaultConnectionContext |
connectionContext(org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryTargetProperties properties)
Provide a
DefaultConnectionContext bean |
org.cloudfoundry.reactor.doppler.ReactorDopplerClient |
dopplerClient(org.cloudfoundry.reactor.ConnectionContext connectionContext,
org.cloudfoundry.reactor.TokenProvider tokenProvider)
Provide a
ReactorDopplerClient bean |
org.cloudfoundry.reactor.uaa.ReactorUaaClient |
uaaClient(org.cloudfoundry.reactor.ConnectionContext connectionContext,
org.cloudfoundry.reactor.TokenProvider tokenProvider)
Provide a
ReactorUaaClient bean |
org.cloudfoundry.reactor.TokenProvider |
uaaTokenProvider(org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryTargetProperties properties)
Provide a
TokenProvider bean |
protected static final String PROPERTY_PREFIX
public CloudFoundryAppDeployerAutoConfiguration()
@Bean @ConfigurationProperties(value="spring.cloud.appbroker.deployer.cloudfoundry.properties") public org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryDeploymentProperties cloudFoundryDeploymentProperties()
CloudFoundryDeploymentProperties bean@Bean @ConfigurationProperties(value="spring.cloud.appbroker.deployer.cloudfoundry") public org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryTargetProperties cloudFoundryTargetProperties()
CloudFoundryTargetProperties bean@Bean public org.springframework.cloud.appbroker.deployer.AppDeployer cloudFoundryAppDeployer(org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryDeploymentProperties deploymentProperties, org.cloudfoundry.operations.CloudFoundryOperations cloudFoundryOperations, org.cloudfoundry.client.CloudFoundryClient cloudFoundryClient, org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryOperationsUtils operationsUtils, org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryTargetProperties targetProperties, ResourceLoader resourceLoader)
AppDeployer beandeploymentProperties - the CloudFoundryDeploymentProperties beancloudFoundryOperations - the CloudFoundryOperations beancloudFoundryClient - the CloudFoundryClient beanoperationsUtils - the CloudFoundryOperationsUtils beantargetProperties - the CloudFoundryTargetProperties beanresourceLoader - the ResourceLoader bean@Bean public org.springframework.cloud.appbroker.manager.AppManager cloudFoundryAppManager(org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryOperationsUtils cloudFoundryOperationsUtils)
AppManager beancloudFoundryOperationsUtils - the CloudFoundryOperationsUtils bean@Bean public org.springframework.cloud.appbroker.oauth2.OAuth2Client cloudFoundryOAuth2Client(org.cloudfoundry.uaa.UaaClient uaaClient)
OAuth2Client beanuaaClient - the UaaClient bean@Bean public org.cloudfoundry.reactor.client.ReactorCloudFoundryClient cloudFoundryClient(org.cloudfoundry.reactor.ConnectionContext connectionContext, org.cloudfoundry.reactor.TokenProvider tokenProvider)
ReactorCloudFoundryClient beanconnectionContext - the ConnectionContext beantokenProvider - the TokenProvider bean@Bean public org.cloudfoundry.operations.CloudFoundryOperations cloudFoundryOperations(org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryTargetProperties properties, org.cloudfoundry.client.CloudFoundryClient client, org.cloudfoundry.doppler.DopplerClient dopplerClient, org.cloudfoundry.uaa.UaaClient uaaClient)
CloudFoundryOperations beanproperties - the CloudFoundryTargetProperties beanclient - the CloudFoundryClient beandopplerClient - the DopplerClient beanuaaClient - the UaaClient bean@Bean public org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryOperationsUtils cloudFoundryOperationsUtils(org.cloudfoundry.operations.CloudFoundryOperations operations)
CloudFoundryOperationsUtils beanoperations - the CloudFoundryOperations bean@Bean public org.cloudfoundry.reactor.DefaultConnectionContext connectionContext(org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryTargetProperties properties)
DefaultConnectionContext beanproperties - the CloudFoundryTargetProperties bean@Bean public org.cloudfoundry.reactor.doppler.ReactorDopplerClient dopplerClient(org.cloudfoundry.reactor.ConnectionContext connectionContext, org.cloudfoundry.reactor.TokenProvider tokenProvider)
ReactorDopplerClient beanconnectionContext - the ConnectionContext beantokenProvider - the TokenProvider bean@Bean public org.cloudfoundry.reactor.TokenProvider uaaTokenProvider(org.springframework.cloud.appbroker.deployer.cloudfoundry.CloudFoundryTargetProperties properties)
TokenProvider beanproperties - the CloudFoundryTargetProperties bean@Bean public org.cloudfoundry.reactor.uaa.ReactorUaaClient uaaClient(org.cloudfoundry.reactor.ConnectionContext connectionContext, org.cloudfoundry.reactor.TokenProvider tokenProvider)
ReactorUaaClient beanconnectionContext - the ConnectionContext beantokenProvider - the TokenProvider bean