deb-murano/murano/tests/unit
Alexander Tivelkov c4c8be61e0 Concurrent Execution Control
Added a meta-attrbute class `io.murano.metadata.Synchronize` which may
be attached to any Murano methods to control which objects should
Murano Executor use as synchronization primitives for concurrent
exeutions of the marked methods.
No two methods cannot be called concurrently if their use the same
synhronization objects.
By default (if no attribute is present) the old behavior is preserved:
method calls are synchronized on the objects they are called for.

The attribute has two properties:

* `onThis` (defaults to true) indicates that the method calls should
  be synchronized on target object.
* `onArgs` (defaults to an empty list) indicated that the method calls
  should be synchronized on the values of arguments with the specified
  names.

Truly 'thread-safe' methods may be declared by providing this
attribute with `onThis` set to 'false' and `onArgs` set to default
empty list value.

Executor is modified to properly use this attribute.

Targets-blueprint: application-development-framework

Change-Id: Iea028df1105c57a31a22887916c2428929b83e59
2016-07-28 19:24:50 +03:00
..
api Merge "Add filter based on 'in' operator" 2016-07-15 09:22:31 +00:00
cmd Add multiple engine workers 2016-02-22 10:46:17 +09:00
common Merge "Add filter based on 'in' operator" 2016-07-15 09:22:31 +00:00
core_library Remove partial clean-up in Instance.destroy 2014-09-04 15:29:43 +04:00
db Finish porting unit tests to Python 3 2016-06-20 16:31:01 +02:00
dsl Concurrent Execution Control 2016-07-28 19:24:50 +03:00
engine Convert script line endings for the target OS 2016-06-29 22:17:25 +03:00
packages Adds a test for logo validation 2016-03-28 19:05:03 +03:00
policy Refactoring of the ObjectStore passing in DSL 2016-07-27 02:32:18 +00:00
__init__.py Move and rename functional tests 2014-07-29 22:29:27 +04:00
base.py make enforce_type=True in CONF.set_override 2016-01-13 23:28:26 +08:00
test_actions.py Add metadata to the result of action serialization 2016-06-25 15:19:13 +03:00
test_engine.py Support for static methods/properties 2016-02-18 22:23:19 +00:00
test_hacking.py Modified docstrings to comply with pep8 H405 style check 2016-05-10 20:18:23 +00:00
test_heat_stack.py Modified docstrings to comply with pep8 H405 style check 2016-05-10 20:18:23 +00:00
utils.py Remove arguments "{}" and "[]" in function definitions 2015-12-19 01:10:30 +08:00