]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Enable object caching in cinder REST API requests
authorLuis A. Garcia <luis@linux.vnet.ibm.com>
Tue, 5 Nov 2013 19:37:27 +0000 (19:37 +0000)
committerLuis A. Garcia <luis@linux.vnet.ibm.com>
Wed, 13 Nov 2013 00:23:51 +0000 (00:23 +0000)
commit233430b51ddbd207f22eee98386ffbb766fd777f
tree73ff3f301ed69c6b0124c4c30d069e451fa12f3d
parent56e5805203a14acad78dc806247b5f0f4a22c9f8
Enable object caching in cinder REST API requests

Allow the core API to cache resources, such as DB results, so that
extensions can use data already retrieved within the same API request
eliminating additional expensive DB calls.

Loosely based on commit 9f9fbc54e7336da10fc3056bdaca2ec7d01c7f94 from
nova.

Change-Id: If9f49faf7305287c0489ad6209cf19b8bec612cc
Partial-Bug: #1197612
cinder/api/openstack/wsgi.py
cinder/tests/api/openstack/test_wsgi.py