Re: Review Request 26469: Kill code to serve ApiBeta help pages that's no longer used now that the content is served directly.

2014-10-10 Thread Bill Farner

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

Ship it!


This is now on origin/master.  Thanks!

$ git log -1 --abbrev-commit origin/master
commit add3d4d
Author: Joshua Cohen jco...@twopensource.com
Date:   Fri Oct 10 15:15:47 2014 -0700

Kill code to serve ApiBeta help pages that's no longer used now that 
the content is served directly.

Reviewed at https://reviews.apache.org/r/26469/

- Bill Farner


On Oct. 10, 2014, 10:14 p.m., Joshua Cohen wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/26469/
 ---
 
 (Updated Oct. 10, 2014, 10:14 p.m.)
 
 
 Review request for Aurora, Bill Farner and Zameer Manji.
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Kill code to serve ApiBeta help pages that's no longer used now that the 
 content is served directly.
 
 
 Diffs
 -
 
   build.gradle de6097fd80c471866f8cd16237779e1f6b688be0 
   src/main/java/org/apache/aurora/scheduler/http/api/ApiBeta.java 
 eaf63382f689a045f837847736ef24fa75dee874 
   src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java 
 62154045f49c5b23949dc739d735c3e5d3680b89 
 
 Diff: https://reviews.apache.org/r/26469/diff/
 
 
 Testing
 ---
 
 ./gradlew build -Pq
 
 $ curl -I http://192.168.33.7:8081/apibeta/help/method/setQuota.html
 HTTP/1.1 200 OK
 Content-Type: text/html
 Vary: Accept-Encoding
 Content-Length: 0
 Server: Jetty(7.6.15.v20140411)
 
 
 Thanks,
 
 Joshua Cohen
 




Re: Review Request 26469: Kill code to serve ApiBeta help pages that's no longer used now that the content is served directly.

2014-10-09 Thread Bill Farner

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

Ship it!


Ship It!

- Bill Farner


On Oct. 9, 2014, 12:15 a.m., Joshua Cohen wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/26469/
 ---
 
 (Updated Oct. 9, 2014, 12:15 a.m.)
 
 
 Review request for Aurora, Bill Farner and Zameer Manji.
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Kill code to serve ApiBeta help pages that's no longer used now that the 
 content is served directly.
 
 
 Diffs
 -
 
   build.gradle 8f7eed0b58a00f8e5e0521512975087d5788b5b6 
   src/main/java/org/apache/aurora/scheduler/http/api/ApiBeta.java 
 eaf63382f689a045f837847736ef24fa75dee874 
   src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java 
 62154045f49c5b23949dc739d735c3e5d3680b89 
 
 Diff: https://reviews.apache.org/r/26469/diff/
 
 
 Testing
 ---
 
 ./gradlew build -Pq
 
 $ curl -I http://192.168.33.7:8081/apibeta/help/method/setQuota.html
 HTTP/1.1 200 OK
 Content-Type: text/html
 Vary: Accept-Encoding
 Content-Length: 0
 Server: Jetty(7.6.15.v20140411)
 
 
 Thanks,
 
 Joshua Cohen
 




Re: Review Request 26469: Kill code to serve ApiBeta help pages that's no longer used now that the content is served directly.

2014-10-09 Thread Bill Farner


 On Oct. 9, 2014, 2:32 p.m., Bill Farner wrote:
  Ship It!

Hmm, i'm now getting a different coverage error when preparing to submit this:

* What went wrong:
Execution failed for task ':jacocoTestReport'.
 Thanks for adding the first test coverage to: 
org/apache/aurora/scheduler/async/OfferQueue$OfferQueueImpl$2 please remove it 
from the legacyClassesWithoutCoverage list. Expression: (coverage == 0). 
Values: coverage = 6

This remains after cleaning the reports directory.  Do you see that one as well?


- Bill


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


On Oct. 9, 2014, 12:15 a.m., Joshua Cohen wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/26469/
 ---
 
 (Updated Oct. 9, 2014, 12:15 a.m.)
 
 
 Review request for Aurora, Bill Farner and Zameer Manji.
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Kill code to serve ApiBeta help pages that's no longer used now that the 
 content is served directly.
 
 
 Diffs
 -
 
   build.gradle 8f7eed0b58a00f8e5e0521512975087d5788b5b6 
   src/main/java/org/apache/aurora/scheduler/http/api/ApiBeta.java 
 eaf63382f689a045f837847736ef24fa75dee874 
   src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java 
 62154045f49c5b23949dc739d735c3e5d3680b89 
 
 Diff: https://reviews.apache.org/r/26469/diff/
 
 
 Testing
 ---
 
 ./gradlew build -Pq
 
 $ curl -I http://192.168.33.7:8081/apibeta/help/method/setQuota.html
 HTTP/1.1 200 OK
 Content-Type: text/html
 Vary: Accept-Encoding
 Content-Length: 0
 Server: Jetty(7.6.15.v20140411)
 
 
 Thanks,
 
 Joshua Cohen
 




