Vahid,

I see what is the problem.

You are generating UI form that looks like this:

  Forms:
    -  group0:
        fields: []
  Application:
    name: $.group0.name
    ?:
      type: "io.murano.apps.generated.CsarHelloWorld"

  Version: 2.2


The problem in in "name: $.group0.name". Previously you removed the "name"
field from the form because it is provided automatically by the 2.2 form
format. However you did not removed the expression that was referring to it.

So just drop this expression from the form (and form generation code).
If you will need name during deployment time you always can obtain it using
name($this) YAQL expression as here:
https://github.com/openstack/murano/blob/master/contrib/plugins/cloudify_plugin/cloudify_applications_library/Classes/CloudifyApplication.yaml#L46

Hope this will help

Sincerely yours,
Stan Lagun
Principal Software Engineer @ Mirantis

<sla...@mirantis.com>

On Thu, Nov 26, 2015 at 3:23 AM, Vahid S Hashemian <
vahidhashem...@us.ibm.com> wrote:

> Hi Stan,
>
> Thanks for looking into those files.
>
> They are what were generated on my machine.
>
> I tried one more time, and this time used a HOT package (something that
> comes ootb) and noticed the ui.yaml file generated was still in the same
> format as the previous ones.
> I am attaching the full folder structure created for this HOT package
> under /tmp/muranodashboard-cache/apps/ along with the hot package itself
> that I imported.
>
>
>
> I'd appreciate it if you could take a look and let me know if you see
> something wrong. Thanks.
>
> Regards,
> --Vahid
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to