Review Request 21780: Adding cron client commands.

2014-05-21 Thread Mark Chu-Carroll

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

Review request for Aurora, David McLaughlin and Suman Karumuri.


Bugs: aurora-407
https://issues.apache.org/jira/browse/aurora-407


Repository: aurora


Description
---

Adding cron client commands.


Add cron schedule and deschedule calls to the scheduler API.


Diffs
-

  src/main/python/apache/aurora/client/api/__init__.py 
f671ed860eee6ce57e4fee5e4ebbfb926fc2b3ae 
  src/main/python/apache/aurora/client/cli/BUILD 
3838bd3df179d82b42dbc6fd549c50415ffaefed 
  src/main/python/apache/aurora/client/cli/bridge.py 
1a48f008e864cc9f74292f72837ea7dafcb6f30e 
  src/main/python/apache/aurora/client/cli/client.py 
8dbc0f12afb64172f0a1fb68365cd870311bd519 
  src/main/python/apache/aurora/client/cli/cron.py PRE-CREATION 
  src/main/python/apache/aurora/client/cli/options.py 
84b4d7b276b7de7af974d6e80132b7df31f19298 
  src/test/python/apache/aurora/client/cli/BUILD 
b73e7d9c34830e1b1e14519b9290e994d8156d3c 
  src/test/python/apache/aurora/client/cli/test_cron.py PRE-CREATION 

Diff: https://reviews.apache.org/r/21780/diff/


Testing
---

./pants src/test/python/apache/aurora/client:all
Build operating on targets: 
OrderedSet([PythonTestSuite(src/test/python/apache/aurora/client/BUILD:all)])
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 2 items

src/test/python/apache/aurora/client/test_binding_helper.py ..

=== 2 passed in 0.42 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 11 items

src/test/python/apache/aurora/client/test_config.py ...

== 11 passed in 0.48 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 6 items

src/test/python/apache/aurora/client/api/test_disambiguator.py ..

=== 6 passed in 0.41 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 4 items

src/test/python/apache/aurora/client/api/test_job_monitor.py 

=== 4 passed in 0.44 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 6 items

src/test/python/apache/aurora/client/api/test_restarter.py ..

=== 6 passed in 0.38 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 51 items / 1 skipped

src/test/python/apache/aurora/client/api/test_scheduler_client.py 
...

= 51 passed, 1 skipped in 4.48 seconds =
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 12 items

src/test/python/apache/aurora/client/api/test_instance_watcher.py 
src/test/python/apache/aurora/client/api/test_health_check.py 

== 12 passed in 0.24 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 28 items

src/test/python/apache/aurora/client/api/test_updater.py 


== 28 passed in 0.76 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 6 items

src/test/python/apache/aurora/client/api/test_quota_check.py ..

=== 6 passed in 0.16 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 33 items

src/test/python/apache/aurora/client/api/test_sla.py 
.

== 33 passed in 0.35 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov

Re: Review Request 21780: Adding cron client commands.

2014-05-21 Thread David McLaughlin

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

Ship it!


Ship It!

- David McLaughlin


