-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27747/
-----------------------------------------------------------
(Updated Nov. 14, 2014, 1:06 a.m.)
Review request for Aurora, David McLaughlin and Bill Farner.
Changes
-------
Rebased.
Bugs: AURORA-917
https://issues.apache.org/jira/browse/AURORA-917
Repository: aurora
Description
-------
These fail-fast checks finalize the cron/non-cron split in v2 job creation:
Diffs (updated)
-----
src/main/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterface.java
b2b66acee9c0789f3660469d6d504b4510af5e79
src/main/python/apache/aurora/client/cli/cron.py
44c066b76cc865fec71eb7536ff6bed4d6f44c7e
src/main/python/apache/aurora/client/cli/jobs.py
9aae558b03d241d95ef62a568390193165c0ef8a
src/test/java/org/apache/aurora/scheduler/thrift/SchedulerThriftInterfaceTest.java
5c9ea6cf4eb4d99d94f5d61e784dd7c9c480798c
src/test/python/apache/aurora/client/cli/test_create.py
26a10d4f519736115719b8065653a0ea203f0c22
src/test/python/apache/aurora/client/cli/test_cron.py
9c1f0bec3dd3b7874412921831c53fcec07954d4
src/test/python/apache/aurora/client/cli/util.py
a89211a3df142f77357b7857fe2e2f0f304ffa5b
Diff: https://reviews.apache.org/r/27747/diff/
Testing
-------
./gradlew -Pq build
./pants src/tests/python:all
vagrant@192:~$ aurora2 job create devcluster/vagrant/test/cron_hello_world4
aurora/examples/jobs/cron_hello_world.aurora
Error executing command: Cron jobs may only be scheduled with "aurora cron
schedule" command
vagrant@192:~$ aurora2 cron schedule devcluster/www-data/prod/hello
aurora/examples/jobs/hello_world.aurora
Error executing command: Non-cron jobs may only be created with "aurora job
create" command
Thanks,
Maxim Khutornenko