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

Incorrect assertion for binding requests and accepts_incomplete query param #4

Closed
jeremyrickard opened this issue Nov 29, 2017 · 0 comments

Comments

@jeremyrickard
Copy link

jeremyrickard commented Nov 29, 2017

OSB Spec has the following to say about the accepts_incomplete param:

Note: Asynchronous operations are currently supported only for provision, update, and deprovision.
For a broker to return an asynchronous response, the query parameter accepts_incomplete=true MUST be included the request. If the parameter is not included or is set to false, and the broker cannot fulfill the request synchronously (guaranteeing that the operation is complete on response), then the broker SHOULD reject the request with the status code 422 Unprocessable Entity and the following body:

As indicated above, binding operations currently should not handle the accept_incomplete param and should therefore not fail with the 422 Unprocessable Entity status.

This check should probably be removed to be in alignment with the specification (as it's not supported, should the asynch option even exist for defining bindings in the test configuration?).

@jeremyrickard jeremyrickard changed the title Incorrect assertion for binding requests and ac Incorrect assertion for binding requests and accepts_incomplete query param Nov 29, 2017
Haishi2016 added a commit that referenced this issue Dec 7, 2017
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

1 participant