On May 21, 2014, 5:45 p.m., Mark Chu-Carroll wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/21780/
> ---
> 
> (Updated May 21, 2014, 5:45 p.m.)
> 
> 
> Review request for Aurora, David McLaughlin and Suman Karumuri.
> 
> 
> Bugs: aurora-407
> https://issues.apache.org/jira/browse/aurora-407
> 
> 
> Repository: aurora
> 
> 
> Description
> ---
> 
> Adding cron client commands.
> 
> 
> Add cron schedule and deschedule calls to the scheduler API.
> 
> 
> Diffs
> -
> 
>   src/main/python/apache/aurora/client/api/__init__.py 
> f671ed860eee6ce57e4fee5e4ebbfb926fc2b3ae 
>   src/main/python/apache/aurora/client/cli/BUILD 
> 3838bd3df179d82b42dbc6fd549c50415ffaefed 
>   src/main/python/apache/aurora/client/cli/bridge.py 
> 1a48f008e864cc9f74292f72837ea7dafcb6f30e 
>   src/main/python/apache/aurora/client/cli/client.py 
> 8dbc0f12afb64172f0a1fb68365cd870311bd519 
>   src/main/python/apache/aurora/client/cli/cron.py PRE-CREATION 
>   src/main/python/apache/aurora/client/cli/options.py 
> 84b4d7b276b7de7af974d6e80132b7df31f19298 
>   src/test/python/apache/aurora/client/cli/BUILD 
> b73e7d9c34830e1b1e14519b9290e994d8156d3c 
>   src/test/python/apache/aurora/client/cli/test_cron.py PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/21780/diff/
> 
> 
> Testing
> ---
> 
> ./pants src/test/python/apache/aurora/client:all
> Build operating on targets: 
> OrderedSet([PythonTestSuite(src/test/python/apache/aurora/client/BUILD:all)])
> = test session starts 
> ==
> platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
> plugins: cov
> collected 2 items
> 
> src/test/python/apache/aurora/client/test_binding_helper.py ..
> 
> === 2 passed in 0.42 seconds 
> ===
> = test session starts 
> ==
> platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
> plugins: cov
> collected 11 items
> 
> src/test/python/apache/aurora/client/test_config.py ...
> 
> == 11 passed in 0.48 seconds 
> ===
> = test session starts 
> ==
> platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
> plugins: cov
> collected 6 items
> 
> src/test/python/apache/aurora/client/api/test_disambiguator.py ..
> 
> === 6 passed in 0.41 seconds 
> ===
> = test session starts 
> ==
> platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
> plugins: cov
> collected 4 items
> 
> src/test/python/apache/aurora/client/api/test_job_monitor.py 
> 
> === 4 passed in 0.44 seconds 
> ===
> = test session starts 
> ==
> platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
> plugins: cov
> collected 6 items
> 
> src/test/python/apache/aurora/client/api/test_restarter.py ..
> 
> === 6 passed in 0.38 seconds 
> ===
> = test session starts 
> ==
> platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
> plugins: cov
> collected 51 items / 1 skipped
> 
> src/test/python/apache/aurora/client/api/test_scheduler_client.py 
> ...
> 
> = 51 passed, 1 skipped in 4.48 seconds 
> =
> = test session starts 
> ==
> platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
> plugins: cov
> collected 12 items
> 
> src/test/python/apache/aurora/client/api/test_instance_watcher.py 
> src/test/python/apache/aurora/client/api/test_health_check.py 
> 
> == 12 passed in 0.24 seconds 
> ===
> = test session starts 
> ==
> platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
> plugins: cov
> collected 28 items
> 
> src/test/python/apache/aurora/client/api/test_updater.py 
> 
> 
> == 28 passed in 0.76 seconds 
> ===
> = test session starts 
> ==
> platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
> plugins: cov
> collec

Re: Review Request 21780: Adding cron client commands.

2014-05-28 Thread Suman Karumuri

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

Ship it!


Ship It!

- Suman Karumuri


