openservicebrokerapi / servicebroker

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

Proposal: Specify how plans can be formally deprecated #506

Closed krancour closed 6 years ago

krancour commented 6 years ago

The spec currently says this:

Service Broker authors are expected to be cautious when removing services and plans from their catalogs, as Platforms might have provisioned Service Instances of these plans. For example, Platforms might restrict the actions that users can perform on existing Service Instances if the associated service or plan is deleted. Consider your deprecation strategy.

I think, just as bindable can indicate whether an application may bind to instances of a given service/plan, we should, perhaps, add an optional field to service definitions (and overridable in that service's plan definitions, much as with binadable) that could allow a broker to indicate that it can deprovision those services/plans, but will not provision a new one for you.

n3wscott commented 6 years ago

Please see https://github.com/openservicebrokerapi/servicebroker/pull/504

krancour commented 6 years ago

Sorry @n3wscott. I overlooked that. Looks like you're a few steps ahead of me.