@RestController @RequestMapping(value="/ome/failed/import") @Scope(value="request") public class ImportFailureController extends TaskFileStoreAdapter<ImportId>
list
of
failed imports (i.e. imports that failed permanently, after having being
retried) and then download
the associated import logs.
Normally after the system administrator has resolved the cause of the failure
for a specific import, there is no need to keep the log file around anymore
and it can be deleted
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RootPath |
Constructor and Description |
---|
ImportFailureController() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
rootPath() |
protected TaskFileStore<ImportId> |
service() |
protected java.util.function.Function<java.lang.String,ImportId> |
taskIdFromString() |
cacheStrategy, deleteFile, filesContentType, listTaskFileUrlPaths, streamFileOr404
public static final java.lang.String RootPath
protected TaskFileStore<ImportId> service()
service
in class TaskFileStoreAdapter<ImportId>
protected java.lang.String rootPath()
rootPath
in class TaskFileStoreAdapter<ImportId>
protected java.util.function.Function<java.lang.String,ImportId> taskIdFromString()
taskIdFromString
in class TaskFileStoreAdapter<ImportId>