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

Andras Salamon updated OOZIE-3335:
----------------------------------
    Description: 
The {{parseFilter}} method is implemented several times in oozie:
{noformat}
servlet/SLAServlet.java
util/JobsFilterUtils.java
DagEngine.java
CoordinatorEngine.java (method name is parseJobFilter){noformat}
The implementations are quite similar. Code duplication should be eliminated.

OOZIE-3229 will introduce a new utility class for filter parsing, all the other 
classes should use it as well.

  was:
The {{parseFilter}} method is implemented several times in oozie:

{noformat}servlet/SLAServlet.java
util/JobsFilterUtils.java
DagEngine.java
{noformat}

The implementations are quite similar. Code duplication should be eliminated.

[OOZIE-3229|https://issues.apache.org/jira/browse/OOZIE-3229] will introduce a 
new utility class for filter parsing, all the other classes should use it as 
well.


> Cleanup parseFilter methods
> ---------------------------
>
>                 Key: OOZIE-3335
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3335
>             Project: Oozie
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: trunk
>            Reporter: Andras Salamon
>            Assignee: Andras Salamon
>            Priority: Minor
>
> The {{parseFilter}} method is implemented several times in oozie:
> {noformat}
> servlet/SLAServlet.java
> util/JobsFilterUtils.java
> DagEngine.java
> CoordinatorEngine.java (method name is parseJobFilter){noformat}
> The implementations are quite similar. Code duplication should be eliminated.
> OOZIE-3229 will introduce a new utility class for filter parsing, all the 
> other classes should use it as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to