6 Commits

Author SHA1 Message Date
Tim Simmons
021946e386 Asynchronous Zone Import
* Creates /v2/zones/tasks/imports, which allows users to view imports as resources
* Creates new database table zone_tasks for asynchronous tasks related to zones, along
with the associated objects/adapters
* Imports are done by passing over the request body, creating an async record in the db,
and spawning a thread to do the import
* Adds a config option to enable zone import

Implements: async-import-export
APIImpact: Adds /zones/tasks/imports and removes import from admin api

Change-Id: Ib23810bf8b25d962b9d2d75e042bb097f3c12f7a
2015-06-22 14:45:39 +00:00
Paul Glass
b82b3c03d9 Zone ownership tests
* There are three tenants: default, alt, and admin
* Updated config to grab creds for each tenant type
* Reworked clients to make tenant selection simple within test cases
* Added zone ownership test cases
* A bit of other refactoring to put code in more sensible places

Change-Id: I5330b2b1f81ac896300f199b341775594ab14073
2015-04-22 16:28:11 +00:00
Paul Glass
c10c853d2b First Tempest tests for recordsets
* Added decorators for parameterized tests
* Added models/clients for recordsets
* Move v2 specific clients into DesignateV2Test base class
* Added data generation for A, AAAA, CNAME, and MX recordsets
* Added test cases that do CRUD on A, AAAA, CNAME, and MX recordsets

Change-Id: I7755167b707ca66f8f2a3362579e3e976b4aa315
2015-04-03 16:21:20 +00:00
Paul Glass
4620275cdb Remove zone wrapper object in Tempest tests
Change-Id: Ice135dd29b357827c1ceabf6cf8e83316c82a724
2015-04-03 15:28:15 +00:00
Paul Glass
4beca918e2 Add Tempest zone tests
Change-Id: Ia68692503e31cc0eb34f06b6cb304b9d7b027ed4
2015-03-13 21:11:47 +00:00
Paul Glass
dc2c1ae540 Add initial code for tempest tests
This is a bit of initial structure for some Tempest tests
intended to run in the devstack gates.

* Contains a single test case (list zones)
* Uses tempest_lib instead of tempest wherever possible
* Added a .testr.conf for use with testr
* Currently, needs keystone to get Designate's endpoint

Change-Id: I87a3f7c4fea55183eb2264a8b099344c6e3faa67
2015-03-05 22:32:07 +00:00