* ADD JWT authentication support with token generation and validation * ADD JWT handling after successful login * ADD user authentication and standardize user retrieval * COMBINE token dtos * ADD JWT authentication filter * IMPROVE token handling * STANDARDIZE API endpoints and improve JWT handling * REMOVE extra logging * REMOVE redundant job existence checks * UPDATE Bruno Google token * REFACTOR some classes * ADD JWT cookie check * ADD AuthProvider and CORS configuration; UPDATE API endpoints for consistency * ADD JWT validation check; * ADD profile picture to database * ADD reload after login to update page * PATCH login issue * REMOVE unused classes * ADJUST logging in JwtFilter * REMOVE unused React component
29 lines
684 B
Java
29 lines
684 B
Java
package com.ddf.vodsystem.dto;
|
|
|
|
import java.io.File;
|
|
import lombok.Data;
|
|
|
|
@Data
|
|
public class Job {
|
|
private String uuid;
|
|
private File inputFile;
|
|
private File outputFile;
|
|
|
|
// configs
|
|
private VideoMetadata inputVideoMetadata;
|
|
private VideoMetadata outputVideoMetadata = new VideoMetadata();
|
|
|
|
// job status
|
|
private JobStatus status = new JobStatus();
|
|
|
|
public Job(String uuid,
|
|
File inputFile,
|
|
File outputFile,
|
|
VideoMetadata inputVideoMetadata) {
|
|
this.uuid = uuid;
|
|
this.inputFile = inputFile;
|
|
this.outputFile = outputFile;
|
|
this.inputVideoMetadata = inputVideoMetadata;
|
|
}
|
|
}
|