Class DefaultBackingAppDeploymentService
java.lang.Object
org.springframework.cloud.appbroker.deployer.DefaultBackingAppDeploymentService
- All Implemented Interfaces:
BackingAppDeploymentService
public class DefaultBackingAppDeploymentService
extends Object
implements BackingAppDeploymentService
-
Constructor Summary
-
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:BackingAppDeploymentService
Deploy the backing applications and associate with the service instance- Specified by:
deploy
in 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:BackingAppDeploymentService
Performs any steps necessary prior to backing application and backing service updates- Specified by:
prepareForUpdate
in 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:BackingAppDeploymentService
Update the backing applications and associate with the service instance- Specified by:
update
in 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:BackingAppDeploymentService
Undeploy the backing applications- Specified by:
undeploy
in interfaceBackingAppDeploymentService
- Parameters:
backingApps
- a collection of backing applications- Returns:
- a set of strings, where each corresponds to an application. e.g. the application name
-