Interface ServiceInstanceService
- All Known Implementing Classes:
ServiceInstanceEventService
public interface ServiceInstanceService
This interface is implemented by service brokers to process requests related to provisioning, updating, and
deprovisioning service instances.
- Author:
- [email protected], Scott Frederick, Roy Clarkson
-
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<CreateServiceInstanceResponse>Create (provision) a new service instance.reactor.core.publisher.Mono<DeleteServiceInstanceResponse>Delete (deprovision) a service instance.default reactor.core.publisher.Mono<GetLastServiceOperationResponse>Get the status of the last requested operation for a service instance.default reactor.core.publisher.Mono<GetServiceInstanceResponse>Get the details of a service instance.default reactor.core.publisher.Mono<UpdateServiceInstanceResponse>Update a service instance.
-
Method Details
-
createServiceInstance
reactor.core.publisher.Mono<CreateServiceInstanceResponse> createServiceInstance(CreateServiceInstanceRequest request) Create (provision) a new service instance.- Parameters:
request- containing the details of the request- Returns:
- a
CreateServiceInstanceResponseon successful processing of the request - Throws:
ServiceInstanceExistsException- if a service instance with the given ID is already known to the brokerServiceBrokerAsyncRequiredException- if the broker requires asynchronous processing of the requestServiceBrokerInvalidParametersException- if any parameters passed in the request are invalidServiceBrokerCreateOperationInProgressException- if a an operation is in progress for the service instance
-
getServiceInstance
default reactor.core.publisher.Mono<GetServiceInstanceResponse> getServiceInstance(GetServiceInstanceRequest request) Get the details of a service instance.- Parameters:
request- containing the details of the request- Returns:
- a
GetServiceInstanceResponseon successful processing of the request - Throws:
ServiceInstanceDoesNotExistException- if a service instance with the given ID is not known to the brokerServiceBrokerOperationInProgressException- if a service instance provisioning is still in progressServiceBrokerConcurrencyException- if a service instance is being updated and therefore cannot be fetched
-
getLastOperation
default reactor.core.publisher.Mono<GetLastServiceOperationResponse> getLastOperation(GetLastServiceOperationRequest request) Get the status of the last requested operation for a service instance.- Parameters:
request- containing the details of the request- Returns:
- a
GetLastServiceOperationResponseon successful processing of the request - Throws:
ServiceInstanceDoesNotExistException- if a service instance with the given ID is not known to the broker
-
deleteServiceInstance
reactor.core.publisher.Mono<DeleteServiceInstanceResponse> deleteServiceInstance(DeleteServiceInstanceRequest request) Delete (deprovision) a service instance.- Parameters:
request- containing the details of the request- Returns:
- a
DeleteServiceInstanceResponseon successful processing of the request - Throws:
ServiceInstanceDoesNotExistException- if a service instance with the given ID is not known to the brokerServiceBrokerAsyncRequiredException- if the broker requires asynchronous processing of the requestServiceBrokerDeleteOperationInProgressException- if an operation is in progress for the service instance
-
updateServiceInstance
default reactor.core.publisher.Mono<UpdateServiceInstanceResponse> updateServiceInstance(UpdateServiceInstanceRequest request) Update a service instance.- Parameters:
request- containing the details of the request- Returns:
- an
UpdateServiceInstanceResponseon successful processing of the request - Throws:
ServiceInstanceUpdateNotSupportedException- if particular change is not supported or if the request can not currently be fulfilled due to the state of the instanceServiceInstanceDoesNotExistException- if a service instance with the given ID is not known to the brokerServiceBrokerAsyncRequiredException- if the broker requires asynchronous processing of the requestServiceBrokerInvalidParametersException- if any parameters passed in the request are invalidServiceBrokerUpdateOperationInProgressException- if an operation is in progress for the service instance
-