Re: Review Request 26469: Kill code to serve ApiBeta help pages that's no longer used now that the content is served directly.

2014-10-09 Thread Joshua Cohen
Nope, it's passing for me, but it's similar to the behavior I was seeing
with ApiBeta$2; even after cleaning the reports directory I was *not*
getting the failure about it missing coverage even though it actually was.

On Thu, Oct 9, 2014 at 8:32 AM, Bill Farner wfar...@apache.org wrote:

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

 On October 9th, 2014, 2:32 p.m. UTC, *Bill Farner* wrote:

 Ship It!

  Hmm, i'm now getting a different coverage error when preparing to submit 
 this:

 * What went wrong:
 Execution failed for task ':jacocoTestReport'. Thanks for adding the first 
 test coverage to: 
 org/apache/aurora/scheduler/async/OfferQueue$OfferQueueImpl$2 please remove 
 it from the legacyClassesWithoutCoverage list. Expression: (coverage == 0). 
 Values: coverage = 6

  This remains after cleaning the reports directory. Do you see that one
 as well?


 - Bill

 On October 9th, 2014, 12:15 a.m. UTC, Joshua Cohen wrote:
   Review request for Aurora, Bill Farner and Zameer Manji.
 By Joshua Cohen.

 *Updated Oct. 9, 2014, 12:15 a.m.*
  *Repository: * aurora
 Description

 Kill code to serve ApiBeta help pages that's no longer used now that the 
 content is served directly.

   Testing

 ./gradlew build -Pq

 $ curl -I http://192.168.33.7:8081/apibeta/help/method/setQuota.html

 HTTP/1.1 200 OK

 Content-Type: text/html

 Vary: Accept-Encoding

 Content-Length: 0

 Server: Jetty(7.6.15.v20140411)

   Diffs

- build.gradle (8f7eed0b58a00f8e5e0521512975087d5788b5b6)
- src/main/java/org/apache/aurora/scheduler/http/api/ApiBeta.java
(eaf63382f689a045f837847736ef24fa75dee874)
- src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java
(62154045f49c5b23949dc739d735c3e5d3680b89)

 View Diff https://reviews.apache.org/r/26469/diff/



Re: Review Request 26469: Kill code to serve ApiBeta help pages that's no longer used now that the content is served directly.

2014-10-09 Thread Joshua Cohen
I can also verify that running the entire test suite in a debugger, a
breakpoint set in OfferQueue$OfferQueueImpl$2 is not hit.

On Thu, Oct 9, 2014 at 10:05 AM, Joshua Cohen jco...@twopensource.com
wrote:

 Nope, it's passing for me, but it's similar to the behavior I was seeing
 with ApiBeta$2; even after cleaning the reports directory I was *not*
 getting the failure about it missing coverage even though it actually was.

 On Thu, Oct 9, 2014 at 8:32 AM, Bill Farner wfar...@apache.org wrote:

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

 On October 9th, 2014, 2:32 p.m. UTC, *Bill Farner* wrote:

 Ship It!

  Hmm, i'm now getting a different coverage error when preparing to submit 
 this:

 * What went wrong:
 Execution failed for task ':jacocoTestReport'. Thanks for adding the first 
 test coverage to: 
 org/apache/aurora/scheduler/async/OfferQueue$OfferQueueImpl$2 please remove 
 it from the legacyClassesWithoutCoverage list. Expression: (coverage == 0). 
 Values: coverage = 6

  This remains after cleaning the reports directory. Do you see that one
 as well?


 - Bill

 On October 9th, 2014, 12:15 a.m. UTC, Joshua Cohen wrote:
   Review request for Aurora, Bill Farner and Zameer Manji.
 By Joshua Cohen.

 *Updated Oct. 9, 2014, 12:15 a.m.*
  *Repository: * aurora
 Description

 Kill code to serve ApiBeta help pages that's no longer used now that the 
 content is served directly.

   Testing

 ./gradlew build -Pq

 $ curl -I http://192.168.33.7:8081/apibeta/help/method/setQuota.html

 HTTP/1.1 200 OK

 Content-Type: text/html

 Vary: Accept-Encoding

 Content-Length: 0

 Server: Jetty(7.6.15.v20140411)

   Diffs

