Class WorkflowServiceInstanceService
java.lang.Object
org.springframework.cloud.appbroker.service.WorkflowServiceInstanceService
- All Implemented Interfaces:
org.springframework.cloud.servicebroker.service.ServiceInstanceService
public class WorkflowServiceInstanceService
extends Object
implements org.springframework.cloud.servicebroker.service.ServiceInstanceService
A
ServiceInstanceService that delegates to a set of discrete Workflow objects for each service broker
operation.-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowServiceInstanceService(ServiceInstanceStateRepository serviceInstanceStateRepository, List<CreateServiceInstanceWorkflow> createServiceInstanceWorkflows, List<DeleteServiceInstanceWorkflow> deleteServiceInstanceWorkflows, List<UpdateServiceInstanceWorkflow> updateServiceInstanceWorkflows) -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<org.springframework.cloud.servicebroker.model.instance.CreateServiceInstanceResponse>createServiceInstance(org.springframework.cloud.servicebroker.model.instance.CreateServiceInstanceRequest request) reactor.core.publisher.Mono<org.springframework.cloud.servicebroker.model.instance.DeleteServiceInstanceResponse>deleteServiceInstance(org.springframework.cloud.servicebroker.model.instance.DeleteServiceInstanceRequest request) reactor.core.publisher.Mono<org.springframework.cloud.servicebroker.model.instance.GetLastServiceOperationResponse>getLastOperation(org.springframework.cloud.servicebroker.model.instance.GetLastServiceOperationRequest request) reactor.core.publisher.Mono<org.springframework.cloud.servicebroker.model.instance.GetServiceInstanceResponse>getServiceInstance(org.springframework.cloud.servicebroker.model.instance.GetServiceInstanceRequest request) reactor.core.publisher.Mono<org.springframework.cloud.servicebroker.model.instance.UpdateServiceInstanceResponse>updateServiceInstance(org.springframework.cloud.servicebroker.model.instance.UpdateServiceInstanceRequest request)
-
Constructor Details
-
WorkflowServiceInstanceService
public WorkflowServiceInstanceService(ServiceInstanceStateRepository serviceInstanceStateRepository, List<CreateServiceInstanceWorkflow> createServiceInstanceWorkflows, List<DeleteServiceInstanceWorkflow> deleteServiceInstanceWorkflows, List<UpdateServiceInstanceWorkflow> updateServiceInstanceWorkflows)
-
-
Method Details
-
createServiceInstance
public reactor.core.publisher.Mono<org.springframework.cloud.servicebroker.model.instance.CreateServiceInstanceResponse> createServiceInstance(org.springframework.cloud.servicebroker.model.instance.CreateServiceInstanceRequest request) - Specified by:
createServiceInstancein interfaceorg.springframework.cloud.servicebroker.service.ServiceInstanceService
-
deleteServiceInstance
public reactor.core.publisher.Mono<org.springframework.cloud.servicebroker.model.instance.DeleteServiceInstanceResponse> deleteServiceInstance(org.springframework.cloud.servicebroker.model.instance.DeleteServiceInstanceRequest request) - Specified by:
deleteServiceInstancein interfaceorg.springframework.cloud.servicebroker.service.ServiceInstanceService
-
updateServiceInstance
public reactor.core.publisher.Mono<org.springframework.cloud.servicebroker.model.instance.UpdateServiceInstanceResponse> updateServiceInstance(org.springframework.cloud.servicebroker.model.instance.UpdateServiceInstanceRequest request) - Specified by:
updateServiceInstancein interfaceorg.springframework.cloud.servicebroker.service.ServiceInstanceService
-
getLastOperation
public reactor.core.publisher.Mono<org.springframework.cloud.servicebroker.model.instance.GetLastServiceOperationResponse> getLastOperation(org.springframework.cloud.servicebroker.model.instance.GetLastServiceOperationRequest request) - Specified by:
getLastOperationin interfaceorg.springframework.cloud.servicebroker.service.ServiceInstanceService
-
getServiceInstance
public reactor.core.publisher.Mono<org.springframework.cloud.servicebroker.model.instance.GetServiceInstanceResponse> getServiceInstance(org.springframework.cloud.servicebroker.model.instance.GetServiceInstanceRequest request) - Specified by:
getServiceInstancein interfaceorg.springframework.cloud.servicebroker.service.ServiceInstanceService
-