mistral/mistral
Renat Akhmerov 1333f2a222 Fixing a bug in DB API method that acquires entity lock
* Before this change method acquire_lock() would override all changes
  made for an entity by a concurrent transaction when calling
  entity.update() although one line before it should have read this
  entity from DB and update only a timestamp to acquire the lock.
  The solution is just to append "FOR UPDATE" to an SQL statement
  when fetching an entity from DB. In this case we don't need to
  artificially update a timestamp at all.
* Unit test for MySQL or Postgres is currently impossible, all unit
  tests are run against sqlite
* Adding "PYTHONHASHSEED = 0" into "venv" environment in tox.ini to
  prevent sphinx from failing. It should be added to "venv" because
  docs building run with command "tox -evenv -- python setup.py build_sphinx".
* Fixed minor style issues

Change-Id: Ia749f397e18e927820ff7ae6bac7d28dc2aa2ba4
(cherry picked from commit 3e9aa8b310)
2016-03-31 04:09:58 +00:00
..
actions Merge "Use proper way to initialize nova client" 2016-02-25 02:08:26 +00:00
api Moved CORS middleware configuration into oslo-config-generator 2016-03-10 12:25:45 -08:00
cmd Ack message after processing (oslo.messaging) 2016-03-16 15:56:30 +00:00
db Fixing a bug in DB API method that acquires entity lock 2016-03-31 04:09:58 +00:00
engine Merge "Ack message after processing (oslo.messaging)" 2016-03-16 16:42:45 +00:00
hacking Drop use of 'oslo' namespace package 2015-07-14 06:25:24 +00:00
resources Fixing std.create_instance workflow 2015-09-23 11:30:43 +03:00
services Reduce spec parsing some more 2016-03-16 09:18:16 +01:00
tests Fix compatibility with WebOb 1.6.0 2016-03-16 13:22:05 +01:00
utils Implement basic Zaqar queue operations 2016-02-03 09:10:18 +01:00
workbook Reduce spec parsing in workflow lifecycle 2016-02-04 12:05:54 +01:00
workflow Fixing a bug in DB API method that acquires entity lock 2016-03-31 04:09:58 +00:00
__init__.py Remove eventlet monkey patch in mistral __init__ 2015-02-20 07:49:56 +00:00
config.py Ack message after processing (oslo.messaging) 2016-03-16 15:56:30 +00:00
context.py Delivering error message via header in pecan.abort 2015-10-08 08:43:16 +00:00
coordination.py Raise user-friendly exception in case of connection failed 2015-08-19 10:40:43 +08:00
exceptions.py Support action_execution deletion 2015-09-07 13:18:41 +00:00
expressions.py Replace copy.copy with copy.deepcopy 2015-10-07 19:55:31 +00:00
version.py Adjusting all license headers in python files so they look the same 2013-12-30 13:27:06 +07:00