[ 
https://issues.apache.org/jira/browse/APEXCORE-528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15513421#comment-15513421
 ] 

Alex McCullough commented on APEXCORE-528:
------------------------------------------

Hey Deepak, 

I am working on this. 

I did want to clarify the exact rules that should be in place though for the 
output ports. 

I see in the comments it states:

 // multiple ports w/o annotation, one of them must be connected

Is this truly the rule? My proposal would be for output ports, there is never a 
requirement to connect them unless the annotation explicitly marks it as 
optional = false.

Thanks,
Alex

> Output Ports Not Optional by Default During Validation
> ------------------------------------------------------
>
>                 Key: APEXCORE-528
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-528
>             Project: Apache Apex Core
>          Issue Type: Bug
>    Affects Versions: 3.4.0
>            Reporter: Alex McCullough
>            Assignee: Alex McCullough
>            Priority: Minor
>
> The 'optional' OutputPortFieldAnnotation states that the default value is 
> true. When you build a DAG with multiple output ports the validator throws an 
> error telling you at least one must be connected. To fix, you must explicitly 
> add the annotation to all output ports and set the value to True, which is 
> supposed to already be the default.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to