deb-glance/glance/tests/functional
GeetikaBatra 38563b0555 Add a soft delete functionality for tasks.
Currently there is no mechanism for deleting tasks on regular basis.
This patch adds a new function that is called in the tasks_get_all
function, so that everytime tasks lists are called, the function
checks if tasks in the database have surpassed the expired_at value.
If that is the case, then it sets the deleted value as 1 for all the
expired tasks.

Co-Authored-By: Mike Fedosin <mfedosin@mirantis.com>

Implements https://review.openstack.org/#/c/324648/
Change-Id: I0bde982de948901f6bfbfab9e57cf84891c22052
2016-06-07 11:23:30 +05:30
..
db Add a soft delete functionality for tasks. 2016-06-07 11:23:30 +05:30
glare Excluded the 'visibility' from protected artifact fields 2016-05-25 17:12:00 +00:00
v1 Fix doc-strings warnings and errors 2016-04-01 18:24:30 +00:00
v2 Functional test comparing wrong items 2016-04-22 16:35:41 +00:00
__init__.py Remove verbose option from glance tests 2016-05-26 15:00:11 +00:00
store_utils.py Use six.moves to fix imports on Python 3 2015-05-27 02:57:34 +02:00
test_api.py Move Glance Artifact Repository API to separate endpoint 2016-02-10 18:34:55 +03:00
test_bin_glance_cache_manage.py Remove verbose option from glance tests 2016-05-26 15:00:11 +00:00
test_cache_middleware.py Remove verbose option from glance tests 2016-05-26 15:00:11 +00:00
test_client_exceptions.py Python 3: fix a few simple "str vs bytes" issues. 2016-02-23 16:40:56 +01:00
test_client_redirects.py Remove vim header 2014-01-14 16:03:28 +00:00
test_cors_middleware.py Added CORS support to Glance 2015-12-04 08:41:20 -08:00
test_glance_manage.py Rationalize test asserts 2015-07-09 13:48:49 +00:00
test_gzip_middleware.py Fix assertEqual arguments order 2014-09-19 00:25:18 +08:00
test_healthcheck_middleware.py Healthcheck Middleware 2015-07-07 11:55:21 +02:00
test_logging.py Remove verbose option from glance tests 2016-05-26 15:00:11 +00:00
test_reload.py Zero downtime config reload (log handling) 2015-03-27 17:07:46 +00:00
test_scrubber.py Scrubber to communicate with trustedauth registry 2015-09-09 23:14:15 -05:00
test_sqlite.py Rationalize test asserts 2015-07-09 13:48:49 +00:00
test_ssl.py Don't return 300 when requesting /versions 2015-09-02 15:03:41 +02:00
test_wsgi.py Rationalize test asserts 2015-07-09 13:48:49 +00:00