deb-murano/murano/dsl/principal_objects
Stan Lagun 89527eaf86 Broken owner parameter for getAttr/setAttr was fixed
It was impossible to explicitly provide attribute owner class to
getAttr/setAttr methods without using namespace prefix or if the
type was not from the core library.

The problem is a combination of 2 issues:
* There was no yaql smart-type specification for the parameter.
   So the type passed as string remained to be string rather than
   MuranoClassReference.
*  MuranoTypeName smart-type used current type package to
    lookup MuranoClass instance by its name. Because getAttr/
    setAttr are located in core library it couldn't find types that
    are not in core library. To solve this now all python methods
    have special metadata key so that we could distinguish
    methods that run in new context from global yaql functions
    that use the same smart type but run in caller context. In former
    case (which is the case for getAttr/setAttr) it now uses caller
    type rather than the current (io.murano.Object in this case).

Change-Id: Ie87deb06bde498a7930bc617da323491855466c5
Closes-Bug: #1532800
2016-01-15 23:13:17 +03:00
..
__init__.py Package versioning 2015-09-03 12:06:42 +00:00
exception.py Migration to yaql 1.0 2015-08-25 16:08:08 +03:00
stack_trace.py Replace unicode with six.text_type 2015-12-28 05:07:08 -08:00
sys_object.py Broken owner parameter for getAttr/setAttr was fixed 2016-01-15 23:13:17 +03:00