Interface ServiceInstanceBindingService
- All Known Implementing Classes:
NonBindableServiceInstanceBindingService
,ServiceInstanceBindingEventService
public interface ServiceInstanceBindingService
This interface is implemented by service brokers to process requests to create and
delete service instance bindings.
- Author:
- S Greenberg, Scott Frederick, Roy Clarkson
-
Method Summary
Modifier and TypeMethodDescriptiondefault reactor.core.publisher.Mono<CreateServiceInstanceBindingResponse>
Create a new binding to a service instance.default reactor.core.publisher.Mono<DeleteServiceInstanceBindingResponse>
Delete a service instance binding.default reactor.core.publisher.Mono<GetLastServiceBindingOperationResponse>
Get the status of the last requested operation for a service instance.default reactor.core.publisher.Mono<GetServiceInstanceBindingResponse>
Get the details of a binding to a service instance.
-
Method Details
-
createServiceInstanceBinding
default reactor.core.publisher.Mono<CreateServiceInstanceBindingResponse> createServiceInstanceBinding(CreateServiceInstanceBindingRequest request) Create a new binding to a service instance. In the case of a request to create a new service instance binding with an existing binding id, the implementor should throw anServiceInstanceBindingExistsException
, which will return a HTTP 409. If the request includes identical parameters as an existing binding, then the implementor should setCreateServiceInstanceBindingResponse.isBindingExisted()
, which will result in an HTTP 200 with the populated response body.- Parameters:
request
- containing the details of the request- Returns:
- a
CreateServiceInstanceBindingResponse
on successful processing of the request - Throws:
ServiceInstanceBindingExistsException
- if a binding with the given ID is already known to the brokerServiceInstanceDoesNotExistException
- if a service instance with the given ID is not known to the brokerServiceBrokerBindingRequiresAppException
- if the broker only supports application binding but an app GUID is not provided in the requestServiceBrokerAsyncRequiredException
- if the broker requires asynchronous processing of the requestServiceBrokerCreateOperationInProgressException
- if an operation is in progress for the service binding- See Also:
-
getServiceInstanceBinding
default reactor.core.publisher.Mono<GetServiceInstanceBindingResponse> getServiceInstanceBinding(GetServiceInstanceBindingRequest request) Get the details of a binding to a service instance.- Parameters:
request
- containing the details of the request- Returns:
- a
GetServiceInstanceBindingResponse
on successful processing of the request - Throws:
ServiceInstanceDoesNotExistException
- if a service instance with the given ID is not known to the brokerServiceInstanceBindingDoesNotExistException
- if a binding with the given ID is not known to the brokerServiceBrokerOperationInProgressException
- if a an operation is in progress for the service binding
-
getLastOperation
default reactor.core.publisher.Mono<GetLastServiceBindingOperationResponse> getLastOperation(GetLastServiceBindingOperationRequest request) Get the status of the last requested operation for a service instance.- Parameters:
request
- containing the details of the request- Returns:
- a
GetLastServiceBindingOperationResponse
on successful processing of the request - Throws:
ServiceInstanceDoesNotExistException
- if a service instance with the given ID is not known to the brokerServiceInstanceBindingDoesNotExistException
- if a binding with the given ID is not known to the broker
-
deleteServiceInstanceBinding
default reactor.core.publisher.Mono<DeleteServiceInstanceBindingResponse> deleteServiceInstanceBinding(DeleteServiceInstanceBindingRequest request) Delete a service instance binding.- Parameters:
request
- containing the details of the request- Returns:
- a
DeleteServiceInstanceBindingResponse
on successful processing of the request - Throws:
ServiceInstanceDoesNotExistException
- if a service instance with the given ID is not known to the brokerServiceInstanceBindingDoesNotExistException
- if a binding with the given ID is not known to the brokerServiceBrokerDeleteOperationInProgressException
- if a an operation is in progress for the service bindingServiceBrokerAsyncRequiredException
- if the broker requires asynchronous processing of the request
-