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

Review request for Ambari, Alejandro Fernandez, Jonathan Hurley, and Sumit 
Mohanty.


Bugs: AMBARI-15810
    https://issues.apache.org/jira/browse/AMBARI-15810


Repository: ambari


Description
-------

The API is filtering Request objects in an inconsistent manner.  When accessing 
/clusters/c1/requests, the db query includes non-cluster calls, which get 
filtered out.  The UI then sees the count returned less than the count asked 
for, and does not allow any more queries.


Diffs
-----

  
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RequestResourceProvider.java
 c1e9053 
  ambari-server/src/main/java/org/apache/ambari/server/orm/dao/RequestDAO.java 
dcbf2a6 
  
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RequestResourceProviderTest.java
 bbb55f3 

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


Testing
-------

Manual.  Automated:

Tests run: 4132, Failures: 0, Errors: 0, Skipped: 32

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36:41.820s
[INFO] Finished at: Mon Apr 11 14:17:50 EDT 2016
[INFO] Final Memory: 34M/766M
[INFO] ------------------------------------------------------------------------


Thanks,

Nate Cole

Reply via email to