kubernetes-retired / go-open-service-broker-client

A golang client for service brokers implementing the Open Service Broker API
Apache License 2.0
62 stars 51 forks source link

Support the Retry-After header in PollLastOperation as per the OSB spec #159

Closed alexwo closed 4 years ago

alexwo commented 4 years ago

The response for PollLastOperation MAY also include the Retry-After HTTP header. This header will indicate how long the Platform SHOULD wait before polling again and is intended to prevent unnecessary, and premature, calls to the last_operation endpoint. It is RECOMMENDED that the header include a duration rather than a timestamp.

edwardecook commented 4 years ago

This was added in v2.15 of the spec, this library currently only supports the OSB spec up to v2.14. There will be a concerted effort to bring this library fully in line with v2.15, similiar to https://github.com/kubernetes-sigs/go-open-service-broker-client/issues/144.

edwardecook commented 4 years ago

Part of #161

jhvhs commented 4 years ago

@jberkhahn @mszostok Can we close this issue in favour of #161?

jberkhahn commented 4 years ago

Sure.