You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmytro Shkvyra <ds...@hortonworks.com> on 2014/02/07 17:25:31 UTC

Re: Review Request 17396: Expose server clock as top-level AMBARI_SERVER attribute

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

(Updated Feb. 7, 2014, 4:25 p.m.)


Review request for Ambari, Oleksandr Diachenko and Sid Wagle.


Changes
-------

Patch renewed.
Added test for case if componentName is not AMBARI_SERVER


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


Repository: ambari


Description
-------

Expose server clock via /api/v1/services/AMBARI/components/AMBARI_SERVER.
This should be in UNIX epoch time format (i.e., just a "long")


Diffs (updated)
-----

  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RootServiceComponentResourceProvider.java 4c5320f 
  ambari-server/src/main/resources/properties.json 2cd5e35 
  ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RootServiceComponentResourceProviderTest.java a49ad22 

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


Testing
-------

Unitestst added. Tested at Centos 6.3/6.4


Thanks,

Dmytro Shkvyra


Re: Review Request 17396: Expose server clock as top-level AMBARI_SERVER attribute

Posted by Dmytro Shkvyra <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17396/
-----------------------------------------------------------

(Updated Feb. 7, 2014, 5:08 p.m.)


Review request for Ambari, Oleksandr Diachenko and Sid Wagle.


Changes
-------

See also test results:
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.ambari.server.controller.internal.RootServiceComponentResourceProviderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.156 sec


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


Repository: ambari


Description
-------

Expose server clock via /api/v1/services/AMBARI/components/AMBARI_SERVER.
This should be in UNIX epoch time format (i.e., just a "long")


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RootServiceComponentResourceProvider.java 4c5320f 
  ambari-server/src/main/resources/properties.json 2cd5e35 
  ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RootServiceComponentResourceProviderTest.java a49ad22 

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


Testing
-------

Unitestst added. Tested at Centos 6.3/6.4


Thanks,

Dmytro Shkvyra