class IngestInternalResource extends ApplicationStatusResource {

    @GET
    @Path("/workflows")
    @Produces(MediaType.APPLICATION_JSON)
    public Response getWorkflowDefinitions(@Context HttpHeaders headers) {
        ProcessingManagementClient processingClient = processingManagementClientFactory.getClient();
        try {
            return processingClient.getWorkflowDefinitions().toResponse();
        } catch (VitamClientException e) {
            return Response.serverError().entity(getErrorEntity(Status.INTERNAL_SERVER_ERROR, e.getMessage(), null))
                .build();
        }
    }

    public  IngestInternalResource(IngestInternalConfiguration configuration);
    @VisibleForTesting  IngestInternalResource(WorkspaceClientFactory workspaceClientFactory,
        ProcessingManagementClientFactory processingManagementClientFactory,
        LogbookOperationsClientFactory logbookOperationsClientFactory);

}