Created 09-21-2017 10:19 PM
I am looking for an API call with which I can get the property differences between 2 config versions of a Service?
Would be great if it can be extended to config versions in a config group.
Created 09-22-2017 12:16 AM
You can try this APIs and programmatically find the diff between the configuration lists
<AMBARI_HOST>/api/v1/clusters/cl1/configurations/service_config_versions?service_name=HDFS&group_name=<GROUP_NAME>&service_config_version.in(<VERSION_NUMBER>)
E.g
<AMBARI_HOST>/api/v1/clusters/cl1/configurations/service_config_versions?service_name=HDFS&group_name=mycg1&service_config_version.in(6) <AMBARI_HOST>/api/v1/clusters/cl1/configurations/service_config_versions?service_name=HDFS&group_name=mycg1&service_config_version.in(7)
Created 09-22-2017 12:16 AM
You can try this APIs and programmatically find the diff between the configuration lists
<AMBARI_HOST>/api/v1/clusters/cl1/configurations/service_config_versions?service_name=HDFS&group_name=<GROUP_NAME>&service_config_version.in(<VERSION_NUMBER>)
E.g
<AMBARI_HOST>/api/v1/clusters/cl1/configurations/service_config_versions?service_name=HDFS&group_name=mycg1&service_config_version.in(6) <AMBARI_HOST>/api/v1/clusters/cl1/configurations/service_config_versions?service_name=HDFS&group_name=mycg1&service_config_version.in(7)
Created 09-22-2017 02:44 AM
Thanks @kramakrishnan. This works!