Skip to content

Releases: pivotal-cf/brokerapi

v4.3.0

08 May 16:00
Compare
Choose a tag to compare
  • Added new query parameter in Deprovision request
    • force (true/false) - should deprovision service instance and ignore errors
  • Refactored code to split structures and api endpoint handlers to separate packages to improve encapsulation. Structures moved to other packages are marked as deprecated and will be removed in future versions of the API.

v4.2.3

14 Mar 16:45
Compare
Choose a tag to compare
Merge branch 'kisamoto-62_add-service-plan-context'

[#164389015]

Co-authored-by: Derik Evangelista <[email protected]>

v4.2.2

05 Mar 11:23
b371e40
Compare
Choose a tag to compare
Merge pull request #57 from fitzoh/master

Add godoc to ServiceBroker interface. Also rearrange methods to match…

v4.2.1

03 Jan 16:15
Compare
Choose a tag to compare

Adds middleware that parses the X-Broker-API-Originating-Identity header and adds it as a value to the downstream context passed to the functions of the brokerapi.ServiceBroker interface. Thanks to @fitzoh.

This is added automatically as middleware if the brokerapi is constructed using brokerapi.New(). When using an existing gorilla.mux.Router via the brokerapi.AttachRoutes() function, you will have to attach this middleware manually if required.

Breaking Changes
This bumps the gorilla/mux dependency to v1.6.1+ to use the middleware functions.

v4.1.0

19 Dec 15:34
Compare
Choose a tag to compare

Add new struct fields and errors to enable app developers to perform maintenance on service instances, as described in: openservicebrokerapi/servicebroker#628

Specifically:

  • ProvisionDetails and UpdateDetails have an optional MaintenanceInfo field
  • ErrMaintenanceInfoConflict and ErrMaintenanceInfoNilConflict to be returned when the provided maintenance info does not match the current catalog

Also adds instances_retrievable/bindings_retrievable catalog fields added to the spec in 2.14. Thanks to @drnic.

v4.0.0

03 Dec 14:40
9ed104e
Compare
Choose a tag to compare

v3.0.2

21 Nov 09:45
Compare
Choose a tag to compare

3.0.1

26 Sep 10:49
Compare
Choose a tag to compare

Bug-fix: if accepts_incomplete is sent in a binding request with API Version < 2.14, this should be ignored rather than triggering an error.

3.0.0

20 Sep 15:44
Compare
Choose a tag to compare

Features:

  • The brokerapi now supports asynchronous bindings, as per v2.14 of the open-service-broker API specification. Thanks to @liorokman for an extensive PR.

Breaking Changes:

ServiceBroker interface:

  • New methods
GetBinding(ctx context.Context, instanceID, bindingID string) (GetBindingSpec, error)
LastBindingOperation(ctx context.Context, instanceID, bindingID string, details PollDetails) (LastOperation, error)
  • Modified method signatures:
Bind(ctx context.Context, instanceID, bindingID string, details BindDetails, asyncAllowed bool) (Binding, error)
Unbind(ctx context.Context, instanceID, bindingID string, details UnbindDetails, asyncAllowed bool) (UnbindSpec, error)
LastOperation(ctx context.Context, instanceID string, details PollDetails) (LastOperation, error)

Bind and Unbind now take asyncAllowed as new parameter. LastOperation takes PollDetails as its final parameter which is a new structure wrapping the operationData string used previously.

v2.0.0: Improve OSBAPI compliance (check missing props and API version header)

25 Apr 10:19
Compare
Choose a tag to compare