On May 21, 2014, 5:45 p.m., Mark Chu-Carroll wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/21780/
> ---
> 
> (Updated May 21, 2014, 5:45 p.m.)
> 
> 
> Review request for Aurora, David McLaughlin and Suman Karumuri.
> 
> 
> Bugs: aurora-407
> https://issues.apache.org/jira/browse/aurora-407
> 
> 
> Repository: aurora
> 
> 
> Description
> ---
> 
> Adding cron client commands.
> 
> 
> Add cron schedule and deschedule calls to the scheduler API.
> 
> 
> Diffs
> -
> 
>   src/main/python/apache/aurora/client/api/__init__.py 
> f671ed860eee6ce57e4fee5e4ebbfb926fc2b3ae 
>   src/main/python/apache/aurora/client/cli/BUILD 
> 3838bd3df179d82b42dbc6fd549c50415ffaefed 
>   src/main/python/apache/aurora/client/cli/bridge.py 
> 1a48f008e864cc9f74292f72837ea7dafcb6f30e 
>   src/main/python/apache/aurora/client/cli/client.py 
> 8dbc0f12afb64172f0a1fb68365cd870311bd519 
>   src/main/python/apache/aurora/client/cli/cron.py PRE-CREATION 
>   src/main/python/apache/aurora/client/cli/options.py 
> 84b4d7b276b7de7af974d6e80132b7df31f19298 
>   src/test/python/apache/aurora/client/cli/BUILD 
> b73e7d9c34830e1b1e14519b9290e994d8156d3c 
>   src/test/python/apache/aurora/client/cli/test_cron.py PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/21780/diff/
> 
> 
> Testing
> ---
> 
> ./pants src/test/python/apache/aurora/client:all
> Build operating on targets: 
> OrderedSet([PythonTestSuite(src/test/python/apache/aurora/client/BUILD:all)])
> = test session starts 
> ==
> platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
> plugins: cov
> collected 2 items
> 
> src/test/python/apache/aurora/client/test_binding_helper.py ..
> 
> === 2 passed in 0.42 seconds 
> ===
> = test session starts 
> ==
> platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
> plugins: cov
> collected 11 items
> 
> src/test/python/apache/aurora/client/test_config.py ...
> 
> == 11 passed in 0.48 seconds 
> ===
> = test session starts 
> ==
> platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
> plugins: cov
> collected 6 items
> 
> src/test/python/apache/aurora/client/api/test_disambiguator.py ..
> 
> === 6 passed in 0.41 seconds 
> ===
> = test session starts 
> ==
> platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
> plugins: cov
> collected 4 items
> 
> src/test/python/apache/aurora/client/api/test_job_monitor.py 
> 
> === 4 passed in 0.44 seconds 
> ===
> = test session starts 
> ==
> platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
> plugins: cov
> collected 6 items
> 
> src/test/python/apache/aurora/client/api/test_restarter.py ..
> 
> === 6 passed in 0.38 seconds 
> ===
> = test session starts 
> ==
> platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
> plugins: cov
> collected 51 items / 1 skipped
> 
> src/test/python/apache/aurora/client/api/test_scheduler_client.py 
> ...
> 
> = 51 passed, 1 skipped in 4.48 seconds 
> =
> = test session starts 
> ==
> platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
> plugins: cov
> collected 12 items
> 
> src/test/python/apache/aurora/client/api/test_instance_watcher.py 
> src/test/python/apache/aurora/client/api/test_health_check.py 
> 
> == 12 passed in 0.24 seconds 
> ===
> = test session starts 
> ==
> platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
> plugins: cov
> collected 28 items
> 
> src/test/python/apache/aurora/client/api/test_updater.py 
> 
> 
> == 28 passed in 0.76 seconds 
> ===
> = test session starts 
> ==
> platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
> plugins: cov
> collecte

Re: Review Request 21780: Adding cron client commands.

2014-05-29 Thread Mark Chu-Carroll

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

(Updated May 29, 2014, 10:32 a.m.)


Review request for Aurora, David McLaughlin and Suman Karumuri.


Changes
---

Rebase to master.


Bugs: aurora-407
https://issues.apache.org/jira/browse/aurora-407


Repository: aurora


Description
---

Adding cron client commands.


Add cron schedule and deschedule calls to the scheduler API.


Diffs (updated)
-

  src/main/python/apache/aurora/client/api/__init__.py 
a23660b2eb1c08aa898d5a17ce627e091cf1414c 
  src/main/python/apache/aurora/client/cli/BUILD 
015345ea8e5d4a9107707f6ef0c82344596aae8e 
  src/main/python/apache/aurora/client/cli/bridge.py 
6604ee5c29af2d7b91845d5ce1080054da8334f3 
  src/main/python/apache/aurora/client/cli/client.py 
12e7bcf9b64c0ee11f5ce3937bc470dda55290f6 
  src/main/python/apache/aurora/client/cli/cron.py PRE-CREATION 
  src/main/python/apache/aurora/client/cli/options.py 
d79b4dc6986ad5d09799403139347c62b2b50bba 
  src/test/python/apache/aurora/client/cli/BUILD 
56677885ac01b083df85ee934e1780638f534025 
  src/test/python/apache/aurora/client/cli/test_cron.py PRE-CREATION 

Diff: https://reviews.apache.org/r/21780/diff/


Testing
---

./pants src/test/python/apache/aurora/client:all
Build operating on targets: 
OrderedSet([PythonTestSuite(src/test/python/apache/aurora/client/BUILD:all)])
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 2 items

src/test/python/apache/aurora/client/test_binding_helper.py ..

=== 2 passed in 0.42 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 11 items

src/test/python/apache/aurora/client/test_config.py ...

