Commit 1b9ba02e authored by Roberto Loayza's avatar Roberto Loayza

Aumento del uso del periodo para la eliminación de data sensible según agente y limpieza de código.

parent 953a24f5
...@@ -6,7 +6,6 @@ import lombok.Getter; ...@@ -6,7 +6,6 @@ import lombok.Getter;
import lombok.Setter; import lombok.Setter;
import lombok.ToString; import lombok.ToString;
import java.math.BigInteger;
import java.util.List; import java.util.List;
/** /**
......
package com.bytesw.bytebot.controller; package com.bytesw.bytebot.controller;
import com.bytesw.bytebot.bean.AgentBean; import com.bytesw.bytebot.bean.AgentBean;
import com.bytesw.bytebot.controller.bean.ResponseController; import com.bytesw.bytebot.controller.bean.ResponseController;
import com.bytesw.bytebot.http.FileValidationResponse; import com.bytesw.bytebot.http.FileValidationResponse;
...@@ -24,8 +23,6 @@ import org.springframework.security.access.prepost.PreAuthorize; ...@@ -24,8 +23,6 @@ import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile; import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletRequest;
@Log4j2 @Log4j2
@RestController @RestController
@RequestMapping("/service/agent") @RequestMapping("/service/agent")
......
...@@ -3,17 +3,14 @@ package com.bytesw.bytebot.model; ...@@ -3,17 +3,14 @@ package com.bytesw.bytebot.model;
import com.bytesw.bytebot.model.converters.AgentStatusConverter; import com.bytesw.bytebot.model.converters.AgentStatusConverter;
import com.bytesw.bytebot.model.converters.AgentTypeConverter; import com.bytesw.bytebot.model.converters.AgentTypeConverter;
import com.bytesw.bytebot.model.converters.LanguageConverter; import com.bytesw.bytebot.model.converters.LanguageConverter;
import com.bytesw.bytebot.model.converters.StatusConverter;
import com.bytesw.bytebot.model.enums.AgentStatusEnum; import com.bytesw.bytebot.model.enums.AgentStatusEnum;
import com.bytesw.bytebot.model.enums.AgentTypeEnum; import com.bytesw.bytebot.model.enums.AgentTypeEnum;
import com.bytesw.bytebot.model.enums.LanguageEnum; import com.bytesw.bytebot.model.enums.LanguageEnum;
import com.bytesw.bytebot.model.enums.StatusEnum;
import lombok.*; import lombok.*;
import org.hibernate.annotations.Type; import org.hibernate.annotations.Type;
import javax.persistence.*; import javax.persistence.*;
import java.io.Serializable; import java.io.Serializable;
import java.math.BigInteger;
import java.util.List; import java.util.List;
@Entity @Entity
......
...@@ -2,7 +2,6 @@ package com.bytesw.bytebot.repository; ...@@ -2,7 +2,6 @@ package com.bytesw.bytebot.repository;
import com.bytesw.bytebot.model.Agent; import com.bytesw.bytebot.model.Agent;
import com.bytesw.bytebot.model.enums.AgentStatusEnum; import com.bytesw.bytebot.model.enums.AgentStatusEnum;
import com.bytesw.bytebot.bean.AgentBean;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor; import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository; import org.springframework.data.repository.CrudRepository;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment