[openstack-dev] [all] [api] Reminder: WSME is not being actively maintained
Hongbin Lu
hongbin.lu at huawei.com
Fri Mar 11 15:40:36 UTC 2016
I think we'd better to have a clear guidance here.
For projects that are currently using WSME, should they have a plan to migrate to other tools? If yes, is there any suggestion for the replacement tools? I think it will be more clear to have an official guideline in this matter.
Best regards,
Hongbin
-----Original Message-----
From: Doug Hellmann [mailto:doug at doughellmann.com]
Sent: March-08-16 10:51 AM
To: openstack-dev
Subject: Re: [openstack-dev] [all] [api] Reminder: WSME is not being actively maintained
Excerpts from Chris Dent's message of 2016-03-08 11:25:48 +0000:
>
> Last summer Lucas Gomes and I were press ganged into becoming core on
> WSME. Since then we've piecemeal been verifying bug fixes and
> generally trying to keep things moving. However, from the beginning we
> both agreed that WSME is _not_ a web framework that we should be
> encouraging. Though it looks like it started with very good
> intentions, it never really reached a state where any of the following are true:
>
> * The WSME code is easy to understand and maintain.
> * WSME provides correct handling of HTTP (notably response status
> and headers).
> * WSME has an architecture that is suitable for creating modern
> Python-based web applications.
>
> Last summer we naively suggested that projects that are using it move
> to using something else. That suggestion did not take into account the
> realities of OpenStack.
>
> So we need to come up with a new plan. Lucas and I can continue to
> merge bug fixes as people provide them (and we become aware of them)
> and we can continue to hassle Doug Hellman to make a release when one
> is necessary but this does little to address the three gaps above nor
> the continued use of the framework in existing projects.
>
> Ideas?
One big reason for choosing WSME early on was that it had support for both XML and JSON APIs without the application code needing to do anything explicitly. In the time since projects started using WSME, the community has decided to stop providing XML API support and some other tools have been picked up (JSONSchema, Voluptuous,
etc.) that provide parsing and validation features similar to WSME.
It seems natural that we build new APIs using those tools instead of WSME. For existing functioning API endpoints, we can leave them alone (using WSME) or change them one at a time as they are extended with new features. I don't see any reason to rewrite anything just to change tools.
Doug
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
More information about the OpenStack-dev
mailing list