-
Notifications
You must be signed in to change notification settings - Fork 420
Description
What is the problem?
We were discussing the semantics of 200 during provisioning and binding and were unsure why create would be called a second time since the :instance_id MUST be a globally unique non-empty string and we are using orphan deletion to mitigate creation issues. I then found out why in a the 202 accepted definition.
This triggers the Platform to poll the Last Operation for Service Instances endpoint for operation status. Note that a re-sent PUT request MUST return a 202 Accepted, not a 200 OK, if the Service Instance is not yet fully provisioned.
From the way that this reads there appears to be two methods for checking if something is successfully provisioned or bound, either pool last_operation until success or call put until 200. Our provider implementation will support both for interoperability, but we are wondering which one we should prefer for our platform implementation.
Who does this affect?
platform authors
Do you have any proposed solutions?
The specification description should say whether last_operation or PUT until 200 is the preferred way to detect if something is fully provisioned.