ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Beerbower" <tbeerbo...@hortonworks.com>
Subject Review Request 22173: Views: ViewResourceHandler should allow Request Type in handleRequest
Date Tue, 03 Jun 2014 02:23:30 GMT

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

Review request for Ambari, Nate Cole and Sid Wagle.


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


Repository: ambari


Description
-------

Currently managed resources using ViewResourceHandler.handleRequest are limited to GET.  Should
also support POST, PUT and DELETE.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/api/services/ViewSubResourceService.java
d5434ea 
  ambari-server/src/test/java/org/apache/ambari/server/api/services/ViewSubResourceServiceTest.java
PRE-CREATION 
  ambari-views/src/main/java/org/apache/ambari/view/ViewResourceHandler.java 22ed0f1 

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


Testing
-------

New unit tests ... all existing tests pass ...

Results :

Tests run: 1647, Failures: 0, Errors: 0, Skipped: 13

...

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24:18.513s
[INFO] Finished at: Mon Jun 02 22:13:30 EDT 2014
[INFO] Final Memory: 36M/123M
[INFO] ------------------------------------------------------------------------


Thanks,

Tom Beerbower


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