Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preventing other operations during an ongoing async op #184

Closed
luksa opened this issue May 5, 2017 · 2 comments
Closed

Preventing other operations during an ongoing async op #184

luksa opened this issue May 5, 2017 · 2 comments

Comments

@luksa
Copy link
Contributor

luksa commented May 5, 2017

The spec says:

For example, if a broker is in the process of provisioning an instance asynchronously, the marketplace can not allow any update, bind, unbind, or deprovision requests to be made through the platform. A user who attempts to perform one of these actions while an operation is already in progress MUST receive an HTTP 400 response with the error message: Another operation for this service instance is in progress.

The second sentence is probably trying to say the broker must return 400? (The first sentence talks about the platform preventing users from doing this, so it's not clear whether the second sentence is talking about the platform returning 400 or the broker.)

Also, "a user MUST receive" is kinda weird in itself.

@mattmcneeney
Copy link
Contributor

I agree, and this kind of ties in with #193. I don't think we should be stating that platforms MUST do anything, only what they SHOULD do in different circumstances.

Brokers MUST return XXX in various situations is definitely a better way of stating this.

@mattmcneeney
Copy link
Contributor

I believe this has now been fixed in the spec (see PR). Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants