@@ -0,0 +1,874 @@
+package com.hubspot.singularity.resources;%0A%0Aimport java.util.List;%0A%0Aimport javax.ws.rs.GET;%0Aimport javax.ws.rs.Path;%0Aimport javax.ws.rs.Produces;%0Aimport javax.ws.rs.core.MediaType;%0A%0Aimport com.google.inject.Inject;%0Aimport com.hubspot.jackson.jaxrs.PropertyFiltering;%0Aimport com.hubspot.singularity.SingularityPendingDeploy;%0Aimport com.hubspot.singularity.SingularityService;%0Aimport com.hubspot.singularity.data.DeployManager;%0A%0A@Path(SingularityService.API_BASE_PATH + %22/deploys%22)%0A@Produces(%7B MediaType.APPLICATION_JSON %7D)%0Apublic class DeployResource %7B%0A%0A  private final DeployManager deployManager;%0A  %0A  @Inject%0A  public DeployResource(DeployManager deployManager) %7B%0A    this.deployManager = deployManager;%0A  %7D%0A%0A  @GET%0A  @PropertyFiltering%0A  @Path(%22/pending%22)%0A  public List%3CSingularityPendingDeploy%3E getPendingDeploys() %7B%0A    return deployManager.getPendingDeploys();%0A  %7D%0A%0A%7D%0A

add deploy resource