You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ariatosca.apache.org by D Jayachandran <d....@ericsson.com> on 2017/05/11 10:17:52 UTC

Query on interface inputs

Hi,

The latest Apache-aria is throwing a validation error during the execution of a service.
It demands all the interface inputs defined in a node type be declared in the service template though they are optional inputs.
Could you please let us know if this change was intentional ?


Regards,
DJ(D Jayachandran)

Re: Query on interface inputs

Posted by Ran Ziv <ra...@gigaspaces.com>.
Could you please explain what you mean exactly by "optional inputs"?

For an input to be "optional" it should have a default value at its
definition.
(Note that there is also the "required" flag for parameters but that is
only respected at parse time)


We would probably be better to provide better help if you were to add an
example snippet :)

Ran



On Thu, May 11, 2017 at 1:17 PM, D Jayachandran <d.jayachandran@ericsson.com
> wrote:

> Hi,
>
> The latest Apache-aria is throwing a validation error during the execution
> of a service.
> It demands all the interface inputs defined in a node type be declared in
> the service template though they are optional inputs.
> Could you please let us know if this change was intentional ?
>
>
> Regards,
> DJ(D Jayachandran)
>