Openbrokerapi

Latest version: v4.6.0

Safety actively analyzes 630052 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

4.0.1

Not secure
- Add gunicorn installation

4.0

- Extract routing mechanism into a `Router` class
- Clean `ServiceBroker` interface
- `gevent` is now optional and can be installed by `pip install openbrokerapi[gevent]`
- Added endpoint to get last binding operation
- Introduce `**kwargs` into some signatures to improve backwards compatibility in the future
- Fixed responses with status 412 don't contain body (https://github.com/pallets/werkzeug/issues/1231)
- `ServiceBroker` provides methods to fetch instance and binding
- Provision does not require `organization_guid` and `space_guid` parameters, if they are available in the context object

**Incompatibility**
- Changed parameter order in `UnbindDetails`, `DeprovisionDetails`
- Changed parameter name of `ServiceBroker.provision`
- Removed deprecated `ServicePlanMetaData` (use `ServicePlanMetadata`)
- Unbind now returns `UnbindSpec`
- `ServiceBroker.bind` and `ServiceBroker.unbind` now receive `async_allowed` flag

**Why breaking changes?**

To catch up with the newest features of the OpenServiceBroker API some breaking changes were neccessary.
While I was working on the new version I realised that there are a few things I really wanted to fix, which is at the end the reason, for some changes that may not be necessary but nice to have.

3.2

- Add shareable to ServiceMetaData
- 501 to unimplemented broker actions 41
- Fixed: AttributeError in broker without creds 43
- Add `ErrInvalidParameters` to respond with `400` for malformed or missing mandatory data 49
- Support for custom Metadata fields. 47

**v3.1.x**
- Fix typos
- Add checks for Content-Type
- Use `gevent` instead of `app.run`
- Originating-Identity available (thx to 10 redorff)
- Context dict available (thx to 10 redorff)
- Support multiple credentials (thx to 10 redorff)
- Service update can return dashboard_url
- Return 400 also when body not parsable
- Improve docs

2.0.0

Not secure
- Refactor API

1.0.0

Not secure
- permit to run a broker without authentication
- Support multiple services with one broker

0.5.0

Not secure
- error handling fixed for ServiceExceptions
- support 200-OK as provision and bind responses `[issue 1]`_

- instead of 'is_async' flag an enumeration is used

.. _[issue 1]: https://github.com/eruvanos/openbrokerapi/issues/1

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.