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

(Updated Jan. 25, 2017, 6:25 p.m.)


Review request for Ambari, Di Li, Jaimin Jetly, and Nate Cole.


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


Repository: ambari


Description (updated)
-------

Following REST API returns deleted config group along with active groups with 
is_current value set to true.

http://hostname/api/v1/clusters/kafkatest68/configurations/service_config_versions?service_name=HDFS&is_current=true

Please refer to the attachments ConfigHistory.png and 
service_config_versions_HDFS_is_current as an example.


Diffs
-----

  
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ServiceConfigEntity.java
 2d6ca20 
  
ambari-server/src/test/java/org/apache/ambari/server/orm/dao/ServiceConfigDAOTest.java
 aafe557 

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


Testing
-------

Tested manually. After applying patch, deleted config group entries were not 
returned for the above REST API call.


Thanks,

Amruta Borkar

Reply via email to