apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandni Singh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (APEXMALHAR-2005) FileSplitterInput: `paths` field in TimeBasedDirectoryScanner is not validated unless scanner is marked as @Valid
Date Sat, 02 Apr 2016 01:23:25 GMT

     [ https://issues.apache.org/jira/browse/APEXMALHAR-2005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chandni Singh updated APEXMALHAR-2005:
--------------------------------------
    Summary: FileSplitterInput: `paths` field in TimeBasedDirectoryScanner is not validated
unless scanner is marked as @Valid  (was: Validation constraint @Size is not honored by the
platform during dag validation )

> FileSplitterInput: `paths` field in TimeBasedDirectoryScanner is not validated unless
scanner is marked as @Valid
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: APEXMALHAR-2005
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2005
>             Project: Apache Apex Malhar
>          Issue Type: Bug
>            Reporter: Chandni Singh
>            Assignee: Chandni Singh
>
> I created a DAG :
> FileSplitterInput -> BlockReader -> Devnull
> Splitter has a property TimeBasedDirectoryScanner which has a property `files` that is
a Set of Strings.
> I have marked that property with {code} @Size(min = 1) {code}. However even when the
set is empty, dag validation passes.



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

Mime
View raw message