[openstack-dev] "Changing" an API
David Kranz
david.kranz at qrclab.com
Thu Feb 7 01:16:01 UTC 2013
On 2/6/2013 8:03 PM, Mellquist, Peter wrote:
> Hi Gabriel,
>
> I 100% agree that changes which are totally backward compatible should be allowed rather than bifurcate the APIs with extensions which cause the clients and language bindings grief. Backward compatible changes with a minor version bump is the logical thing to do.
>
> The more general problem is lack of any real API guidelines across all APIs, including versioning as you point out. There exists a relatively small set of guidelines which would solve much of the API mess. My feeling is that all API related decisions are totally up to the PTLs who can do whatever they like. And they do. So we have some API patterns which are good, some bad, and some totally different. In the past there has been push back on creating common API guidelines so I guess I am not totally surprised of what we are seeing.
>
> Peter.
>
This is not entirely true. See
http://wiki.openstack.org/Governance/Approved/APIStability
and
http://wiki.openstack.org/APIChangeGuidelines
There are still gray areas and judgment calls to be made, but the intent
of these documents was to try to provide exactly the kinds of guidelines
you say are lacking. It is an expressed goal of Tempest to catch
user-detectable API changes so they can be dealt with appropriately.
-David
More information about the OpenStack-dev
mailing list