deb-murano/murano/tests
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
..
functional Use SafeLoader to load yaml files 2016-06-23 18:23:54 +03:00
unit Concurrent Execution Control 2016-07-28 19:24:50 +03:00
__init__.py Rename muranoapi to murano 2014-05-27 15:14:44 +04:00