[
https://issues.apache.org/jira/browse/GRIFFIN-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16773125#comment-16773125
]
Nikolay Sokolov commented on GRIFFIN-232:
-----------------------------------------
[~aborgatin] I think we can keep default ones hardcoded, or at least provide
default value for "predicates" property, to keep backward compatibility with
older versions. We don't want to break existing deployments because of missing
property.
> Implement pluggable Predicators in PredicatorFactory
> ----------------------------------------------------
>
> Key: GRIFFIN-232
> URL: https://issues.apache.org/jira/browse/GRIFFIN-232
> Project: Griffin (Incubating)
> Issue Type: Improvement
> Reporter: Aleksandr Borgatin
> Priority: Minor
>
> I proposeĀ
> # add property predicates to application.properties
> {code:java}
> predicates={'file.exist':'org.apache.griffin.core.job.FileExistPredicator'}{code}
> # change PredicatorFactory for reading values from property predicates,
> loading class and creating instance of Predicate
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)