== 11 passed in 0.48 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 6 items

src/test/python/apache/aurora/client/api/test_disambiguator.py ..

=== 6 passed in 0.41 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 4 items

src/test/python/apache/aurora/client/api/test_job_monitor.py 

=== 4 passed in 0.44 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 6 items

src/test/python/apache/aurora/client/api/test_restarter.py ..

=== 6 passed in 0.38 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 51 items / 1 skipped

src/test/python/apache/aurora/client/api/test_scheduler_client.py 
...

= 51 passed, 1 skipped in 4.48 seconds =
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 12 items

src/test/python/apache/aurora/client/api/test_instance_watcher.py 
src/test/python/apache/aurora/client/api/test_health_check.py 

== 12 passed in 0.24 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 28 items

src/test/python/apache/aurora/client/api/test_updater.py 


== 28 passed in 0.76 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 6 items

src/test/python/apache/aurora/client/api/test_quota_check.py ..

=== 6 passed in 0.16 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 33 items

src/test/python/apache/aurora/client/api/test_sla.py 
.

== 33 passed in 0.35 seconds ===
= test session starts =

Re: Review Request 21780: Adding cron client commands.

2014-05-29 Thread Mark Chu-Carroll

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

(Updated May 29, 2014, 10:33 a.m.)


Review request for Aurora, David McLaughlin and Suman Karumuri.


Changes
---

rebase


Bugs: aurora-407
https://issues.apache.org/jira/browse/aurora-407


Repository: aurora


Description
---

Adding cron client commands.


Add cron schedule and deschedule calls to the scheduler API.


Diffs (updated)
-

  src/main/python/apache/aurora/client/api/__init__.py 
a23660b2eb1c08aa898d5a17ce627e091cf1414c 
  src/main/python/apache/aurora/client/cli/BUILD 
015345ea8e5d4a9107707f6ef0c82344596aae8e 
  src/main/python/apache/aurora/client/cli/bridge.py 
6604ee5c29af2d7b91845d5ce1080054da8334f3 
  src/main/python/apache/aurora/client/cli/client.py 
12e7bcf9b64c0ee11f5ce3937bc470dda55290f6 
  src/main/python/apache/aurora/client/cli/cron.py PRE-CREATION 
  src/main/python/apache/aurora/client/cli/options.py 
d79b4dc6986ad5d09799403139347c62b2b50bba 
  src/test/python/apache/aurora/client/cli/BUILD 
56677885ac01b083df85ee934e1780638f534025 
  src/test/python/apache/aurora/client/cli/test_cron.py PRE-CREATION 

Diff: https://reviews.apache.org/r/21780/diff/


Testing
---

./pants src/test/python/apache/aurora/client:all
Build operating on targets: 
OrderedSet([PythonTestSuite(src/test/python/apache/aurora/client/BUILD:all)])
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 2 items

src/test/python/apache/aurora/client/test_binding_helper.py ..

=== 2 passed in 0.42 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 11 items

src/test/python/apache/aurora/client/test_config.py ...

== 11 passed in 0.48 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 6 items

src/test/python/apache/aurora/client/api/test_disambiguator.py ..

=== 6 passed in 0.41 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 4 items

src/test/python/apache/aurora/client/api/test_job_monitor.py 

=== 4 passed in 0.44 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 6 items

src/test/python/apache/aurora/client/api/test_restarter.py ..

=== 6 passed in 0.38 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 51 items / 1 skipped

src/test/python/apache/aurora/client/api/test_scheduler_client.py 
...

= 51 passed, 1 skipped in 4.48 seconds =
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 12 items

src/test/python/apache/aurora/client/api/test_instance_watcher.py 
src/test/python/apache/aurora/client/api/test_health_check.py 

== 12 passed in 0.24 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 28 items

src/test/python/apache/aurora/client/api/test_updater.py 


== 28 passed in 0.76 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 6 items

src/test/python/apache/aurora/client/api/test_quota_check.py ..

=== 6 passed in 0.16 seconds ===
= test session starts ==
platform darwin -- Python 2.6.8 -- py-1.4.20 -- pytest-2.5.2
plugins: cov
collected 33 items

src/test/python/apache/aurora/client/api/test_sla.py 
.

== 33 passed in 0.35 seconds ===
= test session starts ==
p