JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
feature_request_small.png
CLOSED  Feature request JPPF-600  -  DSL for complex job selectors
Posted Aug 15, 2019 - updated Aug 24, 2019
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Feature request
  • Status
     
    Closed
  • Assigned to
     lolo4j
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     lolo4j
  • Owned by
    Not owned by anyone
  • Category
    Core
  • Resolution
    RESOLVED
  • Priority
    Normal
  • Targetted for
    icon_milestones.png JPPF 6.2
Issue description
We propose to implement a DSL and asociated API for expressing job selectors in a way similar to what we have for execution policies. This will significantly improve the expressiveness of job selectors, without having to resort to scripted job selectors for complex selection functions.

This DSL would include a number of predicates and operators:
  • boolean predicates: and, or, xor, not
  • comparison operators for Comparable metadata values: ==, !=, <, <=, >, >=, between (including or excluding upper and lower bounds)
  • contains, one of, regex matching
  • any other predicate that we migth find useful or convenient