- build.gradle (8f7eed0b58a00f8e5e0521512975087d5788b5b6)
- src/main/java/org/apache/aurora/scheduler/http/api/ApiBeta.java
(eaf63382f689a045f837847736ef24fa75dee874)
- src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java
(62154045f49c5b23949dc739d735c3e5d3680b89)

 View Diff https://reviews.apache.org/r/26469/diff/





Re: Review Request 26469: Kill code to serve ApiBeta help pages that's no longer used now that the content is served directly.

2014-10-09 Thread Zameer Manji
Applying the patch, cleaning my reports directory and then running
`./gradlew clean build` produces no error for me. I can share my xml report
if needed.

On Thu, Oct 9, 2014 at 10:42 AM, Bill Farner wfar...@apache.org wrote:

 Can you post your xml report to a ticket? It might help get to the bottom
 of this flakiness.


 On Thursday, October 9, 2014, Joshua Cohen jco...@twopensource.com
 wrote:

 I can also verify that running the entire test suite in a debugger, a
 breakpoint set in OfferQueue$OfferQueueImpl$2 is not hit.

 On Thu, Oct 9, 2014 at 10:05 AM, Joshua Cohen jco...@twopensource.com
 wrote:

 Nope, it's passing for me, but it's similar to the behavior I was seeing
 with ApiBeta$2; even after cleaning the reports directory I was *not*
 getting the failure about it missing coverage even though it actually was.

 On Thu, Oct 9, 2014 at 8:32 AM, Bill Farner wfar...@apache.org wrote:

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

 On October 9th, 2014, 2:32 p.m. UTC, *Bill Farner* wrote:

 Ship It!

  Hmm, i'm now getting a different coverage error when preparing to submit 
 this:

 * What went wrong:
 Execution failed for task ':jacocoTestReport'. Thanks for adding the 
 first test coverage to: 
 org/apache/aurora/scheduler/async/OfferQueue$OfferQueueImpl$2 please 
 remove it from the legacyClassesWithoutCoverage list. Expression: 
 (coverage == 0). Values: coverage = 6

  This remains after cleaning the reports directory. Do you see that
 one as well?


 - Bill

 On October 9th, 2014, 12:15 a.m. UTC, Joshua Cohen wrote:
   Review request for Aurora, Bill Farner and Zameer Manji.
 By Joshua Cohen.

 *Updated Oct. 9, 2014, 12:15 a.m.*
  *Repository: * aurora
 Description

 Kill code to serve ApiBeta help pages that's no longer used now that the 
 content is served directly.

   Testing

 ./gradlew build -Pq

 $ curl -I http://192.168.33.7:8081/apibeta/help/method/setQuota.html

 HTTP/1.1 200 OK

 Content-Type: text/html

 Vary: Accept-Encoding

 Content-Length: 0

 Server: Jetty(7.6.15.v20140411)

   Diffs

- build.gradle (8f7eed0b58a00f8e5e0521512975087d5788b5b6)
- src/main/java/org/apache/aurora/scheduler/http/api/ApiBeta.java
(eaf63382f689a045f837847736ef24fa75dee874)
- src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java
(62154045f49c5b23949dc739d735c3e5d3680b89)

 View Diff https://reviews.apache.org/r/26469/diff/





 --
 -=Bill




-- 
Zameer Manji


Re: Review Request 26469: Kill code to serve ApiBeta help pages that's no longer used now that the content is served directly.

2014-10-09 Thread Joshua Cohen
Filed https://issues.apache.org/jira/browse/AURORA-822 and attached my
report.

