aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sweeney" <kevi...@apache.org>
Subject Re: Review Request 19709: CrontabEntry parser
Date Fri, 28 Mar 2014 00:11:58 GMT


> On March 27, 2014, 2:44 p.m., Bill Farner wrote:
> > build.gradle, line 377
> > <https://reviews.apache.org/r/19709/diff/1/?file=538162#file538162line377>
> >
> >     What would it take to do that now?  Is it as simple as System.setProperty?

Dropped.


> On March 27, 2014, 2:44 p.m., Bill Farner wrote:
> > src/main/java/org/apache/aurora/scheduler/cron/CrontabEntry.java, line 148
> > <https://reviews.apache.org/r/19709/diff/1/?file=538165#file538165line148>
> >
> >     Do these all need to be public?  Looks like most of these accessors are only
used within this class.
> >     
> >     Many others seem like they should be @VisibleTesting as well.

Feels weird to limit visibility for some fields just because of quartz's implementation quirks
here.


> On March 27, 2014, 2:44 p.m., Bill Farner wrote:
> > src/main/java/org/apache/aurora/scheduler/cron/CrontabEntry.java, line 67
> > <https://reviews.apache.org/r/19709/diff/1/?file=538165#file538165line67>
> >
> >     doc?

Updated.


> On March 27, 2014, 2:44 p.m., Bill Farner wrote:
> > src/main/java/org/apache/aurora/scheduler/cron/CrontabEntry.java, line 71
> > <https://reviews.apache.org/r/19709/diff/1/?file=538165#file538165line71>
> >
> >     doc?

Updated.


> On March 27, 2014, 2:44 p.m., Bill Farner wrote:
> > src/main/java/org/apache/aurora/scheduler/cron/CrontabEntry.java, line 304
> > <https://reviews.apache.org/r/19709/diff/1/?file=538165#file538165line304>
> >
> >     s/SINGLETON/INT/?

Fixed. Called it NUMBER.


> On March 27, 2014, 2:44 p.m., Bill Farner wrote:
> > src/main/java/org/apache/aurora/scheduler/cron/CrontabEntry.java, line 373
> > <https://reviews.apache.org/r/19709/diff/1/?file=538165#file538165line373>
> >
> >     replaceNameAliases?

Sure, fixed.


- Kevin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19709/#review38799
-----------------------------------------------------------


On March 27, 2014, 2:52 p.m., Kevin Sweeney wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19709/
> -----------------------------------------------------------
> 
> (Updated March 27, 2014, 2:52 p.m.)
> 
> 
> Review request for Aurora, Maxim Khutornenko and Bill Farner.
> 
> 
> Bugs: AURORA-132
>     https://issues.apache.org/jira/browse/AURORA-132
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> Cron scheduler based on Quartz.
> 
> Apologies for the monster diff - I will try to split it but wanted to give y'all a chance
to take a look in the evening/morning.
> 
> I'd suggest reviewing CrontabEntry and CrontabEntryTest for now - the rest is plumbing.
> 
> 
> Diffs
> -----
> 
>   build.gradle c2a70b0285c6afb20f6db387e50744424c572d3f 
>   src/main/java/org/apache/aurora/scheduler/cron/CrontabEntry.java PRE-CREATION 
>   src/main/java/org/apache/aurora/scheduler/cron/CrontabEntryTest.java PRE-CREATION 
>   src/main/resources/org/apache/aurora/scheduler/cron/testing/cron-schedule-predictions.json
dced8b454c97b9c456605144161ff5c946cb384f 
> 
> Diff: https://reviews.apache.org/r/19709/diff/
> 
> 
> Testing
> -------
> 
> ./gradlew build
> 
> Removed a few test cases from valid-cron-schedules.json after inspection revealed they
should be considered invalid.
> 
> 
> Thanks,
> 
> Kevin Sweeney
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message