deb-murano/murano/common
Kirill Zaitsev 1e62fafe82 Include original ObjectsCopy/Attributes in exception_result
Before if an exception occured during dsl cleanup exception_result would
use empty ObjectsCopy and empty Attributes for result. In case exception
happened during env deletion this would cause env to be deleted by API,
because it ignored isException and treated any result as valid.

Now exception_result also includes original ObjectsCopy/Attributes in case
they're empty in exception_result.
Api not only checks count of 'error' statuses, in session, but also
checks isException attribute of the result, and treats exception results
as Errors, therefore marking deployment/deletion as failed.

Logging of results in API is now aware, that objects can be empty during
app deletion and no longer throws AttributeError because of that.

Change-Id: Idec8191ee25d1cac606741673719bbb8a72709b0
Closes-Bug: #1456724
2015-07-31 16:53:03 +00:00
..
helpers Hide TrustId in log to tighten up security 2015-07-08 22:41:09 +08:00
messaging Drop use of 'oslo' namespace package 2015-04-28 20:21:22 +00:00
__init__.py Rename muranoapi to murano 2014-05-27 15:14:44 +04:00
app_loader.py Separate load_app from api starter 2015-07-27 11:53:10 +03:00
auth_utils.py Drop use of 'oslo' namespace package 2015-04-28 20:21:22 +00:00
config.py Introduces combined class loader 2015-07-24 16:29:06 +03:00
consts.py Rename muranoapi to murano 2014-05-27 15:14:44 +04:00
engine.py Include original ObjectsCopy/Attributes in exception_result 2015-07-31 16:53:03 +00:00
exceptions.py Clean-up openstack.common 2015-06-10 17:28:49 +03:00
i18n.py Use oslo.i18n for translation 2015-02-19 18:51:22 +03:00
plugin_loader.py Switch to oslo_log 2015-07-15 11:20:45 +03:00
policy.py Switch to oslo_log 2015-07-15 11:20:45 +03:00
rpc.py Declare the CONF variable 2015-07-14 00:16:27 +03:00
server.py Include original ObjectsCopy/Attributes in exception_result 2015-07-31 16:53:03 +00:00
statservice.py Switch to oslo_log 2015-07-15 11:20:45 +03:00
utils.py Switch to oslo_log 2015-07-15 11:20:45 +03:00
uuidutils.py Rename muranoapi to murano 2014-05-27 15:14:44 +04:00
wsgi.py Allow setting eventlet.wsgi.MAX_HEADER_LINE 2015-07-21 13:54:15 +03:00
xmlutils.py Update from oslo incubator 2014-12-10 09:29:14 +00:00