public class ServiceInstanceEventService extends Object implements ServiceInstanceService
ServiceInstanceService
that attaches event hooks to
requests related to provisioning, updating, and deprovisioning service instances.Constructor and Description |
---|
ServiceInstanceEventService(ServiceInstanceService serviceInstanceService,
EventFlowRegistries eventFlowRegistries)
Constructs a new
ServiceInstanceEventService |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<CreateServiceInstanceResponse> |
createServiceInstance(CreateServiceInstanceRequest request)
Create (provision) a new service instance.
|
reactor.core.publisher.Mono<DeleteServiceInstanceResponse> |
deleteServiceInstance(DeleteServiceInstanceRequest request)
Delete (deprovision) a service instance.
|
reactor.core.publisher.Mono<GetLastServiceOperationResponse> |
getLastOperation(GetLastServiceOperationRequest request)
Get the status of the last requested operation for a service instance.
|
reactor.core.publisher.Mono<GetServiceInstanceResponse> |
getServiceInstance(GetServiceInstanceRequest request)
Get the details of a service instance.
|
reactor.core.publisher.Mono<UpdateServiceInstanceResponse> |
updateServiceInstance(UpdateServiceInstanceRequest request)
Update a service instance.
|
public ServiceInstanceEventService(ServiceInstanceService serviceInstanceService, EventFlowRegistries eventFlowRegistries)
ServiceInstanceEventService
serviceInstanceService
- the service instance serviceeventFlowRegistries
- the event flow registriespublic reactor.core.publisher.Mono<CreateServiceInstanceResponse> createServiceInstance(CreateServiceInstanceRequest request)
ServiceInstanceService
createServiceInstance
in interface ServiceInstanceService
request
- containing the details of the requestCreateServiceInstanceResponse
on successful processing of the requestpublic reactor.core.publisher.Mono<GetServiceInstanceResponse> getServiceInstance(GetServiceInstanceRequest request)
ServiceInstanceService
getServiceInstance
in interface ServiceInstanceService
request
- containing the details of the requestGetServiceInstanceResponse
on successful processing of the requestpublic reactor.core.publisher.Mono<GetLastServiceOperationResponse> getLastOperation(GetLastServiceOperationRequest request)
ServiceInstanceService
getLastOperation
in interface ServiceInstanceService
request
- containing the details of the requestGetLastServiceOperationResponse
on successful processing of the requestpublic reactor.core.publisher.Mono<DeleteServiceInstanceResponse> deleteServiceInstance(DeleteServiceInstanceRequest request)
ServiceInstanceService
deleteServiceInstance
in interface ServiceInstanceService
request
- containing the details of the requestDeleteServiceInstanceResponse
on successful processing of the requestpublic reactor.core.publisher.Mono<UpdateServiceInstanceResponse> updateServiceInstance(UpdateServiceInstanceRequest request)
ServiceInstanceService
updateServiceInstance
in interface ServiceInstanceService
request
- containing the details of the requestUpdateServiceInstanceResponse
on successful processing of the request