[openstack-dev] [all] removing XML testing completely from Tempest
oomichi at mxs.nes.nec.co.jp
Tue Nov 25 01:14:51 UTC 2014
> -----Original Message-----
> From: Sean Dague [mailto:sean at dague.net]
> Sent: Monday, November 24, 2014 10:57 PM
> To: openstack-dev at lists.openstack.org
> Subject: [openstack-dev] [all] removing XML testing completely from Tempest
> Having XML payloads was never a universal part of OpenStack services.
> During the Icehouse release the TC declared that being an OpenStack
> service requires having a JSON REST API. Projects could do what they
> wanted beyond that. Lots of them deprecated and have been removing the
> XML cruft since then.
> Tempest is a tool to test the OpenStack API. OpenStack hasn't had an XML
> API for a long time.
> Given that current branchless Tempest only supports as far back as
> Icehouse anyway, after these changes were made, I'd like to propose that
> all the XML code in Tempest should be removed. If a project wants to
> support something else beyond a JSON API that's on that project to test
> and document on their own.
> We've definitively blocked adding new XML tests in Tempest anyway, but
> getting rid of the XML debt in the project will simplify it quite a bit,
> make it easier for contributors to join in, and seems consistent with
> the direction of OpenStack as a whole.
+1 for removing XML tests from Tempest.
Now Tempest contains XML tests for Nova, Keystone, Cinder, Neutron and
Ceilometer. On the other hand, it contains JSON tests for all projects.
XML supports of both Nova and Keystone have been marked as deprecated in
Icehouse. and the XML support of Neutron has been removed already.
So the remaining projects are Cinder and Ceilometer only for Tempest XML tests.
I don't think it is easy that clients switch JSON/XML for each project,
and I think it is a right direction to concentrate on JSON.
More information about the OpenStack-dev