Class DefaultBackingAppDeploymentService

java.lang.Object
org.springframework.cloud.appbroker.deployer.DefaultBackingAppDeploymentService
All Implemented Interfaces:
BackingAppDeploymentService

public class DefaultBackingAppDeploymentService extends Object implements BackingAppDeploymentService
  • Constructor Details

    • DefaultBackingAppDeploymentService

      public DefaultBackingAppDeploymentService(DeployerClient deployerClient)
  • 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 interface BackingAppDeploymentService
      Parameters:
      backingApps - a collection of backing applications
      serviceInstanceId - 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 interface BackingAppDeploymentService
      Parameters:
      backingApps - a collection of backing applications
      serviceInstanceId - 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 interface BackingAppDeploymentService
      Parameters:
      backingApps - a collection of backing applications
      serviceInstanceId - the service instance ID
      Returns:
      a set of strings, where each corresponds to an application. e.g. the application name
    • undeploy

      public reactor.core.publisher.Flux<String> undeploy(List<BackingApplication> backingApps)
      Description copied from interface: BackingAppDeploymentService
      Undeploy the backing applications
      Specified by:
      undeploy in interface BackingAppDeploymentService
      Parameters:
      backingApps - a collection of backing applications
      Returns:
      a set of strings, where each corresponds to an application. e.g. the application name