@Path("{clusterName}/config_groups")
  public ConfigGroupService getConfigGroupService(@Context jakarta.ws.rs.core.Request request, @PathParam("clusterName") String clusterName) {
    return new ConfigGroupService(clusterName);
  }
Gets the config group service

@param request      the request
@param clusterName  the cluster name

@return  the config group service
ambari-server/src/main/java/org/apache/ambari/server/api/services/ClusterService.java