Class DefaultBackingAppDeploymentService
java.lang.Object
org.springframework.cloud.appbroker.deployer.DefaultBackingAppDeploymentService
- All Implemented Interfaces:
BackingAppDeploymentService
public class DefaultBackingAppDeploymentService
extends Object
implements BackingAppDeploymentService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<String>deploy(List<BackingApplication> backingApps, String serviceInstanceId) Deploy the backing applications and associate with the service instancereactor.core.publisher.Flux<String>prepareForUpdate(List<BackingApplication> backingApps, String serviceInstanceId) Performs any steps necessary prior to backing application and backing service updatesreactor.core.publisher.Flux<String>undeploy(List<BackingApplication> backingApps) Undeploy the backing applicationsreactor.core.publisher.Flux<String>update(List<BackingApplication> backingApps, String serviceInstanceId) Update the backing applications and associate with the service instance
-
Constructor Details
-
DefaultBackingAppDeploymentService
-
-
Method Details
-
deploy
public reactor.core.publisher.Flux<String> deploy(List<BackingApplication> backingApps, String serviceInstanceId) Description copied from interface:BackingAppDeploymentServiceDeploy the backing applications and associate with the service instance- Specified by:
deployin interfaceBackingAppDeploymentService- Parameters:
backingApps- a collection of backing applicationsserviceInstanceId- the service instance ID- Returns:
- a set of strings, where each corresponds to an application e.g. the application name
-
prepareForUpdate
public reactor.core.publisher.Flux<String> prepareForUpdate(List<BackingApplication> backingApps, String serviceInstanceId) Description copied from interface:BackingAppDeploymentServicePerforms any steps necessary prior to backing application and backing service updates- Specified by:
prepareForUpdatein interfaceBackingAppDeploymentService- Parameters:
backingApps- a collection of backing applicationsserviceInstanceId- the service instance ID- Returns:
- a set of strings, where each corresponds to an application. e.g. the application name
-
update
public reactor.core.publisher.Flux<String> update(List<BackingApplication> backingApps, String serviceInstanceId) Description copied from interface:BackingAppDeploymentServiceUpdate the backing applications and associate with the service instance- Specified by:
updatein interfaceBackingAppDeploymentService- Parameters:
backingApps- a collection of backing applicationsserviceInstanceId- the service instance ID- Returns:
- a set of strings, where each corresponds to an application. e.g. the application name
-
undeploy
Description copied from interface:BackingAppDeploymentServiceUndeploy the backing applications- Specified by:
undeployin interfaceBackingAppDeploymentService- Parameters:
backingApps- a collection of backing applications- Returns:
- a set of strings, where each corresponds to an application. e.g. the application name
-