class IngestInternalResource extends ApplicationStatusResource {

    @Path("/operations/{id}")
    @GET
    @Consumes(MediaType.APPLICATION_JSON)
    @Produces(MediaType.APPLICATION_JSON)
    public Response getOperationProcessExecutionDetails(@PathParam("id") String id) {
        try (ProcessingManagementClient processManagementClient = processingManagementClientFactory.getClient()) {
            return processManagementClient.getOperationProcessExecutionDetails(id).toResponse();
        } catch (Exception e) {
            LOGGER.error(e);
            Status status = Status.INTERNAL_SERVER_ERROR;
            return Response.status(status)
                .entity(getErrorEntity(status, e.getMessage()))
                .build();
        }
    }

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

}