openservicebrokerapi / servicebroker

Open Service Broker API Specification
https://openservicebrokerapi.org/
Apache License 2.0
1.19k stars 434 forks source link

Allow a broker to send a message on asynchronous operations before polling #315

Closed ncameronbritt closed 6 years ago

ncameronbritt commented 7 years ago

Such a message could help set user expectations immediately for how long an async operation may take. e.g. “Your service should be available in about 20 minutes.”

mattmcneeney commented 7 years ago

The GET /v2/service_instances/:instance_id/last_operation endpoint allows brokers to return a description field containing a user-facing message.

Since this endpoint has to be immediately available after an asynchronous provision is accepted, you could use this field to state this kind of information immediately? In CF, the last_operation endpoint is immediately polled after an async operation begins.

mattmcneeney commented 6 years ago

Closing due to inactivity. Please reopen again if this is still an issue.