On Thu, Oct 9, 2014 at 11:29 AM, Zameer Manji zma...@twopensource.com
wrote:

 Applying the patch, cleaning my reports directory and then running
 `./gradlew clean build` produces no error for me. I can share my xml report
 if needed.

 On Thu, Oct 9, 2014 at 10:42 AM, Bill Farner wfar...@apache.org wrote:

 Can you post your xml report to a ticket? It might help get to the bottom
 of this flakiness.


 On Thursday, October 9, 2014, Joshua Cohen jco...@twopensource.com
 wrote:

 I can also verify that running the entire test suite in a debugger, a
 breakpoint set in OfferQueue$OfferQueueImpl$2 is not hit.

 On Thu, Oct 9, 2014 at 10:05 AM, Joshua Cohen jco...@twopensource.com
 wrote:

 Nope, it's passing for me, but it's similar to the behavior I was
 seeing with ApiBeta$2; even after cleaning the reports directory I was
 *not* getting the failure about it missing coverage even though it actually
 was.

 On Thu, Oct 9, 2014 at 8:32 AM, Bill Farner wfar...@apache.org wrote:

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

 On October 9th, 2014, 2:32 p.m. UTC, *Bill Farner* wrote:

 Ship It!

  Hmm, i'm now getting a different coverage error when preparing to submit 
 this:

 * What went wrong:
 Execution failed for task ':jacocoTestReport'. Thanks for adding the 
 first test coverage to: 
 org/apache/aurora/scheduler/async/OfferQueue$OfferQueueImpl$2 please 
 remove it from the legacyClassesWithoutCoverage list. Expression: 
 (coverage == 0). Values: coverage = 6

  This remains after cleaning the reports directory. Do you see that
 one as well?


 - Bill

 On October 9th, 2014, 12:15 a.m. UTC, Joshua Cohen wrote:
   Review request for Aurora, Bill Farner and Zameer Manji.
 By Joshua Cohen.

 *Updated Oct. 9, 2014, 12:15 a.m.*
  *Repository: * aurora
 Description

 Kill code to serve ApiBeta help pages that's no longer used now that the 
 content is served directly.

   Testing

 ./gradlew build -Pq

 $ curl -I http://192.168.33.7:8081/apibeta/help/method/setQuota.html

 HTTP/1.1 200 OK

 Content-Type: text/html

 Vary: Accept-Encoding

 Content-Length: 0

 Server: Jetty(7.6.15.v20140411)

   Diffs

- build.gradle (8f7eed0b58a00f8e5e0521512975087d5788b5b6)
- src/main/java/org/apache/aurora/scheduler/http/api/ApiBeta.java
(eaf63382f689a045f837847736ef24fa75dee874)
- src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java
(62154045f49c5b23949dc739d735c3e5d3680b89)

 View Diff https://reviews.apache.org/r/26469/diff/





 --
 -=Bill




 --
 Zameer Manji



Review Request 26469: Kill code to serve ApiBeta help pages that's no longer used now that the content is served directly.

2014-10-08 Thread Joshua Cohen

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

Review request for Aurora, Bill Farner and Zameer Manji.


Repository: aurora


Description
---

Kill code to serve ApiBeta help pages that's no longer used now that the 
content is served directly.


Diffs
-

  build.gradle 8f7eed0b58a00f8e5e0521512975087d5788b5b6 
  src/main/java/org/apache/aurora/scheduler/http/api/ApiBeta.java 
eaf63382f689a045f837847736ef24fa75dee874 
  src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java 
62154045f49c5b23949dc739d735c3e5d3680b89 

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


Testing
---

./gradlew build -Pq

$ curl -I http://192.168.33.7:8081/apibeta/help/method/setQuota.html
HTTP/1.1 200 OK
Content-Type: text/html
Vary: Accept-Encoding
Content-Length: 0
Server: Jetty(7.6.15.v20140411)


Thanks,

Joshua Cohen



Re: Review Request 26469: Kill code to serve ApiBeta help pages that's no longer used now that the content is served directly.

2014-10-08 Thread Zameer Manji

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

Ship it!


Ship It!

- Zameer Manji


On Oct. 8, 2014, 5:15 p.m., Joshua Cohen wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/26469/
 ---
 
 (Updated Oct. 8, 2014, 5:15 p.m.)
 
 
 Review request for Aurora, Bill Farner and Zameer Manji.
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Kill code to serve ApiBeta help pages that's no longer used now that the 
 content is served directly.
 
 
 Diffs
 -
 
   build.gradle 8f7eed0b58a00f8e5e0521512975087d5788b5b6 
   src/main/java/org/apache/aurora/scheduler/http/api/ApiBeta.java 
 eaf63382f689a045f837847736ef24fa75dee874 
   src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java 
 62154045f49c5b23949dc739d735c3e5d3680b89 
 
 Diff: https://reviews.apache.org/r/26469/diff/
 
 
 Testing
 ---
 
 ./gradlew build -Pq
 
 $ curl -I http://192.168.33.7:8081/apibeta/help/method/setQuota.html
 HTTP/1.1 200 OK
 Content-Type: text/html
 Vary: Accept-Encoding
 Content-Length: 0
 Server: Jetty(7.6.15.v20140411)
 
 
 Thanks,
 
 Joshua Cohen