@GET
  @Consumes(MediaType.APPLICATION_JSON)
  @Produces(MediaType.APPLICATION_JSON)
  @Path("/getConfig")
  public Response getConfigurationValue(@QueryParam("siteName") String siteName,@QueryParam("configName") String configName){
    LOG.info("Get configuration value for siteName {}, configName {}", siteName, configName);
    try{
      String configValue = context.getCluster().getConfigurationValue(siteName,configName);
      JSONObject res = new JSONObject();
      JSONArray arr = new JSONArray();
      JSONObject conf = new JSONObject();
      conf.put("siteName",siteName);
      conf.put("configName", configName);
      conf.put("configValue", configValue);
      arr.add(conf);
      res.put("configs" ,arr);
      return Response.ok(res).build();
    } catch (WebApplicationException ex) {
      LOG.error("Exception occurred : ", ex);
      throw ex;
    } catch (Exception ex) {
      LOG.error("Exception occurred : ", ex);
      throw new ServiceFormattedException(ex.getMessage(), ex);
    }
  }
Sets capacity scheduler configuration and restart ResourceManager.

@return http response
contrib/views/capacity-scheduler/src/main/java/org/apache/ambari/view/capacityscheduler/ConfigurationService.java