private Map<String, Object> getServiceConfigMap(Result result) {
    if (result.getResultTree().getChild("resources") != null) {
      TreeNode<Resource> first = Iterables.getFirst(result.getResultTree().getChild("resources").getChildren(), null);
      if(first != null && first.getObject() != null) {
        return first.getObject().getPropertiesMap().get("");
      }
    }
    return null;
  }
Returns service configuration map from the result. This map contains version number and version info
@param result
@return
ambari-server/src/main/java/org/apache/ambari/server/audit/request/eventcreator/ConfigurationChangeEventCreator.java