openservicebrokerapi / servicebroker

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

Updating a service instance is incompatible with other parts of the spec #490

Closed luksa closed 5 years ago

luksa commented 6 years ago

Updating a Service Instance allows users to change the plan on an existing Service Instance. This becomes problematic when the Service Instance is already bound (which is pretty much always the case at the moment of the update):

Yes, the broker can simply say that the plan isn't updatable when different plans have different parameter/response schemas, but I think having different sets of credentials for different plans and still allowing users to migrate between those plans is going to be an actual requirement.

If we're allowing updates to the service instance without requiring an unbind first, we're effectively saying that binding a service instance means binding a ServiceClass, instead of binding a ServiceClass/ServicePlan pair. But then, why does a bind operation need to include the plan_id?

duglin commented 6 years ago

I think https://github.com/openservicebrokerapi/servicebroker/issues/340 is related

mattmcneeney commented 5 years ago

Closing this in lieu of #340