[openstack-dev] [Mistral] Understanding parameters for tasks and actions

Renat Akhmerov rakhmerov at mirantis.com
Wed Feb 26 10:09:20 UTC 2014


On 26 Feb 2014, at 15:18, Timur Nurlygayanov <tnurlygayanov at mirantis.com> wrote:

> for me just unclear the following syntacsis:
> $.image_id
> what is $ in this case? It will be more clear if we can replace $ to something - any instance with readable name, like global.image_id or context.image_id.
> looks like $ can be the different in different name spaces.
> 
> it will be unclear for new users and of course it will be easy when we have experience with the DSL.

Yes, “$” actually comes from YAQL which is simple expression language with pythonic-like syntax. We were planning to use it here. However, we got an idea to make it possible to use other languages by having a simple abstraction ExpressionEvaluator in the system. It already exists.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140226/5918da1a/attachment.html>


More information about the OpenStack-dev mailing list