MOVED frontend out of Vaadin/Spring

This commit is contained in:
2025-05-28 12:17:45 +02:00
parent c11346ec3b
commit 59fb65d377
18 changed files with 194 additions and 216 deletions

View File

@@ -4,8 +4,6 @@ import com.ddf.vodsystem.entities.JobStatus;
import com.ddf.vodsystem.exceptions.JobNotFinished;
import com.ddf.vodsystem.exceptions.JobNotFound;
import com.ddf.vodsystem.entities.Job;
import com.vaadin.flow.server.auth.AnonymousAllowed;
import com.vaadin.hilla.Endpoint;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.io.FileSystemResource;
import org.springframework.core.io.Resource;
@@ -14,8 +12,6 @@ import org.springframework.stereotype.Service;
import java.io.File;
@Service
@Endpoint
@AnonymousAllowed
public class DownloadService {
private final JobService jobService;

View File

@@ -3,13 +3,9 @@ package com.ddf.vodsystem.services;
import com.ddf.vodsystem.entities.VideoMetadata;
import com.ddf.vodsystem.entities.Job;
import com.ddf.vodsystem.entities.JobStatus;
import com.vaadin.flow.server.auth.AnonymousAllowed;
import com.vaadin.hilla.Endpoint;
import org.springframework.stereotype.Service;
@Service
@Endpoint
@AnonymousAllowed
public class EditService {
private final JobService jobService;

View File

@@ -5,8 +5,6 @@ import com.ddf.vodsystem.entities.VideoMetadata;
import com.ddf.vodsystem.exceptions.FFMPEGException;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.vaadin.flow.server.auth.AnonymousAllowed;
import com.vaadin.hilla.Endpoint;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
@@ -17,8 +15,6 @@ import java.io.IOException;
import java.io.InputStreamReader;
@Service
@Endpoint
@AnonymousAllowed
public class MetadataService {
private static Logger logger = LoggerFactory.getLogger(MetadataService.class);

View File

@@ -2,8 +2,6 @@ package com.ddf.vodsystem.services;
import com.ddf.vodsystem.entities.Job;
import com.ddf.vodsystem.entities.VideoMetadata;
import com.vaadin.flow.server.auth.AnonymousAllowed;
import com.vaadin.hilla.Endpoint;
import jakarta.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
@@ -24,8 +22,6 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Service
@Endpoint
@AnonymousAllowed
public class UploadService {
private static final Logger logger = LoggerFactory.getLogger(UploadService.class);