public SingularityCreateResult finish(SingularityRequest request) {
return save(request, RequestState.FINISHED, RequestHistoryType.FINISHED, Optional.<String> absent());
}
public SingularityCreateResult addToPendingQueue(SingularityPendingRequest pendingRequest) {
SingularityCreateResult result = create(getPendingPath(pendingRequest.getRequestId(), pendingRequest.getDeployId()), pendingRequest, pendingRequestTranscoder);
LOG.info("{} added to pending queue with result: {}", pendingRequest, result);
return result;
}