[openstack-dev] [Murano] Field 'name' is removed from Apps dynamic UI markup, should 'Version' be changed?

Timur Sufiev tsufiev at mirantis.com
Fri Jul 4 16:24:28 UTC 2014


Hi, folks!

Recently we had decided to change a bit how Murano's dynamic UI works,
namely do not explicitly specify 'name' field in first 'Add
Application' form, but add it here automatically, since every
component in Murano has a name. To avoid confusion with the 'name'
field added by hand to the first form's markup, 'name' field on the
first step will be forbidden and processing of an old UI markup which
has such field will cause an exception. All these changes are
described in the blueprint [1] in a greater detail.

What is not entirely clear to me is whether should we increase
'Version' attribute of UI markup or not? On one hand, the format of UI
markup is definitely changing - and old UI definitions won't work with
the UI processor after [1] is implemented. It is quite reasonable to
bump a format's version to reflect that fact. On the other hand, we
will hardly support both format versions, instead we'll rewrite UI
markup in all existing Murano Apps (there are not so many of them yet)
and eventually forget that once upon a time the user needed to specify
'name' field explicitly.

What do you think?

[1] https://blueprints.launchpad.net/murano/+spec/dynamic-ui-specify-no-explicit-name-field

-- 
Timur Sufiev



More information about the OpenStack-dev mailing list