deb-murano/murano/cmd
Stan Lagun 16030aeec8 yaql context versioning
This commit reworks mechanism how context chain
is built at each point. The goal was to make
entire chain be dependent on format version
number. This would allow for example to use
yaql 1.0 legacy mode context for MuranoPL/1.0
and not to use it for 2.0.

Not the entire chain is built on demand up to the
root instead of attaching to existed parent context
as it was before. DSL host (engine) is no more
required to have custom MuranoDslExecutor implementation
but a new ContextManager interface that is used
to control contexts on each layer. Engine uses
this interface to register system classes and
engine level yaql functions. Also a ContextManager
is a foundation for method mocking because now
all MuranoPL methods are yaql functions stored
in context and with ContextManager it is possible
to inject/replace function in each scope (
global, package, class, object)

Partially implements: blueprint murano-versioning

Change-Id: I0a553e8044061fe780a83bc04d70b8f80580988f
2015-09-04 14:37:14 +00:00
..
__init__.py Rename muranoapi to murano 2014-05-27 15:14:44 +04:00
api.py Fix logs loss after switching to oslo_log 2015-07-29 19:36:08 +03:00
cfapi.py Cloud Foundry Service Broker API initial commit 2015-09-02 21:17:16 +03:00
db_manage.py Switch to oslo_log 2015-07-15 11:20:45 +03:00
engine.py Fix logs loss after switching to oslo_log 2015-07-29 19:36:08 +03:00
manage.py Version-aware YAML loading 2015-09-03 12:07:13 +00:00
test_runner.py yaql context versioning 2015-09-04 14:37:14 +00:00